-
Notifications
You must be signed in to change notification settings - Fork 156
/
responseBatch.go
98 lines (84 loc) · 3.24 KB
/
responseBatch.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
package response
import (
"github.com/ArtisanCloud/PowerWeChat/v3/src/kernel/response"
"time"
)
type ResponseTrasferBatch struct {
response.ResponsePayment
OutBatchNo string `json:"out_batch_no"`
BatchId string `json:"batch_id"`
CreateTime time.Time `json:"create_time"`
}
type TransferBatch struct {
MchID string `json:"mchid"`
OutBatchNO string `json:"out_batch_no"`
BatchID string `json:"batch_id"`
AppID string `json:"appid"`
BatchStatus string `json:"batch_status"`
BatchType string `json:"batch_type"`
BatchName string `json:"batch_name"`
BatchRemark string `json:"batch_remark"`
CloseReason string `json:"close_reason"`
TotalAmount int `json:"total_amount"`
TotalNum int `json:"total_num"`
CreateTime time.Time `json:"create_time"`
UpdateTime time.Time `json:"update_time"`
SuccessAmount int `json:"success_amount"`
SuccessNum int `json:"success_num"`
FailAmount int `json:"fail_amount"`
FailNum int `json:"fail_num"`
}
type TransferDetail struct {
DetailID string `json:"detail_id"`
OutDetailNO string `json:"out_detail_no"`
DetailStatus string `json:"detail_status"`
}
type ResponseTrasferQueryBatch struct {
response.ResponsePayment
TransferBatch *TransferBatch `json:"transfer_batch"`
TransferDetailList []*TransferDetail `json:"transfer_detail_list"`
}
type ResponseTrasferQueryOutBatchNO struct {
response.ResponsePayment
Limit int `json:"limit"`
Offset int `json:"offset"`
TransferBatch *TransferBatch `json:"transfer_batch"`
TransferDetailList []*TransferDetail `json:"transfer_detail_list"`
}
type ResponseOutBatchNODetail struct {
response.ResponsePayment
OutBatchNO string `json:"out_batch_no"`
BatchID string `json:"batch_id"`
AppID string `json:"appid"`
OutDetailNO string `json:"out_detail_no"`
DetailID string `json:"detail_id"`
DetailStatus string `json:"detail_status"`
TransferAmount int `json:"transfer_amount"`
TransferRemark string `json:"transfer_remark"`
FailReason string `json:"fail_reason"`
OpenID string `json:"openid"`
UserName string `json:"user_name"`
InitiateTime time.Time `json:"initiate_time"`
UpdateTime time.Time `json:"update_time"`
}
type ResponseTrasferBillReceipt struct {
response.ResponsePayment
OutBatchNO string `json:"out_batch_no"`
SignatureNO string `json:"signature_no"`
SignatureStatus string `json:"signature_status"`
HashType string `json:"hash_type"`
HashValue string `json:"hash_value"`
DownloadURL string `json:"download_url"`
CreateTime time.Time `json:"create_time"`
UpdateTime time.Time `json:"update_time"`
}
type ResponseTrasferElectronicReceipts struct {
AcceptType string `json:"accept_type"`
OutBatchNO string `json:"out_batch_no"`
OutDetailNO string `json:"out_detail_no"`
SignatureNO string `json:"signature_no"`
SignatureStatus string `json:"signature_status"`
HashType string `json:"hash_type"`
HashValue string `json:"hash_value"`
DownloadURL string `json:"download_url"`
}