From 4c882fa250f1b8f83e5583534fc636f82c487f5d Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Thu, 20 Sep 2018 11:26:02 +0300 Subject: [PATCH] add oneof for order status --- v1/types.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/v1/types.go b/v1/types.go index f5196f7..0bfe8bc 100644 --- a/v1/types.go +++ b/v1/types.go @@ -20,6 +20,13 @@ const ( MsgTypeCommand string = "command" MsgTypeOrder string = "order" MsgTypeProduct string = "product" + + MsgOrderStatusCodeNew = "new" + MsgOrderStatusCodeApproval = "approval" + MsgOrderStatusCodeAssembling = "assembling" + MsgOrderStatusCodeDelivery = "delivery" + MsgOrderStatusCodeComplete = "complete" + MsgOrderStatusCodeCancel = "cancel" ) // MgClient type