Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoodDetail ¶ added in v3.1.2
type PromptDetail ¶ added in v3.1.2
type RefundAmount ¶ added in v3.1.2
type RefundAmount struct { Total int `json:"total"` Refund int `json:"refund"` From []Form `json:"from"` PayerTotal int `json:"payer_total"` PayerRefund int `json:"payer_refund"` SettlementRefund int `json:"settlement_refund"` SettlementTotal int `json:"settlement_total"` DiscountRefund int `json:"discount_refund"` Currency string `json:"currency"` }
type ResponseCodeURL ¶
type ResponseCodeURL struct { response.ResponsePayment CodeURL string `json:"code_url"` }
type ResponseH5URL ¶
type ResponseH5URL struct { response.ResponsePayment H5URL string `json:"h5_url"` }
type ResponseHeaderCloseOrdr ¶
type ResponseHeaderCloseOrdr struct { response.ResponsePayment Status string `header:"status"` }
type ResponseOrder ¶
type ResponseOrder struct { response.ResponsePayment Amount *Amount `json:"amount"` Attach string `json:"attach"` BankType string `json:"bank_type"` OutTradeNo string `json:"out_trade_no"` Payer *Payer `json:"payer"` PromotionDetail []*object.HashMap `json:"promotion_detail"` SpAppId string `json:"sp_appid"` SpMchId string `json:"sp_mchid"` SubAppId string `json:"sub_appid"` SubMchId string `json:"sub_mchid"` SuccessTime time.Time `json:"success_time"` TradeState string `json:"trade_state"` TradeStateDesc string `json:"trade_state_desc"` TradeType string `json:"trade_type"` TransactionId string `json:"transaction_id"` SceneInfo *SceneInfo `json:"scene_info,omitempty"` }
type ResponseQueryByOutRefundNO ¶ added in v3.1.2
type ResponseQueryByOutRefundNO struct { response.ResponsePayment RefundId string `json:"refund_id"` OutRefundNo string `json:"out_refund_no"` TransactionId string `json:"transaction_id"` OutTradeNo string `json:"out_trade_no"` Channel string `json:"channel"` UserReceivedAccount string `json:"user_received_account"` SuccessTime time.Time `json:"success_time"` CreateTime time.Time `json:"create_time"` Status string `json:"status"` FundsAccount string `json:"funds_account"` Amount RefundAmount `json:"amount"` PromotionDetail []PromptDetail `json:"promotion_detail"` }
https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_10.shtml
type ResponseUnitfy ¶
type ResponseUnitfy struct { response.ResponsePayment PrepayID string `json:"prepay_id"` }
Click to show internal directories.
Click to hide internal directories.