forked from go-pay/gopay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_ant.go
132 lines (119 loc) · 4.97 KB
/
model_ant.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
package alipay
type AntMerchantShopModifyRsp struct {
Response *AntMerchantShopModify `json:"ant_merchant_expand_shop_modify_response"`
AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
SignData string `json:"-"`
Sign string `json:"sign"`
}
type AntMerchantShopCreateRsp struct {
Response *AntMerchantShopCreate `json:"ant_merchant_expand_shop_create_response"`
AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
SignData string `json:"-"`
Sign string `json:"sign"`
}
type AntMerchantShopConsultRsp struct {
Response *AntMerchantShopConsult `json:"ant_merchant_expand_shop_consult_response"`
AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
SignData string `json:"-"`
Sign string `json:"sign"`
}
type AntMerchantOrderQueryRsp struct {
Response *AntMerchantOrderQuery `json:"ant_merchant_expand_order_query_response"`
AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
SignData string `json:"-"`
Sign string `json:"sign"`
}
type AntMerchantShopQueryRsp struct {
Response *AntMerchantShopQuery `json:"ant_merchant_expand_shop_query_response"`
AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
SignData string `json:"-"`
Sign string `json:"sign"`
}
type AntMerchantShopCloseRsp struct {
Response *AntMerchantShopClose `json:"ant_merchant_expand_shop_close_response"`
AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
SignData string `json:"-"`
Sign string `json:"sign"`
}
// =========================================================分割=========================================================
type AntMerchantShopModify struct {
ErrorResponse
OrderId string `json:"order_id"`
}
type AntMerchantShopCreate struct {
ErrorResponse
OrderId string `json:"order_id"`
}
type AntMerchantShopConsult struct {
ErrorResponse
AccountAudit bool `json:"account_audit"`
RiskAudit bool `json:"risk_audit"`
OrderId string `json:"order_id"`
}
type AntMerchantOrderQuery struct {
ErrorResponse
IPRoleID []string `json:"ip_role_id,omitempty"`
MerchantName string `json:"merchant_name"`
Status string `json:"status"`
ApplyTime string `json:"apply_time"`
ExtInfo string `json:"ext_info"`
}
type AntMerchantShopQuery struct {
ErrorResponse
ShopID string `json:"shop_id"`
BusinessAddress struct {
CityCode string `json:"city_code"`
DistrictCode string `json:"district_code"`
Address string `json:"address"`
ProvinceCode string `json:"province_code"`
Poiid string `json:"poiid,omitempty"`
Longitude string `json:"longitude,omitempty"`
Latitude string `json:"latitude,omitempty"`
Type string `json:"type,omitempty"`
} `json:"business_address"`
ShopCategory string `json:"shop_category"`
StoreID string `json:"store_id"`
ShopType string `json:"shop_type"`
IPRoleID string `json:"ip_role_id"`
ShopName string `json:"shop_name"`
ContactPhone string `json:"contact_phone"`
ContactMobile string `json:"contact_mobile"`
CertNo string `json:"cert_no"`
OutDoorImages []string `json:"out_door_images,omitempty"`
Qualifications []struct {
IndustryQualificationType string `json:"industry_qualification_type,omitempty"`
IndustryQualificationImage string `json:"industry_qualification_image,omitempty"`
} `json:"qualifications,omitempty"`
CertType string `json:"cert_type,omitempty"`
CertName string `json:"cert_name,omitempty"`
CertImage string `json:"cert_image,omitempty"`
LegalName string `json:"legal_name,omitempty"`
LegalCertNo string `json:"legal_cert_no,omitempty"`
LicenseAuthLetterImage string `json:"license_auth_letter_image,omitempty"`
SettleAlipayLogonID string `json:"settle_alipay_logon_id,omitempty"`
ExtInfos []struct {
KeyName string `json:"key_name"`
Value string `json:"value"`
} `json:"ext_infos,omitempty"`
BusinessTime []struct {
WeekDay int `json:"week_day"`
OpenTime string `json:"open_time"`
CloseTime string `json:"close_time"`
} `json:"business_time,omitempty"`
ContactInfos []struct {
Name string `json:"name"`
Phone string `json:"phone,omitempty"`
Mobile string `json:"mobile,omitempty"`
Email string `json:"email,omitempty"`
Tag []string `json:"tag"`
Type string `json:"type"`
IDCardNo string `json:"id_card_no,omitempty"`
} `json:"contact_infos,omitempty"`
Memo string `json:"memo,omitempty"`
BrandID string `json:"brand_id,omitempty"`
Scene string `json:"scene,omitempty"`
NewShopCategory string `json:"new_shop_category"`
}
type AntMerchantShopClose struct {
ErrorResponse
}