示例#1
0
 public function __construct($merchantID, $reference, $currency = "USD")
 {
     parent::__construct($merchantID, $reference);
     $this->afsService = new \stdClass();
     $this->afsService->run = "true";
     $this->billTo = new BillTo();
     $this->merchantDefinedData = new \stdClass();
     $this->merchantDefinedData->mddField = array();
     $this->purchaseTotals = new \stdClass();
     $this->purchaseTotals->currency = $currency;
     $this->purchaseTotals->grandTotalAmount = 0;
     $this->_transactionType = "CC";
 }
 public function __construct($merchantId, $reference)
 {
     parent::__construct($merchantId, $reference);
     $this->caseManagementActionService = new \stdClass();
     $this->caseManagementActionService->run = "true";
 }