-
Notifications
You must be signed in to change notification settings - Fork 158
/
responseOrder.go
26 lines (22 loc) · 977 Bytes
/
responseOrder.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
package response
import (
"github.com/ArtisanCloud/PowerLibs/v3/object"
"github.com/ArtisanCloud/PowerWeChat/v3/src/kernel/response"
)
// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_2.shtml
type ResponseOrder struct {
response.ResponsePayment
Amount *object.HashMap `json:"amount"`
AppID string `json:"appid"`
Attach string `json:"attach"`
BankType string `json:"bank_type"`
MchID string `json:"mchid"`
OutTradeNo string `json:"out_trade_no"`
Payer *object.HashMap `json:"payer"`
PromotionDetail []*object.HashMap `json:"promotion_detail"`
SuccessTime string `json:"success_time"`
TradeState string `json:"trade_state"`
TradeStateDesc string `json:"trade_state_desc"`
TradeType string `json:"trade_type"`
TransactionID string `json:"transaction_id"`
}