public function __construct($apiLoginId, $transKey, $test = false) { $this->apiLoginId = $apiLoginId; $this->transKey = $transKey; $this->transaction['UserName'] = $apiLoginId; $this->transaction['Password'] = $transKey; $this->test = $test; }