1
0
mirror of synced 2024-11-28 16:06:04 +03:00

Merge pull request #58 from Neur0toxine/master

[improvement] add discount field to MessageOrder
This commit is contained in:
Ilyas Salikhov 2020-03-19 11:34:48 +03:00 committed by GitHub
commit 6ac0ed4bc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,6 +355,7 @@ type MessageDataOrder struct {
Url string `json:"url,omitempty"` Url string `json:"url,omitempty"`
Date string `json:"date,omitempty"` Date string `json:"date,omitempty"`
Cost *MessageDataOrderCost `json:"cost,omitempty"` Cost *MessageDataOrderCost `json:"cost,omitempty"`
Discount *MessageDataOrderCost `json:"discount,omitempty"`
Status *MessageDataOrderStatus `json:"status,omitempty"` Status *MessageDataOrderStatus `json:"status,omitempty"`
Delivery *MessageDataOrderDelivery `json:"delivery"` Delivery *MessageDataOrderDelivery `json:"delivery"`
Payments []MessageDataOrderPayment `json:"payments"` Payments []MessageDataOrderPayment `json:"payments"`