src/icepay_api_webservice.php
public function getMaximumAmount()
    {
        if (!isset($this->_issuerData))
            throw new Exception("Issuer must be selected first");
        if (!isset($this->_country))
            throw new Exception("Country must be selected first");
        foreach ($this->_issuerData["Countries"] as $country) {
            if ($this->_country == $country["CountryCode"]) {
                return intval($country["MaximumAmount"]);
            }
        }
    }
public function getMaximumAmount()
    {
        if (!isset($this->_issuerData))
            throw new Exception("Issuer must be selected first");
        if (!isset($this->_country))
            throw new Exception("Country must be selected first");
        foreach ($this->_issuerData["Countries"] as $country) {
            if ($this->_country == $country["CountryCode"]) {
                return intval($country["MaximumAmount"]);
            }
        }
    }
public function getMaximumAmount ( ) { if ( ! isset ( $ this -> _issuerData ) ) throw new Exception ( "Issuer must be selected first" ) ; if ( ! isset ( $ this -> _country ) ) throw new Exception ( "Country must be selected first" ) ; foreach ( $ this -> _issuerData [ "Countries" ] as $ country ) { if ( $ this -> _country == $ country [ "CountryCode" ] ) { return intval ( $ country [ "MaximumAmount" ] ) ; } } }
Get maximum amount

@since 2.1.0
@access public
@return int
@throws Exception
Get maximum amount