src/icepay_api_base.php
protected function loadBasicPaymentMethodClass()
    {

        if (!class_exists("Icepay_Api_Basic"))
            return $this;

        $this->pm_class = Icepay_Api_Basic::getInstance()
                ->readFolder()
                ->getClassByPaymentMethodCode($this->data->ic_paymentmethod);

        if (count($this->pm_class->getSupportedIssuers()) == 1) {
            $this->setIssuer(current($this->pm_class->getSupportedIssuers()));
        }
        return $this;
    }
protected function loadBasicPaymentMethodClass()
    {

        if (!class_exists("Icepay_Api_Basic"))
            return $this;

        $this->pm_class = Icepay_Api_Basic::getInstance()
                ->readFolder()
                ->getClassByPaymentMethodCode($this->data->ic_paymentmethod);

        if (count($this->pm_class->getSupportedIssuers()) == 1) {
            $this->setIssuer(current($this->pm_class->getSupportedIssuers()));
        }
        return $this;
    }
protected function loadBasicPaymentMethodClass ( ) { if ( ! class_exists ( "Icepay_Api_Basic" ) ) return $ this ; $ this -> pm_class = Icepay_Api_Basic :: getInstance ( ) -> readFolder ( ) -> getClassByPaymentMethodCode ( $ this -> data -> ic_paymentmethod ) ; if ( count ( $ this -> pm_class -> getSupportedIssuers ( ) ) == 1 ) { $ this -> setIssuer ( current ( $ this -> pm_class -> getSupportedIssuers ( ) ) ) ; } return $ this ; }
Load a paymentmethod class for Basic
@since version 2.1.0
@access protected
Load a paymentmethod class for Basic