tbk

package
v1.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FavoritesDetail

type FavoritesDetail struct {
	FavoritesId int64 `json:"favorites_id,omitempty" xml:"favorites_id,omitempty"`

	FavoritesTitle string `json:"favorites_title,omitempty" xml:"favorites_title,omitempty"`
}

FavoritesDetail

type FavoritesInfo

type FavoritesInfo struct {
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`

	FavoritesList []FavoritesDetail `json:"favorites_list,omitempty" xml:"favorites_list,omitempty"`
}

FavoritesInfo

type FoodMapData

type FoodMapData struct {
	FoodPic string `json:"food_pic,omitempty" xml:"food_pic,omitempty"`

	FoodTitle string `json:"food_title,omitempty" xml:"food_title,omitempty"`

	FoodPromotionPrice string `json:"food_promotion_price,omitempty" xml:"food_promotion_price,omitempty"`

	FoodReservePrice string `json:"food_reserve_price,omitempty" xml:"food_reserve_price,omitempty"`
}

FoodMapData

type LocalizationMapData

type LocalizationMapData struct {
	OrderLeadTime string `json:"order_lead_time,omitempty" xml:"order_lead_time,omitempty"`

	UserRating string `json:"user_rating,omitempty" xml:"user_rating,omitempty"`

	DeliveryMinPrice string `json:"delivery_min_price,omitempty" xml:"delivery_min_price,omitempty"`

	DeliveryFee string `json:"delivery_fee,omitempty" xml:"delivery_fee,omitempty"`

	OriginalDeliveryFee string `json:"original_delivery_fee,omitempty" xml:"original_delivery_fee,omitempty"`

	DeliveryType string `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"`

	RecommendReasons []string `json:"recommend_reasons,omitempty" xml:"recommend_reasons>string,omitempty"`

	SaleTags []string `json:"sale_tags,omitempty" xml:"sale_tags>string,omitempty"`

	FoodItemList []FoodMapData `json:"food_item_list,omitempty" xml:"food_item_list,omitempty"`
}

LocalizationMapData

type NTbkItem

type NTbkItem struct {
	CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"`

	NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"`

	Title string `json:"title,omitempty" xml:"title,omitempty"`

	PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"`

	SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"`

	ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"`

	ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"`

	UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"`

	Provcity string `json:"provcity,omitempty" xml:"provcity,omitempty"`

	ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"`

	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`

	Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"`

	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`

	CatLeafName string `json:"cat_leaf_name,omitempty" xml:"cat_leaf_name,omitempty"`

	IsPrepay bool `json:"is_prepay,omitempty" xml:"is_prepay,omitempty"`

	ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"`

	Ratesum int64 `json:"ratesum,omitempty" xml:"ratesum,omitempty"`

	IRfdRate bool `json:"i_rfd_rate,omitempty" xml:"i_rfd_rate,omitempty"`

	HGoodRate bool `json:"h_good_rate,omitempty" xml:"h_good_rate,omitempty"`

	HPayRate30 bool `json:"h_pay_rate30,omitempty" xml:"h_pay_rate30,omitempty"`

	FreeShipment bool `json:"free_shipment,omitempty" xml:"free_shipment,omitempty"`

	MaterialLibType string `json:"material_lib_type,omitempty" xml:"material_lib_type,omitempty"`

	PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"`

	PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"`

	PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"`

	PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"`

	PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"`

	PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"`

	JuPlayEndTime int64 `json:"ju_play_end_time,omitempty" xml:"ju_play_end_time,omitempty"`

	JuPlayStartTime int64 `json:"ju_play_start_time,omitempty" xml:"ju_play_start_time,omitempty"`

	PlayInfo string `json:"play_info,omitempty" xml:"play_info,omitempty"`

	TmallPlayActivityEndTime int64 `json:"tmall_play_activity_end_time,omitempty" xml:"tmall_play_activity_end_time,omitempty"`

	TmallPlayActivityStartTime int64 `json:"tmall_play_activity_start_time,omitempty" xml:"tmall_play_activity_start_time,omitempty"`

	JuOnlineStartTime string `json:"ju_online_start_time,omitempty" xml:"ju_online_start_time,omitempty"`

	JuOnlineEndTime string `json:"ju_online_end_time,omitempty" xml:"ju_online_end_time,omitempty"`

	JuPreShowStartTime string `json:"ju_pre_show_start_time,omitempty" xml:"ju_pre_show_start_time,omitempty"`

	JuPreShowEndTime string `json:"ju_pre_show_end_time,omitempty" xml:"ju_pre_show_end_time,omitempty"`

	SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"`

	KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"`

	SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"`

	HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"`
}

NTbkItem

type NTbkShop

type NTbkShop struct {
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`

	ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"`

	ShopType string `json:"shop_type,omitempty" xml:"shop_type,omitempty"`

	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`

	PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"`

	ShopUrl string `json:"shop_url,omitempty" xml:"shop_url,omitempty"`
}

NTbkShop

type OrderData

type OrderData struct {
	Commission string `json:"commission,omitempty" xml:"commission,omitempty"`

	ConfirmReceiveTime string `json:"confirm_receive_time,omitempty" xml:"confirm_receive_time,omitempty"`

	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`

	OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"`
}

OrderData

type PageResult

type PageResult struct {
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`

	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`

	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`

	Results []TaobaoTbkDgPunishOrderGetResult `json:"results,omitempty" xml:"results,omitempty"`
}

PageResult

type PromotionExtend

type PromotionExtend struct {
	RecommendItemList []RecommendItemList `json:"recommend_item_list,omitempty" xml:"recommend_item_list,omitempty"`

	YoujiaCouponInfo *Youjiacouponinfo `json:"youjia_coupon_info,omitempty" xml:"youjia_coupon_info,omitempty"`

	PromotionUrl string `json:"promotion_url,omitempty" xml:"promotion_url,omitempty"`
}

PromotionExtend

type PromotionList

type PromotionList struct {
	EntryUsedStartTime string `json:"entry_used_start_time,omitempty" xml:"entry_used_start_time,omitempty"`

	EntryUsedEndTime string `json:"entry_used_end_time,omitempty" xml:"entry_used_end_time,omitempty"`

	EntryCondition string `json:"entry_condition,omitempty" xml:"entry_condition,omitempty"`

	EntryDiscount string `json:"entry_discount,omitempty" xml:"entry_discount,omitempty"`
}

PromotionList

type RecommendItemList

type RecommendItemList struct {
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`

	Url string `json:"url,omitempty" xml:"url,omitempty"`
}

RecommendItemList

type RegisterInfoDto

type RegisterInfoDto struct {
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`

	ShopType string `json:"shop_type,omitempty" xml:"shop_type,omitempty"`

	PhoneNumber string `json:"phone_number,omitempty" xml:"phone_number,omitempty"`

	DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"`

	Location string `json:"location,omitempty" xml:"location,omitempty"`

	ShopCertifyType string `json:"shop_certify_type,omitempty" xml:"shop_certify_type,omitempty"`

	CertifyNumber string `json:"certify_number,omitempty" xml:"certify_number,omitempty"`

	Career string `json:"career,omitempty" xml:"career,omitempty"`
}

RegisterInfoDto

type RightsInstanceCreateResult

type RightsInstanceCreateResult struct {
	RightsId string `json:"rights_id,omitempty" xml:"rights_id,omitempty"`

	SendUrl string `json:"send_url,omitempty" xml:"send_url,omitempty"`

	VegasCode string `json:"vegas_code,omitempty" xml:"vegas_code,omitempty"`

	AvailableFee string `json:"available_fee,omitempty" xml:"available_fee,omitempty"`
}

RightsInstanceCreateResult

type TaobaoTbkActivityInfoGetAPIResponse

type TaobaoTbkActivityInfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkActivityInfoGetResponse
}

淘宝客-推广者-官方活动转链 APIResponse taobao.tbk.activity.info.get

支持入参推广位和官方活动会场ID,获取活动信息和推广链接,包含推广长链接、短链接、淘口令、微信推广二维码地址等。改该API支持二方、三方类型的转链。官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取。

type TaobaoTbkActivityInfoGetData

type TaobaoTbkActivityInfoGetData struct {
	WxQrcodeUrl string `json:"wx_qrcode_url,omitempty" xml:"wx_qrcode_url,omitempty"`

	ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"`

	ShortClickUrl string `json:"short_click_url,omitempty" xml:"short_click_url,omitempty"`

	TerminalType string `json:"terminal_type,omitempty" xml:"terminal_type,omitempty"`

	MaterialOssUrl string `json:"material_oss_url,omitempty" xml:"material_oss_url,omitempty"`

	PageName string `json:"page_name,omitempty" xml:"page_name,omitempty"`

	PageStartTime string `json:"page_start_time,omitempty" xml:"page_start_time,omitempty"`

	PageEndTime string `json:"page_end_time,omitempty" xml:"page_end_time,omitempty"`

	WxMiniprogramPath string `json:"wx_miniprogram_path,omitempty" xml:"wx_miniprogram_path,omitempty"`
}

TaobaoTbkActivityInfoGetData

type TaobaoTbkActivityInfoGetRequest

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

淘宝客-推广者-官方活动转链 APIRequest taobao.tbk.activity.info.get

支持入参推广位和官方活动会场ID,获取活动信息和推广链接,包含推广长链接、短链接、淘口令、微信推广二维码地址等。改该API支持二方、三方类型的转链。官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取。

func NewTaobaoTbkActivityInfoGetRequest

func NewTaobaoTbkActivityInfoGetRequest() *TaobaoTbkActivityInfoGetRequest

func (TaobaoTbkActivityInfoGetRequest) GetActivityMaterialId

func (r TaobaoTbkActivityInfoGetRequest) GetActivityMaterialId() string

func (TaobaoTbkActivityInfoGetRequest) GetAdzoneId

func (r TaobaoTbkActivityInfoGetRequest) GetAdzoneId() int64

func (TaobaoTbkActivityInfoGetRequest) GetApiMethodName

func (r TaobaoTbkActivityInfoGetRequest) GetApiMethodName() string

func (TaobaoTbkActivityInfoGetRequest) GetApiParams

func (r TaobaoTbkActivityInfoGetRequest) GetApiParams() url.Values

func (TaobaoTbkActivityInfoGetRequest) GetRelationId

func (r TaobaoTbkActivityInfoGetRequest) GetRelationId() int64

func (TaobaoTbkActivityInfoGetRequest) GetSubPid

func (TaobaoTbkActivityInfoGetRequest) GetUnionId

func (r TaobaoTbkActivityInfoGetRequest) GetUnionId() string

func (*TaobaoTbkActivityInfoGetRequest) SetActivityMaterialId

func (r *TaobaoTbkActivityInfoGetRequest) SetActivityMaterialId(activityMaterialId string) error

func (*TaobaoTbkActivityInfoGetRequest) SetAdzoneId

func (r *TaobaoTbkActivityInfoGetRequest) SetAdzoneId(adzoneId int64) error

func (*TaobaoTbkActivityInfoGetRequest) SetRelationId

func (r *TaobaoTbkActivityInfoGetRequest) SetRelationId(relationId int64) error

func (*TaobaoTbkActivityInfoGetRequest) SetSubPid

func (r *TaobaoTbkActivityInfoGetRequest) SetSubPid(subPid string) error

func (*TaobaoTbkActivityInfoGetRequest) SetUnionId

func (r *TaobaoTbkActivityInfoGetRequest) SetUnionId(unionId string) error

type TaobaoTbkActivityInfoGetResponse

type TaobaoTbkActivityInfoGetResponse struct {
	XMLName   xml.Name `xml:"tbk_activity_info_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Data *TaobaoTbkActivityInfoGetData `json:"data,omitempty" xml:"data,omitempty"`
}

type TaobaoTbkCartCouponExpireUserQueryAPIResponse

type TaobaoTbkCartCouponExpireUserQueryAPIResponse struct {
	model.CommonResponse
	TaobaoTbkCartCouponExpireUserQueryResponse
}

购物车催付优惠券到期查询用户信息 APIResponse taobao.tbk.cart.coupon.expire.user.query

购物车催付根据对应规则查询用户信息。

type TaobaoTbkCartCouponExpireUserQueryMapData

type TaobaoTbkCartCouponExpireUserQueryMapData struct {
	SkuIdList []int64 `json:"sku_id_list,omitempty" xml:"sku_id_list>int64,omitempty"`

	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
}

TaobaoTbkCartCouponExpireUserQueryMapData

type TaobaoTbkCartCouponExpireUserQueryRequest

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

购物车催付优惠券到期查询用户信息 APIRequest taobao.tbk.cart.coupon.expire.user.query

购物车催付根据对应规则查询用户信息。

func NewTaobaoTbkCartCouponExpireUserQueryRequest

func NewTaobaoTbkCartCouponExpireUserQueryRequest() *TaobaoTbkCartCouponExpireUserQueryRequest

func (TaobaoTbkCartCouponExpireUserQueryRequest) GetApiMethodName

func (TaobaoTbkCartCouponExpireUserQueryRequest) GetApiParams

func (TaobaoTbkCartCouponExpireUserQueryRequest) GetPageNum

func (TaobaoTbkCartCouponExpireUserQueryRequest) GetPageSize

func (TaobaoTbkCartCouponExpireUserQueryRequest) GetRuleId

func (*TaobaoTbkCartCouponExpireUserQueryRequest) SetPageNum

func (r *TaobaoTbkCartCouponExpireUserQueryRequest) SetPageNum(pageNum int64) error

func (*TaobaoTbkCartCouponExpireUserQueryRequest) SetPageSize

func (r *TaobaoTbkCartCouponExpireUserQueryRequest) SetPageSize(pageSize int64) error

func (*TaobaoTbkCartCouponExpireUserQueryRequest) SetRuleId

type TaobaoTbkCartCouponExpireUserQueryResponse

type TaobaoTbkCartCouponExpireUserQueryResponse struct {
	XMLName   xml.Name `xml:"tbk_cart_coupon_expire_user_query_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	UserRuleInfoList []UserRuleInfo `json:"user_rule_info_list,omitempty" xml:"user_rule_info_list>user_rule_info,omitempty"`
}

type TaobaoTbkCouponGetAPIResponse

type TaobaoTbkCouponGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkCouponGetResponse
}

淘宝客-公用-阿里妈妈推广券详情查询 APIResponse taobao.tbk.coupon.get

传入商品ID+券ID(券ID已知情况下),或者传入me参数,均可查询阿里妈妈推广券详细信息。

type TaobaoTbkCouponGetMapData

type TaobaoTbkCouponGetMapData struct {
	CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"`

	CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"`

	CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"`

	CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"`

	CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"`

	CouponAmount string `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"`

	CouponSrcScene int64 `json:"coupon_src_scene,omitempty" xml:"coupon_src_scene,omitempty"`

	CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"`

	CouponActivityId string `json:"coupon_activity_id,omitempty" xml:"coupon_activity_id,omitempty"`
}

TaobaoTbkCouponGetMapData

type TaobaoTbkCouponGetRequest

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

淘宝客-公用-阿里妈妈推广券详情查询 APIRequest taobao.tbk.coupon.get

传入商品ID+券ID(券ID已知情况下),或者传入me参数,均可查询阿里妈妈推广券详细信息。

func NewTaobaoTbkCouponGetRequest

func NewTaobaoTbkCouponGetRequest() *TaobaoTbkCouponGetRequest

func (TaobaoTbkCouponGetRequest) GetActivityId

func (r TaobaoTbkCouponGetRequest) GetActivityId() string

func (TaobaoTbkCouponGetRequest) GetApiMethodName

func (r TaobaoTbkCouponGetRequest) GetApiMethodName() string

func (TaobaoTbkCouponGetRequest) GetApiParams

func (r TaobaoTbkCouponGetRequest) GetApiParams() url.Values

func (TaobaoTbkCouponGetRequest) GetItemId

func (r TaobaoTbkCouponGetRequest) GetItemId() int64

func (TaobaoTbkCouponGetRequest) GetMe

func (*TaobaoTbkCouponGetRequest) SetActivityId

func (r *TaobaoTbkCouponGetRequest) SetActivityId(activityId string) error

func (*TaobaoTbkCouponGetRequest) SetItemId

func (r *TaobaoTbkCouponGetRequest) SetItemId(itemId int64) error

func (*TaobaoTbkCouponGetRequest) SetMe

func (r *TaobaoTbkCouponGetRequest) SetMe(me string) error

type TaobaoTbkCouponGetResponse

type TaobaoTbkCouponGetResponse struct {
	XMLName   xml.Name `xml:"tbk_coupon_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Data *TaobaoTbkCouponGetMapData `json:"data,omitempty" xml:"data,omitempty"`
}

type TaobaoTbkDgMaterialOptionalAPIResponse

type TaobaoTbkDgMaterialOptionalAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgMaterialOptionalResponse
}

淘宝客-推广者-物料搜索 APIResponse taobao.tbk.dg.material.optional

通用物料搜索API(导购)

type TaobaoTbkDgMaterialOptionalMapData

type TaobaoTbkDgMaterialOptionalMapData struct {
	CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"`

	CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"`

	InfoDxjh string `json:"info_dxjh,omitempty" xml:"info_dxjh,omitempty"`

	TkTotalSales string `json:"tk_total_sales,omitempty" xml:"tk_total_sales,omitempty"`

	TkTotalCommi string `json:"tk_total_commi,omitempty" xml:"tk_total_commi,omitempty"`

	CouponId string `json:"coupon_id,omitempty" xml:"coupon_id,omitempty"`

	NumIid int64 `json:"num_iid,omitempty" xml:"num_iid,omitempty"`

	Title string `json:"title,omitempty" xml:"title,omitempty"`

	PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"`

	SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"`

	ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"`

	ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"`

	UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"`

	Provcity string `json:"provcity,omitempty" xml:"provcity,omitempty"`

	ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"`

	IncludeMkt string `json:"include_mkt,omitempty" xml:"include_mkt,omitempty"`

	IncludeDxjh string `json:"include_dxjh,omitempty" xml:"include_dxjh,omitempty"`

	CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"`

	Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"`

	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`

	CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"`

	CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"`

	CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"`

	CommissionType string `json:"commission_type,omitempty" xml:"commission_type,omitempty"`

	ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"`

	ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"`

	CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"`

	Url string `json:"url,omitempty" xml:"url,omitempty"`

	LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"`

	LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"`

	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`

	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`

	ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"`

	WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"`

	Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"`

	Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"`

	JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"`

	JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"`

	UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,omitempty"`

	XId string `json:"x_id,omitempty" xml:"x_id,omitempty"`

	CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"`

	CouponAmount string `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"`

	ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"`

	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`

	OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"`

	TotalStock int64 `json:"total_stock,omitempty" xml:"total_stock,omitempty"`

	SellNum int64 `json:"sell_num,omitempty" xml:"sell_num,omitempty"`

	Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"`

	TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"`

	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`

	RealPostFee string `json:"real_post_fee,omitempty" xml:"real_post_fee,omitempty"`

	LockRate string `json:"lock_rate,omitempty" xml:"lock_rate,omitempty"`

	LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,omitempty"`

	LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"`

	PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"`

	PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"`

	PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"`

	PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"`

	PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"`

	PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"`

	YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"`

	YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"`

	YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"`

	YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"`

	YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"`

	YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"`

	SaleBeginTime string `json:"sale_begin_time,omitempty" xml:"sale_begin_time,omitempty"`

	SaleEndTime string `json:"sale_end_time,omitempty" xml:"sale_end_time,omitempty"`

	Distance string `json:"distance,omitempty" xml:"distance,omitempty"`

	UsableShopId string `json:"usable_shop_id,omitempty" xml:"usable_shop_id,omitempty"`

	UsableShopName string `json:"usable_shop_name,omitempty" xml:"usable_shop_name,omitempty"`

	SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"`

	KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"`

	SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"`

	RewardInfo int64 `json:"reward_info,omitempty" xml:"reward_info,omitempty"`

	IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"`

	LocalizationExtend *LocalizationMapData `json:"localization_extend,omitempty" xml:"localization_extend,omitempty"`

	MatchScore string `json:"match_score,omitempty" xml:"match_score,omitempty"`

	CommiScore string `json:"commi_score,omitempty" xml:"commi_score,omitempty"`

	HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"`

	TopnInfo *TopNInfoDTO `json:"topn_info,omitempty" xml:"topn_info,omitempty"`
}

TaobaoTbkDgMaterialOptionalMapData

type TaobaoTbkDgMaterialOptionalRequest

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

淘宝客-推广者-物料搜索 APIRequest taobao.tbk.dg.material.optional

通用物料搜索API(导购)

func NewTaobaoTbkDgMaterialOptionalRequest

func NewTaobaoTbkDgMaterialOptionalRequest() *TaobaoTbkDgMaterialOptionalRequest

func (TaobaoTbkDgMaterialOptionalRequest) GetAdzoneId

func (r TaobaoTbkDgMaterialOptionalRequest) GetAdzoneId() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetApiMethodName

func (r TaobaoTbkDgMaterialOptionalRequest) GetApiMethodName() string

func (TaobaoTbkDgMaterialOptionalRequest) GetApiParams

func (TaobaoTbkDgMaterialOptionalRequest) GetCat

func (TaobaoTbkDgMaterialOptionalRequest) GetCityCode

func (TaobaoTbkDgMaterialOptionalRequest) GetDeviceEncrypt

func (r TaobaoTbkDgMaterialOptionalRequest) GetDeviceEncrypt() string

func (TaobaoTbkDgMaterialOptionalRequest) GetDeviceType

func (r TaobaoTbkDgMaterialOptionalRequest) GetDeviceType() string

func (TaobaoTbkDgMaterialOptionalRequest) GetDeviceValue

func (r TaobaoTbkDgMaterialOptionalRequest) GetDeviceValue() string

func (TaobaoTbkDgMaterialOptionalRequest) GetEndKaTkRate

func (r TaobaoTbkDgMaterialOptionalRequest) GetEndKaTkRate() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetEndPrice

func (r TaobaoTbkDgMaterialOptionalRequest) GetEndPrice() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetEndTkRate

func (r TaobaoTbkDgMaterialOptionalRequest) GetEndTkRate() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetGetTopnRate

func (r TaobaoTbkDgMaterialOptionalRequest) GetGetTopnRate() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetHasCoupon

func (r TaobaoTbkDgMaterialOptionalRequest) GetHasCoupon() bool

func (TaobaoTbkDgMaterialOptionalRequest) GetIncludeGoodRate

func (r TaobaoTbkDgMaterialOptionalRequest) GetIncludeGoodRate() bool

func (TaobaoTbkDgMaterialOptionalRequest) GetIncludePayRate30

func (r TaobaoTbkDgMaterialOptionalRequest) GetIncludePayRate30() bool

func (TaobaoTbkDgMaterialOptionalRequest) GetIncludeRfdRate

func (r TaobaoTbkDgMaterialOptionalRequest) GetIncludeRfdRate() bool

func (TaobaoTbkDgMaterialOptionalRequest) GetIp

func (TaobaoTbkDgMaterialOptionalRequest) GetIsOverseas

func (r TaobaoTbkDgMaterialOptionalRequest) GetIsOverseas() bool

func (TaobaoTbkDgMaterialOptionalRequest) GetIsTmall

func (TaobaoTbkDgMaterialOptionalRequest) GetItemloc

func (TaobaoTbkDgMaterialOptionalRequest) GetLatitude

func (TaobaoTbkDgMaterialOptionalRequest) GetLockRateEndTime

func (r TaobaoTbkDgMaterialOptionalRequest) GetLockRateEndTime() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetLockRateStartTime

func (r TaobaoTbkDgMaterialOptionalRequest) GetLockRateStartTime() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetLongitude

func (r TaobaoTbkDgMaterialOptionalRequest) GetLongitude() string

func (TaobaoTbkDgMaterialOptionalRequest) GetMaterialId

func (r TaobaoTbkDgMaterialOptionalRequest) GetMaterialId() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetNeedFreeShipment

func (r TaobaoTbkDgMaterialOptionalRequest) GetNeedFreeShipment() bool

func (TaobaoTbkDgMaterialOptionalRequest) GetNeedPrepay

func (r TaobaoTbkDgMaterialOptionalRequest) GetNeedPrepay() bool

func (TaobaoTbkDgMaterialOptionalRequest) GetNpxLevel

func (r TaobaoTbkDgMaterialOptionalRequest) GetNpxLevel() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetPageNo

func (TaobaoTbkDgMaterialOptionalRequest) GetPageResultKey

func (r TaobaoTbkDgMaterialOptionalRequest) GetPageResultKey() string

func (TaobaoTbkDgMaterialOptionalRequest) GetPageSize

func (r TaobaoTbkDgMaterialOptionalRequest) GetPageSize() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetPlatform

func (r TaobaoTbkDgMaterialOptionalRequest) GetPlatform() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetQ

func (TaobaoTbkDgMaterialOptionalRequest) GetRelationId

func (r TaobaoTbkDgMaterialOptionalRequest) GetRelationId() string

func (TaobaoTbkDgMaterialOptionalRequest) GetSellerIds

func (r TaobaoTbkDgMaterialOptionalRequest) GetSellerIds() string

func (TaobaoTbkDgMaterialOptionalRequest) GetSort

func (TaobaoTbkDgMaterialOptionalRequest) GetSpecialId

func (r TaobaoTbkDgMaterialOptionalRequest) GetSpecialId() string

func (TaobaoTbkDgMaterialOptionalRequest) GetStartDsr

func (r TaobaoTbkDgMaterialOptionalRequest) GetStartDsr() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetStartKaTkRate

func (r TaobaoTbkDgMaterialOptionalRequest) GetStartKaTkRate() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetStartPrice

func (r TaobaoTbkDgMaterialOptionalRequest) GetStartPrice() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetStartTkRate

func (r TaobaoTbkDgMaterialOptionalRequest) GetStartTkRate() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetUcrowdId

func (r TaobaoTbkDgMaterialOptionalRequest) GetUcrowdId() int64

func (TaobaoTbkDgMaterialOptionalRequest) GetUcrowdRankItems

func (r TaobaoTbkDgMaterialOptionalRequest) GetUcrowdRankItems() []Ucrowdrankitems

func (*TaobaoTbkDgMaterialOptionalRequest) SetAdzoneId

func (r *TaobaoTbkDgMaterialOptionalRequest) SetAdzoneId(adzoneId int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetCat

func (*TaobaoTbkDgMaterialOptionalRequest) SetCityCode

func (r *TaobaoTbkDgMaterialOptionalRequest) SetCityCode(cityCode string) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetDeviceEncrypt

func (r *TaobaoTbkDgMaterialOptionalRequest) SetDeviceEncrypt(deviceEncrypt string) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetDeviceType

func (r *TaobaoTbkDgMaterialOptionalRequest) SetDeviceType(deviceType string) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetDeviceValue

func (r *TaobaoTbkDgMaterialOptionalRequest) SetDeviceValue(deviceValue string) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetEndKaTkRate

func (r *TaobaoTbkDgMaterialOptionalRequest) SetEndKaTkRate(endKaTkRate int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetEndPrice

func (r *TaobaoTbkDgMaterialOptionalRequest) SetEndPrice(endPrice int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetEndTkRate

func (r *TaobaoTbkDgMaterialOptionalRequest) SetEndTkRate(endTkRate int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetGetTopnRate

func (r *TaobaoTbkDgMaterialOptionalRequest) SetGetTopnRate(getTopnRate int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetHasCoupon

func (r *TaobaoTbkDgMaterialOptionalRequest) SetHasCoupon(hasCoupon bool) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetIncludeGoodRate

func (r *TaobaoTbkDgMaterialOptionalRequest) SetIncludeGoodRate(includeGoodRate bool) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetIncludePayRate30

func (r *TaobaoTbkDgMaterialOptionalRequest) SetIncludePayRate30(includePayRate30 bool) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetIncludeRfdRate

func (r *TaobaoTbkDgMaterialOptionalRequest) SetIncludeRfdRate(includeRfdRate bool) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetIp

func (*TaobaoTbkDgMaterialOptionalRequest) SetIsOverseas

func (r *TaobaoTbkDgMaterialOptionalRequest) SetIsOverseas(isOverseas bool) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetIsTmall

func (r *TaobaoTbkDgMaterialOptionalRequest) SetIsTmall(isTmall bool) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetItemloc

func (r *TaobaoTbkDgMaterialOptionalRequest) SetItemloc(itemloc string) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetLatitude

func (r *TaobaoTbkDgMaterialOptionalRequest) SetLatitude(latitude string) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetLockRateEndTime

func (r *TaobaoTbkDgMaterialOptionalRequest) SetLockRateEndTime(lockRateEndTime int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetLockRateStartTime

func (r *TaobaoTbkDgMaterialOptionalRequest) SetLockRateStartTime(lockRateStartTime int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetLongitude

func (r *TaobaoTbkDgMaterialOptionalRequest) SetLongitude(longitude string) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetMaterialId

func (r *TaobaoTbkDgMaterialOptionalRequest) SetMaterialId(materialId int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetNeedFreeShipment

func (r *TaobaoTbkDgMaterialOptionalRequest) SetNeedFreeShipment(needFreeShipment bool) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetNeedPrepay

func (r *TaobaoTbkDgMaterialOptionalRequest) SetNeedPrepay(needPrepay bool) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetNpxLevel

func (r *TaobaoTbkDgMaterialOptionalRequest) SetNpxLevel(npxLevel int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetPageNo

func (r *TaobaoTbkDgMaterialOptionalRequest) SetPageNo(pageNo int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetPageResultKey

func (r *TaobaoTbkDgMaterialOptionalRequest) SetPageResultKey(pageResultKey string) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetPageSize

func (r *TaobaoTbkDgMaterialOptionalRequest) SetPageSize(pageSize int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetPlatform

func (r *TaobaoTbkDgMaterialOptionalRequest) SetPlatform(platform int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetQ

func (*TaobaoTbkDgMaterialOptionalRequest) SetRelationId

func (r *TaobaoTbkDgMaterialOptionalRequest) SetRelationId(relationId string) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetSellerIds

func (r *TaobaoTbkDgMaterialOptionalRequest) SetSellerIds(sellerIds string) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetSort

func (*TaobaoTbkDgMaterialOptionalRequest) SetSpecialId

func (r *TaobaoTbkDgMaterialOptionalRequest) SetSpecialId(specialId string) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetStartDsr

func (r *TaobaoTbkDgMaterialOptionalRequest) SetStartDsr(startDsr int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetStartKaTkRate

func (r *TaobaoTbkDgMaterialOptionalRequest) SetStartKaTkRate(startKaTkRate int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetStartPrice

func (r *TaobaoTbkDgMaterialOptionalRequest) SetStartPrice(startPrice int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetStartTkRate

func (r *TaobaoTbkDgMaterialOptionalRequest) SetStartTkRate(startTkRate int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetUcrowdId

func (r *TaobaoTbkDgMaterialOptionalRequest) SetUcrowdId(ucrowdId int64) error

func (*TaobaoTbkDgMaterialOptionalRequest) SetUcrowdRankItems

func (r *TaobaoTbkDgMaterialOptionalRequest) SetUcrowdRankItems(ucrowdRankItems []Ucrowdrankitems) error

type TaobaoTbkDgMaterialOptionalResponse

type TaobaoTbkDgMaterialOptionalResponse struct {
	XMLName   xml.Name `xml:"tbk_dg_material_optional_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`

	ResultList []TaobaoTbkDgMaterialOptionalMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_material_optional_map_data,omitempty"`

	PageResultKey string `json:"page_result_key,omitempty" xml:"page_result_key,omitempty"`
}

type TaobaoTbkDgNewuserOrderGetAPIResponse

type TaobaoTbkDgNewuserOrderGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgNewuserOrderGetResponse
}

淘宝客-推广者-新用户订单明细查询 APIResponse taobao.tbk.dg.newuser.order.get

拉新API

type TaobaoTbkDgNewuserOrderGetData

type TaobaoTbkDgNewuserOrderGetData struct {
	Results []TaobaoTbkDgNewuserOrderGetMapData `json:"results,omitempty" xml:"results,omitempty"`

	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`

	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`

	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

TaobaoTbkDgNewuserOrderGetData

type TaobaoTbkDgNewuserOrderGetMapData

type TaobaoTbkDgNewuserOrderGetMapData struct {
	RegisterTime string `json:"register_time,omitempty" xml:"register_time,omitempty"`

	BindTime string `json:"bind_time,omitempty" xml:"bind_time,omitempty"`

	BuyTime string `json:"buy_time,omitempty" xml:"buy_time,omitempty"`

	Status int64 `json:"status,omitempty" xml:"status,omitempty"`

	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`

	OrderTkType int64 `json:"order_tk_type,omitempty" xml:"order_tk_type,omitempty"`

	UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"`

	MemberId int64 `json:"member_id,omitempty" xml:"member_id,omitempty"`

	MemberNick string `json:"member_nick,omitempty" xml:"member_nick,omitempty"`

	SiteId int64 `json:"site_id,omitempty" xml:"site_id,omitempty"`

	SiteName string `json:"site_name,omitempty" xml:"site_name,omitempty"`

	AdzoneId int64 `json:"adzone_id,omitempty" xml:"adzone_id,omitempty"`

	AdzoneName string `json:"adzone_name,omitempty" xml:"adzone_name,omitempty"`

	TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"`

	AcceptTime string `json:"accept_time,omitempty" xml:"accept_time,omitempty"`

	ReceiveTime string `json:"receive_time,omitempty" xml:"receive_time,omitempty"`

	SuccessTime string `json:"success_time,omitempty" xml:"success_time,omitempty"`

	ActivityType string `json:"activity_type,omitempty" xml:"activity_type,omitempty"`

	ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"`

	BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"`

	Orders []OrderData `json:"orders,omitempty" xml:"orders,omitempty"`

	BindCardTime string `json:"bind_card_time,omitempty" xml:"bind_card_time,omitempty"`

	LoginTime string `json:"login_time,omitempty" xml:"login_time,omitempty"`

	IsCardSave int64 `json:"is_card_save,omitempty" xml:"is_card_save,omitempty"`

	UseRightsTime string `json:"use_rights_time,omitempty" xml:"use_rights_time,omitempty"`

	GetRightsTime string `json:"get_rights_time,omitempty" xml:"get_rights_time,omitempty"`

	RelationId string `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
}

TaobaoTbkDgNewuserOrderGetMapData

type TaobaoTbkDgNewuserOrderGetRequest

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

淘宝客-推广者-新用户订单明细查询 APIRequest taobao.tbk.dg.newuser.order.get

拉新API

func NewTaobaoTbkDgNewuserOrderGetRequest

func NewTaobaoTbkDgNewuserOrderGetRequest() *TaobaoTbkDgNewuserOrderGetRequest

func (TaobaoTbkDgNewuserOrderGetRequest) GetActivityId

func (r TaobaoTbkDgNewuserOrderGetRequest) GetActivityId() string

func (TaobaoTbkDgNewuserOrderGetRequest) GetAdzoneId

func (r TaobaoTbkDgNewuserOrderGetRequest) GetAdzoneId() int64

func (TaobaoTbkDgNewuserOrderGetRequest) GetApiMethodName

func (r TaobaoTbkDgNewuserOrderGetRequest) GetApiMethodName() string

func (TaobaoTbkDgNewuserOrderGetRequest) GetApiParams

func (r TaobaoTbkDgNewuserOrderGetRequest) GetApiParams() url.Values

func (TaobaoTbkDgNewuserOrderGetRequest) GetEndTime

func (TaobaoTbkDgNewuserOrderGetRequest) GetPageNo

func (TaobaoTbkDgNewuserOrderGetRequest) GetPageSize

func (r TaobaoTbkDgNewuserOrderGetRequest) GetPageSize() int64

func (TaobaoTbkDgNewuserOrderGetRequest) GetStartTime

func (r TaobaoTbkDgNewuserOrderGetRequest) GetStartTime() string

func (*TaobaoTbkDgNewuserOrderGetRequest) SetActivityId

func (r *TaobaoTbkDgNewuserOrderGetRequest) SetActivityId(activityId string) error

func (*TaobaoTbkDgNewuserOrderGetRequest) SetAdzoneId

func (r *TaobaoTbkDgNewuserOrderGetRequest) SetAdzoneId(adzoneId int64) error

func (*TaobaoTbkDgNewuserOrderGetRequest) SetEndTime

func (r *TaobaoTbkDgNewuserOrderGetRequest) SetEndTime(endTime string) error

func (*TaobaoTbkDgNewuserOrderGetRequest) SetPageNo

func (r *TaobaoTbkDgNewuserOrderGetRequest) SetPageNo(pageNo int64) error

func (*TaobaoTbkDgNewuserOrderGetRequest) SetPageSize

func (r *TaobaoTbkDgNewuserOrderGetRequest) SetPageSize(pageSize int64) error

func (*TaobaoTbkDgNewuserOrderGetRequest) SetStartTime

func (r *TaobaoTbkDgNewuserOrderGetRequest) SetStartTime(startTime string) error

type TaobaoTbkDgNewuserOrderGetResponse

type TaobaoTbkDgNewuserOrderGetResponse struct {
	XMLName   xml.Name `xml:"tbk_dg_newuser_order_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Results *TaobaoTbkDgNewuserOrderGetResults `json:"results,omitempty" xml:"results,omitempty"`
}

type TaobaoTbkDgNewuserOrderGetResults

type TaobaoTbkDgNewuserOrderGetResults struct {
	Data *TaobaoTbkDgNewuserOrderGetData `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkDgNewuserOrderGetResults

type TaobaoTbkDgNewuserOrderSumAPIResponse

type TaobaoTbkDgNewuserOrderSumAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgNewuserOrderSumResponse
}

淘宝客-推广者-拉新活动对应数据查询 APIResponse taobao.tbk.dg.newuser.order.sum

拉新活动汇总API

type TaobaoTbkDgNewuserOrderSumData

type TaobaoTbkDgNewuserOrderSumData struct {
	Data *TaobaoTbkDgNewuserOrderSumData `json:"data,omitempty" xml:"data,omitempty"`

	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`

	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`

	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`

	Results []TaobaoTbkDgNewuserOrderSumData `json:"results,omitempty" xml:"results,omitempty"`

	ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"`

	BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"`

	RegUserCnt int64 `json:"reg_user_cnt,omitempty" xml:"reg_user_cnt,omitempty"`

	LoginUserCnt int64 `json:"login_user_cnt,omitempty" xml:"login_user_cnt,omitempty"`

	AlipayUserCnt int64 `json:"alipay_user_cnt,omitempty" xml:"alipay_user_cnt,omitempty"`

	RcvValidUserCnt int64 `json:"rcv_valid_user_cnt,omitempty" xml:"rcv_valid_user_cnt,omitempty"`

	RcvUserCnt int64 `json:"rcv_user_cnt,omitempty" xml:"rcv_user_cnt,omitempty"`

	AlipayUserCpaPreAmt string `json:"alipay_user_cpa_pre_amt,omitempty" xml:"alipay_user_cpa_pre_amt,omitempty"`

	BindBuyUserCpaPreAmt string `json:"bind_buy_user_cpa_pre_amt,omitempty" xml:"bind_buy_user_cpa_pre_amt,omitempty"`

	BindBuyValidUserCnt int64 `json:"bind_buy_valid_user_cnt,omitempty" xml:"bind_buy_valid_user_cnt,omitempty"`

	BindCardValidUserCnt int64 `json:"bind_card_valid_user_cnt,omitempty" xml:"bind_card_valid_user_cnt,omitempty"`

	ReBuyValidUserCnt int64 `json:"re_buy_valid_user_cnt,omitempty" xml:"re_buy_valid_user_cnt,omitempty"`

	ValidNum int64 `json:"valid_num,omitempty" xml:"valid_num,omitempty"`

	RelationId string `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
}

TaobaoTbkDgNewuserOrderSumData

type TaobaoTbkDgNewuserOrderSumRequest

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

淘宝客-推广者-拉新活动对应数据查询 APIRequest taobao.tbk.dg.newuser.order.sum

拉新活动汇总API

func NewTaobaoTbkDgNewuserOrderSumRequest

func NewTaobaoTbkDgNewuserOrderSumRequest() *TaobaoTbkDgNewuserOrderSumRequest

func (TaobaoTbkDgNewuserOrderSumRequest) GetActivityId

func (r TaobaoTbkDgNewuserOrderSumRequest) GetActivityId() string

func (TaobaoTbkDgNewuserOrderSumRequest) GetAdzoneId

func (r TaobaoTbkDgNewuserOrderSumRequest) GetAdzoneId() int64

func (TaobaoTbkDgNewuserOrderSumRequest) GetApiMethodName

func (r TaobaoTbkDgNewuserOrderSumRequest) GetApiMethodName() string

func (TaobaoTbkDgNewuserOrderSumRequest) GetApiParams

func (r TaobaoTbkDgNewuserOrderSumRequest) GetApiParams() url.Values

func (TaobaoTbkDgNewuserOrderSumRequest) GetPageNo

func (TaobaoTbkDgNewuserOrderSumRequest) GetPageSize

func (r TaobaoTbkDgNewuserOrderSumRequest) GetPageSize() int64

func (TaobaoTbkDgNewuserOrderSumRequest) GetSettleMonth

func (r TaobaoTbkDgNewuserOrderSumRequest) GetSettleMonth() string

func (TaobaoTbkDgNewuserOrderSumRequest) GetSiteId

func (*TaobaoTbkDgNewuserOrderSumRequest) SetActivityId

func (r *TaobaoTbkDgNewuserOrderSumRequest) SetActivityId(activityId string) error

func (*TaobaoTbkDgNewuserOrderSumRequest) SetAdzoneId

func (r *TaobaoTbkDgNewuserOrderSumRequest) SetAdzoneId(adzoneId int64) error

func (*TaobaoTbkDgNewuserOrderSumRequest) SetPageNo

func (r *TaobaoTbkDgNewuserOrderSumRequest) SetPageNo(pageNo int64) error

func (*TaobaoTbkDgNewuserOrderSumRequest) SetPageSize

func (r *TaobaoTbkDgNewuserOrderSumRequest) SetPageSize(pageSize int64) error

func (*TaobaoTbkDgNewuserOrderSumRequest) SetSettleMonth

func (r *TaobaoTbkDgNewuserOrderSumRequest) SetSettleMonth(settleMonth string) error

func (*TaobaoTbkDgNewuserOrderSumRequest) SetSiteId

func (r *TaobaoTbkDgNewuserOrderSumRequest) SetSiteId(siteId int64) error

type TaobaoTbkDgNewuserOrderSumResponse

type TaobaoTbkDgNewuserOrderSumResponse struct {
	XMLName   xml.Name `xml:"tbk_dg_newuser_order_sum_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Results *TaobaoTbkDgNewuserOrderSumData `json:"results,omitempty" xml:"results,omitempty"`
}

type TaobaoTbkDgOptimusMaterialAPIResponse

type TaobaoTbkDgOptimusMaterialAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgOptimusMaterialResponse
}

淘宝客-推广者-物料精选 APIResponse taobao.tbk.dg.optimus.material

支持入参对应的“推广位”和官方提供的“物料id”,获取指定物料信息和推广链接,还可入参用户信息提供智能推荐(需智能推荐请先前协议https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)

type TaobaoTbkDgOptimusMaterialMapData

type TaobaoTbkDgOptimusMaterialMapData struct {
	CouponAmount int64 `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"`

	SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"`

	ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"`

	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`

	CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"`

	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`

	CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"`

	UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"`

	ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"`

	CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"`

	CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"`

	CouponStartTime string `json:"coupon_start_time,omitempty" xml:"coupon_start_time,omitempty"`

	Title string `json:"title,omitempty" xml:"title,omitempty"`

	ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"`

	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`

	Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"`

	CouponEndTime string `json:"coupon_end_time,omitempty" xml:"coupon_end_time,omitempty"`

	CouponClickUrl string `json:"coupon_click_url,omitempty" xml:"coupon_click_url,omitempty"`

	PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"`

	ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"`

	Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"`

	SellNum int64 `json:"sell_num,omitempty" xml:"sell_num,omitempty"`

	TotalStock int64 `json:"total_stock,omitempty" xml:"total_stock,omitempty"`

	Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"`

	Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"`

	JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"`

	JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"`

	OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"`

	LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"`

	LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"`

	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`

	WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"`

	ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"`

	WordList []WordMapData `json:"word_list,omitempty" xml:"word_list,omitempty"`

	TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"`

	UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,omitempty"`

	XId string `json:"x_id,omitempty" xml:"x_id,omitempty"`

	NewUserPrice string `json:"new_user_price,omitempty" xml:"new_user_price,omitempty"`

	CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"`

	CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"`

	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`

	ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"`

	JuOnlineEndTime string `json:"ju_online_end_time,omitempty" xml:"ju_online_end_time,omitempty"`

	JuOnlineStartTime string `json:"ju_online_start_time,omitempty" xml:"ju_online_start_time,omitempty"`

	MaochaoPlayEndTime string `json:"maochao_play_end_time,omitempty" xml:"maochao_play_end_time,omitempty"`

	MaochaoPlayStartTime string `json:"maochao_play_start_time,omitempty" xml:"maochao_play_start_time,omitempty"`

	MaochaoPlayConditions string `json:"maochao_play_conditions,omitempty" xml:"maochao_play_conditions,omitempty"`

	MaochaoPlayDiscounts string `json:"maochao_play_discounts,omitempty" xml:"maochao_play_discounts,omitempty"`

	MaochaoPlayDiscountType string `json:"maochao_play_discount_type,omitempty" xml:"maochao_play_discount_type,omitempty"`

	MaochaoPlayFreePostFee string `json:"maochao_play_free_post_fee,omitempty" xml:"maochao_play_free_post_fee,omitempty"`

	MultiCouponZkRate string `json:"multi_coupon_zk_rate,omitempty" xml:"multi_coupon_zk_rate,omitempty"`

	PriceAfterMultiCoupon string `json:"price_after_multi_coupon,omitempty" xml:"price_after_multi_coupon,omitempty"`

	MultiCouponItemCount string `json:"multi_coupon_item_count,omitempty" xml:"multi_coupon_item_count,omitempty"`

	LockRate string `json:"lock_rate,omitempty" xml:"lock_rate,omitempty"`

	LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,omitempty"`

	LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"`

	PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"`

	PromotionInfo string `json:"promotion_info,omitempty" xml:"promotion_info,omitempty"`

	PromotionDiscount string `json:"promotion_discount,omitempty" xml:"promotion_discount,omitempty"`

	PromotionCondition string `json:"promotion_condition,omitempty" xml:"promotion_condition,omitempty"`

	PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,omitempty"`

	PresaleTailEndTime int64 `json:"presale_tail_end_time,omitempty" xml:"presale_tail_end_time,omitempty"`

	PresaleTailStartTime int64 `json:"presale_tail_start_time,omitempty" xml:"presale_tail_start_time,omitempty"`

	PresaleEndTime int64 `json:"presale_end_time,omitempty" xml:"presale_end_time,omitempty"`

	PresaleStartTime int64 `json:"presale_start_time,omitempty" xml:"presale_start_time,omitempty"`

	PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"`

	YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"`

	YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"`

	YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"`

	YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"`

	YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"`

	YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"`

	JuPlayEndTime int64 `json:"ju_play_end_time,omitempty" xml:"ju_play_end_time,omitempty"`

	JuPlayStartTime int64 `json:"ju_play_start_time,omitempty" xml:"ju_play_start_time,omitempty"`

	PlayInfo string `json:"play_info,omitempty" xml:"play_info,omitempty"`

	TmallPlayActivityEndTime int64 `json:"tmall_play_activity_end_time,omitempty" xml:"tmall_play_activity_end_time,omitempty"`

	TmallPlayActivityStartTime int64 `json:"tmall_play_activity_start_time,omitempty" xml:"tmall_play_activity_start_time,omitempty"`

	JuPreShowEndTime string `json:"ju_pre_show_end_time,omitempty" xml:"ju_pre_show_end_time,omitempty"`

	JuPreShowStartTime string `json:"ju_pre_show_start_time,omitempty" xml:"ju_pre_show_start_time,omitempty"`

	FavoritesInfo *FavoritesInfo `json:"favorites_info,omitempty" xml:"favorites_info,omitempty"`

	SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"`

	KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"`

	SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"`

	JhsPriceUspList string `json:"jhs_price_usp_list,omitempty" xml:"jhs_price_usp_list,omitempty"`

	TqgOnlineEndTime string `json:"tqg_online_end_time,omitempty" xml:"tqg_online_end_time,omitempty"`

	TqgOnlineStartTime string `json:"tqg_online_start_time,omitempty" xml:"tqg_online_start_time,omitempty"`

	TqgSoldCount int64 `json:"tqg_sold_count,omitempty" xml:"tqg_sold_count,omitempty"`

	TqgTotalCount int64 `json:"tqg_total_count,omitempty" xml:"tqg_total_count,omitempty"`

	SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"`

	IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"`

	HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"`

	TopnInfo *TopNInfoDTO `json:"topn_info,omitempty" xml:"topn_info,omitempty"`
}

TaobaoTbkDgOptimusMaterialMapData

type TaobaoTbkDgOptimusMaterialRequest

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

淘宝客-推广者-物料精选 APIRequest taobao.tbk.dg.optimus.material

支持入参对应的“推广位”和官方提供的“物料id”,获取指定物料信息和推广链接,还可入参用户信息提供智能推荐(需智能推荐请先前协议https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin)

func NewTaobaoTbkDgOptimusMaterialRequest

func NewTaobaoTbkDgOptimusMaterialRequest() *TaobaoTbkDgOptimusMaterialRequest

func (TaobaoTbkDgOptimusMaterialRequest) GetAdzoneId

func (r TaobaoTbkDgOptimusMaterialRequest) GetAdzoneId() int64

func (TaobaoTbkDgOptimusMaterialRequest) GetApiMethodName

func (r TaobaoTbkDgOptimusMaterialRequest) GetApiMethodName() string

func (TaobaoTbkDgOptimusMaterialRequest) GetApiParams

func (r TaobaoTbkDgOptimusMaterialRequest) GetApiParams() url.Values

func (TaobaoTbkDgOptimusMaterialRequest) GetContentId

func (r TaobaoTbkDgOptimusMaterialRequest) GetContentId() int64

func (TaobaoTbkDgOptimusMaterialRequest) GetContentSource

func (r TaobaoTbkDgOptimusMaterialRequest) GetContentSource() string

func (TaobaoTbkDgOptimusMaterialRequest) GetDeviceEncrypt

func (r TaobaoTbkDgOptimusMaterialRequest) GetDeviceEncrypt() string

func (TaobaoTbkDgOptimusMaterialRequest) GetDeviceType

func (r TaobaoTbkDgOptimusMaterialRequest) GetDeviceType() string

func (TaobaoTbkDgOptimusMaterialRequest) GetDeviceValue

func (r TaobaoTbkDgOptimusMaterialRequest) GetDeviceValue() string

func (TaobaoTbkDgOptimusMaterialRequest) GetFavoritesId

func (r TaobaoTbkDgOptimusMaterialRequest) GetFavoritesId() string

func (TaobaoTbkDgOptimusMaterialRequest) GetItemId

func (TaobaoTbkDgOptimusMaterialRequest) GetMaterialId

func (r TaobaoTbkDgOptimusMaterialRequest) GetMaterialId() int64

func (TaobaoTbkDgOptimusMaterialRequest) GetPageNo

func (TaobaoTbkDgOptimusMaterialRequest) GetPageSize

func (r TaobaoTbkDgOptimusMaterialRequest) GetPageSize() int64

func (*TaobaoTbkDgOptimusMaterialRequest) SetAdzoneId

func (r *TaobaoTbkDgOptimusMaterialRequest) SetAdzoneId(adzoneId int64) error

func (*TaobaoTbkDgOptimusMaterialRequest) SetContentId

func (r *TaobaoTbkDgOptimusMaterialRequest) SetContentId(contentId int64) error

func (*TaobaoTbkDgOptimusMaterialRequest) SetContentSource

func (r *TaobaoTbkDgOptimusMaterialRequest) SetContentSource(contentSource string) error

func (*TaobaoTbkDgOptimusMaterialRequest) SetDeviceEncrypt

func (r *TaobaoTbkDgOptimusMaterialRequest) SetDeviceEncrypt(deviceEncrypt string) error

func (*TaobaoTbkDgOptimusMaterialRequest) SetDeviceType

func (r *TaobaoTbkDgOptimusMaterialRequest) SetDeviceType(deviceType string) error

func (*TaobaoTbkDgOptimusMaterialRequest) SetDeviceValue

func (r *TaobaoTbkDgOptimusMaterialRequest) SetDeviceValue(deviceValue string) error

func (*TaobaoTbkDgOptimusMaterialRequest) SetFavoritesId

func (r *TaobaoTbkDgOptimusMaterialRequest) SetFavoritesId(favoritesId string) error

func (*TaobaoTbkDgOptimusMaterialRequest) SetItemId

func (r *TaobaoTbkDgOptimusMaterialRequest) SetItemId(itemId int64) error

func (*TaobaoTbkDgOptimusMaterialRequest) SetMaterialId

func (r *TaobaoTbkDgOptimusMaterialRequest) SetMaterialId(materialId int64) error

func (*TaobaoTbkDgOptimusMaterialRequest) SetPageNo

func (r *TaobaoTbkDgOptimusMaterialRequest) SetPageNo(pageNo int64) error

func (*TaobaoTbkDgOptimusMaterialRequest) SetPageSize

func (r *TaobaoTbkDgOptimusMaterialRequest) SetPageSize(pageSize int64) error

type TaobaoTbkDgOptimusMaterialResponse

type TaobaoTbkDgOptimusMaterialResponse struct {
	XMLName   xml.Name `xml:"tbk_dg_optimus_material_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ResultList []TaobaoTbkDgOptimusMaterialMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_optimus_material_map_data,omitempty"`

	IsDefault string `json:"is_default,omitempty" xml:"is_default,omitempty"`

	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

type TaobaoTbkDgOptimusPromotionAPIResponse

type TaobaoTbkDgOptimusPromotionAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgOptimusPromotionResponse
}

淘宝客-推广者-权益物料精选 APIResponse taobao.tbk.dg.optimus.promotion

推广者使用。支持入参推广者对应的“推广位”和官方提供的“权益物料id”,获取指定权益物料。

type TaobaoTbkDgOptimusPromotionMapData

type TaobaoTbkDgOptimusPromotionMapData struct {
	PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"`

	ConditionType string `json:"condition_type,omitempty" xml:"condition_type,omitempty"`

	DiscountType string `json:"discount_type,omitempty" xml:"discount_type,omitempty"`

	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`

	RemainCount int64 `json:"remain_count,omitempty" xml:"remain_count,omitempty"`

	DisplayStartTime string `json:"display_start_time,omitempty" xml:"display_start_time,omitempty"`

	DisplayEndTime string `json:"display_end_time,omitempty" xml:"display_end_time,omitempty"`

	PromotionList []PromotionList `json:"promotion_list,omitempty" xml:"promotion_list,omitempty"`

	PromotionExtend *PromotionExtend `json:"promotion_extend,omitempty" xml:"promotion_extend,omitempty"`

	SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"`

	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`

	ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"`

	ShopPictureUrl string `json:"shop_picture_url,omitempty" xml:"shop_picture_url,omitempty"`
}

TaobaoTbkDgOptimusPromotionMapData

type TaobaoTbkDgOptimusPromotionRequest

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

淘宝客-推广者-权益物料精选 APIRequest taobao.tbk.dg.optimus.promotion

推广者使用。支持入参推广者对应的“推广位”和官方提供的“权益物料id”,获取指定权益物料。

func NewTaobaoTbkDgOptimusPromotionRequest

func NewTaobaoTbkDgOptimusPromotionRequest() *TaobaoTbkDgOptimusPromotionRequest

func (TaobaoTbkDgOptimusPromotionRequest) GetAdzoneId

func (r TaobaoTbkDgOptimusPromotionRequest) GetAdzoneId() int64

func (TaobaoTbkDgOptimusPromotionRequest) GetApiMethodName

func (r TaobaoTbkDgOptimusPromotionRequest) GetApiMethodName() string

func (TaobaoTbkDgOptimusPromotionRequest) GetApiParams

func (TaobaoTbkDgOptimusPromotionRequest) GetPageNum

func (TaobaoTbkDgOptimusPromotionRequest) GetPageSize

func (r TaobaoTbkDgOptimusPromotionRequest) GetPageSize() int64

func (TaobaoTbkDgOptimusPromotionRequest) GetPromotionId

func (r TaobaoTbkDgOptimusPromotionRequest) GetPromotionId() int64

func (*TaobaoTbkDgOptimusPromotionRequest) SetAdzoneId

func (r *TaobaoTbkDgOptimusPromotionRequest) SetAdzoneId(adzoneId int64) error

func (*TaobaoTbkDgOptimusPromotionRequest) SetPageNum

func (r *TaobaoTbkDgOptimusPromotionRequest) SetPageNum(pageNum int64) error

func (*TaobaoTbkDgOptimusPromotionRequest) SetPageSize

func (r *TaobaoTbkDgOptimusPromotionRequest) SetPageSize(pageSize int64) error

func (*TaobaoTbkDgOptimusPromotionRequest) SetPromotionId

func (r *TaobaoTbkDgOptimusPromotionRequest) SetPromotionId(promotionId int64) error

type TaobaoTbkDgOptimusPromotionResponse

type TaobaoTbkDgOptimusPromotionResponse struct {
	XMLName   xml.Name `xml:"tbk_dg_optimus_promotion_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ResultList []TaobaoTbkDgOptimusPromotionMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_optimus_promotion_map_data,omitempty"`
}

type TaobaoTbkDgPunishOrderGetAPIResponse

type TaobaoTbkDgPunishOrderGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgPunishOrderGetResponse
}

淘宝客-推广者-处罚订单查询 APIResponse taobao.tbk.dg.punish.order.get

新增处罚订单查询API,提供媒体调用查询能力。这个是给媒体自己用的

type TaobaoTbkDgPunishOrderGetRequest

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

淘宝客-推广者-处罚订单查询 APIRequest taobao.tbk.dg.punish.order.get

新增处罚订单查询API,提供媒体调用查询能力。这个是给媒体自己用的

func NewTaobaoTbkDgPunishOrderGetRequest

func NewTaobaoTbkDgPunishOrderGetRequest() *TaobaoTbkDgPunishOrderGetRequest

func (TaobaoTbkDgPunishOrderGetRequest) GetAfOrderOption

func (TaobaoTbkDgPunishOrderGetRequest) GetApiMethodName

func (r TaobaoTbkDgPunishOrderGetRequest) GetApiMethodName() string

func (TaobaoTbkDgPunishOrderGetRequest) GetApiParams

func (r TaobaoTbkDgPunishOrderGetRequest) GetApiParams() url.Values

func (*TaobaoTbkDgPunishOrderGetRequest) SetAfOrderOption

func (r *TaobaoTbkDgPunishOrderGetRequest) SetAfOrderOption(afOrderOption *TopApiAfOrderOption) error

type TaobaoTbkDgPunishOrderGetResponse

type TaobaoTbkDgPunishOrderGetResponse struct {
	XMLName   xml.Name `xml:"tbk_dg_punish_order_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Result *TaobaoTbkDgPunishOrderGetRpcResult `json:"result,omitempty" xml:"result,omitempty"`
}

type TaobaoTbkDgPunishOrderGetResult

type TaobaoTbkDgPunishOrderGetResult struct {
	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`

	SettleMonth int64 `json:"settle_month,omitempty" xml:"settle_month,omitempty"`

	TkTradeCreateTime string `json:"tk_trade_create_time,omitempty" xml:"tk_trade_create_time,omitempty"`

	TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"`

	SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"`

	UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"`

	PunishStatus string `json:"punish_status,omitempty" xml:"punish_status,omitempty"`

	ViolationType string `json:"violation_type,omitempty" xml:"violation_type,omitempty"`

	TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"`

	TkAdzoneId int64 `json:"tk_adzone_id,omitempty" xml:"tk_adzone_id,omitempty"`

	TkSiteId int64 `json:"tk_site_id,omitempty" xml:"tk_site_id,omitempty"`

	TkPubId string `json:"tk_pub_id,omitempty" xml:"tk_pub_id,omitempty"`
}

TaobaoTbkDgPunishOrderGetResult

type TaobaoTbkDgPunishOrderGetRpcResult

type TaobaoTbkDgPunishOrderGetRpcResult struct {
	Data *PageResult `json:"data,omitempty" xml:"data,omitempty"`

	BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"`

	BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`

	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`

	ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"`
}

TaobaoTbkDgPunishOrderGetRpcResult

type TaobaoTbkDgVegasSendStatusAPIResponse

type TaobaoTbkDgVegasSendStatusAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgVegasSendStatusResponse
}

淘宝客-推广者-超级红包领取状态查询 APIResponse taobao.tbk.dg.vegas.send.status

淘宝客传入用户标识的信息,查询该用户是否有当前阶段待核销的红包(淘客接入前需签署协议 https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin

type TaobaoTbkDgVegasSendStatusData

type TaobaoTbkDgVegasSendStatusData struct {
	ResultList []TaobaoTbkDgVegasSendStatusMapData `json:"result_list,omitempty" xml:"result_list,omitempty"`
}

TaobaoTbkDgVegasSendStatusData

type TaobaoTbkDgVegasSendStatusMapData

type TaobaoTbkDgVegasSendStatusMapData struct {
	IsNewUser string `json:"is_new_user,omitempty" xml:"is_new_user,omitempty"`
}

TaobaoTbkDgVegasSendStatusMapData

type TaobaoTbkDgVegasSendStatusRequest

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

淘宝客-推广者-超级红包领取状态查询 APIRequest taobao.tbk.dg.vegas.send.status

淘宝客传入用户标识的信息,查询该用户是否有当前阶段待核销的红包(淘客接入前需签署协议 https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin

func NewTaobaoTbkDgVegasSendStatusRequest

func NewTaobaoTbkDgVegasSendStatusRequest() *TaobaoTbkDgVegasSendStatusRequest

func (TaobaoTbkDgVegasSendStatusRequest) GetApiMethodName

func (r TaobaoTbkDgVegasSendStatusRequest) GetApiMethodName() string

func (TaobaoTbkDgVegasSendStatusRequest) GetApiParams

func (r TaobaoTbkDgVegasSendStatusRequest) GetApiParams() url.Values

func (TaobaoTbkDgVegasSendStatusRequest) GetDeviceType

func (r TaobaoTbkDgVegasSendStatusRequest) GetDeviceType() string

func (TaobaoTbkDgVegasSendStatusRequest) GetDeviceValue

func (r TaobaoTbkDgVegasSendStatusRequest) GetDeviceValue() string

func (TaobaoTbkDgVegasSendStatusRequest) GetPid

func (TaobaoTbkDgVegasSendStatusRequest) GetRelationId

func (r TaobaoTbkDgVegasSendStatusRequest) GetRelationId() string

func (TaobaoTbkDgVegasSendStatusRequest) GetSpecialId

func (r TaobaoTbkDgVegasSendStatusRequest) GetSpecialId() string

func (TaobaoTbkDgVegasSendStatusRequest) GetThorBizCode

func (r TaobaoTbkDgVegasSendStatusRequest) GetThorBizCode() string

func (*TaobaoTbkDgVegasSendStatusRequest) SetDeviceType

func (r *TaobaoTbkDgVegasSendStatusRequest) SetDeviceType(deviceType string) error

func (*TaobaoTbkDgVegasSendStatusRequest) SetDeviceValue

func (r *TaobaoTbkDgVegasSendStatusRequest) SetDeviceValue(deviceValue string) error

func (*TaobaoTbkDgVegasSendStatusRequest) SetPid

func (*TaobaoTbkDgVegasSendStatusRequest) SetRelationId

func (r *TaobaoTbkDgVegasSendStatusRequest) SetRelationId(relationId string) error

func (*TaobaoTbkDgVegasSendStatusRequest) SetSpecialId

func (r *TaobaoTbkDgVegasSendStatusRequest) SetSpecialId(specialId string) error

func (*TaobaoTbkDgVegasSendStatusRequest) SetThorBizCode

func (r *TaobaoTbkDgVegasSendStatusRequest) SetThorBizCode(thorBizCode string) error

type TaobaoTbkDgVegasSendStatusResponse

type TaobaoTbkDgVegasSendStatusResponse struct {
	XMLName   xml.Name `xml:"tbk_dg_vegas_send_status_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`

	Data *TaobaoTbkDgVegasSendStatusData `json:"data,omitempty" xml:"data,omitempty"`
}

type TaobaoTbkDgVegasTljCreateAPIResponse

type TaobaoTbkDgVegasTljCreateAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgVegasTljCreateResponse
}

淘宝客-推广者-淘礼金创建 APIResponse taobao.tbk.dg.vegas.tlj.create

创建淘礼金

type TaobaoTbkDgVegasTljCreateRequest

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

淘宝客-推广者-淘礼金创建 APIRequest taobao.tbk.dg.vegas.tlj.create

创建淘礼金

func NewTaobaoTbkDgVegasTljCreateRequest

func NewTaobaoTbkDgVegasTljCreateRequest() *TaobaoTbkDgVegasTljCreateRequest

func (TaobaoTbkDgVegasTljCreateRequest) GetAdzoneId

func (r TaobaoTbkDgVegasTljCreateRequest) GetAdzoneId() int64

func (TaobaoTbkDgVegasTljCreateRequest) GetApiMethodName

func (r TaobaoTbkDgVegasTljCreateRequest) GetApiMethodName() string

func (TaobaoTbkDgVegasTljCreateRequest) GetApiParams

func (r TaobaoTbkDgVegasTljCreateRequest) GetApiParams() url.Values

func (TaobaoTbkDgVegasTljCreateRequest) GetCampaignType

func (r TaobaoTbkDgVegasTljCreateRequest) GetCampaignType() string

func (TaobaoTbkDgVegasTljCreateRequest) GetItemId

func (TaobaoTbkDgVegasTljCreateRequest) GetName

func (TaobaoTbkDgVegasTljCreateRequest) GetPerFace

func (TaobaoTbkDgVegasTljCreateRequest) GetSecurityLevel

func (r TaobaoTbkDgVegasTljCreateRequest) GetSecurityLevel() int64

func (TaobaoTbkDgVegasTljCreateRequest) GetSecuritySwitch

func (r TaobaoTbkDgVegasTljCreateRequest) GetSecuritySwitch() bool

func (TaobaoTbkDgVegasTljCreateRequest) GetSendEndTime

func (r TaobaoTbkDgVegasTljCreateRequest) GetSendEndTime() string

func (TaobaoTbkDgVegasTljCreateRequest) GetSendStartTime

func (r TaobaoTbkDgVegasTljCreateRequest) GetSendStartTime() string

func (TaobaoTbkDgVegasTljCreateRequest) GetTotalNum

func (r TaobaoTbkDgVegasTljCreateRequest) GetTotalNum() int64

func (TaobaoTbkDgVegasTljCreateRequest) GetUseEndTime

func (r TaobaoTbkDgVegasTljCreateRequest) GetUseEndTime() string

func (TaobaoTbkDgVegasTljCreateRequest) GetUseEndTimeMode

func (r TaobaoTbkDgVegasTljCreateRequest) GetUseEndTimeMode() int64

func (TaobaoTbkDgVegasTljCreateRequest) GetUseStartTime

func (r TaobaoTbkDgVegasTljCreateRequest) GetUseStartTime() string

func (TaobaoTbkDgVegasTljCreateRequest) GetUserTotalWinNumLimit

func (r TaobaoTbkDgVegasTljCreateRequest) GetUserTotalWinNumLimit() int64

func (*TaobaoTbkDgVegasTljCreateRequest) SetAdzoneId

func (r *TaobaoTbkDgVegasTljCreateRequest) SetAdzoneId(adzoneId int64) error

func (*TaobaoTbkDgVegasTljCreateRequest) SetCampaignType

func (r *TaobaoTbkDgVegasTljCreateRequest) SetCampaignType(campaignType string) error

func (*TaobaoTbkDgVegasTljCreateRequest) SetItemId

func (r *TaobaoTbkDgVegasTljCreateRequest) SetItemId(itemId int64) error

func (*TaobaoTbkDgVegasTljCreateRequest) SetName

func (*TaobaoTbkDgVegasTljCreateRequest) SetPerFace

func (r *TaobaoTbkDgVegasTljCreateRequest) SetPerFace(perFace string) error

func (*TaobaoTbkDgVegasTljCreateRequest) SetSecurityLevel

func (r *TaobaoTbkDgVegasTljCreateRequest) SetSecurityLevel(securityLevel int64) error

func (*TaobaoTbkDgVegasTljCreateRequest) SetSecuritySwitch

func (r *TaobaoTbkDgVegasTljCreateRequest) SetSecuritySwitch(securitySwitch bool) error

func (*TaobaoTbkDgVegasTljCreateRequest) SetSendEndTime

func (r *TaobaoTbkDgVegasTljCreateRequest) SetSendEndTime(sendEndTime string) error

func (*TaobaoTbkDgVegasTljCreateRequest) SetSendStartTime

func (r *TaobaoTbkDgVegasTljCreateRequest) SetSendStartTime(sendStartTime string) error

func (*TaobaoTbkDgVegasTljCreateRequest) SetTotalNum

func (r *TaobaoTbkDgVegasTljCreateRequest) SetTotalNum(totalNum int64) error

func (*TaobaoTbkDgVegasTljCreateRequest) SetUseEndTime

func (r *TaobaoTbkDgVegasTljCreateRequest) SetUseEndTime(useEndTime string) error

func (*TaobaoTbkDgVegasTljCreateRequest) SetUseEndTimeMode

func (r *TaobaoTbkDgVegasTljCreateRequest) SetUseEndTimeMode(useEndTimeMode int64) error

func (*TaobaoTbkDgVegasTljCreateRequest) SetUseStartTime

func (r *TaobaoTbkDgVegasTljCreateRequest) SetUseStartTime(useStartTime string) error

func (*TaobaoTbkDgVegasTljCreateRequest) SetUserTotalWinNumLimit

func (r *TaobaoTbkDgVegasTljCreateRequest) SetUserTotalWinNumLimit(userTotalWinNumLimit int64) error

type TaobaoTbkDgVegasTljCreateResponse

type TaobaoTbkDgVegasTljCreateResponse struct {
	XMLName   xml.Name `xml:"tbk_dg_vegas_tlj_create_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Result *TaobaoTbkDgVegasTljCreateResult `json:"result,omitempty" xml:"result,omitempty"`
}

type TaobaoTbkDgVegasTljCreateResult

type TaobaoTbkDgVegasTljCreateResult struct {
	Model *RightsInstanceCreateResult `json:"model,omitempty" xml:"model,omitempty"`

	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`

	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`

	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoTbkDgVegasTljCreateResult

type TaobaoTbkDgVegasTljInstanceReportAPIResponse

type TaobaoTbkDgVegasTljInstanceReportAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgVegasTljInstanceReportResponse
}

淘宝客-推广者-淘礼金发放及使用报表 APIResponse taobao.tbk.dg.vegas.tlj.instance.report

淘礼金实例维度相关报表数据查询

type TaobaoTbkDgVegasTljInstanceReportRequest

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

淘宝客-推广者-淘礼金发放及使用报表 APIRequest taobao.tbk.dg.vegas.tlj.instance.report

淘礼金实例维度相关报表数据查询

func NewTaobaoTbkDgVegasTljInstanceReportRequest

func NewTaobaoTbkDgVegasTljInstanceReportRequest() *TaobaoTbkDgVegasTljInstanceReportRequest

func (TaobaoTbkDgVegasTljInstanceReportRequest) GetApiMethodName

func (r TaobaoTbkDgVegasTljInstanceReportRequest) GetApiMethodName() string

func (TaobaoTbkDgVegasTljInstanceReportRequest) GetApiParams

func (TaobaoTbkDgVegasTljInstanceReportRequest) GetRightsId

func (*TaobaoTbkDgVegasTljInstanceReportRequest) SetRightsId

func (r *TaobaoTbkDgVegasTljInstanceReportRequest) SetRightsId(rightsId string) error

type TaobaoTbkDgVegasTljInstanceReportResponse

type TaobaoTbkDgVegasTljInstanceReportResponse struct {
	XMLName   xml.Name `xml:"tbk_dg_vegas_tlj_instance_report_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Result *TaobaoTbkDgVegasTljInstanceReportResult `json:"result,omitempty" xml:"result,omitempty"`
}

type TaobaoTbkDgVegasTljInstanceReportResult

type TaobaoTbkDgVegasTljInstanceReportResult struct {
	Model *TljInstanceReportDto `json:"model,omitempty" xml:"model,omitempty"`

	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`

	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`

	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoTbkDgVegasTljInstanceReportResult

type TaobaoTbkItemInfoGetAPIResponse

type TaobaoTbkItemInfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkItemInfoGetResponse
}

淘宝客-公用-淘宝客商品详情查询(简版) APIResponse taobao.tbk.item.info.get

淘宝客商品详情查询(简版)

type TaobaoTbkItemInfoGetRequest

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

淘宝客-公用-淘宝客商品详情查询(简版) APIRequest taobao.tbk.item.info.get

淘宝客商品详情查询(简版)

func NewTaobaoTbkItemInfoGetRequest

func NewTaobaoTbkItemInfoGetRequest() *TaobaoTbkItemInfoGetRequest

func (TaobaoTbkItemInfoGetRequest) GetApiMethodName

func (r TaobaoTbkItemInfoGetRequest) GetApiMethodName() string

func (TaobaoTbkItemInfoGetRequest) GetApiParams

func (r TaobaoTbkItemInfoGetRequest) GetApiParams() url.Values

func (TaobaoTbkItemInfoGetRequest) GetIp

func (TaobaoTbkItemInfoGetRequest) GetNumIids

func (r TaobaoTbkItemInfoGetRequest) GetNumIids() string

func (TaobaoTbkItemInfoGetRequest) GetPlatform

func (r TaobaoTbkItemInfoGetRequest) GetPlatform() int64

func (*TaobaoTbkItemInfoGetRequest) SetIp

func (*TaobaoTbkItemInfoGetRequest) SetNumIids

func (r *TaobaoTbkItemInfoGetRequest) SetNumIids(numIids string) error

func (*TaobaoTbkItemInfoGetRequest) SetPlatform

func (r *TaobaoTbkItemInfoGetRequest) SetPlatform(platform int64) error

type TaobaoTbkItemInfoGetResponse

type TaobaoTbkItemInfoGetResponse struct {
	XMLName   xml.Name `xml:"tbk_item_info_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Results []NTbkItem `json:"results,omitempty" xml:"results>n_tbk_item,omitempty"`
}

type TaobaoTbkScInvitecodeGetAPIResponse

type TaobaoTbkScInvitecodeGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScInvitecodeGetResponse
}

淘宝客-公用-私域用户邀请码生成 APIResponse taobao.tbk.sc.invitecode.get

私域用户管理(即渠道管理或会员运营管理)功能中,通过此API可生成淘宝客自身的邀请码。

type TaobaoTbkScInvitecodeGetData

type TaobaoTbkScInvitecodeGetData struct {
	InviterCode string `json:"inviter_code,omitempty" xml:"inviter_code,omitempty"`
}

TaobaoTbkScInvitecodeGetData

type TaobaoTbkScInvitecodeGetRequest

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

淘宝客-公用-私域用户邀请码生成 APIRequest taobao.tbk.sc.invitecode.get

私域用户管理(即渠道管理或会员运营管理)功能中,通过此API可生成淘宝客自身的邀请码。

func NewTaobaoTbkScInvitecodeGetRequest

func NewTaobaoTbkScInvitecodeGetRequest() *TaobaoTbkScInvitecodeGetRequest

func (TaobaoTbkScInvitecodeGetRequest) GetApiMethodName

func (r TaobaoTbkScInvitecodeGetRequest) GetApiMethodName() string

func (TaobaoTbkScInvitecodeGetRequest) GetApiParams

func (r TaobaoTbkScInvitecodeGetRequest) GetApiParams() url.Values

func (TaobaoTbkScInvitecodeGetRequest) GetCodeType

func (r TaobaoTbkScInvitecodeGetRequest) GetCodeType() int64

func (TaobaoTbkScInvitecodeGetRequest) GetRelationApp

func (r TaobaoTbkScInvitecodeGetRequest) GetRelationApp() string

func (TaobaoTbkScInvitecodeGetRequest) GetRelationId

func (r TaobaoTbkScInvitecodeGetRequest) GetRelationId() int64

func (*TaobaoTbkScInvitecodeGetRequest) SetCodeType

func (r *TaobaoTbkScInvitecodeGetRequest) SetCodeType(codeType int64) error

func (*TaobaoTbkScInvitecodeGetRequest) SetRelationApp

func (r *TaobaoTbkScInvitecodeGetRequest) SetRelationApp(relationApp string) error

func (*TaobaoTbkScInvitecodeGetRequest) SetRelationId

func (r *TaobaoTbkScInvitecodeGetRequest) SetRelationId(relationId int64) error

type TaobaoTbkScInvitecodeGetResponse

type TaobaoTbkScInvitecodeGetResponse struct {
	XMLName   xml.Name `xml:"tbk_sc_invitecode_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Data *TaobaoTbkScInvitecodeGetData `json:"data,omitempty" xml:"data,omitempty"`
}

type TaobaoTbkScPublisherInfoGetAPIResponse

type TaobaoTbkScPublisherInfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScPublisherInfoGetResponse
}

淘宝客-公用-私域用户备案信息查询 APIResponse taobao.tbk.sc.publisher.info.get

查询已生成的渠道id或会员运营id的相关信息。

type TaobaoTbkScPublisherInfoGetData

type TaobaoTbkScPublisherInfoGetData struct {
	RootPidChannelList []string `json:"root_pid_channel_list,omitempty" xml:"root_pid_channel_list>string,omitempty"`

	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`

	InviterList []TaobaoTbkScPublisherInfoGetMapData `json:"inviter_list,omitempty" xml:"inviter_list,omitempty"`
}

TaobaoTbkScPublisherInfoGetData

type TaobaoTbkScPublisherInfoGetMapData

type TaobaoTbkScPublisherInfoGetMapData struct {
	RelationApp string `json:"relation_app,omitempty" xml:"relation_app,omitempty"`

	CreateDate string `json:"create_date,omitempty" xml:"create_date,omitempty"`

	AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"`

	RealName string `json:"real_name,omitempty" xml:"real_name,omitempty"`

	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`

	OfflineScene string `json:"offline_scene,omitempty" xml:"offline_scene,omitempty"`

	OnlineScene string `json:"online_scene,omitempty" xml:"online_scene,omitempty"`

	Note string `json:"note,omitempty" xml:"note,omitempty"`

	RootPid string `json:"root_pid,omitempty" xml:"root_pid,omitempty"`

	Rtag string `json:"rtag,omitempty" xml:"rtag,omitempty"`

	OfflineInfo *RegisterInfoDto `json:"offline_info,omitempty" xml:"offline_info,omitempty"`

	SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"`

	PunishStatus string `json:"punish_status,omitempty" xml:"punish_status,omitempty"`

	ExternalId string `json:"external_id,omitempty" xml:"external_id,omitempty"`

	ExternalType string `json:"external_type,omitempty" xml:"external_type,omitempty"`
}

TaobaoTbkScPublisherInfoGetMapData

type TaobaoTbkScPublisherInfoGetRequest

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

淘宝客-公用-私域用户备案信息查询 APIRequest taobao.tbk.sc.publisher.info.get

查询已生成的渠道id或会员运营id的相关信息。

func NewTaobaoTbkScPublisherInfoGetRequest

func NewTaobaoTbkScPublisherInfoGetRequest() *TaobaoTbkScPublisherInfoGetRequest

func (TaobaoTbkScPublisherInfoGetRequest) GetApiMethodName

func (r TaobaoTbkScPublisherInfoGetRequest) GetApiMethodName() string

func (TaobaoTbkScPublisherInfoGetRequest) GetApiParams

func (TaobaoTbkScPublisherInfoGetRequest) GetExternalId

func (r TaobaoTbkScPublisherInfoGetRequest) GetExternalId() string

func (TaobaoTbkScPublisherInfoGetRequest) GetExternalType

func (r TaobaoTbkScPublisherInfoGetRequest) GetExternalType() int64

func (TaobaoTbkScPublisherInfoGetRequest) GetInfoType

func (r TaobaoTbkScPublisherInfoGetRequest) GetInfoType() int64

func (TaobaoTbkScPublisherInfoGetRequest) GetPageNo

func (TaobaoTbkScPublisherInfoGetRequest) GetPageSize

func (r TaobaoTbkScPublisherInfoGetRequest) GetPageSize() int64

func (TaobaoTbkScPublisherInfoGetRequest) GetRelationApp

func (r TaobaoTbkScPublisherInfoGetRequest) GetRelationApp() string

func (TaobaoTbkScPublisherInfoGetRequest) GetRelationId

func (r TaobaoTbkScPublisherInfoGetRequest) GetRelationId() int64

func (TaobaoTbkScPublisherInfoGetRequest) GetSpecialId

func (r TaobaoTbkScPublisherInfoGetRequest) GetSpecialId() string

func (*TaobaoTbkScPublisherInfoGetRequest) SetExternalId

func (r *TaobaoTbkScPublisherInfoGetRequest) SetExternalId(externalId string) error

func (*TaobaoTbkScPublisherInfoGetRequest) SetExternalType

func (r *TaobaoTbkScPublisherInfoGetRequest) SetExternalType(externalType int64) error

func (*TaobaoTbkScPublisherInfoGetRequest) SetInfoType

func (r *TaobaoTbkScPublisherInfoGetRequest) SetInfoType(infoType int64) error

func (*TaobaoTbkScPublisherInfoGetRequest) SetPageNo

func (r *TaobaoTbkScPublisherInfoGetRequest) SetPageNo(pageNo int64) error

func (*TaobaoTbkScPublisherInfoGetRequest) SetPageSize

func (r *TaobaoTbkScPublisherInfoGetRequest) SetPageSize(pageSize int64) error

func (*TaobaoTbkScPublisherInfoGetRequest) SetRelationApp

func (r *TaobaoTbkScPublisherInfoGetRequest) SetRelationApp(relationApp string) error

func (*TaobaoTbkScPublisherInfoGetRequest) SetRelationId

func (r *TaobaoTbkScPublisherInfoGetRequest) SetRelationId(relationId int64) error

func (*TaobaoTbkScPublisherInfoGetRequest) SetSpecialId

func (r *TaobaoTbkScPublisherInfoGetRequest) SetSpecialId(specialId string) error

type TaobaoTbkScPublisherInfoGetResponse

type TaobaoTbkScPublisherInfoGetResponse struct {
	XMLName   xml.Name `xml:"tbk_sc_publisher_info_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Data *TaobaoTbkScPublisherInfoGetData `json:"data,omitempty" xml:"data,omitempty"`
}

type TaobaoTbkScPublisherInfoSaveAPIResponse

type TaobaoTbkScPublisherInfoSaveAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScPublisherInfoSaveResponse
}

淘宝客-公用-私域用户备案 APIResponse taobao.tbk.sc.publisher.info.save

通过入参渠道管理或会员运营管理的邀请码,生成渠道id或会员运营id,完成渠道或会员的备案。

type TaobaoTbkScPublisherInfoSaveData

type TaobaoTbkScPublisherInfoSaveData struct {
	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`

	AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"`

	SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"`

	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
}

TaobaoTbkScPublisherInfoSaveData

type TaobaoTbkScPublisherInfoSaveRequest

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

淘宝客-公用-私域用户备案 APIRequest taobao.tbk.sc.publisher.info.save

通过入参渠道管理或会员运营管理的邀请码,生成渠道id或会员运营id,完成渠道或会员的备案。

func NewTaobaoTbkScPublisherInfoSaveRequest

func NewTaobaoTbkScPublisherInfoSaveRequest() *TaobaoTbkScPublisherInfoSaveRequest

func (TaobaoTbkScPublisherInfoSaveRequest) GetApiMethodName

func (r TaobaoTbkScPublisherInfoSaveRequest) GetApiMethodName() string

func (TaobaoTbkScPublisherInfoSaveRequest) GetApiParams

func (TaobaoTbkScPublisherInfoSaveRequest) GetInfoType

func (TaobaoTbkScPublisherInfoSaveRequest) GetInviterCode

func (r TaobaoTbkScPublisherInfoSaveRequest) GetInviterCode() string

func (TaobaoTbkScPublisherInfoSaveRequest) GetNote

func (TaobaoTbkScPublisherInfoSaveRequest) GetOfflineScene

func (r TaobaoTbkScPublisherInfoSaveRequest) GetOfflineScene() string

func (TaobaoTbkScPublisherInfoSaveRequest) GetOnlineScene

func (r TaobaoTbkScPublisherInfoSaveRequest) GetOnlineScene() string

func (TaobaoTbkScPublisherInfoSaveRequest) GetRegisterInfo

func (r TaobaoTbkScPublisherInfoSaveRequest) GetRegisterInfo() string

func (TaobaoTbkScPublisherInfoSaveRequest) GetRelationFrom

func (r TaobaoTbkScPublisherInfoSaveRequest) GetRelationFrom() string

func (*TaobaoTbkScPublisherInfoSaveRequest) SetInfoType

func (r *TaobaoTbkScPublisherInfoSaveRequest) SetInfoType(infoType int64) error

func (*TaobaoTbkScPublisherInfoSaveRequest) SetInviterCode

func (r *TaobaoTbkScPublisherInfoSaveRequest) SetInviterCode(inviterCode string) error

func (*TaobaoTbkScPublisherInfoSaveRequest) SetNote

func (*TaobaoTbkScPublisherInfoSaveRequest) SetOfflineScene

func (r *TaobaoTbkScPublisherInfoSaveRequest) SetOfflineScene(offlineScene string) error

func (*TaobaoTbkScPublisherInfoSaveRequest) SetOnlineScene

func (r *TaobaoTbkScPublisherInfoSaveRequest) SetOnlineScene(onlineScene string) error

func (*TaobaoTbkScPublisherInfoSaveRequest) SetRegisterInfo

func (r *TaobaoTbkScPublisherInfoSaveRequest) SetRegisterInfo(registerInfo string) error

func (*TaobaoTbkScPublisherInfoSaveRequest) SetRelationFrom

func (r *TaobaoTbkScPublisherInfoSaveRequest) SetRelationFrom(relationFrom string) error

type TaobaoTbkScPublisherInfoSaveResponse

type TaobaoTbkScPublisherInfoSaveResponse struct {
	XMLName   xml.Name `xml:"tbk_sc_publisher_info_save_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Data *TaobaoTbkScPublisherInfoSaveData `json:"data,omitempty" xml:"data,omitempty"`
}

type TaobaoTbkShopGetAPIResponse

type TaobaoTbkShopGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkShopGetResponse
}

淘宝客-推广者-店铺搜索 APIResponse taobao.tbk.shop.get

淘宝客店铺查询

type TaobaoTbkShopGetRequest

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

淘宝客-推广者-店铺搜索 APIRequest taobao.tbk.shop.get

淘宝客店铺查询

func NewTaobaoTbkShopGetRequest

func NewTaobaoTbkShopGetRequest() *TaobaoTbkShopGetRequest

func (TaobaoTbkShopGetRequest) GetApiMethodName

func (r TaobaoTbkShopGetRequest) GetApiMethodName() string

func (TaobaoTbkShopGetRequest) GetApiParams

func (r TaobaoTbkShopGetRequest) GetApiParams() url.Values

func (TaobaoTbkShopGetRequest) GetEndAuctionCount

func (r TaobaoTbkShopGetRequest) GetEndAuctionCount() int64

func (TaobaoTbkShopGetRequest) GetEndCommissionRate

func (r TaobaoTbkShopGetRequest) GetEndCommissionRate() int64

func (TaobaoTbkShopGetRequest) GetEndCredit

func (r TaobaoTbkShopGetRequest) GetEndCredit() int64

func (TaobaoTbkShopGetRequest) GetEndTotalAction

func (r TaobaoTbkShopGetRequest) GetEndTotalAction() int64

func (TaobaoTbkShopGetRequest) GetFields

func (r TaobaoTbkShopGetRequest) GetFields() string

func (TaobaoTbkShopGetRequest) GetIsTmall

func (r TaobaoTbkShopGetRequest) GetIsTmall() bool

func (TaobaoTbkShopGetRequest) GetPageNo

func (r TaobaoTbkShopGetRequest) GetPageNo() int64

func (TaobaoTbkShopGetRequest) GetPageSize

func (r TaobaoTbkShopGetRequest) GetPageSize() int64

func (TaobaoTbkShopGetRequest) GetPlatform

func (r TaobaoTbkShopGetRequest) GetPlatform() int64

func (TaobaoTbkShopGetRequest) GetQ

func (TaobaoTbkShopGetRequest) GetSort

func (r TaobaoTbkShopGetRequest) GetSort() string

func (TaobaoTbkShopGetRequest) GetStartAuctionCount

func (r TaobaoTbkShopGetRequest) GetStartAuctionCount() int64

func (TaobaoTbkShopGetRequest) GetStartCommissionRate

func (r TaobaoTbkShopGetRequest) GetStartCommissionRate() int64

func (TaobaoTbkShopGetRequest) GetStartCredit

func (r TaobaoTbkShopGetRequest) GetStartCredit() int64

func (TaobaoTbkShopGetRequest) GetStartTotalAction

func (r TaobaoTbkShopGetRequest) GetStartTotalAction() int64

func (*TaobaoTbkShopGetRequest) SetEndAuctionCount

func (r *TaobaoTbkShopGetRequest) SetEndAuctionCount(endAuctionCount int64) error

func (*TaobaoTbkShopGetRequest) SetEndCommissionRate

func (r *TaobaoTbkShopGetRequest) SetEndCommissionRate(endCommissionRate int64) error

func (*TaobaoTbkShopGetRequest) SetEndCredit

func (r *TaobaoTbkShopGetRequest) SetEndCredit(endCredit int64) error

func (*TaobaoTbkShopGetRequest) SetEndTotalAction

func (r *TaobaoTbkShopGetRequest) SetEndTotalAction(endTotalAction int64) error

func (*TaobaoTbkShopGetRequest) SetFields

func (r *TaobaoTbkShopGetRequest) SetFields(fields string) error

func (*TaobaoTbkShopGetRequest) SetIsTmall

func (r *TaobaoTbkShopGetRequest) SetIsTmall(isTmall bool) error

func (*TaobaoTbkShopGetRequest) SetPageNo

func (r *TaobaoTbkShopGetRequest) SetPageNo(pageNo int64) error

func (*TaobaoTbkShopGetRequest) SetPageSize

func (r *TaobaoTbkShopGetRequest) SetPageSize(pageSize int64) error

func (*TaobaoTbkShopGetRequest) SetPlatform

func (r *TaobaoTbkShopGetRequest) SetPlatform(platform int64) error

func (*TaobaoTbkShopGetRequest) SetQ

func (*TaobaoTbkShopGetRequest) SetSort

func (r *TaobaoTbkShopGetRequest) SetSort(sort string) error

func (*TaobaoTbkShopGetRequest) SetStartAuctionCount

func (r *TaobaoTbkShopGetRequest) SetStartAuctionCount(startAuctionCount int64) error

func (*TaobaoTbkShopGetRequest) SetStartCommissionRate

func (r *TaobaoTbkShopGetRequest) SetStartCommissionRate(startCommissionRate int64) error

func (*TaobaoTbkShopGetRequest) SetStartCredit

func (r *TaobaoTbkShopGetRequest) SetStartCredit(startCredit int64) error

func (*TaobaoTbkShopGetRequest) SetStartTotalAction

func (r *TaobaoTbkShopGetRequest) SetStartTotalAction(startTotalAction int64) error

type TaobaoTbkShopGetResponse

type TaobaoTbkShopGetResponse struct {
	XMLName   xml.Name `xml:"tbk_shop_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Results []NTbkShop `json:"results,omitempty" xml:"results>n_tbk_shop,omitempty"`

	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

type TaobaoTbkShopRecommendGetAPIResponse

type TaobaoTbkShopRecommendGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkShopRecommendGetResponse
}

淘宝客-公用-店铺关联推荐 APIResponse taobao.tbk.shop.recommend.get

入参卖家id,可推荐与此店铺相关联的相关店铺。

type TaobaoTbkShopRecommendGetRequest

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

淘宝客-公用-店铺关联推荐 APIRequest taobao.tbk.shop.recommend.get

入参卖家id,可推荐与此店铺相关联的相关店铺。

func NewTaobaoTbkShopRecommendGetRequest

func NewTaobaoTbkShopRecommendGetRequest() *TaobaoTbkShopRecommendGetRequest

func (TaobaoTbkShopRecommendGetRequest) GetApiMethodName

func (r TaobaoTbkShopRecommendGetRequest) GetApiMethodName() string

func (TaobaoTbkShopRecommendGetRequest) GetApiParams

func (r TaobaoTbkShopRecommendGetRequest) GetApiParams() url.Values

func (TaobaoTbkShopRecommendGetRequest) GetCount

func (TaobaoTbkShopRecommendGetRequest) GetFields

func (TaobaoTbkShopRecommendGetRequest) GetPlatform

func (r TaobaoTbkShopRecommendGetRequest) GetPlatform() int64

func (TaobaoTbkShopRecommendGetRequest) GetUserId

func (*TaobaoTbkShopRecommendGetRequest) SetCount

func (r *TaobaoTbkShopRecommendGetRequest) SetCount(count int64) error

func (*TaobaoTbkShopRecommendGetRequest) SetFields

func (r *TaobaoTbkShopRecommendGetRequest) SetFields(fields string) error

func (*TaobaoTbkShopRecommendGetRequest) SetPlatform

func (r *TaobaoTbkShopRecommendGetRequest) SetPlatform(platform int64) error

func (*TaobaoTbkShopRecommendGetRequest) SetUserId

func (r *TaobaoTbkShopRecommendGetRequest) SetUserId(userId int64) error

type TaobaoTbkShopRecommendGetResponse

type TaobaoTbkShopRecommendGetResponse struct {
	XMLName   xml.Name `xml:"tbk_shop_recommend_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Results []NTbkShop `json:"results,omitempty" xml:"results>n_tbk_shop,omitempty"`
}

type TaobaoTbkSkuBestCouponAPIResponse

type TaobaoTbkSkuBestCouponAPIResponse struct {
	model.CommonResponse
	TaobaoTbkSkuBestCouponResponse
}

sku维度最优优惠券信息 APIResponse taobao.tbk.sku.best.coupon

根据itemid和skuid查询最优优惠券信息

type TaobaoTbkSkuBestCouponMapData

type TaobaoTbkSkuBestCouponMapData struct {
	CouponExpireTime int64 `json:"coupon_expire_time,omitempty" xml:"coupon_expire_time,omitempty"`
}

TaobaoTbkSkuBestCouponMapData

type TaobaoTbkSkuBestCouponRequest

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

sku维度最优优惠券信息 APIRequest taobao.tbk.sku.best.coupon

根据itemid和skuid查询最优优惠券信息

func NewTaobaoTbkSkuBestCouponRequest

func NewTaobaoTbkSkuBestCouponRequest() *TaobaoTbkSkuBestCouponRequest

func (TaobaoTbkSkuBestCouponRequest) GetApiMethodName

func (r TaobaoTbkSkuBestCouponRequest) GetApiMethodName() string

func (TaobaoTbkSkuBestCouponRequest) GetApiParams

func (r TaobaoTbkSkuBestCouponRequest) GetApiParams() url.Values

func (TaobaoTbkSkuBestCouponRequest) GetItemId

func (r TaobaoTbkSkuBestCouponRequest) GetItemId() int64

func (TaobaoTbkSkuBestCouponRequest) GetSkuId

func (r TaobaoTbkSkuBestCouponRequest) GetSkuId() int64

func (*TaobaoTbkSkuBestCouponRequest) SetItemId

func (r *TaobaoTbkSkuBestCouponRequest) SetItemId(itemId int64) error

func (*TaobaoTbkSkuBestCouponRequest) SetSkuId

func (r *TaobaoTbkSkuBestCouponRequest) SetSkuId(skuId int64) error

type TaobaoTbkSkuBestCouponResponse

type TaobaoTbkSkuBestCouponResponse struct {
	XMLName   xml.Name `xml:"tbk_sku_best_coupon_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	CouponInfo *TaobaoTbkSkuBestCouponMapData `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"`
}

type TaobaoTbkSpreadGetAPIResponse

type TaobaoTbkSpreadGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkSpreadGetResponse
}

淘宝客-公用-长链转短链 APIResponse taobao.tbk.spread.get

输入一个原始的链接,转换得到指定的传播方式,如二维码,淘口令,短连接; 现阶段只支持短连接。

type TaobaoTbkSpreadGetRequest

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

淘宝客-公用-长链转短链 APIRequest taobao.tbk.spread.get

输入一个原始的链接,转换得到指定的传播方式,如二维码,淘口令,短连接; 现阶段只支持短连接。

func NewTaobaoTbkSpreadGetRequest

func NewTaobaoTbkSpreadGetRequest() *TaobaoTbkSpreadGetRequest

func (TaobaoTbkSpreadGetRequest) GetApiMethodName

func (r TaobaoTbkSpreadGetRequest) GetApiMethodName() string

func (TaobaoTbkSpreadGetRequest) GetApiParams

func (r TaobaoTbkSpreadGetRequest) GetApiParams() url.Values

func (TaobaoTbkSpreadGetRequest) GetRequests

func (r TaobaoTbkSpreadGetRequest) GetRequests() []TbkSpreadRequest

func (*TaobaoTbkSpreadGetRequest) SetRequests

func (r *TaobaoTbkSpreadGetRequest) SetRequests(requests []TbkSpreadRequest) error

type TaobaoTbkSpreadGetResponse

type TaobaoTbkSpreadGetResponse struct {
	XMLName   xml.Name `xml:"tbk_spread_get_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Results []TbkSpread `json:"results,omitempty" xml:"results>tbk_spread,omitempty"`

	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

type TaobaoTbkTpwdCreateAPIResponse

type TaobaoTbkTpwdCreateAPIResponse struct {
	model.CommonResponse
	TaobaoTbkTpwdCreateResponse
}

淘宝客-公用-淘口令生成 APIResponse taobao.tbk.tpwd.create

提供淘口令生成接口。提交需要生成淘口令的内容、logo、url等参数,生成淘口令,其中关键信息为¥SADadW¥,后续可基于淘口令进行文案包装组装用于传播。

type TaobaoTbkTpwdCreateMapData

type TaobaoTbkTpwdCreateMapData struct {
	PasswordSimple string `json:"password_simple,omitempty" xml:"password_simple,omitempty"`

	Model string `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaoTbkTpwdCreateMapData

type TaobaoTbkTpwdCreateRequest

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

淘宝客-公用-淘口令生成 APIRequest taobao.tbk.tpwd.create

提供淘口令生成接口。提交需要生成淘口令的内容、logo、url等参数,生成淘口令,其中关键信息为¥SADadW¥,后续可基于淘口令进行文案包装组装用于传播。

func NewTaobaoTbkTpwdCreateRequest

func NewTaobaoTbkTpwdCreateRequest() *TaobaoTbkTpwdCreateRequest

func (TaobaoTbkTpwdCreateRequest) GetApiMethodName

func (r TaobaoTbkTpwdCreateRequest) GetApiMethodName() string

func (TaobaoTbkTpwdCreateRequest) GetApiParams

func (r TaobaoTbkTpwdCreateRequest) GetApiParams() url.Values

func (TaobaoTbkTpwdCreateRequest) GetExt

func (r TaobaoTbkTpwdCreateRequest) GetLogo() string

func (TaobaoTbkTpwdCreateRequest) GetText

func (r TaobaoTbkTpwdCreateRequest) GetText() string

func (TaobaoTbkTpwdCreateRequest) GetUrl

func (TaobaoTbkTpwdCreateRequest) GetUserId

func (r TaobaoTbkTpwdCreateRequest) GetUserId() string

func (*TaobaoTbkTpwdCreateRequest) SetExt

func (r *TaobaoTbkTpwdCreateRequest) SetExt(ext string) error
func (r *TaobaoTbkTpwdCreateRequest) SetLogo(logo string) error

func (*TaobaoTbkTpwdCreateRequest) SetText

func (r *TaobaoTbkTpwdCreateRequest) SetText(text string) error

func (*TaobaoTbkTpwdCreateRequest) SetUrl

func (r *TaobaoTbkTpwdCreateRequest) SetUrl(url string) error

func (*TaobaoTbkTpwdCreateRequest) SetUserId

func (r *TaobaoTbkTpwdCreateRequest) SetUserId(userId string) error

type TaobaoTbkTpwdCreateResponse

type TaobaoTbkTpwdCreateResponse struct {
	XMLName   xml.Name `xml:"tbk_tpwd_create_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Data *TaobaoTbkTpwdCreateMapData `json:"data,omitempty" xml:"data,omitempty"`
}

type TbkSpread

type TbkSpread struct {
	Content string `json:"content,omitempty" xml:"content,omitempty"`

	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
}

TbkSpread

type TbkSpreadRequest

type TbkSpreadRequest struct {
	Url string `json:"url,omitempty" xml:"url,omitempty"`
}

TbkSpreadRequest

type TljInstanceReportDto

type TljInstanceReportDto struct {
	UnfreezeAmount string `json:"unfreeze_amount,omitempty" xml:"unfreeze_amount,omitempty"`

	UnfreezeNum int64 `json:"unfreeze_num,omitempty" xml:"unfreeze_num,omitempty"`

	RefundAmount string `json:"refund_amount,omitempty" xml:"refund_amount,omitempty"`

	RefundNum int64 `json:"refund_num,omitempty" xml:"refund_num,omitempty"`

	AlipayAmount string `json:"alipay_amount,omitempty" xml:"alipay_amount,omitempty"`

	UseAmount string `json:"use_amount,omitempty" xml:"use_amount,omitempty"`

	UseNum int64 `json:"use_num,omitempty" xml:"use_num,omitempty"`

	WinAmount string `json:"win_amount,omitempty" xml:"win_amount,omitempty"`

	WinNum int64 `json:"win_num,omitempty" xml:"win_num,omitempty"`

	PreCommissionAmount string `json:"pre_commission_amount,omitempty" xml:"pre_commission_amount,omitempty"`

	FpRefundAmount string `json:"fp_refund_amount,omitempty" xml:"fp_refund_amount,omitempty"`

	FpRefundNum int64 `json:"fp_refund_num,omitempty" xml:"fp_refund_num,omitempty"`
}

TljInstanceReportDto

type TopApiAfOrderOption

type TopApiAfOrderOption struct {
	SiteId int64 `json:"site_id,omitempty" xml:"site_id,omitempty"`

	Span int64 `json:"span,omitempty" xml:"span,omitempty"`

	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`

	TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"`

	TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"`

	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`

	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`

	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`

	SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"`

	ViolationType int64 `json:"violation_type,omitempty" xml:"violation_type,omitempty"`

	PunishStatus int64 `json:"punish_status,omitempty" xml:"punish_status,omitempty"`

	AdzoneId int64 `json:"adzone_id,omitempty" xml:"adzone_id,omitempty"`
}

TopApiAfOrderOption

type TopNInfoDTO

type TopNInfoDTO struct {
	TopnQuantity int64 `json:"topn_quantity,omitempty" xml:"topn_quantity,omitempty"`

	TopnTotalCount int64 `json:"topn_total_count,omitempty" xml:"topn_total_count,omitempty"`

	TopnEndTime string `json:"topn_end_time,omitempty" xml:"topn_end_time,omitempty"`

	TopnStartTime string `json:"topn_start_time,omitempty" xml:"topn_start_time,omitempty"`

	TopnRate string `json:"topn_rate,omitempty" xml:"topn_rate,omitempty"`
}

TopNInfoDTO

type Ucrowdrankitems

type Ucrowdrankitems struct {
	Commirate int64 `json:"commirate,omitempty" xml:"commirate,omitempty"`

	Price string `json:"price,omitempty" xml:"price,omitempty"`

	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
}

Ucrowdrankitems

type UserRuleInfo

type UserRuleInfo struct {
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`

	Version int64 `json:"version,omitempty" xml:"version,omitempty"`

	ItemList []TaobaoTbkCartCouponExpireUserQueryMapData `json:"item_list,omitempty" xml:"item_list,omitempty"`
}

UserRuleInfo

type WordMapData

type WordMapData struct {
	Url string `json:"url,omitempty" xml:"url,omitempty"`

	Word string `json:"word,omitempty" xml:"word,omitempty"`
}

WordMapData

type Youjiacouponinfo

type Youjiacouponinfo struct {
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`

	Url string `json:"url,omitempty" xml:"url,omitempty"`
}

Youjiacouponinfo

Source Files

Jump to

Keyboard shortcuts

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