Skip to content

Commit

Permalink
fix(generator): Replace struct Name which has suffix 'Do' to 'DO' , '…
Browse files Browse the repository at this point in the history
…Dto' to 'DTO'
  • Loading branch information
bububa committed Jul 1, 2021
1 parent 5e41523 commit 0d0d234
Show file tree
Hide file tree
Showing 2,648 changed files with 5,949 additions and 5,797 deletions.
Binary file modified bin/downloader
Binary file not shown.
Binary file modified bin/generator
Binary file not shown.
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package opentaobao

const (
GitVersion = "v1.1.5"
GitCommit = "345d42a2"
GitCommit = "5bcf90bb"
GitDate = "<no value>"
GitBuiltBy = "unknown"
)
18 changes: 12 additions & 6 deletions metadata/apidoc.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,23 +71,23 @@ func (d ApiDoc) ApiTpl() ApiTpl {
}
reqParamMp := make(map[string]struct{}, len(d.RequestParams))
for _, p := range d.RequestParams {
if _, found := reqParamMp[p.Name]; found {
param := p.TplParam(tpl.Name)
if _, found := reqParamMp[param.Name]; found {
continue
}
reqParamMp[p.Name] = struct{}{}
param := p.TplParam(tpl.Name)
reqParamMp[param.Name] = struct{}{}
tpl.RequestParams = append(tpl.RequestParams, param)
if !tpl.IsMultipart && param.IsMultipart() {
tpl.IsMultipart = true
}
}
respParamMp := make(map[string]struct{}, len(d.ResponseParams))
for _, p := range d.ResponseParams {
if _, found := respParamMp[p.Name]; found {
param := p.TplParam(tpl.Name)
if _, found := respParamMp[param.Name]; found {
continue
}
respParamMp[p.Name] = struct{}{}
param := p.TplParam(tpl.Name)
respParamMp[param.Name] = struct{}{}
if param.Name == "RequestId" {
tpl.HasRequestId = true
}
Expand Down Expand Up @@ -139,6 +139,12 @@ func (p ApiParam) TplParam(apiName string) TplParam {
param.Type = "string"
default:
paramType = strings.Title(paramType)
if strings.HasSuffix(paramType, "Dto") {
paramType = strings.TrimSuffix(paramType, "Dto") + "DTO"
}
if strings.HasSuffix(paramType, "Do") {
paramType = strings.TrimSuffix(paramType, "Do") + "DO"
}
param.ObjType = paramType
param.SnakeType = util.SnakeCase(paramType)
if strings.HasSuffix(p.Type, "[]") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ type AliexpressAffiliateFeaturedpromoGetResponse struct {
// 平台颁发的每次请求访问的唯一标识
RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
// 返回结果
RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
RespResult *ResponseDTO `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ type AliexpressAffiliateFeaturedpromoProductsGetResponse struct {
// 平台颁发的每次请求访问的唯一标识
RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
// 返回结果
RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
RespResult *ResponseDTO `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ type AliexpressAffiliateHotproductDownloadResponse struct {
// 平台颁发的每次请求访问的唯一标识
RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
// 返回结果
RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
RespResult *ResponseDTO `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ type AliexpressAffiliateHotproductQueryResponse struct {
// 平台颁发的每次请求访问的唯一标识
RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
// 返回结果
RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
RespResult *ResponseDTO `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ type AliexpressAffiliateProductQueryResponse struct {
// 平台颁发的每次请求访问的唯一标识
RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
// 返回结果
RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
RespResult *ResponseDTO `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ type AliexpressAffiliateProductSmartmatchResponse struct {
// 平台颁发的每次请求访问的唯一标识
RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
// 返回结果
RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
RespResult *ResponseDTO `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ type AliexpressAffiliateProductdetailGetResponse struct {
// 平台颁发的每次请求访问的唯一标识
RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
// 返回结果
RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
RespResult *ResponseDTO `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}
2 changes: 1 addition & 1 deletion model/aecreatives/Product.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ type Product struct {
// JV佣金率
RelevantMarketCommissionRate string `json:"relevant_market_commission_rate,omitempty" xml:"relevant_market_commission_rate,omitempty"`
// code信息
PromoCodeInfo *PromoCodeDto `json:"promo_code_info,omitempty" xml:"promo_code_info,omitempty"`
PromoCodeInfo *PromoCodeDTO `json:"promo_code_info,omitempty" xml:"promo_code_info,omitempty"`
// 可达国家与到达时间
ShipToDays string `json:"ship_to_days,omitempty" xml:"ship_to_days,omitempty"`
// 佣金率
Expand Down
4 changes: 2 additions & 2 deletions model/aecreatives/ProductImgRegionDto.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package aecreatives

// ProductImgRegionDto
type ProductImgRegionDto struct {
// ProductImgRegionDTO
type ProductImgRegionDTO struct {
// 图片识别的坐标 pos_top_left_x
PosTopLeftX string `json:"pos_top_left_x,omitempty" xml:"pos_top_left_x,omitempty"`
// 图片识别的坐标 pos_top_left_y
Expand Down
4 changes: 2 additions & 2 deletions model/aecreatives/PromoCodeDto.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package aecreatives

// PromoCodeDto
type PromoCodeDto struct {
// PromoCodeDTO
type PromoCodeDTO struct {
// 专属绑定PID的code码
PromoCode string `json:"promo_code,omitempty" xml:"promo_code,omitempty"`
// 优惠方式 1 满减,2 满折
Expand Down
2 changes: 1 addition & 1 deletion model/aecreatives/Response.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type Response struct {
// 返回结果状态码
Code string `json:"code,omitempty" xml:"code,omitempty"`
// 图搜结果
Data *TrafficImageSearchResultDto `json:"data,omitempty" xml:"data,omitempty"`
Data *TrafficImageSearchResultDTO `json:"data,omitempty" xml:"data,omitempty"`
// 默认描述
Message string `json:"message,omitempty" xml:"message,omitempty"`
// 是否成功
Expand Down
6 changes: 3 additions & 3 deletions model/aecreatives/ResponseDto.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package aecreatives

// ResponseDto
type ResponseDto struct {
// ResponseDTO
type ResponseDTO struct {
// 返回结果状态码
RespCode int64 `json:"resp_code,omitempty" xml:"resp_code,omitempty"`
// 返回结果状态描述
RespMsg string `json:"resp_msg,omitempty" xml:"resp_msg,omitempty"`
// 返回结果明细
Result *TrafficFeaturedPromoResultDto `json:"result,omitempty" xml:"result,omitempty"`
Result *TrafficFeaturedPromoResultDTO `json:"result,omitempty" xml:"result,omitempty"`
}
4 changes: 2 additions & 2 deletions model/aecreatives/TrafficFeaturedPromoResultDto.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package aecreatives

// TrafficFeaturedPromoResultDto
type TrafficFeaturedPromoResultDto struct {
// TrafficFeaturedPromoResultDTO
type TrafficFeaturedPromoResultDTO struct {
// 当前返回数量
CurrentRecordCount int64 `json:"current_record_count,omitempty" xml:"current_record_count,omitempty"`
// 返回主题活动列表
Expand Down
6 changes: 3 additions & 3 deletions model/aecreatives/TrafficImageSearchResultDto.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package aecreatives

// TrafficImageSearchResultDto
type TrafficImageSearchResultDto struct {
// TrafficImageSearchResultDTO
type TrafficImageSearchResultDTO struct {
// 图搜结果
Products []Product `json:"products,omitempty" xml:"products>product,omitempty"`
// 总数
TotalRecordCount int64 `json:"total_record_count,omitempty" xml:"total_record_count,omitempty"`
// 图片识别的坐标
Region *ProductImgRegionDto `json:"region,omitempty" xml:"region,omitempty"`
Region *ProductImgRegionDTO `json:"region,omitempty" xml:"region,omitempty"`
}
4 changes: 2 additions & 2 deletions model/aecreatives/TrafficProductResultDto.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package aecreatives

// TrafficProductResultDto
type TrafficProductResultDto struct {
// TrafficProductResultDTO
type TrafficProductResultDTO struct {
// 当前返回页数
CurrentPageNo int64 `json:"current_page_no,omitempty" xml:"current_page_no,omitempty"`
// 当前返回数量
Expand Down
2 changes: 1 addition & 1 deletion model/aedata/AliexpressAffiliateOrderGetResponse.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ type AliexpressAffiliateOrderGetResponse struct {
// 平台颁发的每次请求访问的唯一标识
RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
// 返回结果
RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
RespResult *ResponseDTO `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}
2 changes: 1 addition & 1 deletion model/aedata/AliexpressAffiliateOrderListResponse.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ type AliexpressAffiliateOrderListResponse struct {
// 平台颁发的每次请求访问的唯一标识
RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
// 返回结果
RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
RespResult *ResponseDTO `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ type AliexpressAffiliateOrderListbyindexResponse struct {
// 平台颁发的每次请求访问的唯一标识
RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
// 返回结果
RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
RespResult *ResponseDTO `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}
6 changes: 3 additions & 3 deletions model/aedata/ResponseDto.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package aedata

// ResponseDto
type ResponseDto struct {
// ResponseDTO
type ResponseDTO struct {
// 返回结果状态码
RespCode int64 `json:"resp_code,omitempty" xml:"resp_code,omitempty"`
// 返回状态描述信息
RespMsg string `json:"resp_msg,omitempty" xml:"resp_msg,omitempty"`
// 返回结果明细
Result *TrafficOrderResultDto `json:"result,omitempty" xml:"result,omitempty"`
Result *TrafficOrderResultDTO `json:"result,omitempty" xml:"result,omitempty"`
}
4 changes: 2 additions & 2 deletions model/aedata/TrafficOrderResultDto.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package aedata

// TrafficOrderResultDto
type TrafficOrderResultDto struct {
// TrafficOrderResultDTO
type TrafficOrderResultDTO struct {
// 当前页记录条数
CurrentRecordCount int64 `json:"current_record_count,omitempty" xml:"current_record_count,omitempty"`
// 订单内容明细
Expand Down
4 changes: 2 additions & 2 deletions model/aedropshiper/AeopFindProductResultDto.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package aedropshiper

// AeopFindProductResultDto
type AeopFindProductResultDto struct {
// AeopFindProductResultDTO
type AeopFindProductResultDTO struct {
// 商品的SKU信息
AeopAeProductSKUs []AeopAeProductSku `json:"aeop_ae_product_s_k_us,omitempty" xml:"aeop_ae_product_s_k_us>aeop_ae_product_sku,omitempty"`
// 商品详描
Expand Down
4 changes: 2 additions & 2 deletions model/aedropshiper/AeopFreightCalculateForBuyerDto.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package aedropshiper

// AeopFreightCalculateForBuyerDto
type AeopFreightCalculateForBuyerDto struct {
// AeopFreightCalculateForBuyerDTO
type AeopFreightCalculateForBuyerDTO struct {
// 城市编码
CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
// 国家编码
Expand Down
4 changes: 2 additions & 2 deletions model/aedropshiper/AeopFreightCalculateResultForBuyerDto.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package aedropshiper

// AeopFreightCalculateResultForBuyerDto
type AeopFreightCalculateResultForBuyerDto struct {
// AeopFreightCalculateResultForBuyerDTO
type AeopFreightCalculateResultForBuyerDTO struct {
// errorCode
ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
// 预估运达时效
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package aedropshiper
// AeopFreightCalculateResultListResponseForBuyer
type AeopFreightCalculateResultListResponseForBuyer struct {
// aeopFreightCalculateResultForBuyerDTOList
AeopFreightCalculateResultForBuyerDTOList []AeopFreightCalculateResultForBuyerDto `json:"aeop_freight_calculate_result_for_buyer_d_t_o_list,omitempty" xml:"aeop_freight_calculate_result_for_buyer_d_t_o_list>aeop_freight_calculate_result_for_buyer_dto,omitempty"`
AeopFreightCalculateResultForBuyerDTOList []AeopFreightCalculateResultForBuyerDTO `json:"aeop_freight_calculate_result_for_buyer_d_t_o_list,omitempty" xml:"aeop_freight_calculate_result_for_buyer_d_t_o_list>aeop_freight_calculate_result_for_buyer_dto,omitempty"`
// errorDesc
ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
// success
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ aliexpress.logistics.buyer.freight.calculate
type AliexpressLogisticsBuyerFreightCalculateRequest struct {
model.Params
// 运费计算请求参数
_paramAeopFreightCalculateForBuyerDTO *AeopFreightCalculateForBuyerDto
_paramAeopFreightCalculateForBuyerDTO *AeopFreightCalculateForBuyerDTO
}

// 初始化AliexpressLogisticsBuyerFreightCalculateRequest对象
Expand All @@ -40,13 +40,13 @@ func (r AliexpressLogisticsBuyerFreightCalculateRequest) GetApiParams() url.Valu
}
// ParamAeopFreightCalculateForBuyerDTO Setter
// 运费计算请求参数
func (r *AliexpressLogisticsBuyerFreightCalculateRequest) SetParamAeopFreightCalculateForBuyerDTO(_paramAeopFreightCalculateForBuyerDTO *AeopFreightCalculateForBuyerDto) error {
func (r *AliexpressLogisticsBuyerFreightCalculateRequest) SetParamAeopFreightCalculateForBuyerDTO(_paramAeopFreightCalculateForBuyerDTO *AeopFreightCalculateForBuyerDTO) error {
r._paramAeopFreightCalculateForBuyerDTO = _paramAeopFreightCalculateForBuyerDTO
r.Set("param_aeop_freight_calculate_for_buyer_d_t_o", _paramAeopFreightCalculateForBuyerDTO)
return nil
}

// ParamAeopFreightCalculateForBuyerDTO Getter
func (r AliexpressLogisticsBuyerFreightCalculateRequest) GetParamAeopFreightCalculateForBuyerDTO() *AeopFreightCalculateForBuyerDto {
func (r AliexpressLogisticsBuyerFreightCalculateRequest) GetParamAeopFreightCalculateForBuyerDTO() *AeopFreightCalculateForBuyerDTO {
return r._paramAeopFreightCalculateForBuyerDTO
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ type AliexpressPostproductRedefiningFindaeproductbyidfordropshipperResponse stru
// 平台颁发的每次请求访问的唯一标识
RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
// result
Result *AeopFindProductResultDto `json:"result,omitempty" xml:"result,omitempty"`
Result *AeopFindProductResultDTO `json:"result,omitempty" xml:"result,omitempty"`
}
6 changes: 3 additions & 3 deletions model/aedropshiper/AliexpressTradeBuyPlaceorderRequest.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A006_INVALID_ACCOUNT_INFO
type AliexpressTradeBuyPlaceorderRequest struct {
model.Params
// 下单具体参数
_paramPlaceOrderRequest4OpenApiDTO *PlaceOrderRequest4OpenApiDto
_paramPlaceOrderRequest4OpenApiDTO *PlaceOrderRequest4OpenApiDTO
}

// 初始化AliexpressTradeBuyPlaceorderRequest对象
Expand All @@ -40,13 +40,13 @@ func (r AliexpressTradeBuyPlaceorderRequest) GetApiParams() url.Values {
}
// ParamPlaceOrderRequest4OpenApiDTO Setter
// 下单具体参数
func (r *AliexpressTradeBuyPlaceorderRequest) SetParamPlaceOrderRequest4OpenApiDTO(_paramPlaceOrderRequest4OpenApiDTO *PlaceOrderRequest4OpenApiDto) error {
func (r *AliexpressTradeBuyPlaceorderRequest) SetParamPlaceOrderRequest4OpenApiDTO(_paramPlaceOrderRequest4OpenApiDTO *PlaceOrderRequest4OpenApiDTO) error {
r._paramPlaceOrderRequest4OpenApiDTO = _paramPlaceOrderRequest4OpenApiDTO
r.Set("param_place_order_request4_open_api_d_t_o", _paramPlaceOrderRequest4OpenApiDTO)
return nil
}

// ParamPlaceOrderRequest4OpenApiDTO Getter
func (r AliexpressTradeBuyPlaceorderRequest) GetParamPlaceOrderRequest4OpenApiDTO() *PlaceOrderRequest4OpenApiDto {
func (r AliexpressTradeBuyPlaceorderRequest) GetParamPlaceOrderRequest4OpenApiDTO() *PlaceOrderRequest4OpenApiDTO {
return r._paramPlaceOrderRequest4OpenApiDTO
}
2 changes: 1 addition & 1 deletion model/aedropshiper/AliexpressTradeBuyPlaceorderResponse.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ type AliexpressTradeBuyPlaceorderResponse struct {
// 平台颁发的每次请求访问的唯一标识
RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
// result
Result *PlaceOrderRes4OpenApiDto `json:"result,omitempty" xml:"result,omitempty"`
Result *PlaceOrderRes4OpenApiDTO `json:"result,omitempty" xml:"result,omitempty"`
}
4 changes: 2 additions & 2 deletions model/aedropshiper/MaillingAddressRequestDto.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package aedropshiper

// MaillingAddressRequestDto
type MaillingAddressRequestDto struct {
// MaillingAddressRequestDTO
type MaillingAddressRequestDTO struct {
// 地址信息
Address string `json:"address,omitempty" xml:"address,omitempty"`
// 地址扩展信息
Expand Down
6 changes: 3 additions & 3 deletions model/aedropshiper/PlaceOrderRequest4OpenApiDto.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package aedropshiper

// PlaceOrderRequest4OpenApiDto
type PlaceOrderRequest4OpenApiDto struct {
// PlaceOrderRequest4OpenApiDTO
type PlaceOrderRequest4OpenApiDTO struct {
// 物流地址信息
LogisticsAddress *MaillingAddressRequestDto `json:"logistics_address,omitempty" xml:"logistics_address,omitempty"`
LogisticsAddress *MaillingAddressRequestDTO `json:"logistics_address,omitempty" xml:"logistics_address,omitempty"`
// 商品属性
ProductItems []ProductBaseItem `json:"product_items,omitempty" xml:"product_items>product_base_item,omitempty"`
}
4 changes: 2 additions & 2 deletions model/aedropshiper/PlaceOrderRes4OpenApiDto.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package aedropshiper

// PlaceOrderRes4OpenApiDto
type PlaceOrderRes4OpenApiDto struct {
// PlaceOrderRes4OpenApiDTO
type PlaceOrderRes4OpenApiDTO struct {
// errorCode
ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
// errorMsg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ batch product inventory update API for oversea sellers. Sellers could update mul
type AliexpressSolutionBatchProductInventoryUpdateRequest struct {
model.Params
// The product list, in which the inventory needs to be updated. Maximum 20 products.
_mutipleProductUpdateList []SynchronizeProductRequestDto
_mutipleProductUpdateList []SynchronizeProductRequestDTO
}

// 初始化AliexpressSolutionBatchProductInventoryUpdateRequest对象
Expand All @@ -40,13 +40,13 @@ func (r AliexpressSolutionBatchProductInventoryUpdateRequest) GetApiParams() url
}
// MutipleProductUpdateList Setter
// The product list, in which the inventory needs to be updated. Maximum 20 products.
func (r *AliexpressSolutionBatchProductInventoryUpdateRequest) SetMutipleProductUpdateList(_mutipleProductUpdateList []SynchronizeProductRequestDto) error {
func (r *AliexpressSolutionBatchProductInventoryUpdateRequest) SetMutipleProductUpdateList(_mutipleProductUpdateList []SynchronizeProductRequestDTO) error {
r._mutipleProductUpdateList = _mutipleProductUpdateList
r.Set("mutiple_product_update_list", _mutipleProductUpdateList)
return nil
}

// MutipleProductUpdateList Getter
func (r AliexpressSolutionBatchProductInventoryUpdateRequest) GetMutipleProductUpdateList() []SynchronizeProductRequestDto {
func (r AliexpressSolutionBatchProductInventoryUpdateRequest) GetMutipleProductUpdateList() []SynchronizeProductRequestDTO {
return r._mutipleProductUpdateList
}
Loading

0 comments on commit 0d0d234

Please sign in to comment.