update warehouse config #154

Merged
sinhluu merged 1 commits from order/notify-on-new-order-for-warehouse into master 2023-04-11 02:52:36 +00:00
1 changed files with 12 additions and 4 deletions
Showing only changes of commit 202dca2c28 - Show all commits

View File

@ -65,6 +65,14 @@ type WarehouseOrder struct {
PaymentMethod WarehousePaymentMethod `json:"paymentMethod"` PaymentMethod WarehousePaymentMethod `json:"paymentMethod"`
IsLimitNumberOfPurchases bool `json:"isLimitNumberOfPurchases"` IsLimitNumberOfPurchases bool `json:"isLimitNumberOfPurchases"`
LimitNumberOfPurchases int64 `json:"limitNumberOfPurchases"` LimitNumberOfPurchases int64 `json:"limitNumberOfPurchases"`
NotifyOnNewOrder WarehouseConfigNotifyOnNewOrder `json:"notifyOnNewOrder"`
}
// WarehouseConfigNotifyOnNewOrder ...
type WarehouseConfigNotifyOnNewOrder struct {
Enable bool `bson:"enable" json:"enable"`
Channel string `bson:"channel" json:"channel"`
RoomID string `bson:"roomId" json:"roomId"`
} }
// WarehousePaymentMethod ... // WarehousePaymentMethod ...