mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-21 20:36:05 +03:00
structured quantity & cost
This commit is contained in:
parent
1387691d4c
commit
dc9f9acba2
@ -380,10 +380,10 @@ type (
|
|||||||
}
|
}
|
||||||
|
|
||||||
MessageOrderItem struct {
|
MessageOrderItem struct {
|
||||||
Name string `json:"name,omitempty"`
|
Name string `json:"name,omitempty"`
|
||||||
Url string `json:"url,omitempty"`
|
Url string `json:"url,omitempty"`
|
||||||
Quantity string `json:"quantity,omitempty"`
|
Quantity *MessageOrderQuantity `json:"quantity,omitempty"`
|
||||||
Price string `json:"price,omitempty"`
|
Price *MessageOrderCost `json:"price,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
MessageOrderCost struct {
|
MessageOrderCost struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user