@@ -23,17 +23,19 @@ type Merchant struct {
23
23
}
24
24
25
25
type Goods struct {
26
- ReferenceGoodsId string `json:"referenceGoodsId,omitempty"`
27
- GoodsName string `json:"goodsName,omitempty"`
28
- GoodsCategory string `json:"goodsCategory,omitempty"`
29
- GoodsBrand string `json:"goodsBrand,omitempty"`
30
- GoodsUnitAmount * Amount `json:"goodsUnitAmount,omitempty"`
31
- GoodsQuantity string `json:"goodsQuantity,omitempty"`
32
- GoodsSkuName string `json:"goodsSkuName,omitempty"`
33
- GoodsUrl string `json:"goodsUrl,omitempty"`
34
- DeliveryMethodType DeliveryMethodType `json:"deliveryMethodType,omitempty"`
35
- GoodsImageUrl string `json:"goodsImageUrl,omitempty"`
36
- PriceId string `json:"priceId,omitempty"`
26
+ ReferenceGoodsId string `json:"referenceGoodsId,omitempty"`
27
+ GoodsName string `json:"goodsName,omitempty"`
28
+ GoodsCategory string `json:"goodsCategory,omitempty"`
29
+ GoodsBrand string `json:"goodsBrand,omitempty"`
30
+ GoodsUnitAmount * Amount `json:"goodsUnitAmount,omitempty"`
31
+ GoodsQuantity string `json:"goodsQuantity,omitempty"`
32
+ GoodsSkuName string `json:"goodsSkuName,omitempty"`
33
+ GoodsUrl string `json:"goodsUrl,omitempty"`
34
+ DeliveryMethodType DeliveryMethodType `json:"deliveryMethodType,omitempty"`
35
+ GoodsImageUrl string `json:"goodsImageUrl,omitempty"`
36
+ PriceId string `json:"priceId,omitempty"`
37
+ GoodsDiscountAmount * Amount `json:"goodsDiscountAmount,omitempty"`
38
+ CrossSell * Goods `json:"crossSell,omitempty"`
37
39
}
38
40
type DeliveryEstimateInfo struct {
39
41
Unit string `json:"unit,omitempty"`
@@ -55,6 +57,8 @@ type Shipping struct {
55
57
ShippingFee * Amount `json:"shippingFee,omitempty"`
56
58
ShippingDescription string `json:"shippingDescription,omitempty"`
57
59
DeliveryEstimate * DeliveryEstimate `json:"deliveryEstimate,omitempty"`
60
+ ShippingNumber string `json:"shippingNumber,omitempty"`
61
+ Notes string `json:"notes,omitempty"`
58
62
}
59
63
60
64
type Buyer struct {
@@ -153,18 +157,20 @@ type Gaming struct {
153
157
}
154
158
155
159
type Order struct {
156
- ReferenceOrderId string `json:"referenceOrderId,omitempty"`
157
- OrderDescription string `json:"orderDescription,omitempty"`
158
- OrderAmount * Amount `json:"orderAmount,omitempty"`
159
- Merchant * Merchant `json:"merchant,omitempty"`
160
- Goods []Goods `json:"goods,omitempty"`
161
- Shipping * Shipping `json:"shipping,omitempty"`
162
- Buyer * Buyer `json:"buyer,omitempty"`
163
- Env * Env `json:"env,omitempty"`
164
- ExtendInfo string `json:"extendInfo,omitempty"`
165
- Transit * Transit `json:"transit,omitempty"`
166
- Lodging * Lodging `json:"lodging,omitempty"`
167
- Gaming * Gaming `json:"gaming,omitempty"`
168
- OrderCreatedTime string `json:"orderCreatedTime,omitempty"`
169
- NeedDeclaration bool `json:"needDeclaration,omitempty"`
160
+ ReferenceOrderId string `json:"referenceOrderId,omitempty"`
161
+ OrderDescription string `json:"orderDescription,omitempty"`
162
+ OrderAmount * Amount `json:"orderAmount,omitempty"`
163
+ Merchant * Merchant `json:"merchant,omitempty"`
164
+ Goods []Goods `json:"goods,omitempty"`
165
+ Shipping * Shipping `json:"shipping,omitempty"`
166
+ Buyer * Buyer `json:"buyer,omitempty"`
167
+ Env * Env `json:"env,omitempty"`
168
+ ExtendInfo string `json:"extendInfo,omitempty"`
169
+ Transit * Transit `json:"transit,omitempty"`
170
+ Lodging * Lodging `json:"lodging,omitempty"`
171
+ Gaming * Gaming `json:"gaming,omitempty"`
172
+ OrderCreatedTime string `json:"orderCreatedTime,omitempty"`
173
+ NeedDeclaration bool `json:"needDeclaration,omitempty"`
174
+ OrderDiscountAmount * Amount `json:"orderDiscountAmount,omitempty"`
175
+ SubTotalOrderAmount * Amount `json:"subTotalOrderAmount,omitempty"`
170
176
}
0 commit comments