src/icepay_api_webservice.php
public function isPaymentMethodAvailable($pmCode) {
        foreach ($this->_paymentMethodsArrayFiltered as $value) {
            if ($value['PaymentMethodCode'] == $pmCode)
                return true;
        }

        return false;
    }
public function isPaymentMethodAvailable($pmCode) {
        foreach ($this->_paymentMethodsArrayFiltered as $value) {
            if ($value['PaymentMethodCode'] == $pmCode)
                return true;
        }

        return false;
    }
public function isPaymentMethodAvailable ( $ pmCode ) { foreach ( $ this -> _paymentMethodsArrayFiltered as $ value ) { if ( $ value [ 'PaymentMethodCode' ] == $ pmCode ) return true ; } return false ; }
Check if payment method is available.

@param $pmCode
@return bool
Check if payment method is available .