natsio/model/order_request.go

36 lines
914 B
Go
Raw 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"`
}
2022-09-07 05:00:40 +00:00
// OrderUpdateLogisticInfoFailed ...
type OrderUpdateLogisticInfoFailed struct {
OrderID string `json:"orderId"`
ORCode string `json:"orCode"`
Reason string `json:"reason"`
}