Compare commits
No commits in common. "d549cc51032c6951fd9a497a5e59aba8d1cbcedb" and "aa202e8fcba6c8421cd1ef549f22a747f0012ea9" have entirely different histories.
d549cc5103
...
aa202e8fcb
|
@ -12,8 +12,6 @@ import (
|
||||||
|
|
||||||
// CreateOrderRequest ...
|
// CreateOrderRequest ...
|
||||||
type CreateOrderRequest struct {
|
type CreateOrderRequest struct {
|
||||||
StoreCode string `json:"store_code"`
|
|
||||||
DeliveryPlatform string `json:"delivery_platform"`
|
|
||||||
OrderCode string `json:"order_code"`
|
OrderCode string `json:"order_code"`
|
||||||
OrderDate time.Time `json:"order_date"`
|
OrderDate time.Time `json:"order_date"`
|
||||||
PickupLocationCode string `json:"pickup_location_code"`
|
PickupLocationCode string `json:"pickup_location_code"`
|
||||||
|
@ -27,13 +25,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"`
|
||||||
DiscountedPrice int `json:"discounted_price"`
|
DiscountPrice int `json:"discount_price"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// UpdateOrderDeliveryRequest ...
|
// UpdateOrderDeliveryRequest ...
|
||||||
|
|
|
@ -3,7 +3,6 @@ package onpoint
|
||||||
const (
|
const (
|
||||||
OrderStatusNew = "new"
|
OrderStatusNew = "new"
|
||||||
OrderStatusPendingWarehouse = "pending_warehouse"
|
OrderStatusPendingWarehouse = "pending_warehouse"
|
||||||
OrderStatusWhPending = "wh_pending"
|
|
||||||
OrderStatusWhProcessing = "wh_processing"
|
OrderStatusWhProcessing = "wh_processing"
|
||||||
OrderStatusWhCompleted = "wh_completed"
|
OrderStatusWhCompleted = "wh_completed"
|
||||||
OrderStatusDlPending = "dl_pending"
|
OrderStatusDlPending = "dl_pending"
|
||||||
|
|
Loading…
Reference in New Issue