natsio/model/order_request.go

29 lines
733 B
Go
Raw Permalink Normal View History

2022-08-20 14:21:51 +00:00
package model
// OrderUpdateORStatus ...
type OrderUpdateORStatus struct {
2022-09-06 04:09:52 +00:00
OrderCode string `json:"orderCode"`
ORCode string `json:"orCode"`
Status string `json:"status"`
DeliveryStatus string `json:"deliveryStatus"`
Reason string `json:"reason"`
Data OrderORData `json:"data"`
2022-08-20 14:21:51 +00:00
}
2022-08-23 07:26:49 +00:00
// OrderCancelDelivery ...
type OrderCancelDelivery struct {
OrderID string `json:"orderId"`
}
2022-08-31 03:53:51 +00:00
// OrderChangeDeliveryStatus ...
type OrderChangeDeliveryStatus struct {
OrderID string `json:"orderId"`
DeliveryStatus string `json:"deliveryStatus"`
ActionBy ActionBy `json:"actionBy"`
}
2022-09-06 04:09:52 +00:00
// OrderORData ...
type OrderORData struct {
Link string `json:"link"`
}