structured quantity & cost

This commit is contained in:
Alex Lushpai 2018-09-13 22:33:43 +03:00
parent 1387691d4c
commit dc9f9acba2

View File

@ -382,8 +382,8 @@ type (
MessageOrderItem struct {
Name string `json:"name,omitempty"`
Url string `json:"url,omitempty"`
Quantity string `json:"quantity,omitempty"`
Price string `json:"price,omitempty"`
Quantity *MessageOrderQuantity `json:"quantity,omitempty"`
Price *MessageOrderCost `json:"price,omitempty"`
}
MessageOrderCost struct {