update json tag

This commit is contained in:
Sinh 2022-08-26 10:31:36 +07:00
parent ad51f45871
commit e860b97c5b
1 changed files with 5 additions and 5 deletions

View File

@ -34,8 +34,8 @@ type WarehouseSupplier struct {
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" json:"isLimitNumberOfPurchases"` IsLimitNumberOfPurchases bool `json:"isLimitNumberOfPurchases"`
LimitNumberOfPurchases int64 `json:"limitNumberOfPurchases" json:"limitNumberOfPurchases"` LimitNumberOfPurchases int64 `json:"limitNumberOfPurchases"`
} }
// WarehousePaymentMethod ... // WarehousePaymentMethod ...
@ -47,9 +47,9 @@ type WarehousePaymentMethod struct {
// WarehouseDelivery ... // WarehouseDelivery ...
type WarehouseDelivery struct { type WarehouseDelivery struct {
DeliveryMethods []string `json:"deliveryMethods"` DeliveryMethods []string `json:"deliveryMethods"`
PriorityServiceCodes []string `json:"priorityDeliveryServiceCodes"` PriorityServiceCodes []string `json:"priorityServiceCodes"`
EnabledSources []int `json:"enabledDeliverySources"` EnabledSources []int `json:"enabledSources"`
Types []string `json:"type"` Types []string `json:"types"`
} }
// WarehousePartner ... // WarehousePartner ...