Pop\Payment\Adapter\PayLeap::__construct PHP Метод

__construct() публичный Метод

Method to instantiate an Payleap payment adapter object
public __construct ( string $apiLoginId, string $transKey, boolean $test = false ) : PayLeap
$apiLoginId string
$transKey string
$test boolean
Результат PayLeap
    public function __construct($apiLoginId, $transKey, $test = false)
    {
        $this->apiLoginId = $apiLoginId;
        $this->transKey = $transKey;
        $this->transaction['UserName'] = $apiLoginId;
        $this->transaction['Password'] = $transKey;
        $this->test = $test;
    }