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

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

Method to instantiate an Authorize.net payment adapter object
public __construct ( string $apiLoginId, string $transKey, boolean $test = false ) : Authorize
$apiLoginId string
$transKey string
$test boolean
Результат Authorize
    public function __construct($apiLoginId, $transKey, $test = false)
    {
        $this->apiLoginId = $apiLoginId;
        $this->transKey = $transKey;
        $this->transaction['x_login'] = $apiLoginId;
        $this->transaction['x_tran_key'] = $transKey;
        $this->test = $test;
        if ($this->test) {
            $this->transaction['x_test_request'] = 'TRUE';
        }
    }