Merge pull request #17 from gwinn/master

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

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 {