added field MessageDataProduct.Unit and MessageDataProduct.Quantity mark deprecated
This commit is contained in:
parent
43886089ef
commit
86b792b86b
@ -346,6 +346,8 @@ type MessageDataProduct struct {
|
|||||||
Url string `json:"url,omitempty"`
|
Url string `json:"url,omitempty"`
|
||||||
Img string `json:"img,omitempty"`
|
Img string `json:"img,omitempty"`
|
||||||
Cost *MessageDataOrderCost `json:"cost,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"`
|
Quantity *MessageDataOrderQuantity `json:"quantity,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user