示例#1
0
 public function getPaymentNotesFromArray(array $payment)
 {
     $variables = array();
     foreach ($payment['variables'] as $arr) {
         $variables[$arr['name']] = \Jazzee\Entity\PaymentVariable::decodeValue($arr['value']);
     }
     $arr = array('Transaction ID' => $variables['transactionId'], 'Authorization Code' => $variables['authorizationCode']);
     return $arr;
 }
示例#2
0
 public function getPaymentNotesFromArray(array $payment)
 {
     $variables = array();
     foreach ($payment['variables'] as $arr) {
         $variables[$arr['name']] = \Jazzee\Entity\PaymentVariable::decodeValue($arr['value']);
     }
     $arr = array('Transaction Number' => $variables['tx'], 'UCLA Reference Number' => $variables['UCLA_REF_NO'], 'Customer Code' => $variables['custcode'], 'Payment Code' => $variables['pmtcode'], 'Item Code' => $variables['itemcode']);
     return $arr;
 }
示例#3
0
文件: Check.php 项目: Jazzee/Jazzee
 public function getPaymentNotesFromArray(array $payment)
 {
     $variables = array();
     foreach ($payment['variables'] as $arr) {
         $variables[$arr['name']] = \Jazzee\Entity\PaymentVariable::decodeValue($arr['value']);
     }
     $arr = array();
     $arr['Check Number'] = $variables['checkNumber'];
     if (array_key_exists('checkSettlementDate', $variables)) {
         $arr['Settlement Date'] = $variables['checkSettlementDate'];
     }
     return $arr;
 }