src/icepay_api_webservice.php
public function selectIssuerByKeyword($name)
    {
        if (!isset($this->_paymentMethodsArray))
            throw new Exception("No data loaded");
        foreach ($this->_paymentMethodsArray as $paymentMethod) {
            foreach ($paymentMethod["Issuers"] as $issuer) {
                if ($issuer["IssuerKeyword"] == strtoupper($name)) {
                    $this->_methodData = $paymentMethod;
                    $this->_issuerData = $issuer;
                    break;
                }
            }
        }
        return $this;
    }
public function selectIssuerByKeyword($name)
    {
        if (!isset($this->_paymentMethodsArray))
            throw new Exception("No data loaded");
        foreach ($this->_paymentMethodsArray as $paymentMethod) {
            foreach ($paymentMethod["Issuers"] as $issuer) {
                if ($issuer["IssuerKeyword"] == strtoupper($name)) {
                    $this->_methodData = $paymentMethod;
                    $this->_issuerData = $issuer;
                    break;
                }
            }
        }
        return $this;
    }
public function selectIssuerByKeyword ( $ name ) { if ( ! isset ( $ this -> _paymentMethodsArray ) ) throw new Exception ( "No data loaded" ) ; foreach ( $ this -> _paymentMethodsArray as $ paymentMethod ) { foreach ( $ paymentMethod [ "Issuers" ] as $ issuer ) { if ( $ issuer [ "IssuerKeyword" ] == strtoupper ( $ name ) ) { $ this -> _methodData = $ paymentMethod ; $ this -> _issuerData = $ issuer ; break ; } } } return $ this ; }
Select an issuer by keyword

@since 2.1.0
@access public
@param string $name
@return \Icepay_Webservice_Paymentmethod
@throws Exception
Select an issuer by keyword