1
0
mirror of synced 2024-11-21 20:46:05 +03:00

Merge pull request #27 from gwinn/master

structured cost & quantity
This commit is contained in:
Alex Lushpai 2018-09-13 22:27:47 +03:00 committed by GitHub
commit 7f61b9c20c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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