Documentation ¶
Overview ¶
Package aeusergrowth 包含AE-UserOpen-Recommend相关结构体
Index ¶
- type AliexpressUsergrowthRecommendItemsGetAPIRequest
- func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetApiMethodName() string
- func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetApiParams(params url.Values)
- func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetCountryCode() string
- func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetCurrencyCode() string
- func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetLanguage() string
- func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetPageIndex() string
- func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetPageSize() string
- func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetRawParams() model.Params
- func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetTrackingId() string
- func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetUserTypeCode() string
- func (r *AliexpressUsergrowthRecommendItemsGetAPIRequest) SetCountryCode(_countryCode string) error
- func (r *AliexpressUsergrowthRecommendItemsGetAPIRequest) SetCurrencyCode(_currencyCode string) error
- func (r *AliexpressUsergrowthRecommendItemsGetAPIRequest) SetLanguage(_language string) error
- func (r *AliexpressUsergrowthRecommendItemsGetAPIRequest) SetPageIndex(_pageIndex string) error
- func (r *AliexpressUsergrowthRecommendItemsGetAPIRequest) SetPageSize(_pageSize string) error
- func (r *AliexpressUsergrowthRecommendItemsGetAPIRequest) SetTrackingId(_trackingId string) error
- func (r *AliexpressUsergrowthRecommendItemsGetAPIRequest) SetUserTypeCode(_userTypeCode string) error
- type AliexpressUsergrowthRecommendItemsGetAPIResponse
- type AliexpressUsergrowthRecommendItemsGetAPIResponseModel
- type AliexpressUsergrowthRecommendItemsGetData
- type AliexpressUsergrowthRecommendItemsGetResult
- type AliexpressUsergrowthSearchItemsGetAPIRequest
- func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetApiMethodName() string
- func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetApiParams(params url.Values)
- func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetCountryCode() string
- func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetCurrencyCode() string
- func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetKeywords() string
- func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetLanguage() string
- func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetPageIndex() string
- func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetPageSize() string
- func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetRawParams() model.Params
- func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetTrackingId() string
- func (r *AliexpressUsergrowthSearchItemsGetAPIRequest) SetCountryCode(_countryCode string) error
- func (r *AliexpressUsergrowthSearchItemsGetAPIRequest) SetCurrencyCode(_currencyCode string) error
- func (r *AliexpressUsergrowthSearchItemsGetAPIRequest) SetKeywords(_keywords string) error
- func (r *AliexpressUsergrowthSearchItemsGetAPIRequest) SetLanguage(_language string) error
- func (r *AliexpressUsergrowthSearchItemsGetAPIRequest) SetPageIndex(_pageIndex string) error
- func (r *AliexpressUsergrowthSearchItemsGetAPIRequest) SetPageSize(_pageSize string) error
- func (r *AliexpressUsergrowthSearchItemsGetAPIRequest) SetTrackingId(_trackingId string) error
- type AliexpressUsergrowthSearchItemsGetAPIResponse
- type AliexpressUsergrowthSearchItemsGetAPIResponseModel
- type AliexpressUsergrowthSearchItemsGetData
- type AliexpressUsergrowthSearchItemsGetResult
- type Ext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliexpressUsergrowthRecommendItemsGetAPIRequest ¶ added in v1.2.0
type AliexpressUsergrowthRecommendItemsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AliexpressUsergrowthRecommendItemsGetAPIRequest 第三方平台推荐商品 API请求 aliexpress.usergrowth.recommend.items.get
第三方平台的推荐AE商品 场景:skin 、底部推荐等
func NewAliexpressUsergrowthRecommendItemsGetRequest ¶
func NewAliexpressUsergrowthRecommendItemsGetRequest() *AliexpressUsergrowthRecommendItemsGetAPIRequest
NewAliexpressUsergrowthRecommendItemsGetRequest 初始化AliexpressUsergrowthRecommendItemsGetAPIRequest对象
func (AliexpressUsergrowthRecommendItemsGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliexpressUsergrowthRecommendItemsGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliexpressUsergrowthRecommendItemsGetAPIRequest) GetCountryCode ¶ added in v1.2.0
func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetCountryCode() string
GetCountryCode CountryCode Getter
func (AliexpressUsergrowthRecommendItemsGetAPIRequest) GetCurrencyCode ¶ added in v1.2.0
func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetCurrencyCode() string
GetCurrencyCode CurrencyCode Getter
func (AliexpressUsergrowthRecommendItemsGetAPIRequest) GetLanguage ¶ added in v1.2.0
func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetLanguage() string
GetLanguage Language Getter
func (AliexpressUsergrowthRecommendItemsGetAPIRequest) GetPageIndex ¶ added in v1.2.0
func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetPageIndex() string
GetPageIndex PageIndex Getter
func (AliexpressUsergrowthRecommendItemsGetAPIRequest) GetPageSize ¶ added in v1.2.0
func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetPageSize() string
GetPageSize PageSize Getter
func (AliexpressUsergrowthRecommendItemsGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AliexpressUsergrowthRecommendItemsGetAPIRequest) GetTrackingId ¶ added in v1.2.0
func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetTrackingId() string
GetTrackingId TrackingId Getter
func (AliexpressUsergrowthRecommendItemsGetAPIRequest) GetUserTypeCode ¶ added in v1.2.0
func (r AliexpressUsergrowthRecommendItemsGetAPIRequest) GetUserTypeCode() string
GetUserTypeCode UserTypeCode Getter
func (*AliexpressUsergrowthRecommendItemsGetAPIRequest) SetCountryCode ¶ added in v1.2.0
func (r *AliexpressUsergrowthRecommendItemsGetAPIRequest) SetCountryCode(_countryCode string) error
SetCountryCode is CountryCode Setter country code
func (*AliexpressUsergrowthRecommendItemsGetAPIRequest) SetCurrencyCode ¶ added in v1.2.0
func (r *AliexpressUsergrowthRecommendItemsGetAPIRequest) SetCurrencyCode(_currencyCode string) error
SetCurrencyCode is CurrencyCode Setter currency Code
func (*AliexpressUsergrowthRecommendItemsGetAPIRequest) SetLanguage ¶ added in v1.2.0
func (r *AliexpressUsergrowthRecommendItemsGetAPIRequest) SetLanguage(_language string) error
SetLanguage is Language Setter language
func (*AliexpressUsergrowthRecommendItemsGetAPIRequest) SetPageIndex ¶ added in v1.2.0
func (r *AliexpressUsergrowthRecommendItemsGetAPIRequest) SetPageIndex(_pageIndex string) error
SetPageIndex is PageIndex Setter page index,start from 1
func (*AliexpressUsergrowthRecommendItemsGetAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *AliexpressUsergrowthRecommendItemsGetAPIRequest) SetPageSize(_pageSize string) error
SetPageSize is PageSize Setter page size
func (*AliexpressUsergrowthRecommendItemsGetAPIRequest) SetTrackingId ¶ added in v1.2.0
func (r *AliexpressUsergrowthRecommendItemsGetAPIRequest) SetTrackingId(_trackingId string) error
SetTrackingId is TrackingId Setter third party trackingId
func (*AliexpressUsergrowthRecommendItemsGetAPIRequest) SetUserTypeCode ¶ added in v1.2.0
func (r *AliexpressUsergrowthRecommendItemsGetAPIRequest) SetUserTypeCode(_userTypeCode string) error
SetUserTypeCode is UserTypeCode Setter user type
type AliexpressUsergrowthRecommendItemsGetAPIResponse ¶
type AliexpressUsergrowthRecommendItemsGetAPIResponse struct { model.CommonResponse AliexpressUsergrowthRecommendItemsGetAPIResponseModel }
AliexpressUsergrowthRecommendItemsGetAPIResponse 第三方平台推荐商品 API返回值 aliexpress.usergrowth.recommend.items.get
第三方平台的推荐AE商品 场景:skin 、底部推荐等
type AliexpressUsergrowthRecommendItemsGetAPIResponseModel ¶ added in v1.2.0
type AliexpressUsergrowthRecommendItemsGetAPIResponseModel struct { XMLName xml.Name `xml:"aliexpress_usergrowth_recommend_items_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // response model Result *AliexpressUsergrowthRecommendItemsGetResult `json:"result,omitempty" xml:"result,omitempty"` }
AliexpressUsergrowthRecommendItemsGetAPIResponseModel is 第三方平台推荐商品 成功返回结果
type AliexpressUsergrowthRecommendItemsGetData ¶
type AliexpressUsergrowthRecommendItemsGetData struct { // product id ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"` // sale price,will return local pirce SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // product photo url Photo string `json:"photo,omitempty" xml:"photo,omitempty"` // shop name ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"` // product name ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"` // store url ShopDomain string `json:"shop_domain,omitempty" xml:"shop_domain,omitempty"` // detailUrl DetailUrl string `json:"detail_url,omitempty" xml:"detail_url,omitempty"` // shopId ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"` // sub category SubCategory string `json:"sub_category,omitempty" xml:"sub_category,omitempty"` // shop rating ShopRating string `json:"shop_rating,omitempty" xml:"shop_rating,omitempty"` // product rating RatingValue string `json:"rating_value,omitempty" xml:"rating_value,omitempty"` // category Name Category string `json:"category,omitempty" xml:"category,omitempty"` // rating count RatingCount int64 `json:"rating_count,omitempty" xml:"rating_count,omitempty"` // photo height PhotoHeight int64 `json:"photo_height,omitempty" xml:"photo_height,omitempty"` // photo width PhotoWidth int64 `json:"photo_width,omitempty" xml:"photo_width,omitempty"` // delivery freeShipping FreeShipping bool `json:"free_shipping,omitempty" xml:"free_shipping,omitempty"` }
AliexpressUsergrowthRecommendItemsGetData 结构体
type AliexpressUsergrowthRecommendItemsGetResult ¶
type AliexpressUsergrowthRecommendItemsGetResult struct { // Result itemList,The product are located at the top,maybe null when success = false DataList []AliexpressUsergrowthRecommendItemsGetData `json:"data_list,omitempty" xml:"data_list>aliexpress_usergrowth_recommend_items_get_data,omitempty"` // other extend message Message string `json:"message,omitempty" xml:"message,omitempty"` // Code is used to determine whether the result is correct Code string `json:"code,omitempty" xml:"code,omitempty"` // success is used to determine whether invoke service success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AliexpressUsergrowthRecommendItemsGetResult 结构体
type AliexpressUsergrowthSearchItemsGetAPIRequest ¶ added in v1.2.0
type AliexpressUsergrowthSearchItemsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AliexpressUsergrowthSearchItemsGetAPIRequest 第三方平台搜索AE商品 API请求 aliexpress.usergrowth.search.items.get
第三方平台的搜索服务 获取AE商品list
func NewAliexpressUsergrowthSearchItemsGetRequest ¶
func NewAliexpressUsergrowthSearchItemsGetRequest() *AliexpressUsergrowthSearchItemsGetAPIRequest
NewAliexpressUsergrowthSearchItemsGetRequest 初始化AliexpressUsergrowthSearchItemsGetAPIRequest对象
func (AliexpressUsergrowthSearchItemsGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AliexpressUsergrowthSearchItemsGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AliexpressUsergrowthSearchItemsGetAPIRequest) GetCountryCode ¶ added in v1.2.0
func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetCountryCode() string
GetCountryCode CountryCode Getter
func (AliexpressUsergrowthSearchItemsGetAPIRequest) GetCurrencyCode ¶ added in v1.2.0
func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetCurrencyCode() string
GetCurrencyCode CurrencyCode Getter
func (AliexpressUsergrowthSearchItemsGetAPIRequest) GetKeywords ¶ added in v1.2.0
func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetKeywords() string
GetKeywords Keywords Getter
func (AliexpressUsergrowthSearchItemsGetAPIRequest) GetLanguage ¶ added in v1.2.0
func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetLanguage() string
GetLanguage Language Getter
func (AliexpressUsergrowthSearchItemsGetAPIRequest) GetPageIndex ¶ added in v1.2.0
func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetPageIndex() string
GetPageIndex PageIndex Getter
func (AliexpressUsergrowthSearchItemsGetAPIRequest) GetPageSize ¶ added in v1.2.0
func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetPageSize() string
GetPageSize PageSize Getter
func (AliexpressUsergrowthSearchItemsGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AliexpressUsergrowthSearchItemsGetAPIRequest) GetTrackingId ¶ added in v1.2.0
func (r AliexpressUsergrowthSearchItemsGetAPIRequest) GetTrackingId() string
GetTrackingId TrackingId Getter
func (*AliexpressUsergrowthSearchItemsGetAPIRequest) SetCountryCode ¶ added in v1.2.0
func (r *AliexpressUsergrowthSearchItemsGetAPIRequest) SetCountryCode(_countryCode string) error
SetCountryCode is CountryCode Setter ship to country
func (*AliexpressUsergrowthSearchItemsGetAPIRequest) SetCurrencyCode ¶ added in v1.2.0
func (r *AliexpressUsergrowthSearchItemsGetAPIRequest) SetCurrencyCode(_currencyCode string) error
SetCurrencyCode is CurrencyCode Setter currency code
func (*AliexpressUsergrowthSearchItemsGetAPIRequest) SetKeywords ¶ added in v1.2.0
func (r *AliexpressUsergrowthSearchItemsGetAPIRequest) SetKeywords(_keywords string) error
SetKeywords is Keywords Setter user input keypods
func (*AliexpressUsergrowthSearchItemsGetAPIRequest) SetLanguage ¶ added in v1.2.0
func (r *AliexpressUsergrowthSearchItemsGetAPIRequest) SetLanguage(_language string) error
SetLanguage is Language Setter language
func (*AliexpressUsergrowthSearchItemsGetAPIRequest) SetPageIndex ¶ added in v1.2.0
func (r *AliexpressUsergrowthSearchItemsGetAPIRequest) SetPageIndex(_pageIndex string) error
SetPageIndex is PageIndex Setter page index
func (*AliexpressUsergrowthSearchItemsGetAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *AliexpressUsergrowthSearchItemsGetAPIRequest) SetPageSize(_pageSize string) error
SetPageSize is PageSize Setter page size
func (*AliexpressUsergrowthSearchItemsGetAPIRequest) SetTrackingId ¶ added in v1.2.0
func (r *AliexpressUsergrowthSearchItemsGetAPIRequest) SetTrackingId(_trackingId string) error
SetTrackingId is TrackingId Setter Third party tracking_id
type AliexpressUsergrowthSearchItemsGetAPIResponse ¶
type AliexpressUsergrowthSearchItemsGetAPIResponse struct { model.CommonResponse AliexpressUsergrowthSearchItemsGetAPIResponseModel }
AliexpressUsergrowthSearchItemsGetAPIResponse 第三方平台搜索AE商品 API返回值 aliexpress.usergrowth.search.items.get
第三方平台的搜索服务 获取AE商品list
type AliexpressUsergrowthSearchItemsGetAPIResponseModel ¶ added in v1.2.0
type AliexpressUsergrowthSearchItemsGetAPIResponseModel struct { XMLName xml.Name `xml:"aliexpress_usergrowth_search_items_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // response model Result *AliexpressUsergrowthSearchItemsGetResult `json:"result,omitempty" xml:"result,omitempty"` }
AliexpressUsergrowthSearchItemsGetAPIResponseModel is 第三方平台搜索AE商品 成功返回结果
type AliexpressUsergrowthSearchItemsGetData ¶
type AliexpressUsergrowthSearchItemsGetData struct { // product id ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"` // sale price , return local price SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"` // product photo url Photo string `json:"photo,omitempty" xml:"photo,omitempty"` // shop name ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"` // product name ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"` // store url ShopDomain string `json:"shop_domain,omitempty" xml:"shop_domain,omitempty"` // product detail Url DetailUrl string `json:"detail_url,omitempty" xml:"detail_url,omitempty"` // shopId ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"` // sub category SubCategory string `json:"sub_category,omitempty" xml:"sub_category,omitempty"` // shop rating ShopRating string `json:"shop_rating,omitempty" xml:"shop_rating,omitempty"` // rating RatingValue string `json:"rating_value,omitempty" xml:"rating_value,omitempty"` // product category Category string `json:"category,omitempty" xml:"category,omitempty"` // rating count RatingCount int64 `json:"rating_count,omitempty" xml:"rating_count,omitempty"` // photo height PhotoHeight int64 `json:"photo_height,omitempty" xml:"photo_height,omitempty"` // photo width PhotoWidth int64 `json:"photo_width,omitempty" xml:"photo_width,omitempty"` // delivery freeShipping FreeShipping bool `json:"free_shipping,omitempty" xml:"free_shipping,omitempty"` }
AliexpressUsergrowthSearchItemsGetData 结构体
type AliexpressUsergrowthSearchItemsGetResult ¶
type AliexpressUsergrowthSearchItemsGetResult struct { // Result,The product are located at the top,maybe null when success = false DataList []AliexpressUsergrowthSearchItemsGetData `json:"data_list,omitempty" xml:"data_list>aliexpress_usergrowth_search_items_get_data,omitempty"` // other extend message Message string `json:"message,omitempty" xml:"message,omitempty"` // Code is used to determine whether the result is correct Code string `json:"code,omitempty" xml:"code,omitempty"` // extend param Ext *Ext `json:"ext,omitempty" xml:"ext,omitempty"` // success is used to determine whether invoke service success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AliexpressUsergrowthSearchItemsGetResult 结构体
Source Files ¶
- AliexpressUsergrowthRecommendItemsGetAPIRequest.go
- AliexpressUsergrowthRecommendItemsGetAPIResponse.go
- AliexpressUsergrowthRecommendItemsGetData.go
- AliexpressUsergrowthRecommendItemsGetResult.go
- AliexpressUsergrowthSearchItemsGetAPIRequest.go
- AliexpressUsergrowthSearchItemsGetAPIResponse.go
- AliexpressUsergrowthSearchItemsGetData.go
- AliexpressUsergrowthSearchItemsGetResult.go
- Ext.go
- doc.go