define communication, warehouse func #5

Merged
luuvansinh merged 9 commits from define-communication-func into master 2022-08-24 02:42:24 +00:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit 2344c5a738 - Show all commits

View File

@ -2,6 +2,7 @@ package model
// OutboundRequestPayload ... // OutboundRequestPayload ...
type OutboundRequestPayload struct { type OutboundRequestPayload struct {
OrderID string `json:"orderId"`
OrderCode string `json:"orderCode"` OrderCode string `json:"orderCode"`
TrackingCode string `json:"trackingCode"` TrackingCode string `json:"trackingCode"`
WarehouseID string `json:"warehouseId"` WarehouseID string `json:"warehouseId"`

View File

@ -5,6 +5,7 @@ type OutboundRequestResponse struct {
// System code // System code
OrderCode string `json:"orderCode"` OrderCode string `json:"orderCode"`
TrackingCode string `json:"trackingCode"` TrackingCode string `json:"trackingCode"`
ID string `json:"id"` // OR id
// Partner response // Partner response
ORCode string `json:"orCode"` ORCode string `json:"orCode"`