2022-08-20 14:21:51 +00:00
|
|
|
package subject
|
|
|
|
|
2022-08-26 08:56:36 +00:00
|
|
|
import "fmt"
|
2022-08-20 14:21:51 +00:00
|
|
|
|
2022-08-26 08:56:36 +00:00
|
|
|
func getOrderValue(val string) string {
|
|
|
|
return fmt.Sprintf("%s.%s", prefixes.Order, val)
|
|
|
|
}
|
|
|
|
|
|
|
|
var Order = struct {
|
2022-08-31 03:53:51 +00:00
|
|
|
UpdateORStatus string
|
|
|
|
CancelDelivery string
|
|
|
|
ChangeDeliveryStatus string
|
2022-08-26 08:56:36 +00:00
|
|
|
}{
|
2022-08-31 03:53:51 +00:00
|
|
|
UpdateORStatus: getOrderValue("update_outbound_request_status"),
|
|
|
|
CancelDelivery: getOrderValue("cancel_delivery"),
|
|
|
|
ChangeDeliveryStatus: getOrderValue("change_delivery_status"),
|
2022-08-26 08:56:36 +00:00
|
|
|
}
|