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