natsio/model/order_request.go

56 lines
1.4 KiB
Go
Raw Normal View History

2022-08-20 14:21:51 +00:00
package model
// OrderUpdateORStatus ...
type OrderUpdateORStatus struct {
2022-10-21 02:26:37 +00:00
ID string `json:"id"`
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"`
}
2022-09-08 07:47:52 +00:00
// OrderORsNotUpdateStatus ...
type OrderORsNotUpdateStatus struct {
ORCodes []string `json:"orCodes"`
}
2022-09-21 10:40:49 +00:00
// OrderSupplierQuery ...
type OrderSupplierQuery struct {
Limit int64 `json:"limit"`
Page int64 `json:"page"`
FromDate string `json:"fromDate"`
ToDate string `json:"toDate"`
SupplierID string `json:"supplierId"`
WarehouseIDs []string `json:"warehouseIDs"`
}
type OrderSupplierCashReq struct {
SupplierID string `json:"supplierId"`
}