1
0
mirror of synced 2024-11-22 13:06:05 +03:00

structured cost & quantity

This commit is contained in:
Alex Lushpai 2018-09-13 22:25:33 +03:00
parent 1eb5fe3bcb
commit 43b1437674

View File

@ -218,10 +218,10 @@ type MessageDataOrderStatus struct {
} }
type MessageDataOrderItem struct { type MessageDataOrderItem struct {
Name string `json:"name,omitempty"` Name string `json:"name,omitempty"`
Url string `json:"url,omitempty"` Url string `json:"url,omitempty"`
Quantity string `json:"quantity,omitempty"` Quantity *MessageDataOrderQuantity `json:"quantity,omitempty"`
Price string `json:"price,omitempty"` Price *MessageDataOrderCost `json:"price,omitempty"`
} }
type MessageDataOrderCost struct { type MessageDataOrderCost struct {