From e860b97c5b67436dfe76303513dfcb2d509379a1 Mon Sep 17 00:00:00 2001 From: Sinh Date: Fri, 26 Aug 2022 10:31:36 +0700 Subject: [PATCH] update json tag --- model/warehouse_response.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/model/warehouse_response.go b/model/warehouse_response.go index deaeff1..2e19c9a 100644 --- a/model/warehouse_response.go +++ b/model/warehouse_response.go @@ -34,8 +34,8 @@ type WarehouseSupplier struct { type WarehouseOrder struct { MinimumValue float64 `json:"minimumValue"` PaymentMethod WarehousePaymentMethod `json:"paymentMethod"` - IsLimitNumberOfPurchases bool `json:"isLimitNumberOfPurchases" json:"isLimitNumberOfPurchases"` - LimitNumberOfPurchases int64 `json:"limitNumberOfPurchases" json:"limitNumberOfPurchases"` + IsLimitNumberOfPurchases bool `json:"isLimitNumberOfPurchases"` + LimitNumberOfPurchases int64 `json:"limitNumberOfPurchases"` } // WarehousePaymentMethod ... @@ -47,9 +47,9 @@ type WarehousePaymentMethod struct { // WarehouseDelivery ... type WarehouseDelivery struct { DeliveryMethods []string `json:"deliveryMethods"` - PriorityServiceCodes []string `json:"priorityDeliveryServiceCodes"` - EnabledSources []int `json:"enabledDeliverySources"` - Types []string `json:"type"` + PriorityServiceCodes []string `json:"priorityServiceCodes"` + EnabledSources []int `json:"enabledSources"` + Types []string `json:"types"` } // WarehousePartner ...