aecreatives

package
v1.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package aecreatives 包含Promotion Creatives相关结构体

https://open.taobao.com/API.htm?docType=2&docId=45801

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAliexpressAffiliateCategoryGetAPIRequest added in v1.3.4

func ReleaseAliexpressAffiliateCategoryGetAPIRequest(v *AliexpressAffiliateCategoryGetAPIRequest)

ReleaseAliexpressAffiliateCategoryGetAPIRequest 将 AliexpressAffiliateCategoryGetAPIRequest 放入 sync.Pool

func ReleaseAliexpressAffiliateCategoryGetAPIResponse added in v1.3.4

func ReleaseAliexpressAffiliateCategoryGetAPIResponse(v *AliexpressAffiliateCategoryGetAPIResponse)

ReleaseAliexpressAffiliateCategoryGetAPIResponse 将 AliexpressAffiliateCategoryGetAPIResponse 保存到 sync.Pool

func ReleaseAliexpressAffiliateCategoryGetResult added in v1.3.4

func ReleaseAliexpressAffiliateCategoryGetResult(v *AliexpressAffiliateCategoryGetResult)

ReleaseAliexpressAffiliateCategoryGetResult 释放AliexpressAffiliateCategoryGetResult

func ReleaseAliexpressAffiliateFeaturedpromoGetAPIRequest added in v1.3.4

func ReleaseAliexpressAffiliateFeaturedpromoGetAPIRequest(v *AliexpressAffiliateFeaturedpromoGetAPIRequest)

ReleaseAliexpressAffiliateFeaturedpromoGetAPIRequest 将 AliexpressAffiliateFeaturedpromoGetAPIRequest 放入 sync.Pool

func ReleaseAliexpressAffiliateFeaturedpromoGetAPIResponse added in v1.3.4

func ReleaseAliexpressAffiliateFeaturedpromoGetAPIResponse(v *AliexpressAffiliateFeaturedpromoGetAPIResponse)

ReleaseAliexpressAffiliateFeaturedpromoGetAPIResponse 将 AliexpressAffiliateFeaturedpromoGetAPIResponse 保存到 sync.Pool

func ReleaseAliexpressAffiliateFeaturedpromoProductsGetAPIRequest added in v1.3.4

func ReleaseAliexpressAffiliateFeaturedpromoProductsGetAPIRequest(v *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest)

ReleaseAliexpressAffiliateFeaturedpromoProductsGetAPIRequest 将 AliexpressAffiliateFeaturedpromoProductsGetAPIRequest 放入 sync.Pool

func ReleaseAliexpressAffiliateFeaturedpromoProductsGetAPIResponse added in v1.3.4

func ReleaseAliexpressAffiliateFeaturedpromoProductsGetAPIResponse(v *AliexpressAffiliateFeaturedpromoProductsGetAPIResponse)

ReleaseAliexpressAffiliateFeaturedpromoProductsGetAPIResponse 将 AliexpressAffiliateFeaturedpromoProductsGetAPIResponse 保存到 sync.Pool

func ReleaseAliexpressAffiliateHotproductDownloadAPIRequest added in v1.3.4

func ReleaseAliexpressAffiliateHotproductDownloadAPIRequest(v *AliexpressAffiliateHotproductDownloadAPIRequest)

ReleaseAliexpressAffiliateHotproductDownloadAPIRequest 将 AliexpressAffiliateHotproductDownloadAPIRequest 放入 sync.Pool

func ReleaseAliexpressAffiliateHotproductDownloadAPIResponse added in v1.3.4

func ReleaseAliexpressAffiliateHotproductDownloadAPIResponse(v *AliexpressAffiliateHotproductDownloadAPIResponse)

ReleaseAliexpressAffiliateHotproductDownloadAPIResponse 将 AliexpressAffiliateHotproductDownloadAPIResponse 保存到 sync.Pool

func ReleaseAliexpressAffiliateHotproductQueryAPIRequest added in v1.3.4

func ReleaseAliexpressAffiliateHotproductQueryAPIRequest(v *AliexpressAffiliateHotproductQueryAPIRequest)

ReleaseAliexpressAffiliateHotproductQueryAPIRequest 将 AliexpressAffiliateHotproductQueryAPIRequest 放入 sync.Pool

func ReleaseAliexpressAffiliateHotproductQueryAPIResponse added in v1.3.4

func ReleaseAliexpressAffiliateHotproductQueryAPIResponse(v *AliexpressAffiliateHotproductQueryAPIResponse)

ReleaseAliexpressAffiliateHotproductQueryAPIResponse 将 AliexpressAffiliateHotproductQueryAPIResponse 保存到 sync.Pool

func ReleaseAliexpressAffiliateImageSearchAPIRequest added in v1.3.4

func ReleaseAliexpressAffiliateImageSearchAPIRequest(v *AliexpressAffiliateImageSearchAPIRequest)

ReleaseAliexpressAffiliateImageSearchAPIRequest 将 AliexpressAffiliateImageSearchAPIRequest 放入 sync.Pool

func ReleaseAliexpressAffiliateImageSearchAPIResponse added in v1.3.4

func ReleaseAliexpressAffiliateImageSearchAPIResponse(v *AliexpressAffiliateImageSearchAPIResponse)

ReleaseAliexpressAffiliateImageSearchAPIResponse 将 AliexpressAffiliateImageSearchAPIResponse 保存到 sync.Pool

func ReleaseAliexpressAffiliateImageSearchResponse added in v1.3.4

func ReleaseAliexpressAffiliateImageSearchResponse(v *AliexpressAffiliateImageSearchResponse)

ReleaseAliexpressAffiliateImageSearchResponse 释放AliexpressAffiliateImageSearchResponse

func ReleaseAliexpressAffiliateProductQueryAPIRequest added in v1.3.4

func ReleaseAliexpressAffiliateProductQueryAPIRequest(v *AliexpressAffiliateProductQueryAPIRequest)

ReleaseAliexpressAffiliateProductQueryAPIRequest 将 AliexpressAffiliateProductQueryAPIRequest 放入 sync.Pool

func ReleaseAliexpressAffiliateProductQueryAPIResponse added in v1.3.4

func ReleaseAliexpressAffiliateProductQueryAPIResponse(v *AliexpressAffiliateProductQueryAPIResponse)

ReleaseAliexpressAffiliateProductQueryAPIResponse 将 AliexpressAffiliateProductQueryAPIResponse 保存到 sync.Pool

func ReleaseAliexpressAffiliateProductSmartmatchAPIRequest added in v1.3.4

func ReleaseAliexpressAffiliateProductSmartmatchAPIRequest(v *AliexpressAffiliateProductSmartmatchAPIRequest)

ReleaseAliexpressAffiliateProductSmartmatchAPIRequest 将 AliexpressAffiliateProductSmartmatchAPIRequest 放入 sync.Pool

func ReleaseAliexpressAffiliateProductSmartmatchAPIResponse added in v1.3.4

func ReleaseAliexpressAffiliateProductSmartmatchAPIResponse(v *AliexpressAffiliateProductSmartmatchAPIResponse)

ReleaseAliexpressAffiliateProductSmartmatchAPIResponse 将 AliexpressAffiliateProductSmartmatchAPIResponse 保存到 sync.Pool

func ReleaseAliexpressAffiliateProductdetailGetAPIRequest added in v1.3.4

func ReleaseAliexpressAffiliateProductdetailGetAPIRequest(v *AliexpressAffiliateProductdetailGetAPIRequest)

ReleaseAliexpressAffiliateProductdetailGetAPIRequest 将 AliexpressAffiliateProductdetailGetAPIRequest 放入 sync.Pool

func ReleaseAliexpressAffiliateProductdetailGetAPIResponse added in v1.3.4

func ReleaseAliexpressAffiliateProductdetailGetAPIResponse(v *AliexpressAffiliateProductdetailGetAPIResponse)

ReleaseAliexpressAffiliateProductdetailGetAPIResponse 将 AliexpressAffiliateProductdetailGetAPIResponse 保存到 sync.Pool

func ReleaseCategory added in v1.3.4

func ReleaseCategory(v *Category)

ReleaseCategory 释放Category

func ReleaseProduct added in v1.3.4

func ReleaseProduct(v *Product)

ReleaseProduct 释放Product

func ReleaseProductImgRegionDto added in v1.3.4

func ReleaseProductImgRegionDto(v *ProductImgRegionDto)

ReleaseProductImgRegionDto 释放ProductImgRegionDto

func ReleasePromo added in v1.3.4

func ReleasePromo(v *Promo)

ReleasePromo 释放Promo

func ReleasePromoCodeDto added in v1.3.4

func ReleasePromoCodeDto(v *PromoCodeDto)

ReleasePromoCodeDto 释放PromoCodeDto

func ReleaseResponseDto added in v1.3.4

func ReleaseResponseDto(v *ResponseDto)

ReleaseResponseDto 释放ResponseDto

func ReleaseResponseResult added in v1.3.4

func ReleaseResponseResult(v *ResponseResult)

ReleaseResponseResult 释放ResponseResult

func ReleaseTrafficFeaturedPromoResultDto added in v1.3.4

func ReleaseTrafficFeaturedPromoResultDto(v *TrafficFeaturedPromoResultDto)

ReleaseTrafficFeaturedPromoResultDto 释放TrafficFeaturedPromoResultDto

func ReleaseTrafficImageSearchResultDto added in v1.3.4

func ReleaseTrafficImageSearchResultDto(v *TrafficImageSearchResultDto)

ReleaseTrafficImageSearchResultDto 释放TrafficImageSearchResultDto

func ReleaseTrafficProductResultDto added in v1.3.4

func ReleaseTrafficProductResultDto(v *TrafficProductResultDto)

ReleaseTrafficProductResultDto 释放TrafficProductResultDto

Types

type AliexpressAffiliateCategoryGetAPIRequest added in v1.2.0

type AliexpressAffiliateCategoryGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressAffiliateCategoryGetAPIRequest AE流量推广类目信息获取API API请求 aliexpress.affiliate.category.get

获取AE流量推广类目的API

func GetAliexpressAffiliateCategoryGetAPIRequest added in v1.3.4

func GetAliexpressAffiliateCategoryGetAPIRequest() *AliexpressAffiliateCategoryGetAPIRequest

GetAliexpressAffiliateCategoryGetRequest 从 sync.Pool 获取 AliexpressAffiliateCategoryGetAPIRequest

func NewAliexpressAffiliateCategoryGetRequest

func NewAliexpressAffiliateCategoryGetRequest() *AliexpressAffiliateCategoryGetAPIRequest

NewAliexpressAffiliateCategoryGetRequest 初始化AliexpressAffiliateCategoryGetAPIRequest对象

func (AliexpressAffiliateCategoryGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressAffiliateCategoryGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateCategoryGetAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressAffiliateCategoryGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateCategoryGetAPIRequest) GetAppSignature added in v1.2.0

GetAppSignature AppSignature Getter

func (AliexpressAffiliateCategoryGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressAffiliateCategoryGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressAffiliateCategoryGetAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateCategoryGetAPIRequest) SetAppSignature(_appSignature string) error

SetAppSignature is AppSignature Setter 请求安全签名

type AliexpressAffiliateCategoryGetAPIResponse

type AliexpressAffiliateCategoryGetAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateCategoryGetAPIResponseModel
}

AliexpressAffiliateCategoryGetAPIResponse AE流量推广类目信息获取API API返回值 aliexpress.affiliate.category.get

获取AE流量推广类目的API

func GetAliexpressAffiliateCategoryGetAPIResponse added in v1.3.4

func GetAliexpressAffiliateCategoryGetAPIResponse() *AliexpressAffiliateCategoryGetAPIResponse

GetAliexpressAffiliateCategoryGetAPIResponse 从 sync.Pool 获取 AliexpressAffiliateCategoryGetAPIResponse

func (*AliexpressAffiliateCategoryGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateCategoryGetAPIResponseModel added in v1.2.0

type AliexpressAffiliateCategoryGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_category_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseResult `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateCategoryGetAPIResponseModel is AE流量推广类目信息获取API 成功返回结果

func (*AliexpressAffiliateCategoryGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateCategoryGetResult

type AliexpressAffiliateCategoryGetResult struct {
	// 类目信息
	Categories []Category `json:"categories,omitempty" xml:"categories>category,omitempty"`
	// 返回结果数量
	TotalResultCount int64 `json:"total_result_count,omitempty" xml:"total_result_count,omitempty"`
}

AliexpressAffiliateCategoryGetResult 结构体

func GetAliexpressAffiliateCategoryGetResult added in v1.3.4

func GetAliexpressAffiliateCategoryGetResult() *AliexpressAffiliateCategoryGetResult

GetAliexpressAffiliateCategoryGetResult() 从对象池中获取AliexpressAffiliateCategoryGetResult

type AliexpressAffiliateFeaturedpromoGetAPIRequest added in v1.2.0

type AliexpressAffiliateFeaturedpromoGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressAffiliateFeaturedpromoGetAPIRequest 联盟主题推广活动信息获取 API请求 aliexpress.affiliate.featuredpromo.get

获取联盟主题推广活动信息

func GetAliexpressAffiliateFeaturedpromoGetAPIRequest added in v1.3.4

func GetAliexpressAffiliateFeaturedpromoGetAPIRequest() *AliexpressAffiliateFeaturedpromoGetAPIRequest

GetAliexpressAffiliateFeaturedpromoGetRequest 从 sync.Pool 获取 AliexpressAffiliateFeaturedpromoGetAPIRequest

func NewAliexpressAffiliateFeaturedpromoGetRequest

func NewAliexpressAffiliateFeaturedpromoGetRequest() *AliexpressAffiliateFeaturedpromoGetAPIRequest

NewAliexpressAffiliateFeaturedpromoGetRequest 初始化AliexpressAffiliateFeaturedpromoGetAPIRequest对象

func (AliexpressAffiliateFeaturedpromoGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateFeaturedpromoGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateFeaturedpromoGetAPIRequest) GetAppSignature added in v1.2.0

GetAppSignature AppSignature Getter

func (AliexpressAffiliateFeaturedpromoGetAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (AliexpressAffiliateFeaturedpromoGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressAffiliateFeaturedpromoGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressAffiliateFeaturedpromoGetAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateFeaturedpromoGetAPIRequest) SetAppSignature(_appSignature string) error

SetAppSignature is AppSignature Setter 请求签名

func (*AliexpressAffiliateFeaturedpromoGetAPIRequest) SetFields added in v1.2.0

SetFields is Fields Setter 返回字段列表

type AliexpressAffiliateFeaturedpromoGetAPIResponse

type AliexpressAffiliateFeaturedpromoGetAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateFeaturedpromoGetAPIResponseModel
}

AliexpressAffiliateFeaturedpromoGetAPIResponse 联盟主题推广活动信息获取 API返回值 aliexpress.affiliate.featuredpromo.get

获取联盟主题推广活动信息

func GetAliexpressAffiliateFeaturedpromoGetAPIResponse added in v1.3.4

func GetAliexpressAffiliateFeaturedpromoGetAPIResponse() *AliexpressAffiliateFeaturedpromoGetAPIResponse

GetAliexpressAffiliateFeaturedpromoGetAPIResponse 从 sync.Pool 获取 AliexpressAffiliateFeaturedpromoGetAPIResponse

func (*AliexpressAffiliateFeaturedpromoGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateFeaturedpromoGetAPIResponseModel added in v1.2.0

type AliexpressAffiliateFeaturedpromoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_featuredpromo_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateFeaturedpromoGetAPIResponseModel is 联盟主题推广活动信息获取 成功返回结果

func (*AliexpressAffiliateFeaturedpromoGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateFeaturedpromoProductsGetAPIRequest added in v1.2.0

type AliexpressAffiliateFeaturedpromoProductsGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressAffiliateFeaturedpromoProductsGetAPIRequest 联盟主题推广活动商品信息获取 API请求 aliexpress.affiliate.featuredpromo.products.get

根据联盟主题推广活动或主题品库查询对应的商品。如下品库为固定品库,可长期调用。品库类型和名称如下:高佣品(Hot Product)、新品(New Arrival)、热销商品(Best Seller)、每周尖货(weeklydeals)

func GetAliexpressAffiliateFeaturedpromoProductsGetAPIRequest added in v1.3.4

func GetAliexpressAffiliateFeaturedpromoProductsGetAPIRequest() *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest

GetAliexpressAffiliateFeaturedpromoProductsGetRequest 从 sync.Pool 获取 AliexpressAffiliateFeaturedpromoProductsGetAPIRequest

func NewAliexpressAffiliateFeaturedpromoProductsGetRequest

func NewAliexpressAffiliateFeaturedpromoProductsGetRequest() *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest

NewAliexpressAffiliateFeaturedpromoProductsGetRequest 初始化AliexpressAffiliateFeaturedpromoProductsGetAPIRequest对象

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetAppSignature added in v1.2.0

GetAppSignature AppSignature Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetCategoryId added in v1.2.0

GetCategoryId CategoryId Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetCountry added in v1.2.0

GetCountry Country Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetPromotionEndTime added in v1.2.0

GetPromotionEndTime PromotionEndTime Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetPromotionName added in v1.2.0

GetPromotionName PromotionName Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetPromotionStartTime added in v1.2.0

GetPromotionStartTime PromotionStartTime Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetSort added in v1.2.0

GetSort Sort Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetTargetCurrency added in v1.2.0

GetTargetCurrency TargetCurrency Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetTargetLanguage added in v1.2.0

GetTargetLanguage TargetLanguage Getter

func (AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) GetTrackingId added in v1.2.0

GetTrackingId TrackingId Getter

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetAppSignature(_appSignature string) error

SetAppSignature is AppSignature Setter 请求签名

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetCategoryId added in v1.2.0

SetCategoryId is CategoryId Setter 类目 ID 如何获取category_id,请参考,https://open.taobao.com/api.htm?docId=45801&docType=2&scopeId=17063

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetCountry added in v1.2.0

SetCountry is Country Setter 商品收货国家,可筛选能销售至该国家的商品,并根据该国家税率政策返回对应商品价格

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetFields added in v1.2.0

SetFields is Fields Setter 返回字段列表

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPageNo added in v1.2.0

SetPageNo is PageNo Setter 查询页码

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPageSize added in v1.2.0

SetPageSize is PageSize Setter 每页记录数,1-50

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPromotionEndTime added in v1.2.0

func (r *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPromotionEndTime(_promotionEndTime string) error

SetPromotionEndTime is PromotionEndTime Setter 活动结束时间,PST 时区

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPromotionName added in v1.2.0

func (r *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPromotionName(_promotionName string) error

SetPromotionName is PromotionName Setter 主题活动的名称,如何获取主题活动,请参考"get featuredpromo info" API. 固定主题:高佣品(Hot Product)、新品(New Arrival)、热销商品(Best Seller)、每周尖货(weeklydeals)

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPromotionStartTime added in v1.2.0

func (r *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetPromotionStartTime(_promotionStartTime string) error

SetPromotionStartTime is PromotionStartTime Setter 活动开始时间,PST 时区

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetSort added in v1.2.0

SetSort is Sort Setter 排序方式:commissionAsc,commissionDesc, priceAsc,priceDesc,volumeAsc、volumeDesc, discountAsc, discountDesc, ratingAsc,ratingDesc, promotionTimeAsc, pr

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetTargetCurrency added in v1.2.0

func (r *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetTargetCurrency(_targetCurrency string) error

SetTargetCurrency is TargetCurrency Setter 目标币种,可根据目标币种返回对应币种:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetTargetLanguage added in v1.2.0

func (r *AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetTargetLanguage(_targetLanguage string) error

SetTargetLanguage is TargetLanguage Setter 目标语言,可根据目标语言返回对应语言:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IN

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIRequest) SetTrackingId added in v1.2.0

SetTrackingId is TrackingId Setter trackingID

type AliexpressAffiliateFeaturedpromoProductsGetAPIResponse

type AliexpressAffiliateFeaturedpromoProductsGetAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateFeaturedpromoProductsGetAPIResponseModel
}

AliexpressAffiliateFeaturedpromoProductsGetAPIResponse 联盟主题推广活动商品信息获取 API返回值 aliexpress.affiliate.featuredpromo.products.get

根据联盟主题推广活动或主题品库查询对应的商品。如下品库为固定品库,可长期调用。品库类型和名称如下:高佣品(Hot Product)、新品(New Arrival)、热销商品(Best Seller)、每周尖货(weeklydeals)

func GetAliexpressAffiliateFeaturedpromoProductsGetAPIResponse added in v1.3.4

func GetAliexpressAffiliateFeaturedpromoProductsGetAPIResponse() *AliexpressAffiliateFeaturedpromoProductsGetAPIResponse

GetAliexpressAffiliateFeaturedpromoProductsGetAPIResponse 从 sync.Pool 获取 AliexpressAffiliateFeaturedpromoProductsGetAPIResponse

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateFeaturedpromoProductsGetAPIResponseModel added in v1.2.0

type AliexpressAffiliateFeaturedpromoProductsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_featuredpromo_products_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateFeaturedpromoProductsGetAPIResponseModel is 联盟主题推广活动商品信息获取 成功返回结果

func (*AliexpressAffiliateFeaturedpromoProductsGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateHotproductDownloadAPIRequest added in v1.2.0

type AliexpressAffiliateHotproductDownloadAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressAffiliateHotproductDownloadAPIRequest 联盟营销爆品下载接口 API请求 aliexpress.affiliate.hotproduct.download

查询联盟爆品API

func GetAliexpressAffiliateHotproductDownloadAPIRequest added in v1.3.4

func GetAliexpressAffiliateHotproductDownloadAPIRequest() *AliexpressAffiliateHotproductDownloadAPIRequest

GetAliexpressAffiliateHotproductDownloadRequest 从 sync.Pool 获取 AliexpressAffiliateHotproductDownloadAPIRequest

func NewAliexpressAffiliateHotproductDownloadRequest

func NewAliexpressAffiliateHotproductDownloadRequest() *AliexpressAffiliateHotproductDownloadAPIRequest

NewAliexpressAffiliateHotproductDownloadRequest 初始化AliexpressAffiliateHotproductDownloadAPIRequest对象

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetAppSignature added in v1.2.0

GetAppSignature AppSignature Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetCategoryId added in v1.2.0

GetCategoryId CategoryId Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetCountry added in v1.2.0

GetCountry Country Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetLocaleSite added in v1.2.0

GetLocaleSite LocaleSite Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetTargetCurrency added in v1.2.0

GetTargetCurrency TargetCurrency Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetTargetLanguage added in v1.2.0

GetTargetLanguage TargetLanguage Getter

func (AliexpressAffiliateHotproductDownloadAPIRequest) GetTrackingId added in v1.2.0

GetTrackingId TrackingId Getter

func (*AliexpressAffiliateHotproductDownloadAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateHotproductDownloadAPIRequest) SetAppSignature(_appSignature string) error

SetAppSignature is AppSignature Setter 请求签名

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetCategoryId added in v1.2.0

func (r *AliexpressAffiliateHotproductDownloadAPIRequest) SetCategoryId(_categoryId string) error

SetCategoryId is CategoryId Setter 类目ID

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetCountry added in v1.2.0

SetCountry is Country Setter 收货国家,可筛选能销售至该国家的商品,并根据该国家税率政策返回对应商品价格

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetFields added in v1.2.0

SetFields is Fields Setter 返回字段列表

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetLocaleSite added in v1.2.0

func (r *AliexpressAffiliateHotproductDownloadAPIRequest) SetLocaleSite(_localeSite string) error

SetLocaleSite is LocaleSite Setter 站点商品标:global,it_site,es_site,ru_site

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetPageNo added in v1.2.0

SetPageNo is PageNo Setter 请求页数

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetPageSize added in v1.2.0

SetPageSize is PageSize Setter 每次请求数量

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetTargetCurrency added in v1.2.0

func (r *AliexpressAffiliateHotproductDownloadAPIRequest) SetTargetCurrency(_targetCurrency string) error

SetTargetCurrency is TargetCurrency Setter 目标币种:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetTargetLanguage added in v1.2.0

func (r *AliexpressAffiliateHotproductDownloadAPIRequest) SetTargetLanguage(_targetLanguage string) error

SetTargetLanguage is TargetLanguage Setter 目标语言:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IW,IN

func (*AliexpressAffiliateHotproductDownloadAPIRequest) SetTrackingId added in v1.2.0

func (r *AliexpressAffiliateHotproductDownloadAPIRequest) SetTrackingId(_trackingId string) error

SetTrackingId is TrackingId Setter trackingId

type AliexpressAffiliateHotproductDownloadAPIResponse

type AliexpressAffiliateHotproductDownloadAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateHotproductDownloadAPIResponseModel
}

AliexpressAffiliateHotproductDownloadAPIResponse 联盟营销爆品下载接口 API返回值 aliexpress.affiliate.hotproduct.download

查询联盟爆品API

func GetAliexpressAffiliateHotproductDownloadAPIResponse added in v1.3.4

func GetAliexpressAffiliateHotproductDownloadAPIResponse() *AliexpressAffiliateHotproductDownloadAPIResponse

GetAliexpressAffiliateHotproductDownloadAPIResponse 从 sync.Pool 获取 AliexpressAffiliateHotproductDownloadAPIResponse

func (*AliexpressAffiliateHotproductDownloadAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateHotproductDownloadAPIResponseModel added in v1.2.0

type AliexpressAffiliateHotproductDownloadAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_hotproduct_download_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateHotproductDownloadAPIResponseModel is 联盟营销爆品下载接口 成功返回结果

func (*AliexpressAffiliateHotproductDownloadAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateHotproductQueryAPIRequest added in v1.2.0

type AliexpressAffiliateHotproductQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressAffiliateHotproductQueryAPIRequest 查询联盟爆品数据 API请求 aliexpress.affiliate.hotproduct.query

查询联盟爆品API

func GetAliexpressAffiliateHotproductQueryAPIRequest added in v1.3.4

func GetAliexpressAffiliateHotproductQueryAPIRequest() *AliexpressAffiliateHotproductQueryAPIRequest

GetAliexpressAffiliateHotproductQueryRequest 从 sync.Pool 获取 AliexpressAffiliateHotproductQueryAPIRequest

func NewAliexpressAffiliateHotproductQueryRequest

func NewAliexpressAffiliateHotproductQueryRequest() *AliexpressAffiliateHotproductQueryAPIRequest

NewAliexpressAffiliateHotproductQueryRequest 初始化AliexpressAffiliateHotproductQueryAPIRequest对象

func (AliexpressAffiliateHotproductQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateHotproductQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateHotproductQueryAPIRequest) GetAppSignature added in v1.2.0

GetAppSignature AppSignature Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetCategoryIds added in v1.2.0

GetCategoryIds CategoryIds Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetDeliveryDays added in v1.2.0

GetDeliveryDays DeliveryDays Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetKeywords added in v1.2.0

GetKeywords Keywords Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetMaxSalePrice added in v1.2.0

GetMaxSalePrice MaxSalePrice Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetMinSalePrice added in v1.2.0

GetMinSalePrice MinSalePrice Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetPlatformProductType added in v1.2.0

func (r AliexpressAffiliateHotproductQueryAPIRequest) GetPlatformProductType() string

GetPlatformProductType PlatformProductType Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AliexpressAffiliateHotproductQueryAPIRequest) GetShipToCountry added in v1.2.0

GetShipToCountry ShipToCountry Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetSort added in v1.2.0

GetSort Sort Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetTargetCurrency added in v1.2.0

GetTargetCurrency TargetCurrency Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetTargetLanguage added in v1.2.0

GetTargetLanguage TargetLanguage Getter

func (AliexpressAffiliateHotproductQueryAPIRequest) GetTrackingId added in v1.2.0

GetTrackingId TrackingId Getter

func (*AliexpressAffiliateHotproductQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetAppSignature(_appSignature string) error

SetAppSignature is AppSignature Setter 请求签名

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetCategoryIds added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetCategoryIds(_categoryIds string) error

SetCategoryIds is CategoryIds Setter 类目ID列表

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetDeliveryDays added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetDeliveryDays(_deliveryDays string) error

SetDeliveryDays is DeliveryDays Setter 物流到达时间。3:3日达,5:5 日达,7:7日达,10:10日达

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetFields added in v1.2.0

SetFields is Fields Setter 返回字段列表

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetKeywords added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetKeywords(_keywords string) error

SetKeywords is Keywords Setter 关键词

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetMaxSalePrice added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetMaxSalePrice(_maxSalePrice int64) error

SetMaxSalePrice is MaxSalePrice Setter 最大售价

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetMinSalePrice added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetMinSalePrice(_minSalePrice int64) error

SetMinSalePrice is MinSalePrice Setter 最小售价

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetPageNo added in v1.2.0

SetPageNo is PageNo Setter 请求页数

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetPageSize added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每次请求数量

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetPlatformProductType added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetPlatformProductType(_platformProductType string) error

SetPlatformProductType is PlatformProductType Setter 平台商家类型:ALL,PLAZA,TMALL

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetShipToCountry added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetShipToCountry(_shipToCountry string) error

SetShipToCountry is ShipToCountry Setter 商品收货国家,根据该国家税率政策返回对应商品价格

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetSort added in v1.2.0

SetSort is Sort Setter 排序方式:SALE_PRICE_ASC, SALE_PRICE_DESC, DISCOUNT_ASC, DISCOUNT_DESC, LAST_VOLUME_ASC, LAST_VOLUME_DESC

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetTargetCurrency added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetTargetCurrency(_targetCurrency string) error

SetTargetCurrency is TargetCurrency Setter 目标币种:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetTargetLanguage added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetTargetLanguage(_targetLanguage string) error

SetTargetLanguage is TargetLanguage Setter 目标语言:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IW,IN

func (*AliexpressAffiliateHotproductQueryAPIRequest) SetTrackingId added in v1.2.0

func (r *AliexpressAffiliateHotproductQueryAPIRequest) SetTrackingId(_trackingId string) error

SetTrackingId is TrackingId Setter trackingId

type AliexpressAffiliateHotproductQueryAPIResponse

type AliexpressAffiliateHotproductQueryAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateHotproductQueryAPIResponseModel
}

AliexpressAffiliateHotproductQueryAPIResponse 查询联盟爆品数据 API返回值 aliexpress.affiliate.hotproduct.query

查询联盟爆品API

func GetAliexpressAffiliateHotproductQueryAPIResponse added in v1.3.4

func GetAliexpressAffiliateHotproductQueryAPIResponse() *AliexpressAffiliateHotproductQueryAPIResponse

GetAliexpressAffiliateHotproductQueryAPIResponse 从 sync.Pool 获取 AliexpressAffiliateHotproductQueryAPIResponse

func (*AliexpressAffiliateHotproductQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateHotproductQueryAPIResponseModel added in v1.2.0

type AliexpressAffiliateHotproductQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_hotproduct_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateHotproductQueryAPIResponseModel is 查询联盟爆品数据 成功返回结果

func (*AliexpressAffiliateHotproductQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateImageSearchAPIRequest added in v1.2.0

type AliexpressAffiliateImageSearchAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressAffiliateImageSearchAPIRequest 图搜 API请求 aliexpress.affiliate.image.search

图片搜索接口

func GetAliexpressAffiliateImageSearchAPIRequest added in v1.3.4

func GetAliexpressAffiliateImageSearchAPIRequest() *AliexpressAffiliateImageSearchAPIRequest

GetAliexpressAffiliateImageSearchRequest 从 sync.Pool 获取 AliexpressAffiliateImageSearchAPIRequest

func NewAliexpressAffiliateImageSearchRequest

func NewAliexpressAffiliateImageSearchRequest() *AliexpressAffiliateImageSearchAPIRequest

NewAliexpressAffiliateImageSearchRequest 初始化AliexpressAffiliateImageSearchAPIRequest对象

func (AliexpressAffiliateImageSearchAPIRequest) GetApiMethodName added in v1.2.0

func (r AliexpressAffiliateImageSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateImageSearchAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressAffiliateImageSearchAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateImageSearchAPIRequest) GetAppSignature added in v1.2.0

GetAppSignature AppSignature Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetImageFileBytes added in v1.2.0

func (r AliexpressAffiliateImageSearchAPIRequest) GetImageFileBytes() *model.File

GetImageFileBytes ImageFileBytes Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetImgCid added in v1.2.0

GetImgCid ImgCid Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetMediaUserId added in v1.2.0

GetMediaUserId MediaUserId Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetProductCnt added in v1.2.0

GetProductCnt ProductCnt Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AliexpressAffiliateImageSearchAPIRequest) GetShptTo added in v1.2.0

GetShptTo ShptTo Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetSort added in v1.2.0

GetSort Sort Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetTargetCurrency added in v1.2.0

func (r AliexpressAffiliateImageSearchAPIRequest) GetTargetCurrency() string

GetTargetCurrency TargetCurrency Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetTargetLanguage added in v1.2.0

func (r AliexpressAffiliateImageSearchAPIRequest) GetTargetLanguage() string

GetTargetLanguage TargetLanguage Getter

func (AliexpressAffiliateImageSearchAPIRequest) GetTrackingId added in v1.2.0

GetTrackingId TrackingId Getter

func (*AliexpressAffiliateImageSearchAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressAffiliateImageSearchAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateImageSearchAPIRequest) SetAppSignature(_appSignature string) error

SetAppSignature is AppSignature Setter API signature

func (*AliexpressAffiliateImageSearchAPIRequest) SetFields added in v1.2.0

SetFields is Fields Setter 请求字段

func (*AliexpressAffiliateImageSearchAPIRequest) SetImageFileBytes added in v1.2.0

func (r *AliexpressAffiliateImageSearchAPIRequest) SetImageFileBytes(_imageFileBytes *model.File) error

SetImageFileBytes is ImageFileBytes Setter 图片文件字节数组,最大不超过 100 KB

func (*AliexpressAffiliateImageSearchAPIRequest) SetImgCid added in v1.2.0

SetImgCid is ImgCid Setter 图片类目倾向,不填则为最佳匹配。0 - 服装;3 - 包;4 - 鞋子;88888888 - 其他类目

func (*AliexpressAffiliateImageSearchAPIRequest) SetMediaUserId added in v1.2.0

func (r *AliexpressAffiliateImageSearchAPIRequest) SetMediaUserId(_mediaUserId string) error

SetMediaUserId is MediaUserId Setter 媒体用户唯一识别号

func (*AliexpressAffiliateImageSearchAPIRequest) SetProductCnt added in v1.2.0

func (r *AliexpressAffiliateImageSearchAPIRequest) SetProductCnt(_productCnt int64) error

SetProductCnt is ProductCnt Setter 搜索结果数量,最高 50

func (*AliexpressAffiliateImageSearchAPIRequest) SetShptTo added in v1.2.0

SetShptTo is ShptTo Setter ship-to 国家

func (*AliexpressAffiliateImageSearchAPIRequest) SetSort added in v1.2.0

SetSort is Sort Setter 排序方式:SALE_PRICE_ASC, SALE_PRICE_DESC,LAST_VOLUME_ASC, LAST_VOLUME_DESC

func (*AliexpressAffiliateImageSearchAPIRequest) SetTargetCurrency added in v1.2.0

func (r *AliexpressAffiliateImageSearchAPIRequest) SetTargetCurrency(_targetCurrency string) error

SetTargetCurrency is TargetCurrency Setter 目标币种:USD, GBP, CAD, EUR, UAH, MXN,TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressAffiliateImageSearchAPIRequest) SetTargetLanguage added in v1.2.0

func (r *AliexpressAffiliateImageSearchAPIRequest) SetTargetLanguage(_targetLanguage string) error

SetTargetLanguage is TargetLanguage Setter 目标语言:en,ru,pt,es,fr,id,it,th,ja,ar,vi,tr,de,he,ko,nl,pl,mx,cl,iw,in

func (*AliexpressAffiliateImageSearchAPIRequest) SetTrackingId added in v1.2.0

func (r *AliexpressAffiliateImageSearchAPIRequest) SetTrackingId(_trackingId string) error

SetTrackingId is TrackingId Setter 媒体 trackingid

type AliexpressAffiliateImageSearchAPIResponse

type AliexpressAffiliateImageSearchAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateImageSearchAPIResponseModel
}

AliexpressAffiliateImageSearchAPIResponse 图搜 API返回值 aliexpress.affiliate.image.search

图片搜索接口

func GetAliexpressAffiliateImageSearchAPIResponse added in v1.3.4

func GetAliexpressAffiliateImageSearchAPIResponse() *AliexpressAffiliateImageSearchAPIResponse

GetAliexpressAffiliateImageSearchAPIResponse 从 sync.Pool 获取 AliexpressAffiliateImageSearchAPIResponse

func (*AliexpressAffiliateImageSearchAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateImageSearchAPIResponseModel added in v1.2.0

type AliexpressAffiliateImageSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_image_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AliexpressAffiliateImageSearchResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressAffiliateImageSearchAPIResponseModel is 图搜 成功返回结果

func (*AliexpressAffiliateImageSearchAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateImageSearchResponse

type AliexpressAffiliateImageSearchResponse struct {
	// 返回结果状态码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 默认描述
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 图搜结果
	Data *TrafficImageSearchResultDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AliexpressAffiliateImageSearchResponse 结构体

func GetAliexpressAffiliateImageSearchResponse added in v1.3.4

func GetAliexpressAffiliateImageSearchResponse() *AliexpressAffiliateImageSearchResponse

GetAliexpressAffiliateImageSearchResponse() 从对象池中获取AliexpressAffiliateImageSearchResponse

type AliexpressAffiliateProductQueryAPIRequest added in v1.2.0

type AliexpressAffiliateProductQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressAffiliateProductQueryAPIRequest 联盟推广商品获取接口 API请求 aliexpress.affiliate.product.query

联盟推广商品搜索接口,用于搜索联盟推广商品数据

func GetAliexpressAffiliateProductQueryAPIRequest added in v1.3.4

func GetAliexpressAffiliateProductQueryAPIRequest() *AliexpressAffiliateProductQueryAPIRequest

GetAliexpressAffiliateProductQueryRequest 从 sync.Pool 获取 AliexpressAffiliateProductQueryAPIRequest

func NewAliexpressAffiliateProductQueryRequest

func NewAliexpressAffiliateProductQueryRequest() *AliexpressAffiliateProductQueryAPIRequest

NewAliexpressAffiliateProductQueryRequest 初始化AliexpressAffiliateProductQueryAPIRequest对象

func (AliexpressAffiliateProductQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateProductQueryAPIRequest) GetApiParams added in v1.2.0

func (r AliexpressAffiliateProductQueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateProductQueryAPIRequest) GetAppSignature added in v1.2.0

GetAppSignature AppSignature Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetCategoryIds added in v1.2.0

GetCategoryIds CategoryIds Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetDeliveryDays added in v1.2.0

GetDeliveryDays DeliveryDays Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetKeywords added in v1.2.0

GetKeywords Keywords Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetMaxSalePrice added in v1.2.0

GetMaxSalePrice MaxSalePrice Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetMinSalePrice added in v1.2.0

GetMinSalePrice MinSalePrice Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetPlatformProductType added in v1.2.0

func (r AliexpressAffiliateProductQueryAPIRequest) GetPlatformProductType() string

GetPlatformProductType PlatformProductType Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AliexpressAffiliateProductQueryAPIRequest) GetShipToCountry added in v1.2.0

GetShipToCountry ShipToCountry Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetSort added in v1.2.0

GetSort Sort Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetTargetCurrency added in v1.2.0

func (r AliexpressAffiliateProductQueryAPIRequest) GetTargetCurrency() string

GetTargetCurrency TargetCurrency Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetTargetLanguage added in v1.2.0

func (r AliexpressAffiliateProductQueryAPIRequest) GetTargetLanguage() string

GetTargetLanguage TargetLanguage Getter

func (AliexpressAffiliateProductQueryAPIRequest) GetTrackingId added in v1.2.0

GetTrackingId TrackingId Getter

func (*AliexpressAffiliateProductQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressAffiliateProductQueryAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetAppSignature(_appSignature string) error

SetAppSignature is AppSignature Setter 安全签名

func (*AliexpressAffiliateProductQueryAPIRequest) SetCategoryIds added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetCategoryIds(_categoryIds string) error

SetCategoryIds is CategoryIds Setter 类目ID列表

func (*AliexpressAffiliateProductQueryAPIRequest) SetDeliveryDays added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetDeliveryDays(_deliveryDays string) error

SetDeliveryDays is DeliveryDays Setter 物流到达时间。3:3日达,5:5 日达,7:7日达,10:10日达

func (*AliexpressAffiliateProductQueryAPIRequest) SetFields added in v1.2.0

SetFields is Fields Setter 返回字段列表

func (*AliexpressAffiliateProductQueryAPIRequest) SetKeywords added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetKeywords(_keywords string) error

SetKeywords is Keywords Setter 关键词

func (*AliexpressAffiliateProductQueryAPIRequest) SetMaxSalePrice added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetMaxSalePrice(_maxSalePrice int64) error

SetMaxSalePrice is MaxSalePrice Setter 最大售价

func (*AliexpressAffiliateProductQueryAPIRequest) SetMinSalePrice added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetMinSalePrice(_minSalePrice int64) error

SetMinSalePrice is MinSalePrice Setter 最小售价

func (*AliexpressAffiliateProductQueryAPIRequest) SetPageNo added in v1.2.0

SetPageNo is PageNo Setter 查询页码

func (*AliexpressAffiliateProductQueryAPIRequest) SetPageSize added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页记录数

func (*AliexpressAffiliateProductQueryAPIRequest) SetPlatformProductType added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetPlatformProductType(_platformProductType string) error

SetPlatformProductType is PlatformProductType Setter 平台商品类型:ALL,PLAZA,TMALL

func (*AliexpressAffiliateProductQueryAPIRequest) SetShipToCountry added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetShipToCountry(_shipToCountry string) error

SetShipToCountry is ShipToCountry Setter 商品收货国家,根据该国家税率政策返回对应商品价格

func (*AliexpressAffiliateProductQueryAPIRequest) SetSort added in v1.2.0

SetSort is Sort Setter 排序方式:SALE_PRICE_ASC, SALE_PRICE_DESC, LAST_VOLUME_ASC, LAST_VOLUME_DESC

func (*AliexpressAffiliateProductQueryAPIRequest) SetTargetCurrency added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetTargetCurrency(_targetCurrency string) error

SetTargetCurrency is TargetCurrency Setter 目标币种:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressAffiliateProductQueryAPIRequest) SetTargetLanguage added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetTargetLanguage(_targetLanguage string) error

SetTargetLanguage is TargetLanguage Setter 目标语言:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IW,IN

func (*AliexpressAffiliateProductQueryAPIRequest) SetTrackingId added in v1.2.0

func (r *AliexpressAffiliateProductQueryAPIRequest) SetTrackingId(_trackingId string) error

SetTrackingId is TrackingId Setter trackingId

type AliexpressAffiliateProductQueryAPIResponse

type AliexpressAffiliateProductQueryAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateProductQueryAPIResponseModel
}

AliexpressAffiliateProductQueryAPIResponse 联盟推广商品获取接口 API返回值 aliexpress.affiliate.product.query

联盟推广商品搜索接口,用于搜索联盟推广商品数据

func GetAliexpressAffiliateProductQueryAPIResponse added in v1.3.4

func GetAliexpressAffiliateProductQueryAPIResponse() *AliexpressAffiliateProductQueryAPIResponse

GetAliexpressAffiliateProductQueryAPIResponse 从 sync.Pool 获取 AliexpressAffiliateProductQueryAPIResponse

func (*AliexpressAffiliateProductQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateProductQueryAPIResponseModel added in v1.2.0

type AliexpressAffiliateProductQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_product_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateProductQueryAPIResponseModel is 联盟推广商品获取接口 成功返回结果

func (*AliexpressAffiliateProductQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateProductSmartmatchAPIRequest added in v1.2.0

type AliexpressAffiliateProductSmartmatchAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressAffiliateProductSmartmatchAPIRequest 联盟物料智能推荐api API请求 aliexpress.affiliate.product.smartmatch

联盟物料算法智能推荐

func GetAliexpressAffiliateProductSmartmatchAPIRequest added in v1.3.4

func GetAliexpressAffiliateProductSmartmatchAPIRequest() *AliexpressAffiliateProductSmartmatchAPIRequest

GetAliexpressAffiliateProductSmartmatchRequest 从 sync.Pool 获取 AliexpressAffiliateProductSmartmatchAPIRequest

func NewAliexpressAffiliateProductSmartmatchRequest

func NewAliexpressAffiliateProductSmartmatchRequest() *AliexpressAffiliateProductSmartmatchAPIRequest

NewAliexpressAffiliateProductSmartmatchRequest 初始化AliexpressAffiliateProductSmartmatchAPIRequest对象

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetApp added in v1.2.0

GetApp App Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetAppSignature added in v1.2.0

GetAppSignature AppSignature Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetCountry added in v1.2.0

GetCountry Country Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetDevice added in v1.2.0

GetDevice Device Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetDeviceId added in v1.2.0

GetDeviceId DeviceId Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetKeywords added in v1.2.0

GetKeywords Keywords Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetProductId added in v1.2.0

GetProductId ProductId Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetSite added in v1.2.0

GetSite Site Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetTargetCurrency added in v1.2.0

GetTargetCurrency TargetCurrency Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetTargetLanguage added in v1.2.0

GetTargetLanguage TargetLanguage Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetTrackingId added in v1.2.0

GetTrackingId TrackingId Getter

func (AliexpressAffiliateProductSmartmatchAPIRequest) GetUser added in v1.2.0

GetUser User Getter

func (*AliexpressAffiliateProductSmartmatchAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetApp added in v1.2.0

SetApp is App Setter 接入APP信息

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateProductSmartmatchAPIRequest) SetAppSignature(_appSignature string) error

SetAppSignature is AppSignature Setter 请求签名

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetCountry added in v1.2.0

SetCountry is Country Setter 商品收货国家,可筛选能销售至该国家的商品,并根据该国家税率政策返回对应商品价格

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetDevice added in v1.2.0

SetDevice is Device Setter 设备信息

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetDeviceId added in v1.2.0

SetDeviceId is DeviceId Setter adid或者idfa

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetFields added in v1.2.0

SetFields is Fields Setter 返回字段列表

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetKeywords added in v1.2.0

SetKeywords is Keywords Setter 关键词

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetPageNo added in v1.2.0

SetPageNo is PageNo Setter 请求页数

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetProductId added in v1.2.0

func (r *AliexpressAffiliateProductSmartmatchAPIRequest) SetProductId(_productId string) error

SetProductId is ProductId Setter 商品ID

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetSite added in v1.2.0

SetSite is Site Setter 站点信息

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetTargetCurrency added in v1.2.0

func (r *AliexpressAffiliateProductSmartmatchAPIRequest) SetTargetCurrency(_targetCurrency string) error

SetTargetCurrency is TargetCurrency Setter 目标币种:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetTargetLanguage added in v1.2.0

func (r *AliexpressAffiliateProductSmartmatchAPIRequest) SetTargetLanguage(_targetLanguage string) error

SetTargetLanguage is TargetLanguage Setter 目标语言:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IW,IN

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetTrackingId added in v1.2.0

func (r *AliexpressAffiliateProductSmartmatchAPIRequest) SetTrackingId(_trackingId string) error

SetTrackingId is TrackingId Setter trackingId

func (*AliexpressAffiliateProductSmartmatchAPIRequest) SetUser added in v1.2.0

SetUser is User Setter 用户信息

type AliexpressAffiliateProductSmartmatchAPIResponse

type AliexpressAffiliateProductSmartmatchAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateProductSmartmatchAPIResponseModel
}

AliexpressAffiliateProductSmartmatchAPIResponse 联盟物料智能推荐api API返回值 aliexpress.affiliate.product.smartmatch

联盟物料算法智能推荐

func GetAliexpressAffiliateProductSmartmatchAPIResponse added in v1.3.4

func GetAliexpressAffiliateProductSmartmatchAPIResponse() *AliexpressAffiliateProductSmartmatchAPIResponse

GetAliexpressAffiliateProductSmartmatchAPIResponse 从 sync.Pool 获取 AliexpressAffiliateProductSmartmatchAPIResponse

func (*AliexpressAffiliateProductSmartmatchAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateProductSmartmatchAPIResponseModel added in v1.2.0

type AliexpressAffiliateProductSmartmatchAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_product_smartmatch_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateProductSmartmatchAPIResponseModel is 联盟物料智能推荐api 成功返回结果

func (*AliexpressAffiliateProductSmartmatchAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateProductdetailGetAPIRequest added in v1.2.0

type AliexpressAffiliateProductdetailGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressAffiliateProductdetailGetAPIRequest 联盟商品详情获取接口 API请求 aliexpress.affiliate.productdetail.get

联盟推广商品搜索接口,用于搜索联盟推广商品数据

func GetAliexpressAffiliateProductdetailGetAPIRequest added in v1.3.4

func GetAliexpressAffiliateProductdetailGetAPIRequest() *AliexpressAffiliateProductdetailGetAPIRequest

GetAliexpressAffiliateProductdetailGetRequest 从 sync.Pool 获取 AliexpressAffiliateProductdetailGetAPIRequest

func NewAliexpressAffiliateProductdetailGetRequest

func NewAliexpressAffiliateProductdetailGetRequest() *AliexpressAffiliateProductdetailGetAPIRequest

NewAliexpressAffiliateProductdetailGetRequest 初始化AliexpressAffiliateProductdetailGetAPIRequest对象

func (AliexpressAffiliateProductdetailGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressAffiliateProductdetailGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressAffiliateProductdetailGetAPIRequest) GetAppSignature added in v1.2.0

GetAppSignature AppSignature Getter

func (AliexpressAffiliateProductdetailGetAPIRequest) GetCountry added in v1.2.0

GetCountry Country Getter

func (AliexpressAffiliateProductdetailGetAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (AliexpressAffiliateProductdetailGetAPIRequest) GetProductIds added in v1.2.0

GetProductIds ProductIds Getter

func (AliexpressAffiliateProductdetailGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AliexpressAffiliateProductdetailGetAPIRequest) GetTargetCurrency added in v1.2.0

GetTargetCurrency TargetCurrency Getter

func (AliexpressAffiliateProductdetailGetAPIRequest) GetTargetLanguage added in v1.2.0

GetTargetLanguage TargetLanguage Getter

func (AliexpressAffiliateProductdetailGetAPIRequest) GetTrackingId added in v1.2.0

GetTrackingId TrackingId Getter

func (*AliexpressAffiliateProductdetailGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressAffiliateProductdetailGetAPIRequest) SetAppSignature added in v1.2.0

func (r *AliexpressAffiliateProductdetailGetAPIRequest) SetAppSignature(_appSignature string) error

SetAppSignature is AppSignature Setter 安全签名

func (*AliexpressAffiliateProductdetailGetAPIRequest) SetCountry added in v1.2.0

SetCountry is Country Setter 商品收货国家,可筛选能销售至该国家的商品,并根据该国家税率政策返回对应商品价格

func (*AliexpressAffiliateProductdetailGetAPIRequest) SetFields added in v1.2.0

SetFields is Fields Setter commission_rate,sale_price

func (*AliexpressAffiliateProductdetailGetAPIRequest) SetProductIds added in v1.2.0

func (r *AliexpressAffiliateProductdetailGetAPIRequest) SetProductIds(_productIds string) error

SetProductIds is ProductIds Setter 商品ID列表

func (*AliexpressAffiliateProductdetailGetAPIRequest) SetTargetCurrency added in v1.2.0

func (r *AliexpressAffiliateProductdetailGetAPIRequest) SetTargetCurrency(_targetCurrency string) error

SetTargetCurrency is TargetCurrency Setter 目标币种:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW

func (*AliexpressAffiliateProductdetailGetAPIRequest) SetTargetLanguage added in v1.2.0

func (r *AliexpressAffiliateProductdetailGetAPIRequest) SetTargetLanguage(_targetLanguage string) error

SetTargetLanguage is TargetLanguage Setter 目标语言:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IW,IN

func (*AliexpressAffiliateProductdetailGetAPIRequest) SetTrackingId added in v1.2.0

func (r *AliexpressAffiliateProductdetailGetAPIRequest) SetTrackingId(_trackingId string) error

SetTrackingId is TrackingId Setter trackingId

type AliexpressAffiliateProductdetailGetAPIResponse

type AliexpressAffiliateProductdetailGetAPIResponse struct {
	model.CommonResponse
	AliexpressAffiliateProductdetailGetAPIResponseModel
}

AliexpressAffiliateProductdetailGetAPIResponse 联盟商品详情获取接口 API返回值 aliexpress.affiliate.productdetail.get

联盟推广商品搜索接口,用于搜索联盟推广商品数据

func GetAliexpressAffiliateProductdetailGetAPIResponse added in v1.3.4

func GetAliexpressAffiliateProductdetailGetAPIResponse() *AliexpressAffiliateProductdetailGetAPIResponse

GetAliexpressAffiliateProductdetailGetAPIResponse 从 sync.Pool 获取 AliexpressAffiliateProductdetailGetAPIResponse

func (*AliexpressAffiliateProductdetailGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressAffiliateProductdetailGetAPIResponseModel added in v1.2.0

type AliexpressAffiliateProductdetailGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_affiliate_productdetail_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	RespResult *ResponseDto `json:"resp_result,omitempty" xml:"resp_result,omitempty"`
}

AliexpressAffiliateProductdetailGetAPIResponseModel is 联盟商品详情获取接口 成功返回结果

func (*AliexpressAffiliateProductdetailGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type Category

type Category struct {
	// 类目名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 类目ID
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 父类目ID
	ParentCategoryId int64 `json:"parent_category_id,omitempty" xml:"parent_category_id,omitempty"`
}

Category 结构体

func GetCategory added in v1.3.4

func GetCategory() *Category

GetCategory() 从对象池中获取Category

type Product

type Product struct {
	// 商品小图地址列表
	ProductSmallImageUrls []string `json:"product_small_image_urls,omitempty" xml:"product_small_image_urls>string,omitempty"`
	// app专享售价
	AppSalePrice string `json:"app_sale_price,omitempty" xml:"app_sale_price,omitempty"`
	// 佣金率
	CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"`
	// 折扣比例
	Discount string `json:"discount,omitempty" xml:"discount,omitempty"`
	// 一级类目名称
	FirstLevelCategoryName string `json:"first_level_category_name,omitempty" xml:"first_level_category_name,omitempty"`
	// 商品原始报价
	OriginalPrice string `json:"original_price,omitempty" xml:"original_price,omitempty"`
	// 商品访问地址
	ProductDetailUrl string `json:"product_detail_url,omitempty" xml:"product_detail_url,omitempty"`
	// 商品主图地址
	ProductMainImageUrl string `json:"product_main_image_url,omitempty" xml:"product_main_image_url,omitempty"`
	// 商品标题
	ProductTitle string `json:"product_title,omitempty" xml:"product_title,omitempty"`
	// 商品视频地址
	ProductVideoUrl string `json:"product_video_url,omitempty" xml:"product_video_url,omitempty"`
	// 推广链接
	PromotionLink string `json:"promotion_link,omitempty" xml:"promotion_link,omitempty"`
	// 商品售价
	SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"`
	// 商品二级类目名称
	SecondLevelCategoryName string `json:"second_level_category_name,omitempty" xml:"second_level_category_name,omitempty"`
	// 店铺地址
	ShopUrl string `json:"shop_url,omitempty" xml:"shop_url,omitempty"`
	// 按目标币种转换后的APP专享价
	TargetAppSalePrice string `json:"target_app_sale_price,omitempty" xml:"target_app_sale_price,omitempty"`
	// 按目标币种转换后的原始价格
	TargetOriginalPrice string `json:"target_original_price,omitempty" xml:"target_original_price,omitempty"`
	// 按目标币种转换后的通用售价币种
	TargetSalePrice string `json:"target_sale_price,omitempty" xml:"target_sale_price,omitempty"`
	// 爆品佣金率
	HotProductCommissionRate string `json:"hot_product_commission_rate,omitempty" xml:"hot_product_commission_rate,omitempty"`
	// 平台商品类型:ALL,PLAZA,TMALL
	PlatformProductType string `json:"platform_product_type,omitempty" xml:"platform_product_type,omitempty"`
	// 好评率
	EvaluateRate string `json:"evaluate_rate,omitempty" xml:"evaluate_rate,omitempty"`
	// app专享售价币种
	AppSalePriceCurrency string `json:"app_sale_price_currency,omitempty" xml:"app_sale_price_currency,omitempty"`
	// 原始售价币种
	OriginalPriceCurrency string `json:"original_price_currency,omitempty" xml:"original_price_currency,omitempty"`
	// 按目标币种转换后的原始价格币种
	TargetOriginalPriceCurrency string `json:"target_original_price_currency,omitempty" xml:"target_original_price_currency,omitempty"`
	// 按目标币种转换后的售价
	TargetSalePriceCurrency string `json:"target_sale_price_currency,omitempty" xml:"target_sale_price_currency,omitempty"`
	// 按目标币种转换后的APP专享价币种
	TargetAppSalePriceCurrency string `json:"target_app_sale_price_currency,omitempty" xml:"target_app_sale_price_currency,omitempty"`
	// 商品售价币种
	SalePriceCurrency string `json:"sale_price_currency,omitempty" xml:"sale_price_currency,omitempty"`
	// JV佣金率
	RelevantMarketCommissionRate string `json:"relevant_market_commission_rate,omitempty" xml:"relevant_market_commission_rate,omitempty"`
	// 可达国家与到达时间
	ShipToDays string `json:"ship_to_days,omitempty" xml:"ship_to_days,omitempty"`
	// 佣金率
	CommisionRate string `json:"commision_rate,omitempty" xml:"commision_rate,omitempty"`
	// 一级类目ID
	FirstLevelCategoryId int64 `json:"first_level_category_id,omitempty" xml:"first_level_category_id,omitempty"`
	// 商品ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 商品二级类目ID
	SecondLevelCategoryId int64 `json:"second_level_category_id,omitempty" xml:"second_level_category_id,omitempty"`
	// 店铺ID
	ShopId int64 `json:"shop_id,omitempty" xml:"shop_id,omitempty"`
	// 最近销量
	LastestVolume int64 `json:"lastest_volume,omitempty" xml:"lastest_volume,omitempty"`
	// code信息
	PromoCodeInfo *PromoCodeDto `json:"promo_code_info,omitempty" xml:"promo_code_info,omitempty"`
}

Product 结构体

func GetProduct added in v1.3.4

func GetProduct() *Product

GetProduct() 从对象池中获取Product

type 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
	PosTopLeftY string `json:"pos_top_left_y,omitempty" xml:"pos_top_left_y,omitempty"`
	// 图片识别的坐标 pos_bottom_right_x
	PosBottomRightX string `json:"pos_bottom_right_x,omitempty" xml:"pos_bottom_right_x,omitempty"`
	// 图片识别的坐标 pos_bottom_right_y
	PosBottomRightY string `json:"pos_bottom_right_y,omitempty" xml:"pos_bottom_right_y,omitempty"`
}

ProductImgRegionDto 结构体

func GetProductImgRegionDto added in v1.3.4

func GetProductImgRegionDto() *ProductImgRegionDto

GetProductImgRegionDto() 从对象池中获取ProductImgRegionDto

type Promo

type Promo struct {
	// 主题活动描述
	PromoDesc string `json:"promo_desc,omitempty" xml:"promo_desc,omitempty"`
	// 主题活动名称
	PromoName string `json:"promo_name,omitempty" xml:"promo_name,omitempty"`
	// 主题活动的商品数量
	ProductNum int64 `json:"product_num,omitempty" xml:"product_num,omitempty"`
}

Promo 结构体

func GetPromo added in v1.3.4

func GetPromo() *Promo

GetPromo() 从对象池中获取Promo

type PromoCodeDto

type PromoCodeDto struct {
	// 专属绑定PID的code码
	PromoCode string `json:"promo_code,omitempty" xml:"promo_code,omitempty"`
	// 优惠方式 1 满减,2 满折
	CodeCampaigntype string `json:"code_campaigntype,omitempty" xml:"code_campaigntype,omitempty"`
	// 面额
	CodeValue string `json:"code_value,omitempty" xml:"code_value,omitempty"`
	// code使用有效期的开始时间
	CodeAvailabletimeStart string `json:"code_availabletime_start,omitempty" xml:"code_availabletime_start,omitempty"`
	// code使用有效期的结束时间
	CodeAvailabletimeEnd string `json:"code_availabletime_end,omitempty" xml:"code_availabletime_end,omitempty"`
	// 最低使用门槛
	CodeMiniSpend string `json:"code_mini_spend,omitempty" xml:"code_mini_spend,omitempty"`
	// code剩余可使用的数量
	CodeQuantity string `json:"code_quantity,omitempty" xml:"code_quantity,omitempty"`
	// 品code合一url
	CodePromotionurl string `json:"code_promotionurl,omitempty" xml:"code_promotionurl,omitempty"`
}

PromoCodeDto 结构体

func GetPromoCodeDto added in v1.3.4

func GetPromoCodeDto() *PromoCodeDto

GetPromoCodeDto() 从对象池中获取PromoCodeDto

type ResponseDto

type ResponseDto struct {
	// 返回结果状态描述
	RespMsg string `json:"resp_msg,omitempty" xml:"resp_msg,omitempty"`
	// 返回结果状态码
	RespCode int64 `json:"resp_code,omitempty" xml:"resp_code,omitempty"`
	// 返回结果明细
	Result *TrafficFeaturedPromoResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

ResponseDto 结构体

func GetResponseDto added in v1.3.4

func GetResponseDto() *ResponseDto

GetResponseDto() 从对象池中获取ResponseDto

type ResponseResult

type ResponseResult struct {
	// 返回状态描述
	RespMsg string `json:"resp_msg,omitempty" xml:"resp_msg,omitempty"`
	// 返回状态码
	RespCode int64 `json:"resp_code,omitempty" xml:"resp_code,omitempty"`
	// 返回记录结果列表
	Result *AliexpressAffiliateCategoryGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

ResponseResult 结构体

func GetResponseResult added in v1.3.4

func GetResponseResult() *ResponseResult

GetResponseResult() 从对象池中获取ResponseResult

type TrafficFeaturedPromoResultDto

type TrafficFeaturedPromoResultDto struct {
	// 返回主题活动列表
	Promos []Promo `json:"promos,omitempty" xml:"promos>promo,omitempty"`
	// 当前返回数量
	CurrentRecordCount int64 `json:"current_record_count,omitempty" xml:"current_record_count,omitempty"`
}

TrafficFeaturedPromoResultDto 结构体

func GetTrafficFeaturedPromoResultDto added in v1.3.4

func GetTrafficFeaturedPromoResultDto() *TrafficFeaturedPromoResultDto

GetTrafficFeaturedPromoResultDto() 从对象池中获取TrafficFeaturedPromoResultDto

type 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"`
}

TrafficImageSearchResultDto 结构体

func GetTrafficImageSearchResultDto added in v1.3.4

func GetTrafficImageSearchResultDto() *TrafficImageSearchResultDto

GetTrafficImageSearchResultDto() 从对象池中获取TrafficImageSearchResultDto

type TrafficProductResultDto

type TrafficProductResultDto struct {
	// 返回商品列表
	Products []Product `json:"products,omitempty" xml:"products>product,omitempty"`
	// 当前返回页数
	CurrentPageNo int64 `json:"current_page_no,omitempty" xml:"current_page_no,omitempty"`
	// 当前返回数量
	CurrentRecordCount int64 `json:"current_record_count,omitempty" xml:"current_record_count,omitempty"`
	// 总计页数
	TotalPageNo int64 `json:"total_page_no,omitempty" xml:"total_page_no,omitempty"`
	// 总计数量
	TotalRecordCount int64 `json:"total_record_count,omitempty" xml:"total_record_count,omitempty"`
	// 数据是否拉取完成
	IsFinished bool `json:"is_finished,omitempty" xml:"is_finished,omitempty"`
}

TrafficProductResultDto 结构体

func GetTrafficProductResultDto added in v1.3.4

func GetTrafficProductResultDto() *TrafficProductResultDto

GetTrafficProductResultDto() 从对象池中获取TrafficProductResultDto

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL