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';
}
}