Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceTransferSendCallbackResponse ¶
type BalanceTransferSendCallbackResponse struct { CustomerNumber string `json:"customerNumber"` BatchNo string `json:"batchNo"` OrderId string `json:"orderId"` TransferStatusCode string `json:"transferStatusCode"` BankTrxStatusCode string `json:"bankTrxStatusCode"` SuccessAmount string `json:"successAmount"` FinishDate string `json:"finishDate"` FailAmount interface{} `json:"failAmount"` RefundAmount interface{} `json:"refundAmount"` BankMsg string `json:"bankMsg"` }
func TransferCallback ¶
func TransferCallback(response string, yeepayConfig yeepayGo.YeepayConfig) (BalanceTransferSendCallbackResponse, error)
func (BalanceTransferSendCallbackResponse) IsSuccess ¶
func (resp BalanceTransferSendCallbackResponse) IsSuccess() bool
func (BalanceTransferSendCallbackResponse) ToJson ¶
func (resp BalanceTransferSendCallbackResponse) ToJson() (string, error)
type StdTradeOrderCallback ¶
type StdTradeOrderCallbackResponse ¶
type StdTradeOrderCallbackResponse struct { BankTrxId string `json:"bankTrxId"` PreAuthAccountTime string `json:"preAuthAccountTime"` OrderId string `json:"orderId"` BankOrderId string `json:"bankOrderId"` OpenId string `json:"openID"` PaySuccessDate string `json:"paySuccessDate"` CustomerFee string `json:"customerFee"` PlatformType string `json:"platformType"` CardType string `json:"cardType"` BankPaySuccessDate string `json:"bankPaySuccessDate"` UniqueOrderNo string `json:"uniqueOrderNo"` YpSettleAmount string `json:"ypSettleAmount"` FundProcessType string `json:"fundProcessType"` BankId string `json:"bankId"` OrderAmount string `json:"orderAmount"` PayAmount string `json:"payAmount"` RequestDate string `json:"requestDate"` ParentMerchantNo string `json:"parentMerchantNo"` YeepayPromotionDTOList string `json:"yeepayPromotionDTOList"` PaymentProduct string `json:"paymentProduct"` MerchantNo string `json:"merchantNo"` Status string `json:"status"` }
func OrderCallback ¶
func OrderCallback(response string, yeepayConfig yeepayGo.YeepayConfig) (StdTradeOrderCallbackResponse, error)
func (StdTradeOrderCallbackResponse) IsSuccess ¶
func (resp StdTradeOrderCallbackResponse) IsSuccess() bool
func (StdTradeOrderCallbackResponse) ToJson ¶
func (resp StdTradeOrderCallbackResponse) ToJson() (string, error)
type StdTradeRefundCallback ¶
type StdTradeRefundCallbackResponse ¶
type StdTradeRefundCallbackResponse struct { DisAccountAmount string `json:"disAccountAmount"` ResidualAmount string `json:"residualAmount"` OrderId string `json:"orderId"` AccountDivided string `json:"accountDivided"` BizSystemNo string `json:"bizSystemNo"` Description string `json:"description"` UniqueOrderNo string `json:"uniqueOrderNo"` RefundRequestId string `json:"refundRequestId"` RefundSuccessDate string `json:"refundSuccessDate"` YeepayRefundPromotionDTOList string `json:"yeepayRefundPromotionDTOList"` UniqueRefundNo string `json:"uniqueRefundNo"` ParentMerchantNo string `json:"parentMerchantNo"` RefundRequestDate string `json:"refundRequestDate"` MerchantNo string `json:"merchantNo"` RefundAmount string `json:"refundAmount"` Status string `json:"status"` }
func RefundCallback ¶
func RefundCallback(response string, yeepayConfig yeepayGo.YeepayConfig) (StdTradeRefundCallbackResponse, error)
func (StdTradeRefundCallbackResponse) IsSuccess ¶
func (resp StdTradeRefundCallbackResponse) IsSuccess() bool
func (StdTradeRefundCallbackResponse) ToJson ¶
func (resp StdTradeRefundCallbackResponse) ToJson() (string, error)
Click to show internal directories.
Click to hide internal directories.