-
Notifications
You must be signed in to change notification settings - Fork 1
/
productgpfbuyer.go
45 lines (39 loc) · 1.46 KB
/
productgpfbuyer.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
package typesjson
type ProductGroupForBuyer struct {
Data ProductGroupForBuyerData `json:"data"`
Error string `json:"error,omitempty"`
}
type ProductGroupForBuyerData struct {
CalculatedTotal int `json:"calculatedTotal"`
InProgress bool `json:"inProgress"`
OrderHashId string `json:"orderHashId"`
Originator string `json:"originator"`
ShopName string `json:"shopName"`
ShopTelNo string `json:"shopTelNo"`
Size int `json:"size"`
Total int `json:"total"`
TotalBuyer int `json:"totalBuyer"`
Rows []ProductGroupForBuyerRow `json:"rows"`
}
type ProductGroupForBuyerRow struct {
CalculatedTotal int `json:"calculatedTotal"`
FirstCalculatedPrice int `json:"firstCalculatedPrice"`
FirstPrice int `json:"firstPrice"`
MergedKey string `json:"mergedKey"`
Name string `json:"name"`
Size int `json:"size"`
Total int `json:"total"`
Items []ProductGroupForBuyerItem `json:"items"`
}
type ProductGroupForBuyerItem struct {
Cancelable bool `json:"cancelable"`
Comment string `json:"comment"`
FullName string `json:"fullName"`
MergedKey string `json:"mergedKey"`
MergedName string `json:"mergedName"`
OrderItemIds []int `json:"orderItemIds"`
Paid bool `json:"paid"`
Shipped bool `json:"shipped"`
Size int `json:"size"`
Total int `json:"total"`
}