aeusergrowth

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package aeusergrowth 包含AE-UserOpen-Recommend相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliexpressusergrowthrecommenditemsgetAPIRequest added in v1.3.1

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

AliexpressusergrowthrecommenditemsgetAPIRequest 第三方平台推荐商品 API请求 aliexpress.usergrowth.recommend.items.get

第三方平台的推荐AE商品 场景:skin 、底部推荐等

func NewAliexpressusergrowthrecommenditemsgetRequest added in v1.3.1

func NewAliexpressusergrowthrecommenditemsgetRequest() *AliexpressusergrowthrecommenditemsgetAPIRequest

NewAliexpressusergrowthrecommenditemsgetRequest 初始化AliexpressusergrowthrecommenditemsgetAPIRequest对象

func (AliexpressusergrowthrecommenditemsgetAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressusergrowthrecommenditemsgetAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressusergrowthrecommenditemsgetAPIRequest) GetCountryCode added in v1.3.1

GetCountryCode CountryCode Getter

func (AliexpressusergrowthrecommenditemsgetAPIRequest) GetCurrencyCode added in v1.3.1

GetCurrencyCode CurrencyCode Getter

func (AliexpressusergrowthrecommenditemsgetAPIRequest) GetLanguage added in v1.3.1

GetLanguage Language Getter

func (AliexpressusergrowthrecommenditemsgetAPIRequest) GetPageIndex added in v1.3.1

GetPageIndex PageIndex Getter

func (AliexpressusergrowthrecommenditemsgetAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (AliexpressusergrowthrecommenditemsgetAPIRequest) GetRawParams added in v1.3.1

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

func (AliexpressusergrowthrecommenditemsgetAPIRequest) GetTrackingId added in v1.3.1

GetTrackingId TrackingId Getter

func (AliexpressusergrowthrecommenditemsgetAPIRequest) GetUserTypeCode added in v1.3.1

GetUserTypeCode UserTypeCode Getter

func (*AliexpressusergrowthrecommenditemsgetAPIRequest) SetCountryCode added in v1.3.1

func (r *AliexpressusergrowthrecommenditemsgetAPIRequest) SetCountryCode(_countryCode string) error

SetCountryCode is CountryCode Setter country code

func (*AliexpressusergrowthrecommenditemsgetAPIRequest) SetCurrencyCode added in v1.3.1

func (r *AliexpressusergrowthrecommenditemsgetAPIRequest) SetCurrencyCode(_currencyCode string) error

SetCurrencyCode is CurrencyCode Setter currency Code

func (*AliexpressusergrowthrecommenditemsgetAPIRequest) SetLanguage added in v1.3.1

SetLanguage is Language Setter language

func (*AliexpressusergrowthrecommenditemsgetAPIRequest) SetPageIndex added in v1.3.1

func (r *AliexpressusergrowthrecommenditemsgetAPIRequest) SetPageIndex(_pageIndex string) error

SetPageIndex is PageIndex Setter page index,start from 1

func (*AliexpressusergrowthrecommenditemsgetAPIRequest) SetPageSize added in v1.3.1

SetPageSize is PageSize Setter page size

func (*AliexpressusergrowthrecommenditemsgetAPIRequest) SetTrackingId added in v1.3.1

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

SetTrackingId is TrackingId Setter third party trackingId

func (*AliexpressusergrowthrecommenditemsgetAPIRequest) SetUserTypeCode added in v1.3.1

func (r *AliexpressusergrowthrecommenditemsgetAPIRequest) SetUserTypeCode(_userTypeCode string) error

SetUserTypeCode is UserTypeCode Setter user type

type AliexpressusergrowthrecommenditemsgetAPIResponse added in v1.3.1

type AliexpressusergrowthrecommenditemsgetAPIResponse struct {
	model.CommonResponse
	AliexpressusergrowthrecommenditemsgetAPIResponseModel
}

AliexpressusergrowthrecommenditemsgetAPIResponse 第三方平台推荐商品 API返回值 aliexpress.usergrowth.recommend.items.get

第三方平台的推荐AE商品 场景:skin 、底部推荐等

type AliexpressusergrowthrecommenditemsgetAPIResponseModel added in v1.3.1

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 added in v1.3.1

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 added in v1.3.1

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>aliexpressusergrowthrecommenditemsget_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.3.1

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

AliexpressusergrowthsearchitemsgetAPIRequest 第三方平台搜索AE商品 API请求 aliexpress.usergrowth.search.items.get

第三方平台的搜索服务 获取AE商品list

func NewAliexpressusergrowthsearchitemsgetRequest added in v1.3.1

func NewAliexpressusergrowthsearchitemsgetRequest() *AliexpressusergrowthsearchitemsgetAPIRequest

NewAliexpressusergrowthsearchitemsgetRequest 初始化AliexpressusergrowthsearchitemsgetAPIRequest对象

func (AliexpressusergrowthsearchitemsgetAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressusergrowthsearchitemsgetAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressusergrowthsearchitemsgetAPIRequest) GetCountryCode added in v1.3.1

GetCountryCode CountryCode Getter

func (AliexpressusergrowthsearchitemsgetAPIRequest) GetCurrencyCode added in v1.3.1

GetCurrencyCode CurrencyCode Getter

func (AliexpressusergrowthsearchitemsgetAPIRequest) GetKeywords added in v1.3.1

GetKeywords Keywords Getter

func (AliexpressusergrowthsearchitemsgetAPIRequest) GetLanguage added in v1.3.1

GetLanguage Language Getter

func (AliexpressusergrowthsearchitemsgetAPIRequest) GetPageIndex added in v1.3.1

GetPageIndex PageIndex Getter

func (AliexpressusergrowthsearchitemsgetAPIRequest) GetPageSize added in v1.3.1

GetPageSize PageSize Getter

func (AliexpressusergrowthsearchitemsgetAPIRequest) GetRawParams added in v1.3.1

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

func (AliexpressusergrowthsearchitemsgetAPIRequest) GetTrackingId added in v1.3.1

GetTrackingId TrackingId Getter

func (*AliexpressusergrowthsearchitemsgetAPIRequest) SetCountryCode added in v1.3.1

func (r *AliexpressusergrowthsearchitemsgetAPIRequest) SetCountryCode(_countryCode string) error

SetCountryCode is CountryCode Setter ship to country

func (*AliexpressusergrowthsearchitemsgetAPIRequest) SetCurrencyCode added in v1.3.1

func (r *AliexpressusergrowthsearchitemsgetAPIRequest) SetCurrencyCode(_currencyCode string) error

SetCurrencyCode is CurrencyCode Setter currency code

func (*AliexpressusergrowthsearchitemsgetAPIRequest) SetKeywords added in v1.3.1

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

SetKeywords is Keywords Setter user input keypods

func (*AliexpressusergrowthsearchitemsgetAPIRequest) SetLanguage added in v1.3.1

func (r *AliexpressusergrowthsearchitemsgetAPIRequest) SetLanguage(_language string) error

SetLanguage is Language Setter language

func (*AliexpressusergrowthsearchitemsgetAPIRequest) SetPageIndex added in v1.3.1

func (r *AliexpressusergrowthsearchitemsgetAPIRequest) SetPageIndex(_pageIndex string) error

SetPageIndex is PageIndex Setter page index

func (*AliexpressusergrowthsearchitemsgetAPIRequest) SetPageSize added in v1.3.1

func (r *AliexpressusergrowthsearchitemsgetAPIRequest) SetPageSize(_pageSize string) error

SetPageSize is PageSize Setter page size

func (*AliexpressusergrowthsearchitemsgetAPIRequest) SetTrackingId added in v1.3.1

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

SetTrackingId is TrackingId Setter Third party tracking_id

type AliexpressusergrowthsearchitemsgetAPIResponse added in v1.3.1

type AliexpressusergrowthsearchitemsgetAPIResponse struct {
	model.CommonResponse
	AliexpressusergrowthsearchitemsgetAPIResponseModel
}

AliexpressusergrowthsearchitemsgetAPIResponse 第三方平台搜索AE商品 API返回值 aliexpress.usergrowth.search.items.get

第三方平台的搜索服务 获取AE商品list

type AliexpressusergrowthsearchitemsgetAPIResponseModel added in v1.3.1

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 added in v1.3.1

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 added in v1.3.1

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>aliexpressusergrowthsearchitemsget_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 结构体

type Ext

type Ext struct {
	// search page link
	SearchPageLink string `json:"search_page_link,omitempty" xml:"search_page_link,omitempty"`
}

Ext 结构体

Jump to

Keyboard shortcuts

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