Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transaction ¶
type Transaction struct {
AppId string `json:"appid"`
MchId string `json:"mchid"`
Description string `json:"description"`
OutTradeNo string `json:"out_trade_no"`
TimeExpire string `json:"time_expire"`
Attach string `json:"attach"`
NotifyUrl string `json:"notify_url"`
GoodsTag string `json:"goods_tag"`
Amount TransactionAmount `json:"amount"`
Payer TransactionPayer `json:"payer"`
}
type TransactionAmount ¶
type TransactionDetail ¶
type TransactionDetail struct {
CostPrice int64 `json:"cost_price"`
InvoiceId string `json:"invoice_id"`
GoodsDetail []TransactionGood `json:"goods_detail"`
}
type TransactionGood ¶
type TransactionPayer ¶
type TransactionPayer struct {
OpenId string `json:"openid"`
}
type TransactionSceneInfo ¶
type TransactionSceneInfo struct {
PayerClientIp string `json:"payer_client_ip"`
DeviceId string `json:"device_id"`
StoreInfo TransactionStoreInfo `json:"store_info"`
}
type TransactionSettleInfo ¶
type TransactionSettleInfo struct {
ProfitSharing bool `json:"profit_sharing"`
}
Click to show internal directories.
Click to hide internal directories.