Pop\Payment\Adapter\UsaEpay::__construct PHP Method

__construct() public method

Method to instantiate an USAEpay payment adapter object
public __construct ( string $sourceKey, boolean $test = false ) : UsaEpay
$sourceKey string
$test boolean
return UsaEpay
    public function __construct($sourceKey, $test = false)
    {
        $this->sourceKey = $sourceKey;
        $this->transaction['UMkey'] = $sourceKey;
        $this->test = $test;
    }