Merge pull request 'feature/limit-create-order-based-warehouse-conditions' (#173) from feature/limit-create-order-based-warehouse-conditions into master
Reviewed-on: #173 Reviewed-by: trunglam <trunglam@selly.vn>
This commit is contained in:
commit
72d45ed239
|
@ -61,12 +61,14 @@ type WarehouseSupplier struct {
|
||||||
|
|
||||||
// WarehouseOrder ...
|
// WarehouseOrder ...
|
||||||
type WarehouseOrder struct {
|
type WarehouseOrder struct {
|
||||||
MinimumValue float64 `json:"minimumValue"`
|
MinimumValue float64 `json:"minimumValue"`
|
||||||
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"`
|
NotifyOnNewOrder WarehouseConfigNotifyOnNewOrder `json:"notifyOnNewOrder"`
|
||||||
LabelSize string `json:"labelSize"`
|
LabelSize string `json:"labelSize"`
|
||||||
|
MaximumOrderValue float64 `json:"maximumOrderValue"`
|
||||||
|
MaximumNumberPerBuyerEachMonth int64 `json:"maximumNumberPerBuyerEachMonth"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// WarehouseConfigNotifyOnNewOrder ...
|
// WarehouseConfigNotifyOnNewOrder ...
|
||||||
|
|
Loading…
Reference in New Issue