コード例 #1
0
 public function getData()
 {
     $data = parent::getData();
     $this->validate('amount', 'currency');
     $data['Amount'] = $this->getAmountInteger();
     $data['CurrencyCode'] = $this->getCurrency();
     return $data;
 }
コード例 #2
0
 public function getData()
 {
     $data = parent::getData();
     $this->validate('transactionReference');
     $data['PymtType'] = 'cc_debit';
     $data['TrackingNumber'] = $this->getTransactionReference();
     $data['Signature'] = $this->generateSignature($data);
     return $data;
 }