Documentation
¶
Index ¶
- func AddMerchant(mchID, mchName string) wx.Action
- func DeleteMerchant(mchID string) wx.Action
- func GetBillList(params *ParamsBillList, result *ResultBillList) wx.Action
- func GetMerchant(mchID string, result *ResultMerchantGet) wx.Action
- func SetMchUseScope(mchID string, scope *AllowUseScope) wx.Action
- type AllowUseScope
- type BillInfo
- type CommodityInfo
- type ParamsBillList
- type ParamsMchUseScopeSet
- type ParamsMerchantAdd
- type ParamsMerchantDelete
- type ParamsMerchantGet
- type PayerInfo
- type RefundInfo
- type ResultBillList
- type ResultMerchantGet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBillList ¶
func GetBillList(params *ParamsBillList, result *ResultBillList) wx.Action
GetBillList 获取对外收款记录
func GetMerchant ¶
func GetMerchant(mchID string, result *ResultMerchantGet) wx.Action
GetMerchant 查询收款商户号详情
func SetMchUseScope ¶
func SetMchUseScope(mchID string, scope *AllowUseScope) wx.Action
SetMchUseScope 设置收款商户号使用范围
Types ¶
type AllowUseScope ¶
type BillInfo ¶
type BillInfo struct { TransactionID string `json:"transaction_id"` TradeState int `json:"trade_state"` PayTime int64 `json:"pay_time"` OutTradeNO string `json:"out_trade_no"` ExternalUserID string `json:"external_userid"` TotalFee int `json:"total_fee"` PayeeUserID string `json:"payee_userid"` PaymentType int `json:"payment_type"` MchID string `json:"mch_id"` Remark string `json:"remark"` TotalRefundFee int `json:"total_refund_fee"` CommodityList []*CommodityInfo `json:"commodity_list"` RefundList []*RefundInfo `json:"refund_list"` PayerInfo *PayerInfo `json:"payer_info"` }
type CommodityInfo ¶
type ParamsBillList ¶
type ParamsMchUseScopeSet ¶
type ParamsMchUseScopeSet struct { MchID string `json:"mch_id"` AllowUseScope *AllowUseScope `json:"allow_use_scope"` }
type ParamsMerchantAdd ¶
type ParamsMerchantDelete ¶
type ParamsMerchantDelete struct {
MchID string `json:"mch_id"`
}
type ParamsMerchantGet ¶
type ParamsMerchantGet struct {
MchID string `json:"mch_id"`
}
type RefundInfo ¶
type ResultBillList ¶
type ResultMerchantGet ¶
type ResultMerchantGet struct { BindStatus int `json:"bind_status"` MchID string `json:"mch_id"` MerchantName string `json:"merchant_name"` AllowUseScope *AllowUseScope `json:"allow_use_scope"` }
Click to show internal directories.
Click to hide internal directories.