feature/add-field-store-code-warehouse #176
			
				
			
		
		
		
	|  | @ -42,6 +42,7 @@ type OutboundRequestItem struct { | ||||||
| 	UnitCode           string  `json:"unitCode"` | 	UnitCode           string  `json:"unitCode"` | ||||||
| 	Price              float64 `json:"price"` | 	Price              float64 `json:"price"` | ||||||
| 	Name               string  `json:"name"` | 	Name               string  `json:"name"` | ||||||
|  | 	PartnerProductCode string  `json:"partnerProductCode"` | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // CustomerInfo ...
 | // CustomerInfo ...
 | ||||||
|  |  | ||||||
|  | @ -67,6 +67,8 @@ type WarehouseOrder struct { | ||||||
| 	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 ...
 | ||||||
|  | @ -155,6 +157,7 @@ type WarehouseNatsResponse struct { | ||||||
| 	ReasonPendingInactive string                    `json:"reasonPendingInactive"` | 	ReasonPendingInactive string                    `json:"reasonPendingInactive"` | ||||||
| 	IsPendingInactive     bool                      `json:"isPendingInactive"` | 	IsPendingInactive     bool                      `json:"isPendingInactive"` | ||||||
| 	IsFromInternational   bool                      `json:"isFromInternational"` | 	IsFromInternational   bool                      `json:"isFromInternational"` | ||||||
|  | 	StoreCode             string                    `json:"storeCode"` | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // WarehouseInfo ...
 | // WarehouseInfo ...
 | ||||||
|  |  | ||||||
|  | @ -19,6 +19,7 @@ var Warehouse = struct { | ||||||
| 	WebhookTNC                           string | 	WebhookTNC                           string | ||||||
| 	WebhookGlobalCare                    string | 	WebhookGlobalCare                    string | ||||||
| 	WebhookOnPoint                       string | 	WebhookOnPoint                       string | ||||||
|  | 	WebhookViettelFFM                    string | ||||||
| 	FindOne                              string | 	FindOne                              string | ||||||
| 	FindByCondition                      string | 	FindByCondition                      string | ||||||
| 	Distinct                             string | 	Distinct                             string | ||||||
|  | @ -46,6 +47,7 @@ var Warehouse = struct { | ||||||
| 	WebhookTNC:                           getWarehouseValue("webhook_tnc"), | 	WebhookTNC:                           getWarehouseValue("webhook_tnc"), | ||||||
| 	WebhookGlobalCare:                    getWarehouseValue("webhook_global_care"), | 	WebhookGlobalCare:                    getWarehouseValue("webhook_global_care"), | ||||||
| 	WebhookOnPoint:                       getWarehouseValue("webhook_on_point"), | 	WebhookOnPoint:                       getWarehouseValue("webhook_on_point"), | ||||||
|  | 	WebhookViettelFFM:                    getWarehouseValue("webhook_viettel_ffm"), | ||||||
| 	FindOne:                              getWarehouseValue("find_one"), | 	FindOne:                              getWarehouseValue("find_one"), | ||||||
| 	FindByCondition:                      getWarehouseValue("find_all_by_condition"), | 	FindByCondition:                      getWarehouseValue("find_all_by_condition"), | ||||||
| 	Distinct:                             getWarehouseValue("distinct"), | 	Distinct:                             getWarehouseValue("distinct"), | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue