src/icepay_api_base.php
public function setCountry($country)
    {
        $country = strtoupper($country);
        if (!Icepay_Parameter_Validation::country($country))
            throw new Exception('Country not valid');
        $this->data->ic_country = $country;
        return $this;
    }
public function setCountry($country)
    {
        $country = strtoupper($country);
        if (!Icepay_Parameter_Validation::country($country))
            throw new Exception('Country not valid');
        $this->data->ic_country = $country;
        return $this;
    }
public function setCountry ( $ country ) { $ country = strtoupper ( $ country ) ; if ( ! Icepay_Parameter_Validation :: country ( $ country ) ) throw new Exception ( 'Country not valid' ) ; $ this -> data -> ic_country = $ country ; return $ this ; }
Set the country field
@since version 1.0.0
@access public
@param string $currency Country ISO 3166-1-alpha-2 code !Required
@example setCountry("NL") // Netherlands
Set the country field