1
0
mirror of synced 2024-11-22 04:56:06 +03:00

MessageDataProduct.Unit

* Add MessageDataProduct.Unit field
* MessageDataProduct.Quantity marked as deprecated
This commit is contained in:
Alex Lushpai 2020-04-29 18:44:51 +03:00 committed by GitHub
commit e144eba7c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -346,6 +346,8 @@ type MessageDataProduct struct {
Url string `json:"url,omitempty"`
Img string `json:"img,omitempty"`
Cost *MessageDataOrderCost `json:"cost,omitempty"`
Unit string `json:"unit,omitempty"`
// Deprecated: now you need to use Unit instead of this field
Quantity *MessageDataOrderQuantity `json:"quantity,omitempty"`
}