aeusergrowth

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

AE-UserOpen-Recommend model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliexpressUsergrowthRecommendItemsGetAPIResponse

type AliexpressUsergrowthRecommendItemsGetAPIResponse struct {
	model.CommonResponse
	AliexpressUsergrowthRecommendItemsGetResponse
}

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

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

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"`
	// rating count
	RatingCount int64 `json:"rating_count,omitempty" xml:"rating_count,omitempty"`
	// photo height
	PhotoHeight int64 `json:"photo_height,omitempty" xml:"photo_height,omitempty"`
	// shop rating
	ShopRating string `json:"shop_rating,omitempty" xml:"shop_rating,omitempty"`
	// delivery freeShipping
	FreeShipping bool `json:"free_shipping,omitempty" xml:"free_shipping,omitempty"`
	// product rating
	RatingValue string `json:"rating_value,omitempty" xml:"rating_value,omitempty"`
	// category Name
	Category string `json:"category,omitempty" xml:"category,omitempty"`
	// photo width
	PhotoWidth int64 `json:"photo_width,omitempty" xml:"photo_width,omitempty"`
}

AliexpressUsergrowthRecommendItemsGetData

type AliexpressUsergrowthRecommendItemsGetRequest

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

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

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

func NewAliexpressUsergrowthRecommendItemsGetRequest

func NewAliexpressUsergrowthRecommendItemsGetRequest() *AliexpressUsergrowthRecommendItemsGetRequest

初始化AliexpressUsergrowthRecommendItemsGetRequest对象

func (AliexpressUsergrowthRecommendItemsGetRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AliexpressUsergrowthRecommendItemsGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AliexpressUsergrowthRecommendItemsGetRequest) GetCountryCode

CountryCode Getter

func (AliexpressUsergrowthRecommendItemsGetRequest) GetCurrencyCode

CurrencyCode Getter

func (AliexpressUsergrowthRecommendItemsGetRequest) GetLanguage

Language Getter

func (AliexpressUsergrowthRecommendItemsGetRequest) GetPageIndex

PageIndex Getter

func (AliexpressUsergrowthRecommendItemsGetRequest) GetPageSize

PageSize Getter

func (AliexpressUsergrowthRecommendItemsGetRequest) GetTrackingId

TrackingId Getter

func (AliexpressUsergrowthRecommendItemsGetRequest) GetUserTypeCode

UserTypeCode Getter

func (*AliexpressUsergrowthRecommendItemsGetRequest) SetCountryCode

func (r *AliexpressUsergrowthRecommendItemsGetRequest) SetCountryCode(countryCode string) error

CountryCode Setter country code

func (*AliexpressUsergrowthRecommendItemsGetRequest) SetCurrencyCode

func (r *AliexpressUsergrowthRecommendItemsGetRequest) SetCurrencyCode(currencyCode string) error

CurrencyCode Setter currency Code

func (*AliexpressUsergrowthRecommendItemsGetRequest) SetLanguage

Language Setter language

func (*AliexpressUsergrowthRecommendItemsGetRequest) SetPageIndex

func (r *AliexpressUsergrowthRecommendItemsGetRequest) SetPageIndex(pageIndex string) error

PageIndex Setter page index,start from 1

func (*AliexpressUsergrowthRecommendItemsGetRequest) SetPageSize

PageSize Setter page size

func (*AliexpressUsergrowthRecommendItemsGetRequest) SetTrackingId

func (r *AliexpressUsergrowthRecommendItemsGetRequest) SetTrackingId(trackingId string) error

TrackingId Setter third party trackingId

func (*AliexpressUsergrowthRecommendItemsGetRequest) SetUserTypeCode

func (r *AliexpressUsergrowthRecommendItemsGetRequest) SetUserTypeCode(userTypeCode string) error

UserTypeCode Setter user type

type AliexpressUsergrowthRecommendItemsGetResponse

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

第三方平台推荐商品 成功返回结果

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"`
	// success is used to determine whether invoke service success
	Success bool `json:"success,omitempty" xml:"success,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"`
}

AliexpressUsergrowthRecommendItemsGetResult

type AliexpressUsergrowthSearchItemsGetAPIResponse

type AliexpressUsergrowthSearchItemsGetAPIResponse struct {
	model.CommonResponse
	AliexpressUsergrowthSearchItemsGetResponse
}

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

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

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"`
	// rating count
	RatingCount int64 `json:"rating_count,omitempty" xml:"rating_count,omitempty"`
	// photo height
	PhotoHeight int64 `json:"photo_height,omitempty" xml:"photo_height,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"`
	// 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 AliexpressUsergrowthSearchItemsGetRequest

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

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

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

func NewAliexpressUsergrowthSearchItemsGetRequest

func NewAliexpressUsergrowthSearchItemsGetRequest() *AliexpressUsergrowthSearchItemsGetRequest

初始化AliexpressUsergrowthSearchItemsGetRequest对象

func (AliexpressUsergrowthSearchItemsGetRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AliexpressUsergrowthSearchItemsGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AliexpressUsergrowthSearchItemsGetRequest) GetCountryCode

CountryCode Getter

func (AliexpressUsergrowthSearchItemsGetRequest) GetCurrencyCode

CurrencyCode Getter

func (AliexpressUsergrowthSearchItemsGetRequest) GetKeywords

Keywords Getter

func (AliexpressUsergrowthSearchItemsGetRequest) GetLanguage

Language Getter

func (AliexpressUsergrowthSearchItemsGetRequest) GetPageIndex

PageIndex Getter

func (AliexpressUsergrowthSearchItemsGetRequest) GetPageSize

PageSize Getter

func (AliexpressUsergrowthSearchItemsGetRequest) GetTrackingId

TrackingId Getter

func (*AliexpressUsergrowthSearchItemsGetRequest) SetCountryCode

func (r *AliexpressUsergrowthSearchItemsGetRequest) SetCountryCode(countryCode string) error

CountryCode Setter ship to country

func (*AliexpressUsergrowthSearchItemsGetRequest) SetCurrencyCode

func (r *AliexpressUsergrowthSearchItemsGetRequest) SetCurrencyCode(currencyCode string) error

CurrencyCode Setter currency code

func (*AliexpressUsergrowthSearchItemsGetRequest) SetKeywords

func (r *AliexpressUsergrowthSearchItemsGetRequest) SetKeywords(keywords string) error

Keywords Setter user input keypods

func (*AliexpressUsergrowthSearchItemsGetRequest) SetLanguage

func (r *AliexpressUsergrowthSearchItemsGetRequest) SetLanguage(language string) error

Language Setter language

func (*AliexpressUsergrowthSearchItemsGetRequest) SetPageIndex

func (r *AliexpressUsergrowthSearchItemsGetRequest) SetPageIndex(pageIndex string) error

PageIndex Setter page index

func (*AliexpressUsergrowthSearchItemsGetRequest) SetPageSize

func (r *AliexpressUsergrowthSearchItemsGetRequest) SetPageSize(pageSize string) error

PageSize Setter page size

func (*AliexpressUsergrowthSearchItemsGetRequest) SetTrackingId

func (r *AliexpressUsergrowthSearchItemsGetRequest) SetTrackingId(trackingId string) error

TrackingId Setter Third party tracking_id

type AliexpressUsergrowthSearchItemsGetResponse

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

第三方平台搜索AE商品 成功返回结果

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"`
	// success is used to determine whether invoke service success
	Success bool `json:"success,omitempty" xml:"success,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"`
}

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