src/icepay_api_webservice.php
public function selectCountry($country)
    {
        if (!isset($this->_issuerData)) {
            $this->_country = $this->validateCountry($country);
            return $this;
        }

        if (in_array($country, $this->getCountries())) {
            $this->_country = $this->validateCountry($country);
            return $this;
        };

        if (in_array("00", $this->getCountries())) {
            $this->_country = "00";
        };

        return $this;
    }
public function selectCountry($country)
    {
        if (!isset($this->_issuerData)) {
            $this->_country = $this->validateCountry($country);
            return $this;
        }

        if (in_array($country, $this->getCountries())) {
            $this->_country = $this->validateCountry($country);
            return $this;
        };

        if (in_array("00", $this->getCountries())) {
            $this->_country = "00";
        };

        return $this;
    }
public function selectCountry ( $ country ) { if ( ! isset ( $ this -> _issuerData ) ) { $ this -> _country = $ this -> validateCountry ( $ country ) ; return $ this ; } if ( in_array ( $ country , $ this -> getCountries ( ) ) ) { $ this -> _country = $ this -> validateCountry ( $ country ) ; return $ this ; } ; if ( in_array ( "00" , $ this -> getCountries ( ) ) ) { $ this -> _country = "00" ; } ; return $ this ; }
Selects the country out of the issuer data

@since 2.1.0
@access Public
@param string $country
@return \Icepay_Webservice_Paymentmethod
Selects the country out of the issuer data