fix(onpoint): update order item model

This commit is contained in:
Sinh 2023-12-08 09:10:20 +07:00
parent a9b7f39b09
commit 1c6be73d04
1 changed files with 7 additions and 7 deletions

View File

@ -27,13 +27,13 @@ type CreateOrderRequest struct {
// OrderItem ... // OrderItem ...
type OrderItem struct { type OrderItem struct {
SellingPrice int `json:"selling_price"` SellingPrice int `json:"selling_price"`
Quantity int `json:"quantity"` Quantity int `json:"quantity"`
Uom string `json:"uom"` Uom string `json:"uom"`
Amount int `json:"amount"` Amount int `json:"amount"`
Name string `json:"name"` Name string `json:"name"`
PartnerSku string `json:"sku"` PartnerSku string `json:"sku"`
DiscountPrice int `json:"discount_price"` DiscountedPrice int `json:"discounted_price"`
} }
// UpdateOrderDeliveryRequest ... // UpdateOrderDeliveryRequest ...