コード例 #1
0
 public function normalizeForQueue()
 {
     $queueMsg = parent::normalizeForQueue();
     $queueMsg->gateway_parent_id = $this->gateway_parent_id;
     $queueMsg->gateway_refund_id = $this->gateway_txn_id;
     $queueMsg->gross_currency = $this->currency;
     // Docs say RefundType is always 'SellerInitiated'
     // Waiting to hear back about how they inform us of chargebacks.
     $queueMsg->type = 'refund';
     return $queueMsg;
 }
コード例 #2
0
 public function normalizeForQueue()
 {
     $queueMsg = parent::normalizeForQueue();
     $queueMsg->completion_message_id = $this->completion_message_id;
     $queueMsg->contribution_tracking_id = $this->contribution_tracking_id;
     $queueMsg->currency = $this->currency;
     $queueMsg->date = $this->date;
     $queueMsg->gateway_status = $this->gateway_status;
     $queueMsg->gateway_txn_id = $this->gateway_txn_id;
     $queueMsg->order_id = $this->order_id;
     $queueMsg->payment_method = 'amazon';
     $queueMsg->fee = $this->fee;
     return $queueMsg;
 }