-
Notifications
You must be signed in to change notification settings - Fork 0
/
callbackresponse.go
27 lines (25 loc) · 1.02 KB
/
callbackresponse.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package oxpay
type Data struct {
AmountInCNY string `json:"amountInCNY"`
AmountInCurrencySettled string `json:"amountInCurrencySettled"`
CurrencySettled string `json:"currencySettled"`
EWalletType string `json:"eWalletType"`
DiscountAmount string `json:"discountAmount"`
PaidAmount string `json:"paidAmount"`
}
type CallbackResponse struct {
McpTID string `json:"mcptid"`
Currency string `json:"currency"`
TotalAmount string `json:"totalAmount"`
ReferenceNo string `json:"referenceNo"`
TransactionId string `json:"transactionId"`
TransactionState string `json:"transactionState"`
Stan string `json:"stan"`
ReceiptNumber string `json:"receiptNumber"`
CardHolderName string `json:"cardHolderName"`
TruncatedPan string `json:"truncatedPan"`
BrandName string `json:"brandName"`
ResponseCode string `json:"responseCode"`
ResponseMsg string `json:"responseMsg"`
Data Data `json:"data"`
}