tbk

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package tbk 包含淘宝客API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlimmShareInfoDto added in v1.3.4

func ReleaseAlimmShareInfoDto(v *AlimmShareInfoDto)

ReleaseAlimmShareInfoDto 释放AlimmShareInfoDto

func ReleaseBybtInfoDto added in v1.3.4

func ReleaseBybtInfoDto(v *BybtInfoDto)

ReleaseBybtInfoDto 释放BybtInfoDto

func ReleaseCrowdDto added in v1.3.4

func ReleaseCrowdDto(v *CrowdDto)

ReleaseCrowdDto 释放CrowdDto

func ReleaseDataMap added in v1.3.4

func ReleaseDataMap(v *DataMap)

ReleaseDataMap 释放DataMap

func ReleaseDwsUnionAppDto added in v1.3.4

func ReleaseDwsUnionAppDto(v *DwsUnionAppDto)

ReleaseDwsUnionAppDto 释放DwsUnionAppDto

func ReleaseExtra added in v1.3.4

func ReleaseExtra(v *Extra)

ReleaseExtra 释放Extra

func ReleaseFavoritesDetail added in v1.3.4

func ReleaseFavoritesDetail(v *FavoritesDetail)

ReleaseFavoritesDetail 释放FavoritesDetail

func ReleaseFavoritesInfo added in v1.3.4

func ReleaseFavoritesInfo(v *FavoritesInfo)

ReleaseFavoritesInfo 释放FavoritesInfo

func ReleaseInstanceDto added in v1.3.4

func ReleaseInstanceDto(v *InstanceDto)

ReleaseInstanceDto 释放InstanceDto

func ReleaseMaifanPromotionDto added in v1.3.4

func ReleaseMaifanPromotionDto(v *MaifanPromotionDto)

ReleaseMaifanPromotionDto 释放MaifanPromotionDto

func ReleaseMaterialDto added in v1.3.4

func ReleaseMaterialDto(v *MaterialDto)

ReleaseMaterialDto 释放MaterialDto

func ReleaseMiniProgramDto added in v1.3.4

func ReleaseMiniProgramDto(v *MiniProgramDto)

ReleaseMiniProgramDto 释放MiniProgramDto

func ReleaseNTbkItem added in v1.3.4

func ReleaseNTbkItem(v *NTbkItem)

ReleaseNTbkItem 释放NTbkItem

func ReleaseNTbkShop added in v1.3.4

func ReleaseNTbkShop(v *NTbkShop)

ReleaseNTbkShop 释放NTbkShop

func ReleaseOfferList added in v1.3.4

func ReleaseOfferList(v *OfferList)

ReleaseOfferList 释放OfferList

func ReleaseOrderData added in v1.3.4

func ReleaseOrderData(v *OrderData)

ReleaseOrderData 释放OrderData

func ReleaseOrderPage added in v1.3.4

func ReleaseOrderPage(v *OrderPage)

ReleaseOrderPage 释放OrderPage

func ReleasePageResult added in v1.3.4

func ReleasePageResult(v *PageResult)

ReleasePageResult 释放PageResult

func ReleasePlatformSpecialShareInfoDto added in v1.3.4

func ReleasePlatformSpecialShareInfoDto(v *PlatformSpecialShareInfoDto)

ReleasePlatformSpecialShareInfoDto 释放PlatformSpecialShareInfoDto

func ReleasePromotionExtend added in v1.3.4

func ReleasePromotionExtend(v *PromotionExtend)

ReleasePromotionExtend 释放PromotionExtend

func ReleasePromotionList added in v1.3.4

func ReleasePromotionList(v *PromotionList)

ReleasePromotionList 释放PromotionList

func ReleasePublisherOrderDto added in v1.3.4

func ReleasePublisherOrderDto(v *PublisherOrderDto)

ReleasePublisherOrderDto 释放PublisherOrderDto

func ReleasePublisherRefundOrderDto added in v1.3.4

func ReleasePublisherRefundOrderDto(v *PublisherRefundOrderDto)

ReleasePublisherRefundOrderDto 释放PublisherRefundOrderDto

func ReleasePublisherRefundOrderQueryOption added in v1.3.4

func ReleasePublisherRefundOrderQueryOption(v *PublisherRefundOrderQueryOption)

ReleasePublisherRefundOrderQueryOption 释放PublisherRefundOrderQueryOption

func ReleaseRecommendItemList added in v1.3.4

func ReleaseRecommendItemList(v *RecommendItemList)

ReleaseRecommendItemList 释放RecommendItemList

func ReleaseRegisterInfoDto added in v1.3.4

func ReleaseRegisterInfoDto(v *RegisterInfoDto)

ReleaseRegisterInfoDto 释放RegisterInfoDto

func ReleaseResultlist added in v1.3.4

func ReleaseResultlist(v *Resultlist)

ReleaseResultlist 释放Resultlist

func ReleaseRightsInstanceCreateResult added in v1.3.4

func ReleaseRightsInstanceCreateResult(v *RightsInstanceCreateResult)

ReleaseRightsInstanceCreateResult 释放RightsInstanceCreateResult

func ReleaseRightsSendRelationRptDto added in v1.3.4

func ReleaseRightsSendRelationRptDto(v *RightsSendRelationRptDto)

ReleaseRightsSendRelationRptDto 释放RightsSendRelationRptDto

func ReleaseRightsSendRptDto added in v1.3.4

func ReleaseRightsSendRptDto(v *RightsSendRptDto)

ReleaseRightsSendRptDto 释放RightsSendRptDto

func ReleaseServiceFeeDto added in v1.3.4

func ReleaseServiceFeeDto(v *ServiceFeeDto)

ReleaseServiceFeeDto 释放ServiceFeeDto

func ReleaseSpCampaign added in v1.3.4

func ReleaseSpCampaign(v *SpCampaign)

ReleaseSpCampaign 释放SpCampaign

func ReleaseStepRateDto added in v1.3.4

func ReleaseStepRateDto(v *StepRateDto)

ReleaseStepRateDto 释放StepRateDto

func ReleaseStrategyResultList added in v1.3.4

func ReleaseStrategyResultList(v *StrategyResultList)

ReleaseStrategyResultList 释放StrategyResultList

func ReleaseSubsidyDetailDto added in v1.3.4

func ReleaseSubsidyDetailDto(v *SubsidyDetailDto)

ReleaseSubsidyDetailDto 释放SubsidyDetailDto

func ReleaseTaobaoTbkActivityInfoGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkActivityInfoGetAPIRequest(v *TaobaoTbkActivityInfoGetAPIRequest)

ReleaseTaobaoTbkActivityInfoGetAPIRequest 将 TaobaoTbkActivityInfoGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkActivityInfoGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkActivityInfoGetAPIResponse(v *TaobaoTbkActivityInfoGetAPIResponse)

ReleaseTaobaoTbkActivityInfoGetAPIResponse 将 TaobaoTbkActivityInfoGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkActivityInfoGetData added in v1.3.4

func ReleaseTaobaoTbkActivityInfoGetData(v *TaobaoTbkActivityInfoGetData)

ReleaseTaobaoTbkActivityInfoGetData 释放TaobaoTbkActivityInfoGetData

func ReleaseTaobaoTbkCartCouponExpireUserQueryAPIRequest added in v1.3.4

func ReleaseTaobaoTbkCartCouponExpireUserQueryAPIRequest(v *TaobaoTbkCartCouponExpireUserQueryAPIRequest)

ReleaseTaobaoTbkCartCouponExpireUserQueryAPIRequest 将 TaobaoTbkCartCouponExpireUserQueryAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkCartCouponExpireUserQueryAPIResponse added in v1.3.4

func ReleaseTaobaoTbkCartCouponExpireUserQueryAPIResponse(v *TaobaoTbkCartCouponExpireUserQueryAPIResponse)

ReleaseTaobaoTbkCartCouponExpireUserQueryAPIResponse 将 TaobaoTbkCartCouponExpireUserQueryAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkCartCouponExpireUserQueryMapData added in v1.3.4

func ReleaseTaobaoTbkCartCouponExpireUserQueryMapData(v *TaobaoTbkCartCouponExpireUserQueryMapData)

ReleaseTaobaoTbkCartCouponExpireUserQueryMapData 释放TaobaoTbkCartCouponExpireUserQueryMapData

func ReleaseTaobaoTbkCouponConvertAPIRequest added in v1.3.4

func ReleaseTaobaoTbkCouponConvertAPIRequest(v *TaobaoTbkCouponConvertAPIRequest)

ReleaseTaobaoTbkCouponConvertAPIRequest 将 TaobaoTbkCouponConvertAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkCouponConvertAPIResponse added in v1.3.4

func ReleaseTaobaoTbkCouponConvertAPIResponse(v *TaobaoTbkCouponConvertAPIResponse)

ReleaseTaobaoTbkCouponConvertAPIResponse 将 TaobaoTbkCouponConvertAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkCouponConvertRpcResult added in v1.3.4

func ReleaseTaobaoTbkCouponConvertRpcResult(v *TaobaoTbkCouponConvertRpcResult)

ReleaseTaobaoTbkCouponConvertRpcResult 释放TaobaoTbkCouponConvertRpcResult

func ReleaseTaobaoTbkCouponGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkCouponGetAPIRequest(v *TaobaoTbkCouponGetAPIRequest)

ReleaseTaobaoTbkCouponGetAPIRequest 将 TaobaoTbkCouponGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkCouponGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkCouponGetAPIResponse(v *TaobaoTbkCouponGetAPIResponse)

ReleaseTaobaoTbkCouponGetAPIResponse 将 TaobaoTbkCouponGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkCouponGetMapData added in v1.3.4

func ReleaseTaobaoTbkCouponGetMapData(v *TaobaoTbkCouponGetMapData)

ReleaseTaobaoTbkCouponGetMapData 释放TaobaoTbkCouponGetMapData

func ReleaseTaobaoTbkDgCpaActivityDetailAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgCpaActivityDetailAPIRequest(v *TaobaoTbkDgCpaActivityDetailAPIRequest)

ReleaseTaobaoTbkDgCpaActivityDetailAPIRequest 将 TaobaoTbkDgCpaActivityDetailAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgCpaActivityDetailAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgCpaActivityDetailAPIResponse(v *TaobaoTbkDgCpaActivityDetailAPIResponse)

ReleaseTaobaoTbkDgCpaActivityDetailAPIResponse 将 TaobaoTbkDgCpaActivityDetailAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkDgCpaActivityDetailResult added in v1.3.4

func ReleaseTaobaoTbkDgCpaActivityDetailResult(v *TaobaoTbkDgCpaActivityDetailResult)

ReleaseTaobaoTbkDgCpaActivityDetailResult 释放TaobaoTbkDgCpaActivityDetailResult

func ReleaseTaobaoTbkDgCpaActivityDetailResults added in v1.3.4

func ReleaseTaobaoTbkDgCpaActivityDetailResults(v *TaobaoTbkDgCpaActivityDetailResults)

ReleaseTaobaoTbkDgCpaActivityDetailResults 释放TaobaoTbkDgCpaActivityDetailResults

func ReleaseTaobaoTbkDgCpaActivityReportAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgCpaActivityReportAPIRequest(v *TaobaoTbkDgCpaActivityReportAPIRequest)

ReleaseTaobaoTbkDgCpaActivityReportAPIRequest 将 TaobaoTbkDgCpaActivityReportAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgCpaActivityReportAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgCpaActivityReportAPIResponse(v *TaobaoTbkDgCpaActivityReportAPIResponse)

ReleaseTaobaoTbkDgCpaActivityReportAPIResponse 将 TaobaoTbkDgCpaActivityReportAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkDgCpaActivityReportRpcResult added in v1.3.4

func ReleaseTaobaoTbkDgCpaActivityReportRpcResult(v *TaobaoTbkDgCpaActivityReportRpcResult)

ReleaseTaobaoTbkDgCpaActivityReportRpcResult 释放TaobaoTbkDgCpaActivityReportRpcResult

func ReleaseTaobaoTbkDgMaterialOptionalAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgMaterialOptionalAPIRequest(v *TaobaoTbkDgMaterialOptionalAPIRequest)

ReleaseTaobaoTbkDgMaterialOptionalAPIRequest 将 TaobaoTbkDgMaterialOptionalAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgMaterialOptionalAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgMaterialOptionalAPIResponse(v *TaobaoTbkDgMaterialOptionalAPIResponse)

ReleaseTaobaoTbkDgMaterialOptionalAPIResponse 将 TaobaoTbkDgMaterialOptionalAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkDgMaterialOptionalMapData added in v1.3.4

func ReleaseTaobaoTbkDgMaterialOptionalMapData(v *TaobaoTbkDgMaterialOptionalMapData)

ReleaseTaobaoTbkDgMaterialOptionalMapData 释放TaobaoTbkDgMaterialOptionalMapData

func ReleaseTaobaoTbkDgNewuserOrderGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgNewuserOrderGetAPIRequest(v *TaobaoTbkDgNewuserOrderGetAPIRequest)

ReleaseTaobaoTbkDgNewuserOrderGetAPIRequest 将 TaobaoTbkDgNewuserOrderGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgNewuserOrderGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgNewuserOrderGetAPIResponse(v *TaobaoTbkDgNewuserOrderGetAPIResponse)

ReleaseTaobaoTbkDgNewuserOrderGetAPIResponse 将 TaobaoTbkDgNewuserOrderGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkDgNewuserOrderGetData added in v1.3.4

func ReleaseTaobaoTbkDgNewuserOrderGetData(v *TaobaoTbkDgNewuserOrderGetData)

ReleaseTaobaoTbkDgNewuserOrderGetData 释放TaobaoTbkDgNewuserOrderGetData

func ReleaseTaobaoTbkDgNewuserOrderGetMapData added in v1.3.4

func ReleaseTaobaoTbkDgNewuserOrderGetMapData(v *TaobaoTbkDgNewuserOrderGetMapData)

ReleaseTaobaoTbkDgNewuserOrderGetMapData 释放TaobaoTbkDgNewuserOrderGetMapData

func ReleaseTaobaoTbkDgNewuserOrderGetResults added in v1.3.4

func ReleaseTaobaoTbkDgNewuserOrderGetResults(v *TaobaoTbkDgNewuserOrderGetResults)

ReleaseTaobaoTbkDgNewuserOrderGetResults 释放TaobaoTbkDgNewuserOrderGetResults

func ReleaseTaobaoTbkDgNewuserOrderSumAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgNewuserOrderSumAPIRequest(v *TaobaoTbkDgNewuserOrderSumAPIRequest)

ReleaseTaobaoTbkDgNewuserOrderSumAPIRequest 将 TaobaoTbkDgNewuserOrderSumAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgNewuserOrderSumAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgNewuserOrderSumAPIResponse(v *TaobaoTbkDgNewuserOrderSumAPIResponse)

ReleaseTaobaoTbkDgNewuserOrderSumAPIResponse 将 TaobaoTbkDgNewuserOrderSumAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkDgNewuserOrderSumData added in v1.3.4

func ReleaseTaobaoTbkDgNewuserOrderSumData(v *TaobaoTbkDgNewuserOrderSumData)

ReleaseTaobaoTbkDgNewuserOrderSumData 释放TaobaoTbkDgNewuserOrderSumData

func ReleaseTaobaoTbkDgOptimusMaterialAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgOptimusMaterialAPIRequest(v *TaobaoTbkDgOptimusMaterialAPIRequest)

ReleaseTaobaoTbkDgOptimusMaterialAPIRequest 将 TaobaoTbkDgOptimusMaterialAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgOptimusMaterialAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgOptimusMaterialAPIResponse(v *TaobaoTbkDgOptimusMaterialAPIResponse)

ReleaseTaobaoTbkDgOptimusMaterialAPIResponse 将 TaobaoTbkDgOptimusMaterialAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkDgOptimusMaterialMapData added in v1.3.4

func ReleaseTaobaoTbkDgOptimusMaterialMapData(v *TaobaoTbkDgOptimusMaterialMapData)

ReleaseTaobaoTbkDgOptimusMaterialMapData 释放TaobaoTbkDgOptimusMaterialMapData

func ReleaseTaobaoTbkDgOptimusPromotionAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgOptimusPromotionAPIRequest(v *TaobaoTbkDgOptimusPromotionAPIRequest)

ReleaseTaobaoTbkDgOptimusPromotionAPIRequest 将 TaobaoTbkDgOptimusPromotionAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgOptimusPromotionAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgOptimusPromotionAPIResponse(v *TaobaoTbkDgOptimusPromotionAPIResponse)

ReleaseTaobaoTbkDgOptimusPromotionAPIResponse 将 TaobaoTbkDgOptimusPromotionAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkDgOptimusPromotionMapData added in v1.3.4

func ReleaseTaobaoTbkDgOptimusPromotionMapData(v *TaobaoTbkDgOptimusPromotionMapData)

ReleaseTaobaoTbkDgOptimusPromotionMapData 释放TaobaoTbkDgOptimusPromotionMapData

func ReleaseTaobaoTbkDgPunishOrderGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgPunishOrderGetAPIRequest(v *TaobaoTbkDgPunishOrderGetAPIRequest)

ReleaseTaobaoTbkDgPunishOrderGetAPIRequest 将 TaobaoTbkDgPunishOrderGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgPunishOrderGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgPunishOrderGetAPIResponse(v *TaobaoTbkDgPunishOrderGetAPIResponse)

ReleaseTaobaoTbkDgPunishOrderGetAPIResponse 将 TaobaoTbkDgPunishOrderGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkDgPunishOrderGetResult added in v1.3.4

func ReleaseTaobaoTbkDgPunishOrderGetResult(v *TaobaoTbkDgPunishOrderGetResult)

ReleaseTaobaoTbkDgPunishOrderGetResult 释放TaobaoTbkDgPunishOrderGetResult

func ReleaseTaobaoTbkDgPunishOrderGetRpcResult added in v1.3.4

func ReleaseTaobaoTbkDgPunishOrderGetRpcResult(v *TaobaoTbkDgPunishOrderGetRpcResult)

ReleaseTaobaoTbkDgPunishOrderGetRpcResult 释放TaobaoTbkDgPunishOrderGetRpcResult

func ReleaseTaobaoTbkDgTpwdReportGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgTpwdReportGetAPIRequest(v *TaobaoTbkDgTpwdReportGetAPIRequest)

ReleaseTaobaoTbkDgTpwdReportGetAPIRequest 将 TaobaoTbkDgTpwdReportGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgTpwdReportGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgTpwdReportGetAPIResponse(v *TaobaoTbkDgTpwdReportGetAPIResponse)

ReleaseTaobaoTbkDgTpwdReportGetAPIResponse 将 TaobaoTbkDgTpwdReportGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkDgTpwdReportGetMapData added in v1.3.4

func ReleaseTaobaoTbkDgTpwdReportGetMapData(v *TaobaoTbkDgTpwdReportGetMapData)

ReleaseTaobaoTbkDgTpwdReportGetMapData 释放TaobaoTbkDgTpwdReportGetMapData

func ReleaseTaobaoTbkDgTpwdRiskReportAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgTpwdRiskReportAPIRequest(v *TaobaoTbkDgTpwdRiskReportAPIRequest)

ReleaseTaobaoTbkDgTpwdRiskReportAPIRequest 将 TaobaoTbkDgTpwdRiskReportAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgTpwdRiskReportAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgTpwdRiskReportAPIResponse(v *TaobaoTbkDgTpwdRiskReportAPIResponse)

ReleaseTaobaoTbkDgTpwdRiskReportAPIResponse 将 TaobaoTbkDgTpwdRiskReportAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkDgTpwdRiskReportResult added in v1.3.4

func ReleaseTaobaoTbkDgTpwdRiskReportResult(v *TaobaoTbkDgTpwdRiskReportResult)

ReleaseTaobaoTbkDgTpwdRiskReportResult 释放TaobaoTbkDgTpwdRiskReportResult

func ReleaseTaobaoTbkDgVegasSendReportAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgVegasSendReportAPIRequest(v *TaobaoTbkDgVegasSendReportAPIRequest)

ReleaseTaobaoTbkDgVegasSendReportAPIRequest 将 TaobaoTbkDgVegasSendReportAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgVegasSendReportAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgVegasSendReportAPIResponse(v *TaobaoTbkDgVegasSendReportAPIResponse)

ReleaseTaobaoTbkDgVegasSendReportAPIResponse 将 TaobaoTbkDgVegasSendReportAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkDgVegasSendReportResult added in v1.3.4

func ReleaseTaobaoTbkDgVegasSendReportResult(v *TaobaoTbkDgVegasSendReportResult)

ReleaseTaobaoTbkDgVegasSendReportResult 释放TaobaoTbkDgVegasSendReportResult

func ReleaseTaobaoTbkDgVegasSendStatusAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgVegasSendStatusAPIRequest(v *TaobaoTbkDgVegasSendStatusAPIRequest)

ReleaseTaobaoTbkDgVegasSendStatusAPIRequest 将 TaobaoTbkDgVegasSendStatusAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgVegasSendStatusAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgVegasSendStatusAPIResponse(v *TaobaoTbkDgVegasSendStatusAPIResponse)

ReleaseTaobaoTbkDgVegasSendStatusAPIResponse 将 TaobaoTbkDgVegasSendStatusAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkDgVegasSendStatusData added in v1.3.4

func ReleaseTaobaoTbkDgVegasSendStatusData(v *TaobaoTbkDgVegasSendStatusData)

ReleaseTaobaoTbkDgVegasSendStatusData 释放TaobaoTbkDgVegasSendStatusData

func ReleaseTaobaoTbkDgVegasSendStatusMapData added in v1.3.4

func ReleaseTaobaoTbkDgVegasSendStatusMapData(v *TaobaoTbkDgVegasSendStatusMapData)

ReleaseTaobaoTbkDgVegasSendStatusMapData 释放TaobaoTbkDgVegasSendStatusMapData

func ReleaseTaobaoTbkDgVegasTljCreateAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgVegasTljCreateAPIRequest(v *TaobaoTbkDgVegasTljCreateAPIRequest)

ReleaseTaobaoTbkDgVegasTljCreateAPIRequest 将 TaobaoTbkDgVegasTljCreateAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgVegasTljCreateAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgVegasTljCreateAPIResponse(v *TaobaoTbkDgVegasTljCreateAPIResponse)

ReleaseTaobaoTbkDgVegasTljCreateAPIResponse 将 TaobaoTbkDgVegasTljCreateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkDgVegasTljCreateResult added in v1.3.4

func ReleaseTaobaoTbkDgVegasTljCreateResult(v *TaobaoTbkDgVegasTljCreateResult)

ReleaseTaobaoTbkDgVegasTljCreateResult 释放TaobaoTbkDgVegasTljCreateResult

func ReleaseTaobaoTbkDgVegasTljReportAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgVegasTljReportAPIRequest(v *TaobaoTbkDgVegasTljReportAPIRequest)

ReleaseTaobaoTbkDgVegasTljReportAPIRequest 将 TaobaoTbkDgVegasTljReportAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgVegasTljReportAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgVegasTljReportAPIResponse(v *TaobaoTbkDgVegasTljReportAPIResponse)

ReleaseTaobaoTbkDgVegasTljReportAPIResponse 将 TaobaoTbkDgVegasTljReportAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkDgVegasTljStopAPIRequest added in v1.3.4

func ReleaseTaobaoTbkDgVegasTljStopAPIRequest(v *TaobaoTbkDgVegasTljStopAPIRequest)

ReleaseTaobaoTbkDgVegasTljStopAPIRequest 将 TaobaoTbkDgVegasTljStopAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkDgVegasTljStopAPIResponse added in v1.3.4

func ReleaseTaobaoTbkDgVegasTljStopAPIResponse(v *TaobaoTbkDgVegasTljStopAPIResponse)

ReleaseTaobaoTbkDgVegasTljStopAPIResponse 将 TaobaoTbkDgVegasTljStopAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkItemInfoGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkItemInfoGetAPIRequest(v *TaobaoTbkItemInfoGetAPIRequest)

ReleaseTaobaoTbkItemInfoGetAPIRequest 将 TaobaoTbkItemInfoGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkItemInfoGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkItemInfoGetAPIResponse(v *TaobaoTbkItemInfoGetAPIResponse)

ReleaseTaobaoTbkItemInfoGetAPIResponse 将 TaobaoTbkItemInfoGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkOrderDetailsGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkOrderDetailsGetAPIRequest(v *TaobaoTbkOrderDetailsGetAPIRequest)

ReleaseTaobaoTbkOrderDetailsGetAPIRequest 将 TaobaoTbkOrderDetailsGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkOrderDetailsGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkOrderDetailsGetAPIResponse(v *TaobaoTbkOrderDetailsGetAPIResponse)

ReleaseTaobaoTbkOrderDetailsGetAPIResponse 将 TaobaoTbkOrderDetailsGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkOrderRefundGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkOrderRefundGetAPIRequest(v *TaobaoTbkOrderRefundGetAPIRequest)

ReleaseTaobaoTbkOrderRefundGetAPIRequest 将 TaobaoTbkOrderRefundGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkOrderRefundGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkOrderRefundGetAPIResponse(v *TaobaoTbkOrderRefundGetAPIResponse)

ReleaseTaobaoTbkOrderRefundGetAPIResponse 将 TaobaoTbkOrderRefundGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkPrivilegeGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkPrivilegeGetAPIRequest(v *TaobaoTbkPrivilegeGetAPIRequest)

ReleaseTaobaoTbkPrivilegeGetAPIRequest 将 TaobaoTbkPrivilegeGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkPrivilegeGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkPrivilegeGetAPIResponse(v *TaobaoTbkPrivilegeGetAPIResponse)

ReleaseTaobaoTbkPrivilegeGetAPIResponse 将 TaobaoTbkPrivilegeGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkPrivilegeGetRpcResult added in v1.3.4

func ReleaseTaobaoTbkPrivilegeGetRpcResult(v *TaobaoTbkPrivilegeGetRpcResult)

ReleaseTaobaoTbkPrivilegeGetRpcResult 释放TaobaoTbkPrivilegeGetRpcResult

func ReleaseTaobaoTbkRelationRefundAPIRequest added in v1.3.4

func ReleaseTaobaoTbkRelationRefundAPIRequest(v *TaobaoTbkRelationRefundAPIRequest)

ReleaseTaobaoTbkRelationRefundAPIRequest 将 TaobaoTbkRelationRefundAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkRelationRefundAPIResponse added in v1.3.4

func ReleaseTaobaoTbkRelationRefundAPIResponse(v *TaobaoTbkRelationRefundAPIResponse)

ReleaseTaobaoTbkRelationRefundAPIResponse 将 TaobaoTbkRelationRefundAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkRelationRefundResult added in v1.3.4

func ReleaseTaobaoTbkRelationRefundResult(v *TaobaoTbkRelationRefundResult)

ReleaseTaobaoTbkRelationRefundResult 释放TaobaoTbkRelationRefundResult

func ReleaseTaobaoTbkRelationRefundRpcResult added in v1.3.4

func ReleaseTaobaoTbkRelationRefundRpcResult(v *TaobaoTbkRelationRefundRpcResult)

ReleaseTaobaoTbkRelationRefundRpcResult 释放TaobaoTbkRelationRefundRpcResult

func ReleaseTaobaoTbkRtaConsumerMatchAPIRequest added in v1.3.4

func ReleaseTaobaoTbkRtaConsumerMatchAPIRequest(v *TaobaoTbkRtaConsumerMatchAPIRequest)

ReleaseTaobaoTbkRtaConsumerMatchAPIRequest 将 TaobaoTbkRtaConsumerMatchAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkRtaConsumerMatchAPIResponse added in v1.3.4

func ReleaseTaobaoTbkRtaConsumerMatchAPIResponse(v *TaobaoTbkRtaConsumerMatchAPIResponse)

ReleaseTaobaoTbkRtaConsumerMatchAPIResponse 将 TaobaoTbkRtaConsumerMatchAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkRtaConsumerMatchData added in v1.3.4

func ReleaseTaobaoTbkRtaConsumerMatchData(v *TaobaoTbkRtaConsumerMatchData)

ReleaseTaobaoTbkRtaConsumerMatchData 释放TaobaoTbkRtaConsumerMatchData

func ReleaseTaobaoTbkScActivityInfoGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScActivityInfoGetAPIRequest(v *TaobaoTbkScActivityInfoGetAPIRequest)

ReleaseTaobaoTbkScActivityInfoGetAPIRequest 将 TaobaoTbkScActivityInfoGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScActivityInfoGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScActivityInfoGetAPIResponse(v *TaobaoTbkScActivityInfoGetAPIResponse)

ReleaseTaobaoTbkScActivityInfoGetAPIResponse 将 TaobaoTbkScActivityInfoGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScActivityInfoGetData added in v1.3.4

func ReleaseTaobaoTbkScActivityInfoGetData(v *TaobaoTbkScActivityInfoGetData)

ReleaseTaobaoTbkScActivityInfoGetData 释放TaobaoTbkScActivityInfoGetData

func ReleaseTaobaoTbkScAdzoneCreateAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScAdzoneCreateAPIRequest(v *TaobaoTbkScAdzoneCreateAPIRequest)

ReleaseTaobaoTbkScAdzoneCreateAPIRequest 将 TaobaoTbkScAdzoneCreateAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScAdzoneCreateAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScAdzoneCreateAPIResponse(v *TaobaoTbkScAdzoneCreateAPIResponse)

ReleaseTaobaoTbkScAdzoneCreateAPIResponse 将 TaobaoTbkScAdzoneCreateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScAdzoneCreateMapData added in v1.3.4

func ReleaseTaobaoTbkScAdzoneCreateMapData(v *TaobaoTbkScAdzoneCreateMapData)

ReleaseTaobaoTbkScAdzoneCreateMapData 释放TaobaoTbkScAdzoneCreateMapData

func ReleaseTaobaoTbkScInvitecodeGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScInvitecodeGetAPIRequest(v *TaobaoTbkScInvitecodeGetAPIRequest)

ReleaseTaobaoTbkScInvitecodeGetAPIRequest 将 TaobaoTbkScInvitecodeGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScInvitecodeGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScInvitecodeGetAPIResponse(v *TaobaoTbkScInvitecodeGetAPIResponse)

ReleaseTaobaoTbkScInvitecodeGetAPIResponse 将 TaobaoTbkScInvitecodeGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScInvitecodeGetData added in v1.3.4

func ReleaseTaobaoTbkScInvitecodeGetData(v *TaobaoTbkScInvitecodeGetData)

ReleaseTaobaoTbkScInvitecodeGetData 释放TaobaoTbkScInvitecodeGetData

func ReleaseTaobaoTbkScMaterialOptionalAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScMaterialOptionalAPIRequest(v *TaobaoTbkScMaterialOptionalAPIRequest)

ReleaseTaobaoTbkScMaterialOptionalAPIRequest 将 TaobaoTbkScMaterialOptionalAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScMaterialOptionalAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScMaterialOptionalAPIResponse(v *TaobaoTbkScMaterialOptionalAPIResponse)

ReleaseTaobaoTbkScMaterialOptionalAPIResponse 将 TaobaoTbkScMaterialOptionalAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScMaterialOptionalMapData added in v1.3.4

func ReleaseTaobaoTbkScMaterialOptionalMapData(v *TaobaoTbkScMaterialOptionalMapData)

ReleaseTaobaoTbkScMaterialOptionalMapData 释放TaobaoTbkScMaterialOptionalMapData

func ReleaseTaobaoTbkScMembergroupOptionalAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScMembergroupOptionalAPIRequest(v *TaobaoTbkScMembergroupOptionalAPIRequest)

ReleaseTaobaoTbkScMembergroupOptionalAPIRequest 将 TaobaoTbkScMembergroupOptionalAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScMembergroupOptionalAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScMembergroupOptionalAPIResponse(v *TaobaoTbkScMembergroupOptionalAPIResponse)

ReleaseTaobaoTbkScMembergroupOptionalAPIResponse 将 TaobaoTbkScMembergroupOptionalAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScMembergroupOptionalMapData added in v1.3.4

func ReleaseTaobaoTbkScMembergroupOptionalMapData(v *TaobaoTbkScMembergroupOptionalMapData)

ReleaseTaobaoTbkScMembergroupOptionalMapData 释放TaobaoTbkScMembergroupOptionalMapData

func ReleaseTaobaoTbkScOptimusMaterialAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScOptimusMaterialAPIRequest(v *TaobaoTbkScOptimusMaterialAPIRequest)

ReleaseTaobaoTbkScOptimusMaterialAPIRequest 将 TaobaoTbkScOptimusMaterialAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScOptimusMaterialAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScOptimusMaterialAPIResponse(v *TaobaoTbkScOptimusMaterialAPIResponse)

ReleaseTaobaoTbkScOptimusMaterialAPIResponse 将 TaobaoTbkScOptimusMaterialAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScOptimusMaterialMapData added in v1.3.4

func ReleaseTaobaoTbkScOptimusMaterialMapData(v *TaobaoTbkScOptimusMaterialMapData)

ReleaseTaobaoTbkScOptimusMaterialMapData 释放TaobaoTbkScOptimusMaterialMapData

func ReleaseTaobaoTbkScOptimusPromotionAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScOptimusPromotionAPIRequest(v *TaobaoTbkScOptimusPromotionAPIRequest)

ReleaseTaobaoTbkScOptimusPromotionAPIRequest 将 TaobaoTbkScOptimusPromotionAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScOptimusPromotionAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScOptimusPromotionAPIResponse(v *TaobaoTbkScOptimusPromotionAPIResponse)

ReleaseTaobaoTbkScOptimusPromotionAPIResponse 将 TaobaoTbkScOptimusPromotionAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScOptimusPromotionMapData added in v1.3.4

func ReleaseTaobaoTbkScOptimusPromotionMapData(v *TaobaoTbkScOptimusPromotionMapData)

ReleaseTaobaoTbkScOptimusPromotionMapData 释放TaobaoTbkScOptimusPromotionMapData

func ReleaseTaobaoTbkScOrderDetailsGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScOrderDetailsGetAPIRequest(v *TaobaoTbkScOrderDetailsGetAPIRequest)

ReleaseTaobaoTbkScOrderDetailsGetAPIRequest 将 TaobaoTbkScOrderDetailsGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScOrderDetailsGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScOrderDetailsGetAPIResponse(v *TaobaoTbkScOrderDetailsGetAPIResponse)

ReleaseTaobaoTbkScOrderDetailsGetAPIResponse 将 TaobaoTbkScOrderDetailsGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScPublisherInfoGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScPublisherInfoGetAPIRequest(v *TaobaoTbkScPublisherInfoGetAPIRequest)

ReleaseTaobaoTbkScPublisherInfoGetAPIRequest 将 TaobaoTbkScPublisherInfoGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScPublisherInfoGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScPublisherInfoGetAPIResponse(v *TaobaoTbkScPublisherInfoGetAPIResponse)

ReleaseTaobaoTbkScPublisherInfoGetAPIResponse 将 TaobaoTbkScPublisherInfoGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScPublisherInfoGetData added in v1.3.4

func ReleaseTaobaoTbkScPublisherInfoGetData(v *TaobaoTbkScPublisherInfoGetData)

ReleaseTaobaoTbkScPublisherInfoGetData 释放TaobaoTbkScPublisherInfoGetData

func ReleaseTaobaoTbkScPublisherInfoGetMapData added in v1.3.4

func ReleaseTaobaoTbkScPublisherInfoGetMapData(v *TaobaoTbkScPublisherInfoGetMapData)

ReleaseTaobaoTbkScPublisherInfoGetMapData 释放TaobaoTbkScPublisherInfoGetMapData

func ReleaseTaobaoTbkScPublisherInfoSaveAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScPublisherInfoSaveAPIRequest(v *TaobaoTbkScPublisherInfoSaveAPIRequest)

ReleaseTaobaoTbkScPublisherInfoSaveAPIRequest 将 TaobaoTbkScPublisherInfoSaveAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScPublisherInfoSaveAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScPublisherInfoSaveAPIResponse(v *TaobaoTbkScPublisherInfoSaveAPIResponse)

ReleaseTaobaoTbkScPublisherInfoSaveAPIResponse 将 TaobaoTbkScPublisherInfoSaveAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScPublisherInfoSaveData added in v1.3.4

func ReleaseTaobaoTbkScPublisherInfoSaveData(v *TaobaoTbkScPublisherInfoSaveData)

ReleaseTaobaoTbkScPublisherInfoSaveData 释放TaobaoTbkScPublisherInfoSaveData

func ReleaseTaobaoTbkScPunishOrderGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScPunishOrderGetAPIRequest(v *TaobaoTbkScPunishOrderGetAPIRequest)

ReleaseTaobaoTbkScPunishOrderGetAPIRequest 将 TaobaoTbkScPunishOrderGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScPunishOrderGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScPunishOrderGetAPIResponse(v *TaobaoTbkScPunishOrderGetAPIResponse)

ReleaseTaobaoTbkScPunishOrderGetAPIResponse 将 TaobaoTbkScPunishOrderGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScPunishOrderGetResult added in v1.3.4

func ReleaseTaobaoTbkScPunishOrderGetResult(v *TaobaoTbkScPunishOrderGetResult)

ReleaseTaobaoTbkScPunishOrderGetResult 释放TaobaoTbkScPunishOrderGetResult

func ReleaseTaobaoTbkScPunishOrderGetRpcResult added in v1.3.4

func ReleaseTaobaoTbkScPunishOrderGetRpcResult(v *TaobaoTbkScPunishOrderGetRpcResult)

ReleaseTaobaoTbkScPunishOrderGetRpcResult 释放TaobaoTbkScPunishOrderGetRpcResult

func ReleaseTaobaoTbkScRelationRecordAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScRelationRecordAPIRequest(v *TaobaoTbkScRelationRecordAPIRequest)

ReleaseTaobaoTbkScRelationRecordAPIRequest 将 TaobaoTbkScRelationRecordAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScRelationRecordAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScRelationRecordAPIResponse(v *TaobaoTbkScRelationRecordAPIResponse)

ReleaseTaobaoTbkScRelationRecordAPIResponse 将 TaobaoTbkScRelationRecordAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScRelationRecordMapData added in v1.3.4

func ReleaseTaobaoTbkScRelationRecordMapData(v *TaobaoTbkScRelationRecordMapData)

ReleaseTaobaoTbkScRelationRecordMapData 释放TaobaoTbkScRelationRecordMapData

func ReleaseTaobaoTbkScRelationRefundAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScRelationRefundAPIRequest(v *TaobaoTbkScRelationRefundAPIRequest)

ReleaseTaobaoTbkScRelationRefundAPIRequest 将 TaobaoTbkScRelationRefundAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScRelationRefundAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScRelationRefundAPIResponse(v *TaobaoTbkScRelationRefundAPIResponse)

ReleaseTaobaoTbkScRelationRefundAPIResponse 将 TaobaoTbkScRelationRefundAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScRelationRefundResult added in v1.3.4

func ReleaseTaobaoTbkScRelationRefundResult(v *TaobaoTbkScRelationRefundResult)

ReleaseTaobaoTbkScRelationRefundResult 释放TaobaoTbkScRelationRefundResult

func ReleaseTaobaoTbkScRelationRefundRpcResult added in v1.3.4

func ReleaseTaobaoTbkScRelationRefundRpcResult(v *TaobaoTbkScRelationRefundRpcResult)

ReleaseTaobaoTbkScRelationRefundRpcResult 释放TaobaoTbkScRelationRefundRpcResult

func ReleaseTaobaoTbkScShopConvertAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScShopConvertAPIRequest(v *TaobaoTbkScShopConvertAPIRequest)

ReleaseTaobaoTbkScShopConvertAPIRequest 将 TaobaoTbkScShopConvertAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScShopConvertAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScShopConvertAPIResponse(v *TaobaoTbkScShopConvertAPIResponse)

ReleaseTaobaoTbkScShopConvertAPIResponse 将 TaobaoTbkScShopConvertAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScTpwdConvertAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScTpwdConvertAPIRequest(v *TaobaoTbkScTpwdConvertAPIRequest)

ReleaseTaobaoTbkScTpwdConvertAPIRequest 将 TaobaoTbkScTpwdConvertAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScTpwdConvertAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScTpwdConvertAPIResponse(v *TaobaoTbkScTpwdConvertAPIResponse)

ReleaseTaobaoTbkScTpwdConvertAPIResponse 将 TaobaoTbkScTpwdConvertAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScTpwdConvertMapData added in v1.3.4

func ReleaseTaobaoTbkScTpwdConvertMapData(v *TaobaoTbkScTpwdConvertMapData)

ReleaseTaobaoTbkScTpwdConvertMapData 释放TaobaoTbkScTpwdConvertMapData

func ReleaseTaobaoTbkScUcrowdCreateAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScUcrowdCreateAPIRequest(v *TaobaoTbkScUcrowdCreateAPIRequest)

ReleaseTaobaoTbkScUcrowdCreateAPIRequest 将 TaobaoTbkScUcrowdCreateAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScUcrowdCreateAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScUcrowdCreateAPIResponse(v *TaobaoTbkScUcrowdCreateAPIResponse)

ReleaseTaobaoTbkScUcrowdCreateAPIResponse 将 TaobaoTbkScUcrowdCreateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScUcrowdCreateRpcResult added in v1.3.4

func ReleaseTaobaoTbkScUcrowdCreateRpcResult(v *TaobaoTbkScUcrowdCreateRpcResult)

ReleaseTaobaoTbkScUcrowdCreateRpcResult 释放TaobaoTbkScUcrowdCreateRpcResult

func ReleaseTaobaoTbkScUcrowdDeleteAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScUcrowdDeleteAPIRequest(v *TaobaoTbkScUcrowdDeleteAPIRequest)

ReleaseTaobaoTbkScUcrowdDeleteAPIRequest 将 TaobaoTbkScUcrowdDeleteAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScUcrowdDeleteAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScUcrowdDeleteAPIResponse(v *TaobaoTbkScUcrowdDeleteAPIResponse)

ReleaseTaobaoTbkScUcrowdDeleteAPIResponse 将 TaobaoTbkScUcrowdDeleteAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScUcrowdDeleteRpcResult added in v1.3.4

func ReleaseTaobaoTbkScUcrowdDeleteRpcResult(v *TaobaoTbkScUcrowdDeleteRpcResult)

ReleaseTaobaoTbkScUcrowdDeleteRpcResult 释放TaobaoTbkScUcrowdDeleteRpcResult

func ReleaseTaobaoTbkScUcrowdGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScUcrowdGetAPIRequest(v *TaobaoTbkScUcrowdGetAPIRequest)

ReleaseTaobaoTbkScUcrowdGetAPIRequest 将 TaobaoTbkScUcrowdGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScUcrowdGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScUcrowdGetAPIResponse(v *TaobaoTbkScUcrowdGetAPIResponse)

ReleaseTaobaoTbkScUcrowdGetAPIResponse 将 TaobaoTbkScUcrowdGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScUcrowdGetRpcResult added in v1.3.4

func ReleaseTaobaoTbkScUcrowdGetRpcResult(v *TaobaoTbkScUcrowdGetRpcResult)

ReleaseTaobaoTbkScUcrowdGetRpcResult 释放TaobaoTbkScUcrowdGetRpcResult

func ReleaseTaobaoTbkScUcrowdMemberAddAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScUcrowdMemberAddAPIRequest(v *TaobaoTbkScUcrowdMemberAddAPIRequest)

ReleaseTaobaoTbkScUcrowdMemberAddAPIRequest 将 TaobaoTbkScUcrowdMemberAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScUcrowdMemberAddAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScUcrowdMemberAddAPIResponse(v *TaobaoTbkScUcrowdMemberAddAPIResponse)

ReleaseTaobaoTbkScUcrowdMemberAddAPIResponse 将 TaobaoTbkScUcrowdMemberAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScUcrowdMemberAddRpcResult added in v1.3.4

func ReleaseTaobaoTbkScUcrowdMemberAddRpcResult(v *TaobaoTbkScUcrowdMemberAddRpcResult)

ReleaseTaobaoTbkScUcrowdMemberAddRpcResult 释放TaobaoTbkScUcrowdMemberAddRpcResult

func ReleaseTaobaoTbkScUcrowdReportGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScUcrowdReportGetAPIRequest(v *TaobaoTbkScUcrowdReportGetAPIRequest)

ReleaseTaobaoTbkScUcrowdReportGetAPIRequest 将 TaobaoTbkScUcrowdReportGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScUcrowdReportGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScUcrowdReportGetAPIResponse(v *TaobaoTbkScUcrowdReportGetAPIResponse)

ReleaseTaobaoTbkScUcrowdReportGetAPIResponse 将 TaobaoTbkScUcrowdReportGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScUcrowdReportGetRpcResult added in v1.3.4

func ReleaseTaobaoTbkScUcrowdReportGetRpcResult(v *TaobaoTbkScUcrowdReportGetRpcResult)

ReleaseTaobaoTbkScUcrowdReportGetRpcResult 释放TaobaoTbkScUcrowdReportGetRpcResult

func ReleaseTaobaoTbkScVegasSendReportAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScVegasSendReportAPIRequest(v *TaobaoTbkScVegasSendReportAPIRequest)

ReleaseTaobaoTbkScVegasSendReportAPIRequest 将 TaobaoTbkScVegasSendReportAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScVegasSendReportAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScVegasSendReportAPIResponse(v *TaobaoTbkScVegasSendReportAPIResponse)

ReleaseTaobaoTbkScVegasSendReportAPIResponse 将 TaobaoTbkScVegasSendReportAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScVegasSendReportResult added in v1.3.4

func ReleaseTaobaoTbkScVegasSendReportResult(v *TaobaoTbkScVegasSendReportResult)

ReleaseTaobaoTbkScVegasSendReportResult 释放TaobaoTbkScVegasSendReportResult

func ReleaseTaobaoTbkScVegasSendStatusAPIRequest added in v1.3.4

func ReleaseTaobaoTbkScVegasSendStatusAPIRequest(v *TaobaoTbkScVegasSendStatusAPIRequest)

ReleaseTaobaoTbkScVegasSendStatusAPIRequest 将 TaobaoTbkScVegasSendStatusAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkScVegasSendStatusAPIResponse added in v1.3.4

func ReleaseTaobaoTbkScVegasSendStatusAPIResponse(v *TaobaoTbkScVegasSendStatusAPIResponse)

ReleaseTaobaoTbkScVegasSendStatusAPIResponse 将 TaobaoTbkScVegasSendStatusAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkScVegasSendStatusData added in v1.3.4

func ReleaseTaobaoTbkScVegasSendStatusData(v *TaobaoTbkScVegasSendStatusData)

ReleaseTaobaoTbkScVegasSendStatusData 释放TaobaoTbkScVegasSendStatusData

func ReleaseTaobaoTbkScVegasSendStatusMapData added in v1.3.4

func ReleaseTaobaoTbkScVegasSendStatusMapData(v *TaobaoTbkScVegasSendStatusMapData)

ReleaseTaobaoTbkScVegasSendStatusMapData 释放TaobaoTbkScVegasSendStatusMapData

func ReleaseTaobaoTbkShopGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkShopGetAPIRequest(v *TaobaoTbkShopGetAPIRequest)

ReleaseTaobaoTbkShopGetAPIRequest 将 TaobaoTbkShopGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkShopGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkShopGetAPIResponse(v *TaobaoTbkShopGetAPIResponse)

ReleaseTaobaoTbkShopGetAPIResponse 将 TaobaoTbkShopGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkShopRecommendGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkShopRecommendGetAPIRequest(v *TaobaoTbkShopRecommendGetAPIRequest)

ReleaseTaobaoTbkShopRecommendGetAPIRequest 将 TaobaoTbkShopRecommendGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkShopRecommendGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkShopRecommendGetAPIResponse(v *TaobaoTbkShopRecommendGetAPIResponse)

ReleaseTaobaoTbkShopRecommendGetAPIResponse 将 TaobaoTbkShopRecommendGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkSkuBestCouponAPIRequest added in v1.3.4

func ReleaseTaobaoTbkSkuBestCouponAPIRequest(v *TaobaoTbkSkuBestCouponAPIRequest)

ReleaseTaobaoTbkSkuBestCouponAPIRequest 将 TaobaoTbkSkuBestCouponAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkSkuBestCouponAPIResponse added in v1.3.4

func ReleaseTaobaoTbkSkuBestCouponAPIResponse(v *TaobaoTbkSkuBestCouponAPIResponse)

ReleaseTaobaoTbkSkuBestCouponAPIResponse 将 TaobaoTbkSkuBestCouponAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkSkuBestCouponMapData added in v1.3.4

func ReleaseTaobaoTbkSkuBestCouponMapData(v *TaobaoTbkSkuBestCouponMapData)

ReleaseTaobaoTbkSkuBestCouponMapData 释放TaobaoTbkSkuBestCouponMapData

func ReleaseTaobaoTbkSpreadGetAPIRequest added in v1.3.4

func ReleaseTaobaoTbkSpreadGetAPIRequest(v *TaobaoTbkSpreadGetAPIRequest)

ReleaseTaobaoTbkSpreadGetAPIRequest 将 TaobaoTbkSpreadGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkSpreadGetAPIResponse added in v1.3.4

func ReleaseTaobaoTbkSpreadGetAPIResponse(v *TaobaoTbkSpreadGetAPIResponse)

ReleaseTaobaoTbkSpreadGetAPIResponse 将 TaobaoTbkSpreadGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkTpwdCreateAPIRequest added in v1.3.4

func ReleaseTaobaoTbkTpwdCreateAPIRequest(v *TaobaoTbkTpwdCreateAPIRequest)

ReleaseTaobaoTbkTpwdCreateAPIRequest 将 TaobaoTbkTpwdCreateAPIRequest 放入 sync.Pool

func ReleaseTaobaoTbkTpwdCreateAPIResponse added in v1.3.4

func ReleaseTaobaoTbkTpwdCreateAPIResponse(v *TaobaoTbkTpwdCreateAPIResponse)

ReleaseTaobaoTbkTpwdCreateAPIResponse 将 TaobaoTbkTpwdCreateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoTbkTpwdCreateMapData added in v1.3.4

func ReleaseTaobaoTbkTpwdCreateMapData(v *TaobaoTbkTpwdCreateMapData)

ReleaseTaobaoTbkTpwdCreateMapData 释放TaobaoTbkTpwdCreateMapData

func ReleaseTbkSpread added in v1.3.4

func ReleaseTbkSpread(v *TbkSpread)

ReleaseTbkSpread 释放TbkSpread

func ReleaseTbkSpreadRequest added in v1.3.4

func ReleaseTbkSpreadRequest(v *TbkSpreadRequest)

ReleaseTbkSpreadRequest 释放TbkSpreadRequest

func ReleaseTopApiAfOrderOption added in v1.3.4

func ReleaseTopApiAfOrderOption(v *TopApiAfOrderOption)

ReleaseTopApiAfOrderOption 释放TopApiAfOrderOption

func ReleaseTopApiRefundRptOption added in v1.3.4

func ReleaseTopApiRefundRptOption(v *TopApiRefundRptOption)

ReleaseTopApiRefundRptOption 释放TopApiRefundRptOption

func ReleaseTopNInfoDto added in v1.3.4

func ReleaseTopNInfoDto(v *TopNInfoDto)

ReleaseTopNInfoDto 释放TopNInfoDto

func ReleaseUcrowdrankitems added in v1.3.4

func ReleaseUcrowdrankitems(v *Ucrowdrankitems)

ReleaseUcrowdrankitems 释放Ucrowdrankitems

func ReleaseUpdateStatusResult added in v1.3.4

func ReleaseUpdateStatusResult(v *UpdateStatusResult)

ReleaseUpdateStatusResult 释放UpdateStatusResult

func ReleaseUserRuleInfo added in v1.3.4

func ReleaseUserRuleInfo(v *UserRuleInfo)

ReleaseUserRuleInfo 释放UserRuleInfo

func ReleaseVegasCpaReportDto added in v1.3.4

func ReleaseVegasCpaReportDto(v *VegasCpaReportDto)

ReleaseVegasCpaReportDto 释放VegasCpaReportDto

func ReleaseWordMapData added in v1.3.4

func ReleaseWordMapData(v *WordMapData)

ReleaseWordMapData 释放WordMapData

func ReleaseYoujiacouponinfo added in v1.3.4

func ReleaseYoujiacouponinfo(v *Youjiacouponinfo)

ReleaseYoujiacouponinfo 释放Youjiacouponinfo

Types

type AlimmShareInfoDto added in v1.2.9

type AlimmShareInfoDto struct {
	// 技术服务费比率
	AlimmTechServiceRate float64 `json:"alimm_tech_service_rate,omitempty" xml:"alimm_tech_service_rate,omitempty"`
	// 预估技术服务费
	AlimmTechServicePreFee float64 `json:"alimm_tech_service_pre_fee,omitempty" xml:"alimm_tech_service_pre_fee,omitempty"`
	// 结算技术服务费
	AlimmTechServiceFee float64 `json:"alimm_tech_service_fee,omitempty" xml:"alimm_tech_service_fee,omitempty"`
	// 渠道专项服务费比率
	AlimmAgentServiceRate float64 `json:"alimm_agent_service_rate,omitempty" xml:"alimm_agent_service_rate,omitempty"`
	// 预估渠道专项服务费
	AlimmAgentServicePreFee float64 `json:"alimm_agent_service_pre_fee,omitempty" xml:"alimm_agent_service_pre_fee,omitempty"`
	// 结算渠道专项服务费
	AlimmAgentServiceFee float64 `json:"alimm_agent_service_fee,omitempty" xml:"alimm_agent_service_fee,omitempty"`
}

AlimmShareInfoDto 结构体

func GetAlimmShareInfoDto added in v1.3.4

func GetAlimmShareInfoDto() *AlimmShareInfoDto

GetAlimmShareInfoDto() 从对象池中获取AlimmShareInfoDto

type BybtInfoDto added in v1.2.5

type BybtInfoDto struct {
	// 百亿补贴商品特征标签,eg.今日发货、晚发补偿、限购一件等
	BybtItemTags []string `json:"bybt_item_tags,omitempty" xml:"bybt_item_tags>string,omitempty"`
	BybtBrandLogo string `json:"bybt_brand_logo,omitempty" xml:"bybt_brand_logo,omitempty"`
	// 百亿补贴白底图
	BybtPicUrl string `json:"bybt_pic_url,omitempty" xml:"bybt_pic_url,omitempty"`
	// 百亿补贴专属券面额,仅限百亿补贴场景透出
	BybtCouponAmount string `json:"bybt_coupon_amount,omitempty" xml:"bybt_coupon_amount,omitempty"`
	// 百亿补贴页面实时价
	BybtShowPrice string `json:"bybt_show_price,omitempty" xml:"bybt_show_price,omitempty"`
	// 全网对比参考价格
	BybtLowestPrice string `json:"bybt_lowest_price,omitempty" xml:"bybt_lowest_price,omitempty"`
	// 商品的百亿补贴开始时间
	BybtEndTime string `json:"bybt_end_time,omitempty" xml:"bybt_end_time,omitempty"`
	// 商品的百亿补贴结束时间
	BybtStartTime string `json:"bybt_start_time,omitempty" xml:"bybt_start_time,omitempty"`
}

BybtInfoDto 结构体

func GetBybtInfoDto added in v1.3.4

func GetBybtInfoDto() *BybtInfoDto

GetBybtInfoDto() 从对象池中获取BybtInfoDto

type CrowdDto added in v1.2.5

type CrowdDto struct {
	// 人群描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 外部人群编码
	ExternalCrowdCode string `json:"external_crowd_code,omitempty" xml:"external_crowd_code,omitempty"`
	// 人群标签名称
	UcrowdName string `json:"ucrowd_name,omitempty" xml:"ucrowd_name,omitempty"`
	// 更新时间
	UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"`
	// 创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 状态,0:待生效,1:生效,2:失效
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 人群类型,1:社群
	UcrowdType int64 `json:"ucrowd_type,omitempty" xml:"ucrowd_type,omitempty"`
	// 人群标签id
	UcrowdId int64 `json:"ucrowd_id,omitempty" xml:"ucrowd_id,omitempty"`
	// 覆盖会员数量
	MemberSize int64 `json:"member_size,omitempty" xml:"member_size,omitempty"`
}

CrowdDto 结构体

func GetCrowdDto added in v1.3.4

func GetCrowdDto() *CrowdDto

GetCrowdDto() 从对象池中获取CrowdDto

type DataMap added in v1.2.5

type DataMap struct {
	// 当入参不传pid的时候返回,表示账号关联的pid
	Pid string `json:"pid,omitempty" xml:"pid,omitempty"`
	// 当入参传入pid的时候返回,表示pid关联的relationId
	Rid string `json:"rid,omitempty" xml:"rid,omitempty"`
	// 0表示预警,1表示拦截,如果名单中同一个淘客同时有拦截和预警信息,以拦截为准
	Status string `json:"status,omitempty" xml:"status,omitempty"`
}

DataMap 结构体

func GetDataMap added in v1.3.4

func GetDataMap() *DataMap

GetDataMap() 从对象池中获取DataMap

type DwsUnionAppDto added in v1.2.5

type DwsUnionAppDto struct {
	// 付款预估收入。指买家付款金额为基数,预估您可能获得的收入。因买家退款等原因,可能与结算预估收入不一致
	PrePubShareFee string `json:"pre_pub_share_fee,omitempty" xml:"pre_pub_share_fee,omitempty"`
	// 支付金额
	AlipayAmt string `json:"alipay_amt,omitempty" xml:"alipay_amt,omitempty"`
	// 人群内成交人数
	AlipayUserNumInUcrowd int64 `json:"alipay_user_num_in_ucrowd,omitempty" xml:"alipay_user_num_in_ucrowd,omitempty"`
	// 支付人数
	AlipayUserNum int64 `json:"alipay_user_num,omitempty" xml:"alipay_user_num,omitempty"`
	// 支付订单数
	AlipayNum int64 `json:"alipay_num,omitempty" xml:"alipay_num,omitempty"`
	// 点击人数
	ClickUvUnion int64 `json:"click_uv_union,omitempty" xml:"click_uv_union,omitempty"`
	// 点击数
	ClickPvUnion int64 `json:"click_pv_union,omitempty" xml:"click_pv_union,omitempty"`
}

DwsUnionAppDto 结构体

func GetDwsUnionAppDto added in v1.3.4

func GetDwsUnionAppDto() *DwsUnionAppDto

GetDwsUnionAppDto() 从对象池中获取DwsUnionAppDto

type Extra added in v1.2.5

type Extra struct {
	// 领取率,领取淘礼金个数/创建淘礼金个数
	GetRate string `json:"get_rate,omitempty" xml:"get_rate,omitempty"`
	// 使用率,使用淘礼金个数/领取淘礼金个数
	UseRate string `json:"use_rate,omitempty" xml:"use_rate,omitempty"`
	// 引导付款金额,同一个红包,若因消费者付款使用后取消订单或退货退款,产生二次红包使用行为,引导付款笔数也会记录两单
	AlipayAmt string `json:"alipay_amt,omitempty" xml:"alipay_amt,omitempty"`
	// 付款佣金,下单付款,产生二次红包使用行为,会记录2次
	PrePubShareFeeForDisp string `json:"pre_pub_share_fee_for_disp,omitempty" xml:"pre_pub_share_fee_for_disp,omitempty"`
	// 结算佣金,确认收货,产生二次红包使用行为,会记录2次
	CmSettleAmt string `json:"cm_settle_amt,omitempty" xml:"cm_settle_amt,omitempty"`
	// 领取淘礼金金额
	WinSumAmt string `json:"win_sum_amt,omitempty" xml:"win_sum_amt,omitempty"`
	// 未领取金额,过了领取有效期或者暂停后没有被领取的红包金额
	RemainingAmt string `json:"remaining_amt,omitempty" xml:"remaining_amt,omitempty"`
	// 使用淘礼金金额,若红包被重复使用(1)淘礼金红包被拆分,并且产生部分退款,会保留部分退款的订单淘礼金金额;若全部退款,会保留订单全部淘礼金金额),因此,已使用金额可能大于消费者实际使用金额(使用红包后,若产生红包退回后再次使用,已使用金额会被二次计算,已使用数量不会)
	UseSumAmt string `json:"use_sum_amt,omitempty" xml:"use_sum_amt,omitempty"`
	// 退款淘礼金金额,红包使用后,由于订单取消,退货退款等行为行为带来的淘礼金红包退回数量 (退款红包若产生多次使用,退款红包金额会被多次计算,退款红包数量单日内不重复计算,跨天重复计算)
	RefundSumAmt string `json:"refund_sum_amt,omitempty" xml:"refund_sum_amt,omitempty"`
	// 引导付款笔数,同一个红包,若因消费者付款使用后取消订单或退货退款,产生二次红包使用行为,引导付款笔数也会记录两单
	AlipayNum int64 `json:"alipay_num,omitempty" xml:"alipay_num,omitempty"`
	// 领取淘礼金个数
	WinPv int64 `json:"win_pv,omitempty" xml:"win_pv,omitempty"`
	// 未领取淘礼金个数,过了领取有效期或者暂停后没有被领取的红包个数
	RemainingNum int64 `json:"remaining_num,omitempty" xml:"remaining_num,omitempty"`
	// 使用淘礼金个数,同一个红包,若因消费者付款使用后取消订单或退货退款,产生二次红包使用行为,使用淘礼金个数一天内会去重,所以相当于不会重记
	UseNum int64 `json:"use_num,omitempty" xml:"use_num,omitempty"`
	// 退款淘礼金个数,红包使用后,由于订单取消,退货退款等行为带来的淘礼金红包退回数量,退款红包数量单日内不重复计算,跨天重复计算
	RefundNum int64 `json:"refund_num,omitempty" xml:"refund_num,omitempty"`
}

Extra 结构体

func GetExtra added in v1.3.4

func GetExtra() *Extra

GetExtra() 从对象池中获取Extra

type FavoritesDetail

type FavoritesDetail struct {
	// 选品库标题
	FavoritesTitle string `json:"favorites_title,omitempty" xml:"favorites_title,omitempty"`
	// 选品库id
	FavoritesId int64 `json:"favorites_id,omitempty" xml:"favorites_id,omitempty"`
}

FavoritesDetail 结构体

func GetFavoritesDetail added in v1.3.4

func GetFavoritesDetail() *FavoritesDetail

GetFavoritesDetail() 从对象池中获取FavoritesDetail

type FavoritesInfo

type FavoritesInfo struct {
	// 选品库详细信息
	FavoritesList []FavoritesDetail `json:"favorites_list,omitempty" xml:"favorites_list>favorites_detail,omitempty"`
	// 选品库总数量
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

FavoritesInfo 结构体

func GetFavoritesInfo added in v1.3.4

func GetFavoritesInfo() *FavoritesInfo

GetFavoritesInfo() 从对象池中获取FavoritesInfo

type InstanceDto added in v1.2.5

type InstanceDto struct {
	// extra
	Extra *Extra `json:"extra,omitempty" xml:"extra,omitempty"`
}

InstanceDto 结构体

func GetInstanceDto added in v1.3.4

func GetInstanceDto() *InstanceDto

GetInstanceDto() 从对象池中获取InstanceDto

type MaifanPromotionDto added in v1.2.5

type MaifanPromotionDto struct {
	// 猫超买返卡活动结束时间
	MaifanPromotionEndTime string `json:"maifan_promotion_end_time,omitempty" xml:"maifan_promotion_end_time,omitempty"`
	// 猫超买返卡活动开始时间
	MaifanPromotionStartTime string `json:"maifan_promotion_start_time,omitempty" xml:"maifan_promotion_start_time,omitempty"`
	// 猫超买返卡面额
	MaifanPromotionDiscount string `json:"maifan_promotion_discount,omitempty" xml:"maifan_promotion_discount,omitempty"`
	// 猫超买返卡总数,-1代表不限量,其他大于等于0的值为总数
	MaifanPromotionCondition string `json:"maifan_promotion_condition,omitempty" xml:"maifan_promotion_condition,omitempty"`
}

MaifanPromotionDto 结构体

func GetMaifanPromotionDto added in v1.3.4

func GetMaifanPromotionDto() *MaifanPromotionDto

GetMaifanPromotionDto() 从对象池中获取MaifanPromotionDto

type MaterialDto added in v1.2.5

type MaterialDto struct {
	// 优惠券面额
	CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,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"`
	// 商品优惠券推广链接
	CouponClickUrl string `json:"coupon_click_url,omitempty" xml:"coupon_click_url,omitempty"`
	// 当不入参special_id、relation_id、external_id时,展示常规佣金率(%)
	MaxCommissionRate string `json:"max_commission_rate,omitempty" xml:"max_commission_rate,omitempty"`
	// 商品淘客链接
	ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"`
	// 预售有礼-推广链接
	YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"`
	// 预售有礼-预估淘礼金(元)
	YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"`
	// 预售有礼-淘礼金发放时间
	YsylTljSendTime string `json:"ysyl_tlj_send_time,omitempty" xml:"ysyl_tlj_send_time,omitempty"`
	// 预售有礼-淘礼金使用开始时间
	YsylTljUseStartTime string `json:"ysyl_tlj_use_start_time,omitempty" xml:"ysyl_tlj_use_start_time,omitempty"`
	// 预售有礼-佣金比例(%)( 预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376
	YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"`
	// 预售有礼-淘礼金使用结束时间
	YsylTljUseEndTime string `json:"ysyl_tlj_use_end_time,omitempty" xml:"ysyl_tlj_use_end_time,omitempty"`
	// 当入参special_id、relation_id、external_id时,该字段展示预估最低佣金率(%)
	MinCommissionRate string `json:"min_commission_rate,omitempty" xml:"min_commission_rate,omitempty"`
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 转链成功的场景下,需要补充说明的信息
	ExtraInfo string `json:"extra_info,omitempty" xml:"extra_info,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"`
	// 优惠券(商品优惠券推广链接中的券)类型,1 公开券,2 私有券,3 妈妈券
	CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"`
	// 后台一级类目
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 比价场景专用,当系统检测到入参消费者ID购买当前商品会获得《天天开彩蛋》玩法的彩蛋时,该字段显示1,否则为0
	RewardInfo int64 `json:"reward_info,omitempty" xml:"reward_info,omitempty"`
	// 前N件佣金信息-当入参get_topn_rate=1,前N件佣金生效且最高,透出该组字段
	TopnInfo *StepRateDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"`
	// 小程序链接(暂未对外开放)
	MiniProgram *MiniProgramDto `json:"mini_program,omitempty" xml:"mini_program,omitempty"`
	// 计划类型,0代表通用计划,1代表定向计划,2代表鹊桥计划,3代表营销计划
	CampaignType int64 `json:"campaign_type,omitempty" xml:"campaign_type,omitempty"`
}

MaterialDto 结构体

func GetMaterialDto added in v1.3.4

func GetMaterialDto() *MaterialDto

GetMaterialDto() 从对象池中获取MaterialDto

type MiniProgramDto added in v1.2.5

type MiniProgramDto struct {
	// 小程序APPID
	MiniProgramAppid string `json:"mini_program_appid,omitempty" xml:"mini_program_appid,omitempty"`
	// 小程序路径
	MiniProgramPath string `json:"mini_program_path,omitempty" xml:"mini_program_path,omitempty"`
	// 小程序码url地址
	MiniProgramQrcodeUrl string `json:"mini_program_qrcode_url,omitempty" xml:"mini_program_qrcode_url,omitempty"`
}

MiniProgramDto 结构体

func GetMiniProgramDto added in v1.3.4

func GetMiniProgramDto() *MiniProgramDto

GetMiniProgramDto() 从对象池中获取MiniProgramDto

type NTbkItem

type NTbkItem struct {
	// 商品小图列表
	SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"`
	// 一级类目名称
	CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"`
	// 商品ID
	NumIid string `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"`
	// 商品一口价格
	ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"`
	// 折扣价(元) 若属于预售商品,付定金时间内,折扣价=预售价
	ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,omitempty"`
	// 商品所在地
	Provcity string `json:"provcity,omitempty" xml:"provcity,omitempty"`
	// 商品链接
	ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"`
	// 店铺名称
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 叶子类目名称
	CatLeafName string `json:"cat_leaf_name,omitempty" xml:"cat_leaf_name,omitempty"`
	// 商品库类型,支持多库类型输出,以英文逗号分隔“,”分隔,1:营销商品主推库,如果值为空则不属于1这种商品类型
	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"`
	// 预售商品-定金(元)
	PresaleDeposit string `json:"presale_deposit,omitempty" xml:"presale_deposit,omitempty"`
	// 1聚划算满减:满N件减X元,满N件X折,满N件X元)  2天猫限时抢:前N分钟每件X元,前N分钟满N件每件X元,前N件每件X元)
	PlayInfo string `json:"play_info,omitempty" xml:"play_info,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"`
	// 是否品牌精选,0不是,1是
	SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"`
	// 是否是热门商品,0不是,1是
	HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"`
	// 入参的(新)商品ID
	InputNumIid string `json:"input_num_iid,omitempty" xml:"input_num_iid,omitempty"`
	// 卖家类型,0表示集市,1表示商城,3表示特价版
	UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"`
	// 卖家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 30天销量
	Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"`
	// 店铺dsr 评分
	ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"`
	// 卖家等级
	Ratesum int64 `json:"ratesum,omitempty" xml:"ratesum,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"`
	// 聚划算满减  -结束时间(毫秒)
	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"`
	// 天猫限时抢可售  -结束时间(毫秒)
	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"`
	// 是否加入消费者保障
	IsPrepay bool `json:"is_prepay,omitempty" xml:"is_prepay,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"`
}

NTbkItem 结构体

func GetNTbkItem added in v1.3.4

func GetNTbkItem() *NTbkItem

GetNTbkItem() 从对象池中获取NTbkItem

type NTbkShop

type NTbkShop struct {
	// 店铺推广链接
	ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"`
	// 店铺地址
	ShopUrl string `json:"shop_url,omitempty" xml:"shop_url,omitempty"`
	// 卖家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 店铺类型,B:天猫,C:淘宝
	ShopType string `json:"shop_type,omitempty" xml:"shop_type,omitempty"`
	// 店铺名称
	ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"`
	// 店标图片
	PictUrl string `json:"pict_url,omitempty" xml:"pict_url,omitempty"`
	// 卖家id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

NTbkShop 结构体

func GetNTbkShop added in v1.3.4

func GetNTbkShop() *NTbkShop

GetNTbkShop() 从对象池中获取NTbkShop

type OfferList added in v1.2.8

type OfferList struct {
	// 活动id
	OfferId string `json:"offer_id,omitempty" xml:"offer_id,omitempty"`
	// 淘礼金领取URL,不支持使用短链接
	TljUrl string `json:"tlj_url,omitempty" xml:"tlj_url,omitempty"`
	// 商品id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
}

OfferList 结构体

func GetOfferList added in v1.3.4

func GetOfferList() *OfferList

GetOfferList() 从对象池中获取OfferList

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

func GetOrderData added in v1.3.4

func GetOrderData() *OrderData

GetOrderData() 从对象池中获取OrderData

type OrderPage added in v1.2.3

type OrderPage struct {
	// PublisherOrderDto
	Results []PublisherOrderDto `json:"results,omitempty" xml:"results>publisher_order_dto,omitempty"`
	// 真正的业务数据结构
	Result []PublisherRefundOrderDto `json:"result,omitempty" xml:"result>publisher_refund_order_dto,omitempty"`
	// 位点字段,由调用方原样传递
	PositionIndex string `json:"position_index,omitempty" xml:"position_index,omitempty"`
	// 页码
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 上一页
	PrePage int64 `json:"pre_page,omitempty" xml:"pre_page,omitempty"`
	// 下一页
	NextPage int64 `json:"next_page,omitempty" xml:"next_page,omitempty"`
	// 是否还有上一页
	HasPre bool `json:"has_pre,omitempty" xml:"has_pre,omitempty"`
	// 是否还有下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

OrderPage 结构体

func GetOrderPage added in v1.3.4

func GetOrderPage() *OrderPage

GetOrderPage() 从对象池中获取OrderPage

type PageResult

type PageResult struct {
	// 数据结果
	Results []TaobaoTbkDgCpaActivityDetailResults `json:"results,omitempty" xml:"results>taobao_tbk_dg_cpa_activity_detail_results,omitempty"`
	// 数据批次号(时间戳)
	Runtime string `json:"runtime,omitempty" xml:"runtime,omitempty"`
	// 上一页页码
	PrePage int64 `json:"pre_page,omitempty" xml:"pre_page,omitempty"`
	// 下一页页码
	NextPage int64 `json:"next_page,omitempty" xml:"next_page,omitempty"`
	// 当前页码
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 总共页数
	TotalPages int64 `json:"total_pages,omitempty" xml:"total_pages,omitempty"`
	// 每页条数
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 总条数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 是否有下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
	// 是否有下一页
	HasPre bool `json:"has_pre,omitempty" xml:"has_pre,omitempty"`
}

PageResult 结构体

func GetPageResult added in v1.3.4

func GetPageResult() *PageResult

GetPageResult() 从对象池中获取PageResult

type PlatformSpecialShareInfoDto added in v1.2.9

type PlatformSpecialShareInfoDto struct {
	// 内容专项服务费比率
	ContentTechServiceRate float64 `json:"content_tech_service_rate,omitempty" xml:"content_tech_service_rate,omitempty"`
	// 预估内容专项服务费
	ContentTechServicePreFee float64 `json:"content_tech_service_pre_fee,omitempty" xml:"content_tech_service_pre_fee,omitempty"`
	// 结算内容专项服务费
	ContentTechServiceFee float64 `json:"content_tech_service_fee,omitempty" xml:"content_tech_service_fee,omitempty"`
	// 流量专项服务费比率(默认无,限定开放)
	TrafficTechServiceRate float64 `json:"traffic_tech_service_rate,omitempty" xml:"traffic_tech_service_rate,omitempty"`
	// 预估流量专项服务费(默认无,限定开放)
	TrafficTechServicePreFee float64 `json:"traffic_tech_service_pre_fee,omitempty" xml:"traffic_tech_service_pre_fee,omitempty"`
	// 结算流量专项服务费(默认无,限定开放)
	TrafficTechServiceFee float64 `json:"traffic_tech_service_fee,omitempty" xml:"traffic_tech_service_fee,omitempty"`
}

PlatformSpecialShareInfoDto 结构体

func GetPlatformSpecialShareInfoDto added in v1.3.4

func GetPlatformSpecialShareInfoDto() *PlatformSpecialShareInfoDto

GetPlatformSpecialShareInfoDto() 从对象池中获取PlatformSpecialShareInfoDto

type PromotionExtend

type PromotionExtend struct {
	// 权益推荐商品
	RecommendItemList []RecommendItemList `json:"recommend_item_list,omitempty" xml:"recommend_item_list>recommend_item_list,omitempty"`
	// 权益链接
	PromotionUrl string `json:"promotion_url,omitempty" xml:"promotion_url,omitempty"`
	// 有价券信息
	YoujiaCouponInfo *Youjiacouponinfo `json:"youjia_coupon_info,omitempty" xml:"youjia_coupon_info,omitempty"`
}

PromotionExtend 结构体

func GetPromotionExtend added in v1.3.4

func GetPromotionExtend() *PromotionExtend

GetPromotionExtend() 从对象池中获取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"`
	// 权益起用门槛,满X元可用,券场景为满元,精确到分,如满100元可用
	EntryCondition string `json:"entry_condition,omitempty" xml:"entry_condition,omitempty"`
	// 权益面额,券场景为减钱,精确到分
	EntryDiscount string `json:"entry_discount,omitempty" xml:"entry_discount,omitempty"`
}

PromotionList 结构体

func GetPromotionList added in v1.3.4

func GetPromotionList() *PromotionList

GetPromotionList() 从对象池中获取PromotionList

type PublisherOrderDto added in v1.2.3

type PublisherOrderDto struct {
	// 服务费信息(字段已废弃)
	ServiceFeeDtoList []ServiceFeeDto `json:"service_fee_dto_list,omitempty" xml:"service_fee_dto_list>service_fee_dto,omitempty"`
	// 补贴金额明细节点。解释:各补贴类型的类型名称、补贴比率、补贴金额、单笔补贴上限、补贴分成比率的详细说明
	SubsidyInfoDtoList []SubsidyDetailDto `json:"subsidy_info_dto_list,omitempty" xml:"subsidy_info_dto_list>subsidy_detail_dto,omitempty"`
	// 淘宝付款时间。解释:订单在淘宝付款的时间
	TbPaidTime string `json:"tb_paid_time,omitempty" xml:"tb_paid_time,omitempty"`
	// 付款时间。解释:订单付款的时间,该时间同步淘宝,可能会略晚于买家在淘宝的订单付款时间  (预售订单完尾款支付后,付款时间会自动更新为尾款支付的时间)
	TkPaidTime string `json:"tk_paid_time,omitempty" xml:"tk_paid_time,omitempty"`
	// 结算金额。解释:买家确认收货的付款金额(不包含运费金额)
	PayPrice string `json:"pay_price,omitempty" xml:"pay_price,omitempty"`
	// 结算预估收入。解释:结算预付收入=结算预估佣金收入+结算预估补贴收入
	PubShareFee string `json:"pub_share_fee,omitempty" xml:"pub_share_fee,omitempty"`
	// 子订单号。解释:买家通过购物车购买的每个商品对应的订单编号,此订单编号并未在淘宝买家后台透出,若平台类型为淘宝、口碑、饿了么等,则订单编号即为淘宝子订单编号、口碑订单编号、饿了么订单编号,以此类推
	TradeId string `json:"trade_id,omitempty" xml:"trade_id,omitempty"`
	// 结算时间。解释:订单确认收货后且商家完成佣金支付的时间
	TkEarningTime string `json:"tk_earning_time,omitempty" xml:"tk_earning_time,omitempty"`
	// 佣金分成比率。解释:从佣金中分得的收益比率(含平台技术服务费比率)
	PubShareRate string `json:"pub_share_rate,omitempty" xml:"pub_share_rate,omitempty"`
	// 补贴比率。解释:指该笔订单上各类型补贴的补贴比率总和。补贴比率=a补贴比率+b补贴比率+…。举例:天猫补贴1%、飞猪补贴1%等,则该数值显示为2%
	SubsidyRate string `json:"subsidy_rate,omitempty" xml:"subsidy_rate,omitempty"`
	// 佣金提成。解释:佣金提成=佣金比率*佣金分成比率。指实际获得的佣金收益比率(含平台技术服务费)
	TkTotalRate string `json:"tk_total_rate,omitempty" xml:"tk_total_rate,omitempty"`
	// 类目名称。解释:商品所属的一级类目名称
	ItemCategoryName string `json:"item_category_name,omitempty" xml:"item_category_name,omitempty"`
	// 掌柜旺旺
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 推广者赚取佣金后支付给阿里妈妈的技术服务费用的比率
	AlimamaRate string `json:"alimama_rate,omitempty" xml:"alimama_rate,omitempty"`
	// 补贴类型。解释:各补贴类型的类型名称、补贴比率、补贴金额、单笔补贴上限、补贴分成比率的详细说明,如有多个补贴会一并告知,举例:淘宝特价版(补贴比率:1%,补贴金额1.00元,单笔补贴上限金额1000.00元,补贴分成比率:100.00%)、飞猪补贴(补贴比率:1%,补贴金额1.00元,单笔补贴上限金额1000.00元,补贴分成比率:100.00%)
	SubsidyType string `json:"subsidy_type,omitempty" xml:"subsidy_type,omitempty"`
	// 商品图片
	ItemImg string `json:"item_img,omitempty" xml:"item_img,omitempty"`
	// 付款预估收入。解释:付款预付收入=付款预估佣金收入+付款预估补贴收入
	PubSharePreFee string `json:"pub_share_pre_fee,omitempty" xml:"pub_share_pre_fee,omitempty"`
	// 付款金额。解释:买家拍下并付款金额(不包含运费金额、不包含未支付尾款的预售订单金额);当预售订单完尾款支付后,付款金额会自动更新为订单总金额
	AlipayTotalPrice string `json:"alipay_total_price,omitempty" xml:"alipay_total_price,omitempty"`
	// 商品标题
	ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"`
	// 媒体名称。解释:“推广管理-媒体备案管理”中的媒体名称
	SiteName string `json:"site_name,omitempty" xml:"site_name,omitempty"`
	// 补贴金额。解释:指该笔订单上各类补贴的补贴金额总和。补贴金额=a补贴金额+b补贴金额+…=结算金额*a补贴比率+结算金额*b补贴比率+…。若(结算金额*a补贴比率)>补贴类型a单笔补贴上限,则a补贴金额=补贴类型a单笔补贴上限,b补贴金额等其他补贴金额同理
	SubsidyFee string `json:"subsidy_fee,omitempty" xml:"subsidy_fee,omitempty"`
	// 平台技术服务费。解释:指该笔订单推广者在需支付给淘宝联盟的所有技术服务费费用总和。目前包含以下两类: 1、技术服务费说明:通过淘宝联盟平台推广所需支付的基础技术服务费;2、渠道专项服务费说明:开通渠道管理权限的推广者进行推广需要支付给淘宝联盟的专项技术服务费用。           平台技术服务费=付款金额*佣金比率*平台技术服务费比率。注意:若订单已结算则会按结算金额计算。(特别说明:补贴从2023-03-10之后都不再收取补贴技术服务费了,故本字段公式中不再提及补贴相关)
	AlimamaShareFee string `json:"alimama_share_fee,omitempty" xml:"alimama_share_fee,omitempty"`
	// 订单编号。解释:买家在购买后台显示的订单编号,若平台类型为淘宝、饿了么等,则订单编号即为淘宝订单编号、饿了么订单编号,以此类推
	TradeParentId string `json:"trade_parent_id,omitempty" xml:"trade_parent_id,omitempty"`
	// 平台类型。解释:订单所属平台类型,包括天猫、淘宝、聚划算、口碑等
	OrderType string `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 创建时间。解释:订单创建的时间,该时间同步淘宝,可能会略晚于买家在淘宝的订单创建时间
	TkCreateTime string `json:"tk_create_time,omitempty" xml:"tk_create_time,omitempty"`
	// 产品类型。解释:若订单属于特定的产品类型,会进行说明,举例:该订单属于“联盟超级活动”、“品牌精选推广”、“自主推广”等,若无说明仅为“--”则为普通类型订单
	FlowSource string `json:"flow_source,omitempty" xml:"flow_source,omitempty"`
	// 成交平台。解释:成交来自于PC或无线
	TerminalType string `json:"terminal_type,omitempty" xml:"terminal_type,omitempty"`
	// 点击时间。解释:通过推广链接达到商品、店铺详情页的点击时间
	ClickTime string `json:"click_time,omitempty" xml:"click_time,omitempty"`
	// 商品单价
	ItemPrice string `json:"item_price,omitempty" xml:"item_price,omitempty"`
	// 商品id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 推广位名称。解释:“推广管理-推广位管理”中的推广位名称
	AdzoneName string `json:"adzone_name,omitempty" xml:"adzone_name,omitempty"`
	// 佣金比率。解释:商品的佣金比率(含平台技术服务费比率,但不包含平台专项服务费比率)(特别说明:若想知道属于您名下的整体佣金比率,则整体佣金比率=佣金比率+平台专项服务费比率,为了简化展示报表,不再增加整体佣金收入字段,有需要的淘宝客可自行加和,举例:若整体佣金比率为10%,平台专项服务费比率为3%,则此处商品佣金比率显示为7%,即10%-3%=7%)
	TotalCommissionRate string `json:"total_commission_rate,omitempty" xml:"total_commission_rate,omitempty"`
	// 商品链接
	ItemLink string `json:"item_link,omitempty" xml:"item_link,omitempty"`
	// 店铺名称
	SellerShopTitle string `json:"seller_shop_title,omitempty" xml:"seller_shop_title,omitempty"`
	// 收入比率。解释:收入比率=佣金比率+补贴比率
	IncomeRate string `json:"income_rate,omitempty" xml:"income_rate,omitempty"`
	// 佣金金额。解释:如果该订单还未结算,则佣金金额=付款金额*佣金比率;如果该订单已经结算,则佣金金额=结算金额*佣金比率
	TotalCommissionFee string `json:"total_commission_fee,omitempty" xml:"total_commission_fee,omitempty"`
	// 定金付款时间。解释:预售时期,预售订单支付定金的付款时间,该时间同步淘宝,可能会略晚于买家在淘宝的订单创建时间
	TkDepositTime string `json:"tk_deposit_time,omitempty" xml:"tk_deposit_time,omitempty"`
	// 定金淘宝付款时间。解释:预售时期,预售订单在淘宝支付定金的付款时间
	TbDepositTime string `json:"tb_deposit_time,omitempty" xml:"tb_deposit_time,omitempty"`
	// 定金付款金额。解释:预售时期,预售订单支付的定金金额
	DepositPrice string `json:"deposit_price,omitempty" xml:"deposit_price,omitempty"`
	// 开发者调用api的appkey
	AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"`
	// 非电商淘系子订单号
	TpOrderId string `json:"tp_order_id,omitempty" xml:"tp_order_id,omitempty"`
	// 营销类型。解释:该字段中视订单情况有单个或多个类型告知。 举例:联盟超级活动-优品、特价版客户端锁粉、特价版客户端推广等
	MarketingType string `json:"marketing_type,omitempty" xml:"marketing_type,omitempty"`
	// 订单更新时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 管理member新商品ID-B段
	ExtraMktId string `json:"extra_mkt_id,omitempty" xml:"extra_mkt_id,omitempty"`
	// unid(不对外开放)
	Unid string `json:"unid,omitempty" xml:"unid,omitempty"`
	// 专用(不对外开放)
	TalentPid string `json:"talent_pid,omitempty" xml:"talent_pid,omitempty"`
	// 买家拍下金额(不包含运费金额)
	TbGmvTotalPrice string `json:"tb_gmv_total_price,omitempty" xml:"tb_gmv_total_price,omitempty"`
	// 流量通untts(默认无,限定开放)
	Untts string `json:"untts,omitempty" xml:"untts,omitempty"`
	// 推广者身份。解释:二方:佣金收益的第一归属者;三方:从其他淘宝客佣金中进行分成的推广者
	TkOrderRole int64 `json:"tk_order_role,omitempty" xml:"tk_order_role,omitempty"`
	// 推广位ID。解释:“推广管理-推广位管理”中的pid中的最后一段数字,如pid=mm_1_2_3中的“3”这段数字
	AdzoneId int64 `json:"adzone_id,omitempty" xml:"adzone_id,omitempty"`
	// 维权标签。解释:若该订单产生了维权退款,则会打上“维权单”的提示。0 含义为非维权、1 含义为维权订单
	RefundTag int64 `json:"refund_tag,omitempty" xml:"refund_tag,omitempty"`
	// 推广者的账号id
	PubId int64 `json:"pub_id,omitempty" xml:"pub_id,omitempty"`
	// 商品数量
	ItemNum int64 `json:"item_num,omitempty" xml:"item_num,omitempty"`
	// 订单状态。状态类型:已付款(指订单已付款,但还未确认收货)、已收货(指订单已确认收货,但商家佣金未支付)、已结算(指订单已确认收货,且商家佣金已支付成功)、已失效(指订单关闭/订单佣金小于0.01元,订单关闭主要有:①买家超时未付款;②买家付款前,买家/商家取消了订单;③订单付款后发起售中退款成功;④仅支付定金,到期未支付尾款的预售订单)。注意:当订单商家有实收货款(含交易成功和交易关闭订单),联盟以商家实收货款进行佣金结算(满返/买返订单等特殊订单除外)。出参数字代表:3:订单结算,12:订单付款,13:订单失效,14:订单成功
	TkStatus int64 `json:"tk_status,omitempty" xml:"tk_status,omitempty"`
	// 媒体ID。解释:“推广管理-媒体备案管理”中的媒体ID,也是pid中的第二段数字,如pid=mm_1_2_3中的“2”这段数字
	SiteId int64 `json:"site_id,omitempty" xml:"site_id,omitempty"`
	// 会员运营ID。解释:会员运营管理功能中的会员运营ID,若该订单来自于会员的购买,则会展示对应会员运营ID
	SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"`
	// 渠道关系id。解释:渠道管理功能中的渠道关系ID,若该订单来自于渠道方的推广,则会展示对应渠道关系ID
	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 付款预估佣金收入。解释:付款预估佣金收入=付款金额*佣金提成。以买家付款金额为基数,预估您可能获得的付款佣金收入,包含平台技术服务费金额(最终发钱时会减去平台技术服务费)。注意:因买家退款等原因,可能与结算预估佣金收入不一致。(特别说明:若想知道属于您名下的整体佣金收入,则整体付款佣金收入=付款预估佣金收入+平台专项服务费,为了简化展示报表,不再增加整体佣金收入字段,有需要的淘宝客可自行加和)
	PubSharePreFeeForCommission float64 `json:"pub_share_pre_fee_for_commission,omitempty" xml:"pub_share_pre_fee_for_commission,omitempty"`
	// 结算预估佣金收入。解释:结算预估佣金收入=付款金额*佣金提成。以买家确认收货的付款金额为基数,预估您可能获得的结算佣金收入,包含技术服务费金额(最终发钱时会减去平台技术服务费)。注意:因买家退款、您违规推广等原因,可能与您最终收入不一致,最终收入以月结后您实际收到的为准。(特别说明:若想知道属于您名下的整体佣金收入,则整体结算佣金收入=结算预估佣金收入+平台专项服务费,为了简化展示报表,不再增加整体佣金收入字段,有需要的淘宝客可自行加和)
	PubShareFeeForCommission float64 `json:"pub_share_fee_for_commission,omitempty" xml:"pub_share_fee_for_commission,omitempty"`
	// 补贴分成比率。解释:从补贴中分得的收益比率
	PubShareRateForSdy float64 `json:"pub_share_rate_for_sdy,omitempty" xml:"pub_share_rate_for_sdy,omitempty"`
	// 补贴提成。解释:补贴提成=补贴比率*补贴分成比率。指实际获得的补贴收益比率
	TkTotalRateForSdy float64 `json:"tk_total_rate_for_sdy,omitempty" xml:"tk_total_rate_for_sdy,omitempty"`
	// 付款预估补贴收入=(付款金额*a补贴比率+付款金额*b补贴比率+……)*补贴分成比率。如果付款金额*a补贴比率>补贴类型a单笔订单补贴上限,则付款金额*a补贴比率的值取补贴类型a单笔订单补贴上限,b补贴金额等其他类型补贴金额同理。指以买家付款金额为基数,预估您可能获得的补贴收入。因买家退款等原因,可能与结算预估补贴收入不一致。
	PubSharePreFeeForSdy float64 `json:"pub_share_pre_fee_for_sdy,omitempty" xml:"pub_share_pre_fee_for_sdy,omitempty"`
	// 结算预估补贴收入。解释:以买家确认收货的付款金额为基数,预估您可能获得的结算补贴收入。结算预估补贴收入=(结算金额*a补贴比率+结算金额*b补贴比率+……)*补贴分成比率。如果结算金额*a补贴比率>补贴类型a单笔订单补贴上限,则结算金额*a补贴比率的值取补贴类型a单笔订单补贴上限,b补贴金额等其他类型补贴金额同理。注意:因买家退款、您违规推广等原因,可能与您最终收入不一致,最终收入以月结后您实际收到的为准
	PubShareFeeForSdy float64 `json:"pub_share_fee_for_sdy,omitempty" xml:"pub_share_fee_for_sdy,omitempty"`
	// 平台技术服务费明细节点。解释:各项平台技术服务费类型的类型名称、扣费比率、扣费金额的详细说明
	AlimmShareInfoDto *AlimmShareInfoDto `json:"alimm_share_info_dto,omitempty" xml:"alimm_share_info_dto,omitempty"`
	// 平台专项服务费比率。解释:指该笔订单推广者在各种特殊场景下需支付给淘宝联盟的所有专项服务费比率总和。平台专项服务费比率=专项服务费比率a+专项服务费比率b+…
	PlatformSpecialServiceRate float64 `json:"platform_special_service_rate,omitempty" xml:"platform_special_service_rate,omitempty"`
	// 平台专项服务费。解释:指该笔订单推广者在各种特殊场景下需支付给淘宝联盟的所有专项服务费用总和。目前包含以下两类:1、内容专项服务费说明:内容场景专项技术服务费,内容推广者在内容场景进行推广需要支付给淘宝联盟的专项技术服务费用;2、流量专项服务费说明:流量通产品合作场景专项技术服务费,推广者在流量通产品能力下,进行流量投放推广需要支付给淘宝联盟的专项技术服务费用。           平台专项服务费=付款金额*平台专项服务费比率。注意:若订单已结算则会按结算金额计算
	PlatformSpecialServiceFee float64 `json:"platform_special_service_fee,omitempty" xml:"platform_special_service_fee,omitempty"`
	// 平台专项服务费明细节点。解释:各项平台专项服务费类型的类型名称、扣费比率、扣费金额的详细说明
	PlatformSpecialShareInfoDto *PlatformSpecialShareInfoDto `json:"platform_special_share_info_dto,omitempty" xml:"platform_special_share_info_dto,omitempty"`
}

PublisherOrderDto 结构体

func GetPublisherOrderDto added in v1.3.4

func GetPublisherOrderDto() *PublisherOrderDto

GetPublisherOrderDto() 从对象池中获取PublisherOrderDto

type PublisherRefundOrderDto added in v1.2.9

type PublisherRefundOrderDto struct {
	// 维权编号,是当前订单发生维权退款的编号,非淘宝订单编号,如订单发生多次维权,则会产生多个维权编号
	RefundSuitId string `json:"refund_suit_id,omitempty" xml:"refund_suit_id,omitempty"`
	// 淘宝父订单编号(买家在淘宝后台显示的订单编号)
	TbTradeParentId string `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"`
	// 淘宝子订单编号
	TbTradeId string `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"`
	// 订单创建时间
	TbTradeCreateTime string `json:"tb_trade_create_time,omitempty" xml:"tb_trade_create_time,omitempty"`
	// 订单结算时间
	EarningTime string `json:"earning_time,omitempty" xml:"earning_time,omitempty"`
	// 维权创建时间
	TkRefundTime string `json:"tk_refund_time,omitempty" xml:"tk_refund_time,omitempty"`
	// 维权完成时间
	TkRefundSuitTime string `json:"tk_refund_suit_time,omitempty" xml:"tk_refund_suit_time,omitempty"`
	// 订单更新时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 商品标题
	ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"`
	// 推广者角色(二方、三方)
	TkOrderRole string `json:"tk_order_role,omitempty" xml:"tk_order_role,omitempty"`
	// 结算金额(订单确认收货后的成交金额)
	TbTradeFinishPrice string `json:"tb_trade_finish_price,omitempty" xml:"tb_trade_finish_price,omitempty"`
	// 维权金额(买家申请维权退款的金额)
	RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 结算预估收入=结算金额*提成。以订单确认收货后的成交金额为基数,预估您可能获得的收入。
	PubShareFee string `json:"pub_share_fee,omitempty" xml:"pub_share_fee,omitempty"`
	// 应退还佣金(不含技术服务费和渠道专项服务费)
	TkCommissionFeeRefund string `json:"tk_commission_fee_refund,omitempty" xml:"tk_commission_fee_refund,omitempty"`
	// 应退还补贴(不含技术服务费和渠道专项服务费)
	TkSubsidyFeeRefund string `json:"tk_subsidy_fee_refund,omitempty" xml:"tk_subsidy_fee_refund,omitempty"`
	// 应退还佣金对应的技术服务费
	TkCommissionAlimmRefundFee string `json:"tk_commission_alimm_refund_fee,omitempty" xml:"tk_commission_alimm_refund_fee,omitempty"`
	// 应退还补贴对应的技术服务费
	TkSubsidyAlimmRefundFee string `json:"tk_subsidy_alimm_refund_fee,omitempty" xml:"tk_subsidy_alimm_refund_fee,omitempty"`
	// 应退还佣金对应的渠道专项服务费
	TkCommissionAgentRefundFee string `json:"tk_commission_agent_refund_fee,omitempty" xml:"tk_commission_agent_refund_fee,omitempty"`
	// 应退还补贴对应的渠道专项服务费
	TkSubsidyAgentRefundFee string `json:"tk_subsidy_agent_refund_fee,omitempty" xml:"tk_subsidy_agent_refund_fee,omitempty"`
	// 应退还预估收入:订单发生维权退款应退还的预估收入(佣金+补贴,含技术服务费和渠道专项服务费)
	ShowReturnFee string `json:"show_return_fee,omitempty" xml:"show_return_fee,omitempty"`
	// 维权创建(淘客结算回执) 4, 维权成功(淘客结算回执) 2, 维权失败(淘客结算回执) 3, 发生多次维权,待处理 11, 从淘客处补扣(钱已结给淘客) 等待扣款 12, 从淘客处补扣(钱已结给淘客) 扣款成功 13, 从卖家处补扣(钱已结给卖家) 等待扣款 14, 从卖家处补扣(钱已结给卖家) 扣款成功 15
	RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 渠道关系id
	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 会员关系id
	SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"`
}

PublisherRefundOrderDto 结构体

func GetPublisherRefundOrderDto added in v1.3.4

func GetPublisherRefundOrderDto() *PublisherRefundOrderDto

GetPublisherRefundOrderDto() 从对象池中获取PublisherRefundOrderDto

type PublisherRefundOrderQueryOption added in v1.2.9

type PublisherRefundOrderQueryOption struct {
	// 位点,除第一页之外,都需要传递;前端原样返回。
	PositionIndex string `json:"position_index,omitempty" xml:"position_index,omitempty"`
	// 开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 跳转类型,当向前或者向后翻页必须提供,-1: 向前翻页,1:向后翻页
	JumpType int64 `json:"jump_type,omitempty" xml:"jump_type,omitempty"`
	// 1全部订单
	OrderScene int64 `json:"order_scene,omitempty" xml:"order_scene,omitempty"`
	// 单页订单量,1-100,上限100条
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 1-维权发起时间,2-订单结算时间(正向订单),3-维权完成时间,4-订单创建时间,5-订单更新时间 (注意:入参startTime小于2022年12月20日0点时,query_type只能为1、2、3;入参startTime大于等于2022年12月20日0点时,query_type可以为1、2、3、4、5)
	QueryType int64 `json:"query_type,omitempty" xml:"query_type,omitempty"`
	// 查询页数
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 1 表示2方,2表示3方,4表示不限
	MemberType int64 `json:"member_type,omitempty" xml:"member_type,omitempty"`
}

PublisherRefundOrderQueryOption 结构体

func GetPublisherRefundOrderQueryOption added in v1.3.4

func GetPublisherRefundOrderQueryOption() *PublisherRefundOrderQueryOption

GetPublisherRefundOrderQueryOption() 从对象池中获取PublisherRefundOrderQueryOption

type RecommendItemList

type RecommendItemList struct {
	// 商品链接
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 权益推荐商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
}

RecommendItemList 结构体

func GetRecommendItemList added in v1.3.4

func GetRecommendItemList() *RecommendItemList

GetRecommendItemList() 从对象池中获取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 结构体

func GetRegisterInfoDto added in v1.3.4

func GetRegisterInfoDto() *RegisterInfoDto

GetRegisterInfoDto() 从对象池中获取RegisterInfoDto

type Resultlist added in v1.2.8

type Resultlist struct {
	// 活动id
	OfferId string `json:"offer_id,omitempty" xml:"offer_id,omitempty"`
	// 活动状态:1-符合活动要求,2-淘客无活动权限,3-用户不匹配活动,4-系统异常,5-活动不存在
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 推广链接
	ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"`
	// 微信小程序路径
	WxMiniprogramPath string `json:"wx_miniprogram_path,omitempty" xml:"wx_miniprogram_path,omitempty"`
	// 微信小程序码
	WxQrcodeUrl string `json:"wx_qrcode_url,omitempty" xml:"wx_qrcode_url,omitempty"`
}

Resultlist 结构体

func GetResultlist added in v1.3.4

func GetResultlist() *Resultlist

GetResultlist() 从对象池中获取Resultlist

type RightsInstanceCreateResult

type RightsInstanceCreateResult struct {
	// 淘礼金Id
	RightsId string `json:"rights_id,omitempty" xml:"rights_id,omitempty"`
	// 淘礼金领取Url
	SendUrl string `json:"send_url,omitempty" xml:"send_url,omitempty"`
	// 投放code【百川商品详情页业务专用】
	VegasCode string `json:"vegas_code,omitempty" xml:"vegas_code,omitempty"`
	// 创建完成后资金账户可用资金,单位元,保留2位小数
	AvailableFee string `json:"available_fee,omitempty" xml:"available_fee,omitempty"`
	// 媒体针对此商品今日剩余可领取淘礼金数量
	ItemTodayNumLeft int64 `json:"item_today_num_left,omitempty" xml:"item_today_num_left,omitempty"`
}

RightsInstanceCreateResult 结构体

func GetRightsInstanceCreateResult added in v1.3.4

func GetRightsInstanceCreateResult() *RightsInstanceCreateResult

GetRightsInstanceCreateResult() 从对象池中获取RightsInstanceCreateResult

type RightsSendRelationRptDto added in v1.2.5

type RightsSendRelationRptDto struct {
	// 日期
	BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"`
	// 渠道关系id关联的pid
	Pid string `json:"pid,omitempty" xml:"pid,omitempty"`
	// 渠道关系id
	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 红包发放数量
	FundNum int64 `json:"fund_num,omitempty" xml:"fund_num,omitempty"`
	// 红包使用次数
	UseNum int64 `json:"use_num,omitempty" xml:"use_num,omitempty"`
}

RightsSendRelationRptDto 结构体

func GetRightsSendRelationRptDto added in v1.3.4

func GetRightsSendRelationRptDto() *RightsSendRelationRptDto

GetRightsSendRelationRptDto() 从对象池中获取RightsSendRelationRptDto

type RightsSendRptDto added in v1.2.5

type RightsSendRptDto struct {
	// 渠道关系id的发放数据
	RelationRptList []RightsSendRelationRptDto `json:"relation_rpt_list,omitempty" xml:"relation_rpt_list>rights_send_relation_rpt_dto,omitempty"`
	// pid的发放数据
	PidRptList []RightsSendRelationRptDto `json:"pid_rpt_list,omitempty" xml:"pid_rpt_list>rights_send_relation_rpt_dto,omitempty"`
}

RightsSendRptDto 结构体

func GetRightsSendRptDto added in v1.3.4

func GetRightsSendRptDto() *RightsSendRptDto

GetRightsSendRptDto() 从对象池中获取RightsSendRptDto

type ServiceFeeDto added in v1.2.3

type ServiceFeeDto struct {
	// 专项服务费率(字段已废弃)
	ShareRelativeRate string `json:"share_relative_rate,omitempty" xml:"share_relative_rate,omitempty"`
	// 结算专项服务费(字段已废弃)
	ShareFee string `json:"share_fee,omitempty" xml:"share_fee,omitempty"`
	// 预估专项服务费(字段已废弃)
	SharePreFee string `json:"share_pre_fee,omitempty" xml:"share_pre_fee,omitempty"`
	// 专项服务费来源,122-渠道(字段已废弃)
	TkShareRoleType int64 `json:"tk_share_role_type,omitempty" xml:"tk_share_role_type,omitempty"`
}

ServiceFeeDto 结构体

func GetServiceFeeDto added in v1.3.4

func GetServiceFeeDto() *ServiceFeeDto

GetServiceFeeDto() 从对象池中获取ServiceFeeDto

type SpCampaign added in v1.2.8

type SpCampaign struct {
	// 定向计划活动ID
	SpCid string `json:"sp_cid,omitempty" xml:"sp_cid,omitempty"`
	// 定向计划名称
	SpName string `json:"sp_name,omitempty" xml:"sp_name,omitempty"`
	// 定向佣金率
	SpRate string `json:"sp_rate,omitempty" xml:"sp_rate,omitempty"`
	// 定向是否锁佣,0=不锁佣 1=锁佣
	SpLockStatus string `json:"sp_lock_status,omitempty" xml:"sp_lock_status,omitempty"`
	// 定向计划申请链接
	SpApplyLink string `json:"sp_apply_link,omitempty" xml:"sp_apply_link,omitempty"`
	// 定向计划是否可用 1-可用 0-不可用
	SpStatus string `json:"sp_status,omitempty" xml:"sp_status,omitempty"`
}

SpCampaign 结构体

func GetSpCampaign added in v1.3.4

func GetSpCampaign() *SpCampaign

GetSpCampaign() 从对象池中获取SpCampaign

type StepRateDto added in v1.2.5

type StepRateDto struct {
	// 前N件佣金结束时间, 当前N件佣金 失效,本字段置空
	TopnEndTime int64 `json:"topn_end_time,omitempty" xml:"topn_end_time,omitempty"`
	// 前N件佣金开始时间,当前N件佣金失效,本字段置空
	TopnStartTime int64 `json:"topn_start_time,omitempty" xml:"topn_start_time,omitempty"`
	// 前N件剩余库存,当前N件佣金失效,本字段置空
	TopnQuantity int64 `json:"topn_quantity,omitempty" xml:"topn_quantity,omitempty"`
	// 前N件初始总库存,当前N件佣金失效,本字段置空(失效:任务完成、时间结束、商品下架)
	TopnTotalCount int64 `json:"topn_total_count,omitempty" xml:"topn_total_count,omitempty"`
}

StepRateDto 结构体

func GetStepRateDto added in v1.3.4

func GetStepRateDto() *StepRateDto

GetStepRateDto() 从对象池中获取StepRateDto

type StrategyResultList added in v1.2.9

type StrategyResultList struct {
	// 策略ID
	StrategyId string `json:"strategy_id,omitempty" xml:"strategy_id,omitempty"`
	// 状态:1-符合活动要求 ,3-用户不匹配活动,4-系统异常,6-策略ID不存在,7-策略ID无效
	Status string `json:"status,omitempty" xml:"status,omitempty"`
}

StrategyResultList 结构体

func GetStrategyResultList added in v1.3.4

func GetStrategyResultList() *StrategyResultList

GetStrategyResultList() 从对象池中获取StrategyResultList

type SubsidyDetailDto added in v1.2.9

type SubsidyDetailDto struct {
	// 该笔订单包含的补贴类型
	SubsidyType string `json:"subsidy_type,omitempty" xml:"subsidy_type,omitempty"`
	// 补贴比率
	SubsidyRate float64 `json:"subsidy_rate,omitempty" xml:"subsidy_rate,omitempty"`
	// 对应补贴类型的补贴金额
	SubsidyFee float64 `json:"subsidy_fee,omitempty" xml:"subsidy_fee,omitempty"`
	// 单笔订单补贴上限。对应补贴类型的单笔订单补贴上限
	SubsidyUpperLimit float64 `json:"subsidy_upper_limit,omitempty" xml:"subsidy_upper_limit,omitempty"`
	// 补贴分成比率
	SubsidyShareRate float64 `json:"subsidy_share_rate,omitempty" xml:"subsidy_share_rate,omitempty"`
}

SubsidyDetailDto 结构体

func GetSubsidyDetailDto added in v1.3.4

func GetSubsidyDetailDto() *SubsidyDetailDto

GetSubsidyDetailDto() 从对象池中获取SubsidyDetailDto

type TaobaoTbkActivityInfoGetAPIRequest added in v1.2.0

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

TaobaoTbkActivityInfoGetAPIRequest 淘宝客-推广者-官方活动转链 API请求 taobao.tbk.activity.info.get

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

func GetTaobaoTbkActivityInfoGetAPIRequest added in v1.3.4

func GetTaobaoTbkActivityInfoGetAPIRequest() *TaobaoTbkActivityInfoGetAPIRequest

GetTaobaoTbkActivityInfoGetRequest 从 sync.Pool 获取 TaobaoTbkActivityInfoGetAPIRequest

func NewTaobaoTbkActivityInfoGetRequest

func NewTaobaoTbkActivityInfoGetRequest() *TaobaoTbkActivityInfoGetAPIRequest

NewTaobaoTbkActivityInfoGetRequest 初始化TaobaoTbkActivityInfoGetAPIRequest对象

func (TaobaoTbkActivityInfoGetAPIRequest) GetActivityMaterialId added in v1.2.0

func (r TaobaoTbkActivityInfoGetAPIRequest) GetActivityMaterialId() string

GetActivityMaterialId ActivityMaterialId Getter

func (TaobaoTbkActivityInfoGetAPIRequest) GetAdzoneId added in v1.2.0

func (r TaobaoTbkActivityInfoGetAPIRequest) GetAdzoneId() int64

GetAdzoneId AdzoneId Getter

func (TaobaoTbkActivityInfoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkActivityInfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkActivityInfoGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkActivityInfoGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkActivityInfoGetAPIRequest) GetRelationId added in v1.2.0

func (r TaobaoTbkActivityInfoGetAPIRequest) GetRelationId() int64

GetRelationId RelationId Getter

func (TaobaoTbkActivityInfoGetAPIRequest) GetSubPid added in v1.2.0

GetSubPid SubPid Getter

func (TaobaoTbkActivityInfoGetAPIRequest) GetUnionId added in v1.2.0

GetUnionId UnionId Getter

func (*TaobaoTbkActivityInfoGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkActivityInfoGetAPIRequest) SetActivityMaterialId added in v1.2.0

func (r *TaobaoTbkActivityInfoGetAPIRequest) SetActivityMaterialId(_activityMaterialId string) error

SetActivityMaterialId is ActivityMaterialId Setter 官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取

func (*TaobaoTbkActivityInfoGetAPIRequest) SetAdzoneId added in v1.2.0

func (r *TaobaoTbkActivityInfoGetAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第三位

func (*TaobaoTbkActivityInfoGetAPIRequest) SetRelationId added in v1.2.0

func (r *TaobaoTbkActivityInfoGetAPIRequest) SetRelationId(_relationId int64) error

SetRelationId is RelationId Setter 渠道关系id

func (*TaobaoTbkActivityInfoGetAPIRequest) SetSubPid added in v1.2.0

func (r *TaobaoTbkActivityInfoGetAPIRequest) SetSubPid(_subPid string) error

SetSubPid is SubPid Setter mm_xxx_xxx_xxx 仅三方分成场景使用

func (*TaobaoTbkActivityInfoGetAPIRequest) SetUnionId added in v1.2.0

func (r *TaobaoTbkActivityInfoGetAPIRequest) SetUnionId(_unionId string) error

SetUnionId is UnionId Setter 自定义输入串,英文和数字组成,长度不能大于12个字符,区分不同的推广渠道

type TaobaoTbkActivityInfoGetAPIResponse

type TaobaoTbkActivityInfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkActivityInfoGetAPIResponseModel
}

TaobaoTbkActivityInfoGetAPIResponse 淘宝客-推广者-官方活动转链 API返回值 taobao.tbk.activity.info.get

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

func GetTaobaoTbkActivityInfoGetAPIResponse added in v1.3.4

func GetTaobaoTbkActivityInfoGetAPIResponse() *TaobaoTbkActivityInfoGetAPIResponse

GetTaobaoTbkActivityInfoGetAPIResponse 从 sync.Pool 获取 TaobaoTbkActivityInfoGetAPIResponse

func (*TaobaoTbkActivityInfoGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkActivityInfoGetAPIResponseModel added in v1.2.0

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

TaobaoTbkActivityInfoGetAPIResponseModel is 淘宝客-推广者-官方活动转链 成功返回结果

func (*TaobaoTbkActivityInfoGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

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"`
	// 投放平台, 1-PC 2-无线
	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 结构体

func GetTaobaoTbkActivityInfoGetData added in v1.3.4

func GetTaobaoTbkActivityInfoGetData() *TaobaoTbkActivityInfoGetData

GetTaobaoTbkActivityInfoGetData() 从对象池中获取TaobaoTbkActivityInfoGetData

type TaobaoTbkCartCouponExpireUserQueryAPIRequest added in v1.2.0

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

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

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

func GetTaobaoTbkCartCouponExpireUserQueryAPIRequest added in v1.3.4

func GetTaobaoTbkCartCouponExpireUserQueryAPIRequest() *TaobaoTbkCartCouponExpireUserQueryAPIRequest

GetTaobaoTbkCartCouponExpireUserQueryRequest 从 sync.Pool 获取 TaobaoTbkCartCouponExpireUserQueryAPIRequest

func NewTaobaoTbkCartCouponExpireUserQueryRequest

func NewTaobaoTbkCartCouponExpireUserQueryRequest() *TaobaoTbkCartCouponExpireUserQueryAPIRequest

NewTaobaoTbkCartCouponExpireUserQueryRequest 初始化TaobaoTbkCartCouponExpireUserQueryAPIRequest对象

func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetPageNum added in v1.2.0

GetPageNum PageNum Getter

func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkCartCouponExpireUserQueryAPIRequest) GetRuleId added in v1.2.0

GetRuleId RuleId Getter

func (*TaobaoTbkCartCouponExpireUserQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetPageNum added in v1.2.0

SetPageNum is PageNum Setter 页码,从0开始

func (*TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 每页大小

func (*TaobaoTbkCartCouponExpireUserQueryAPIRequest) SetRuleId added in v1.2.0

SetRuleId is RuleId Setter 规则ID,由接口提供方分配

type TaobaoTbkCartCouponExpireUserQueryAPIResponse

type TaobaoTbkCartCouponExpireUserQueryAPIResponse struct {
	model.CommonResponse
	TaobaoTbkCartCouponExpireUserQueryAPIResponseModel
}

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

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

func GetTaobaoTbkCartCouponExpireUserQueryAPIResponse added in v1.3.4

func GetTaobaoTbkCartCouponExpireUserQueryAPIResponse() *TaobaoTbkCartCouponExpireUserQueryAPIResponse

GetTaobaoTbkCartCouponExpireUserQueryAPIResponse 从 sync.Pool 获取 TaobaoTbkCartCouponExpireUserQueryAPIResponse

func (*TaobaoTbkCartCouponExpireUserQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkCartCouponExpireUserQueryAPIResponseModel added in v1.2.0

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

TaobaoTbkCartCouponExpireUserQueryAPIResponseModel is 购物车催付优惠券到期查询用户信息 成功返回结果

func (*TaobaoTbkCartCouponExpireUserQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkCartCouponExpireUserQueryMapData

type TaobaoTbkCartCouponExpireUserQueryMapData struct {
	// 商品ID对应的sku集合
	SkuIdList []int64 `json:"sku_id_list,omitempty" xml:"sku_id_list>int64,omitempty"`
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
}

TaobaoTbkCartCouponExpireUserQueryMapData 结构体

func GetTaobaoTbkCartCouponExpireUserQueryMapData added in v1.3.4

func GetTaobaoTbkCartCouponExpireUserQueryMapData() *TaobaoTbkCartCouponExpireUserQueryMapData

GetTaobaoTbkCartCouponExpireUserQueryMapData() 从对象池中获取TaobaoTbkCartCouponExpireUserQueryMapData

type TaobaoTbkCouponConvertAPIRequest added in v1.2.9

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

TaobaoTbkCouponConvertAPIRequest 淘宝客-推广者-单品券高效转链 API请求 taobao.tbk.coupon.convert

单品券高效转链API

func GetTaobaoTbkCouponConvertAPIRequest added in v1.3.4

func GetTaobaoTbkCouponConvertAPIRequest() *TaobaoTbkCouponConvertAPIRequest

GetTaobaoTbkCouponConvertRequest 从 sync.Pool 获取 TaobaoTbkCouponConvertAPIRequest

func NewTaobaoTbkCouponConvertRequest added in v1.2.9

func NewTaobaoTbkCouponConvertRequest() *TaobaoTbkCouponConvertAPIRequest

NewTaobaoTbkCouponConvertRequest 初始化TaobaoTbkCouponConvertAPIRequest对象

func (TaobaoTbkCouponConvertAPIRequest) GetAdzoneId added in v1.2.9

func (r TaobaoTbkCouponConvertAPIRequest) GetAdzoneId() int64

GetAdzoneId AdzoneId Getter

func (TaobaoTbkCouponConvertAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoTbkCouponConvertAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkCouponConvertAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkCouponConvertAPIRequest) GetBizSceneId added in v1.2.9

func (r TaobaoTbkCouponConvertAPIRequest) GetBizSceneId() string

GetBizSceneId BizSceneId Getter

func (TaobaoTbkCouponConvertAPIRequest) GetExternalId added in v1.2.9

func (r TaobaoTbkCouponConvertAPIRequest) GetExternalId() string

GetExternalId ExternalId Getter

func (TaobaoTbkCouponConvertAPIRequest) GetGetTopnRate added in v1.2.9

func (r TaobaoTbkCouponConvertAPIRequest) GetGetTopnRate() int64

GetGetTopnRate GetTopnRate Getter

func (TaobaoTbkCouponConvertAPIRequest) GetItemId added in v1.2.9

GetItemId ItemId Getter

func (TaobaoTbkCouponConvertAPIRequest) GetManageItemPubId added in v1.2.9

func (r TaobaoTbkCouponConvertAPIRequest) GetManageItemPubId() int64

GetManageItemPubId ManageItemPubId Getter

func (r TaobaoTbkCouponConvertAPIRequest) GetMiniProgramLink() int64

GetMiniProgramLink MiniProgramLink Getter

func (TaobaoTbkCouponConvertAPIRequest) GetPlatform added in v1.2.9

func (r TaobaoTbkCouponConvertAPIRequest) GetPlatform() int64

GetPlatform Platform Getter

func (TaobaoTbkCouponConvertAPIRequest) GetPromotionType added in v1.2.9

func (r TaobaoTbkCouponConvertAPIRequest) GetPromotionType() string

GetPromotionType PromotionType Getter

func (TaobaoTbkCouponConvertAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoTbkCouponConvertAPIRequest) GetRelationId added in v1.2.9

func (r TaobaoTbkCouponConvertAPIRequest) GetRelationId() string

GetRelationId RelationId Getter

func (TaobaoTbkCouponConvertAPIRequest) GetSkuId added in v1.2.9

GetSkuId SkuId Getter

func (TaobaoTbkCouponConvertAPIRequest) GetSpecialId added in v1.2.9

func (r TaobaoTbkCouponConvertAPIRequest) GetSpecialId() string

GetSpecialId SpecialId Getter

func (TaobaoTbkCouponConvertAPIRequest) GetUcrowdId added in v1.2.9

func (r TaobaoTbkCouponConvertAPIRequest) GetUcrowdId() int64

GetUcrowdId UcrowdId Getter

func (TaobaoTbkCouponConvertAPIRequest) GetXid added in v1.2.9

GetXid Xid Getter

func (*TaobaoTbkCouponConvertAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkCouponConvertAPIRequest) SetAdzoneId added in v1.2.9

func (r *TaobaoTbkCouponConvertAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter 推广位id,mm_xx_xx_xx pid三段式中的第三段

func (*TaobaoTbkCouponConvertAPIRequest) SetBizSceneId added in v1.2.9

func (r *TaobaoTbkCouponConvertAPIRequest) SetBizSceneId(_bizSceneId string) error

SetBizSceneId is BizSceneId Setter 1-动态ID转链场景,2-消费者比价场景,3-商品库导购场景(不填默认为1)

func (*TaobaoTbkCouponConvertAPIRequest) SetExternalId added in v1.2.9

func (r *TaobaoTbkCouponConvertAPIRequest) SetExternalId(_externalId string) error

SetExternalId is ExternalId Setter 淘宝客外部用户标记,如自身系统账户ID;微信ID等

func (*TaobaoTbkCouponConvertAPIRequest) SetGetTopnRate added in v1.2.9

func (r *TaobaoTbkCouponConvertAPIRequest) SetGetTopnRate(_getTopnRate int64) error

SetGetTopnRate is GetTopnRate Setter 是否获取前N件佣金 ,0-否,1-是,其他值-否

func (*TaobaoTbkCouponConvertAPIRequest) SetItemId added in v1.2.9

func (r *TaobaoTbkCouponConvertAPIRequest) SetItemId(_itemId string) error

SetItemId is ItemId Setter 淘客商品id

func (*TaobaoTbkCouponConvertAPIRequest) SetManageItemPubId added in v1.2.9

func (r *TaobaoTbkCouponConvertAPIRequest) SetManageItemPubId(_manageItemPubId int64) error

SetManageItemPubId is ManageItemPubId Setter 商品库服务账户(场景id3权限对应的memberid)

func (r *TaobaoTbkCouponConvertAPIRequest) SetMiniProgramLink(_miniProgramLink int64) error

SetMiniProgramLink is MiniProgramLink Setter 是否需要获取小程序链接,需要设置1。(暂未对外开放)

func (*TaobaoTbkCouponConvertAPIRequest) SetPlatform added in v1.2.9

func (r *TaobaoTbkCouponConvertAPIRequest) SetPlatform(_platform int64) error

SetPlatform is Platform Setter 1:PC,2:无线,默认:1

func (*TaobaoTbkCouponConvertAPIRequest) SetPromotionType added in v1.2.9

func (r *TaobaoTbkCouponConvertAPIRequest) SetPromotionType(_promotionType string) error

SetPromotionType is PromotionType Setter 1-自购省,2-推广赚(代理模式专属ID,代理模式必填,其它模式不用填写本字段)

func (*TaobaoTbkCouponConvertAPIRequest) SetRelationId added in v1.2.9

func (r *TaobaoTbkCouponConvertAPIRequest) SetRelationId(_relationId string) error

SetRelationId is RelationId Setter 渠道管理ID(如是主站选品推广场景,必须入参该字段,且bizSceneId字段需入参2-消费者比价场景,否则二次转链失败)

func (*TaobaoTbkCouponConvertAPIRequest) SetSkuId added in v1.2.9

func (r *TaobaoTbkCouponConvertAPIRequest) SetSkuId(_skuId int64) error

SetSkuId is SkuId Setter 入参商品id下的skuid,传入时会透传至转链结果url中

func (*TaobaoTbkCouponConvertAPIRequest) SetSpecialId added in v1.2.9

func (r *TaobaoTbkCouponConvertAPIRequest) SetSpecialId(_specialId string) error

SetSpecialId is SpecialId Setter 会员运营ID

func (*TaobaoTbkCouponConvertAPIRequest) SetUcrowdId added in v1.2.9

func (r *TaobaoTbkCouponConvertAPIRequest) SetUcrowdId(_ucrowdId int64) error

SetUcrowdId is UcrowdId Setter 会员人群ID,用于统计人群推广效果

func (*TaobaoTbkCouponConvertAPIRequest) SetXid added in v1.2.9

SetXid is Xid Setter 团长与下游渠道合作的特殊标识,用于统计渠道推广效果

type TaobaoTbkCouponConvertAPIResponse added in v1.2.9

type TaobaoTbkCouponConvertAPIResponse struct {
	model.CommonResponse
	TaobaoTbkCouponConvertAPIResponseModel
}

TaobaoTbkCouponConvertAPIResponse 淘宝客-推广者-单品券高效转链 API返回值 taobao.tbk.coupon.convert

单品券高效转链API

func GetTaobaoTbkCouponConvertAPIResponse added in v1.3.4

func GetTaobaoTbkCouponConvertAPIResponse() *TaobaoTbkCouponConvertAPIResponse

GetTaobaoTbkCouponConvertAPIResponse 从 sync.Pool 获取 TaobaoTbkCouponConvertAPIResponse

func (*TaobaoTbkCouponConvertAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkCouponConvertAPIResponseModel added in v1.2.9

type TaobaoTbkCouponConvertAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_coupon_convert_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TaobaoTbkCouponConvertRpcResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoTbkCouponConvertAPIResponseModel is 淘宝客-推广者-单品券高效转链 成功返回结果

func (*TaobaoTbkCouponConvertAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkCouponConvertRpcResult added in v1.2.9

type TaobaoTbkCouponConvertRpcResult struct {
	// 见错误描述
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// data
	Results *MaterialDto `json:"results,omitempty" xml:"results,omitempty"`
	// 见错误码描述
	ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"`
}

TaobaoTbkCouponConvertRpcResult 结构体

func GetTaobaoTbkCouponConvertRpcResult added in v1.3.4

func GetTaobaoTbkCouponConvertRpcResult() *TaobaoTbkCouponConvertRpcResult

GetTaobaoTbkCouponConvertRpcResult() 从对象池中获取TaobaoTbkCouponConvertRpcResult

type TaobaoTbkCouponGetAPIRequest added in v1.2.0

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

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

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

func GetTaobaoTbkCouponGetAPIRequest added in v1.3.4

func GetTaobaoTbkCouponGetAPIRequest() *TaobaoTbkCouponGetAPIRequest

GetTaobaoTbkCouponGetRequest 从 sync.Pool 获取 TaobaoTbkCouponGetAPIRequest

func NewTaobaoTbkCouponGetRequest

func NewTaobaoTbkCouponGetRequest() *TaobaoTbkCouponGetAPIRequest

NewTaobaoTbkCouponGetRequest 初始化TaobaoTbkCouponGetAPIRequest对象

func (TaobaoTbkCouponGetAPIRequest) GetActivityId added in v1.2.0

func (r TaobaoTbkCouponGetAPIRequest) GetActivityId() string

GetActivityId ActivityId Getter

func (TaobaoTbkCouponGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkCouponGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkCouponGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkCouponGetAPIRequest) GetItemId added in v1.2.0

func (r TaobaoTbkCouponGetAPIRequest) GetItemId() string

GetItemId ItemId Getter

func (TaobaoTbkCouponGetAPIRequest) GetMe added in v1.2.0

GetMe Me Getter

func (TaobaoTbkCouponGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoTbkCouponGetAPIRequest) GetRawParams() model.Params

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

func (*TaobaoTbkCouponGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoTbkCouponGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkCouponGetAPIRequest) SetActivityId added in v1.2.0

func (r *TaobaoTbkCouponGetAPIRequest) SetActivityId(_activityId string) error

SetActivityId is ActivityId Setter 券ID

func (*TaobaoTbkCouponGetAPIRequest) SetItemId added in v1.2.0

func (r *TaobaoTbkCouponGetAPIRequest) SetItemId(_itemId string) error

SetItemId is ItemId Setter 商品ID

func (*TaobaoTbkCouponGetAPIRequest) SetMe added in v1.2.0

SetMe is Me Setter 带券ID与商品ID的加密串

type TaobaoTbkCouponGetAPIResponse

type TaobaoTbkCouponGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkCouponGetAPIResponseModel
}

TaobaoTbkCouponGetAPIResponse 淘宝客-公用-阿里妈妈推广券详情查询 API返回值 taobao.tbk.coupon.get

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

func GetTaobaoTbkCouponGetAPIResponse added in v1.3.4

func GetTaobaoTbkCouponGetAPIResponse() *TaobaoTbkCouponGetAPIResponse

GetTaobaoTbkCouponGetAPIResponse 从 sync.Pool 获取 TaobaoTbkCouponGetAPIResponse

func (*TaobaoTbkCouponGetAPIResponse) Reset added in v1.3.4

func (m *TaobaoTbkCouponGetAPIResponse) Reset()

Reset 清空结构体

type TaobaoTbkCouponGetAPIResponseModel added in v1.2.0

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

TaobaoTbkCouponGetAPIResponseModel is 淘宝客-公用-阿里妈妈推广券详情查询 成功返回结果

func (*TaobaoTbkCouponGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkCouponGetMapData

type TaobaoTbkCouponGetMapData struct {
	// 优惠券门槛金额
	CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,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"`
	// 券ID
	CouponActivityId string `json:"coupon_activity_id,omitempty" xml:"coupon_activity_id,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"`
	// 券类型,1 表示全网公开券,4 表示妈妈渠道券
	CouponSrcScene int64 `json:"coupon_src_scene,omitempty" xml:"coupon_src_scene,omitempty"`
	// 券属性,0表示店铺券,1表示单品券
	CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"`
}

TaobaoTbkCouponGetMapData 结构体

func GetTaobaoTbkCouponGetMapData added in v1.3.4

func GetTaobaoTbkCouponGetMapData() *TaobaoTbkCouponGetMapData

GetTaobaoTbkCouponGetMapData() 从对象池中获取TaobaoTbkCouponGetMapData

type TaobaoTbkDgCpaActivityDetailAPIRequest added in v1.2.5

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

TaobaoTbkDgCpaActivityDetailAPIRequest 淘宝客-推广者-CPA活动执行明细 API请求 taobao.tbk.dg.cpa.activity.detail

淘宝客获取CPA活动具体执行效果的明细数据(含预估和结算维度)

func GetTaobaoTbkDgCpaActivityDetailAPIRequest added in v1.3.4

func GetTaobaoTbkDgCpaActivityDetailAPIRequest() *TaobaoTbkDgCpaActivityDetailAPIRequest

GetTaobaoTbkDgCpaActivityDetailRequest 从 sync.Pool 获取 TaobaoTbkDgCpaActivityDetailAPIRequest

func NewTaobaoTbkDgCpaActivityDetailRequest added in v1.2.5

func NewTaobaoTbkDgCpaActivityDetailRequest() *TaobaoTbkDgCpaActivityDetailAPIRequest

NewTaobaoTbkDgCpaActivityDetailRequest 初始化TaobaoTbkDgCpaActivityDetailAPIRequest对象

func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetEventId added in v1.2.5

GetEventId EventId Getter

func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetIndicatorAlias added in v1.2.5

func (r TaobaoTbkDgCpaActivityDetailAPIRequest) GetIndicatorAlias() string

GetIndicatorAlias IndicatorAlias Getter

func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetPageNo added in v1.2.5

GetPageNo PageNo Getter

func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetQueryType added in v1.2.5

GetQueryType QueryType Getter

func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetRuntime added in v1.2.5

GetRuntime Runtime Getter

func (TaobaoTbkDgCpaActivityDetailAPIRequest) GetStartId added in v1.2.5

GetStartId StartId Getter

func (*TaobaoTbkDgCpaActivityDetailAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgCpaActivityDetailAPIRequest) SetEventId added in v1.2.5

func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetEventId(_eventId int64) error

SetEventId is EventId Setter CPA活动ID

func (*TaobaoTbkDgCpaActivityDetailAPIRequest) SetIndicatorAlias added in v1.2.5

func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetIndicatorAlias(_indicatorAlias string) error

SetIndicatorAlias is IndicatorAlias Setter CPA活动奖励的统计口径,相关说明见文档:https://www.yuque.com/docs/share/7ecf8cf1-7f99-4633-a2ed-f9b6f8116af5?#

func (*TaobaoTbkDgCpaActivityDetailAPIRequest) SetPageNo added in v1.2.5

func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 页码

func (*TaobaoTbkDgCpaActivityDetailAPIRequest) SetPageSize added in v1.2.5

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

SetPageSize is PageSize Setter 每页条数

func (*TaobaoTbkDgCpaActivityDetailAPIRequest) SetQueryType added in v1.2.5

func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetQueryType(_queryType int64) error

SetQueryType is QueryType Setter 明细类型,1:预估明细,2:结算明细

func (*TaobaoTbkDgCpaActivityDetailAPIRequest) SetRuntime added in v1.2.5

func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetRuntime(_runtime string) error

SetRuntime is Runtime Setter 指定数据批次号(时间戳)

func (*TaobaoTbkDgCpaActivityDetailAPIRequest) SetStartId added in v1.2.5

func (r *TaobaoTbkDgCpaActivityDetailAPIRequest) SetStartId(_startId int64) error

SetStartId is StartId Setter 下一页开始查询的记录主键id

type TaobaoTbkDgCpaActivityDetailAPIResponse added in v1.2.5

type TaobaoTbkDgCpaActivityDetailAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgCpaActivityDetailAPIResponseModel
}

TaobaoTbkDgCpaActivityDetailAPIResponse 淘宝客-推广者-CPA活动执行明细 API返回值 taobao.tbk.dg.cpa.activity.detail

淘宝客获取CPA活动具体执行效果的明细数据(含预估和结算维度)

func GetTaobaoTbkDgCpaActivityDetailAPIResponse added in v1.3.4

func GetTaobaoTbkDgCpaActivityDetailAPIResponse() *TaobaoTbkDgCpaActivityDetailAPIResponse

GetTaobaoTbkDgCpaActivityDetailAPIResponse 从 sync.Pool 获取 TaobaoTbkDgCpaActivityDetailAPIResponse

func (*TaobaoTbkDgCpaActivityDetailAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgCpaActivityDetailAPIResponseModel added in v1.2.5

type TaobaoTbkDgCpaActivityDetailAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_dg_cpa_activity_detail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoTbkDgCpaActivityDetailResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoTbkDgCpaActivityDetailAPIResponseModel is 淘宝客-推广者-CPA活动执行明细 成功返回结果

func (*TaobaoTbkDgCpaActivityDetailAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgCpaActivityDetailResult added in v1.2.5

type TaobaoTbkDgCpaActivityDetailResult struct {
	// 错误代码
	BizErrorFeature string `json:"biz_error_feature,omitempty" xml:"biz_error_feature,omitempty"`
	// 错误描述
	BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"`
	// 结果信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 返回素材id
	Data *PageResult `json:"data,omitempty" xml:"data,omitempty"`
	// 结果码
	ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 错误代码
	BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoTbkDgCpaActivityDetailResult 结构体

func GetTaobaoTbkDgCpaActivityDetailResult added in v1.3.4

func GetTaobaoTbkDgCpaActivityDetailResult() *TaobaoTbkDgCpaActivityDetailResult

GetTaobaoTbkDgCpaActivityDetailResult() 从对象池中获取TaobaoTbkDgCpaActivityDetailResult

type TaobaoTbkDgCpaActivityDetailResults added in v1.2.5

type TaobaoTbkDgCpaActivityDetailResults struct {
	// 奖励明细数据,KV结构。字段释义见文档:https://www.yuque.com/docs/share/7ecf8cf1-7f99-4633-a2ed-f9b6f8116af5?#
	FieldDetail string `json:"field_detail,omitempty" xml:"field_detail,omitempty"`
	// 明细类型,1:预估明细,2:结算明细
	CalcType int64 `json:"calc_type,omitempty" xml:"calc_type,omitempty"`
	// 明细记录主键id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

TaobaoTbkDgCpaActivityDetailResults 结构体

func GetTaobaoTbkDgCpaActivityDetailResults added in v1.3.4

func GetTaobaoTbkDgCpaActivityDetailResults() *TaobaoTbkDgCpaActivityDetailResults

GetTaobaoTbkDgCpaActivityDetailResults() 从对象池中获取TaobaoTbkDgCpaActivityDetailResults

type TaobaoTbkDgCpaActivityReportAPIRequest added in v1.2.5

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

TaobaoTbkDgCpaActivityReportAPIRequest 淘宝客-推广者-任务奖励效果报表 API请求 taobao.tbk.dg.cpa.activity.report

提供给媒体使用的cpa活动报表查询api,当前仅试运行媒体可使用

func GetTaobaoTbkDgCpaActivityReportAPIRequest added in v1.3.4

func GetTaobaoTbkDgCpaActivityReportAPIRequest() *TaobaoTbkDgCpaActivityReportAPIRequest

GetTaobaoTbkDgCpaActivityReportRequest 从 sync.Pool 获取 TaobaoTbkDgCpaActivityReportAPIRequest

func NewTaobaoTbkDgCpaActivityReportRequest added in v1.2.5

func NewTaobaoTbkDgCpaActivityReportRequest() *TaobaoTbkDgCpaActivityReportAPIRequest

NewTaobaoTbkDgCpaActivityReportRequest 初始化TaobaoTbkDgCpaActivityReportAPIRequest对象

func (TaobaoTbkDgCpaActivityReportAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkDgCpaActivityReportAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgCpaActivityReportAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgCpaActivityReportAPIRequest) GetBizDate added in v1.2.5

GetBizDate BizDate Getter

func (TaobaoTbkDgCpaActivityReportAPIRequest) GetEventId added in v1.2.5

GetEventId EventId Getter

func (TaobaoTbkDgCpaActivityReportAPIRequest) GetPageNo added in v1.2.5

GetPageNo PageNo Getter

func (TaobaoTbkDgCpaActivityReportAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (TaobaoTbkDgCpaActivityReportAPIRequest) GetPid added in v1.2.5

GetPid Pid Getter

func (TaobaoTbkDgCpaActivityReportAPIRequest) GetQueryType added in v1.2.5

GetQueryType QueryType Getter

func (TaobaoTbkDgCpaActivityReportAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkDgCpaActivityReportAPIRequest) GetRelationId added in v1.2.5

GetRelationId RelationId Getter

func (*TaobaoTbkDgCpaActivityReportAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgCpaActivityReportAPIRequest) SetBizDate added in v1.2.5

func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetBizDate(_bizDate string) error

SetBizDate is BizDate Setter 日期(yyyyMMdd)

func (*TaobaoTbkDgCpaActivityReportAPIRequest) SetEventId added in v1.2.5

func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetEventId(_eventId int64) error

SetEventId is EventId Setter CPA活动ID,详见https://www.yuque.com/docs/share/16905f3f-3a22-4e7c-b8c3-4d23791d42f7?#

func (*TaobaoTbkDgCpaActivityReportAPIRequest) SetPageNo added in v1.2.5

func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 分页页数,从1开始

func (*TaobaoTbkDgCpaActivityReportAPIRequest) SetPageSize added in v1.2.5

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

SetPageSize is PageSize Setter 分页大小

func (*TaobaoTbkDgCpaActivityReportAPIRequest) SetPid added in v1.2.5

SetPid is Pid Setter 媒体三段式id(如果传入pid则返回pid汇总数据,不传则返回member维度统计数据,pid和relationid不可同时传入)

func (*TaobaoTbkDgCpaActivityReportAPIRequest) SetQueryType added in v1.2.5

func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetQueryType(_queryType int64) error

SetQueryType is QueryType Setter 数据类型:数据类型:1预估 2结算 (选择1可查询含当天实时预估统计的累计数据,选择2可查询最晚截止昨天结算的累计数据,具体逻辑以活动规则描述为准;)

func (*TaobaoTbkDgCpaActivityReportAPIRequest) SetRelationId added in v1.2.5

func (r *TaobaoTbkDgCpaActivityReportAPIRequest) SetRelationId(_relationId int64) error

SetRelationId is RelationId Setter 代理id(如果传入rid则返回rid统计数据,不传则返回member维度统计数据)

type TaobaoTbkDgCpaActivityReportAPIResponse added in v1.2.5

type TaobaoTbkDgCpaActivityReportAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgCpaActivityReportAPIResponseModel
}

TaobaoTbkDgCpaActivityReportAPIResponse 淘宝客-推广者-任务奖励效果报表 API返回值 taobao.tbk.dg.cpa.activity.report

提供给媒体使用的cpa活动报表查询api,当前仅试运行媒体可使用

func GetTaobaoTbkDgCpaActivityReportAPIResponse added in v1.3.4

func GetTaobaoTbkDgCpaActivityReportAPIResponse() *TaobaoTbkDgCpaActivityReportAPIResponse

GetTaobaoTbkDgCpaActivityReportAPIResponse 从 sync.Pool 获取 TaobaoTbkDgCpaActivityReportAPIResponse

func (*TaobaoTbkDgCpaActivityReportAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgCpaActivityReportAPIResponseModel added in v1.2.5

type TaobaoTbkDgCpaActivityReportAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_dg_cpa_activity_report_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回模型
	Result *TaobaoTbkDgCpaActivityReportRpcResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoTbkDgCpaActivityReportAPIResponseModel is 淘宝客-推广者-任务奖励效果报表 成功返回结果

func (*TaobaoTbkDgCpaActivityReportAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgCpaActivityReportRpcResult added in v1.2.5

type TaobaoTbkDgCpaActivityReportRpcResult struct {
	// 分页模型
	Data *PageResult `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkDgCpaActivityReportRpcResult 结构体

func GetTaobaoTbkDgCpaActivityReportRpcResult added in v1.3.4

func GetTaobaoTbkDgCpaActivityReportRpcResult() *TaobaoTbkDgCpaActivityReportRpcResult

GetTaobaoTbkDgCpaActivityReportRpcResult() 从对象池中获取TaobaoTbkDgCpaActivityReportRpcResult

type TaobaoTbkDgMaterialOptionalAPIRequest added in v1.2.0

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

TaobaoTbkDgMaterialOptionalAPIRequest 淘宝客-推广者-物料搜索 API请求 taobao.tbk.dg.material.optional

通用物料搜索API(导购)

func GetTaobaoTbkDgMaterialOptionalAPIRequest added in v1.3.4

func GetTaobaoTbkDgMaterialOptionalAPIRequest() *TaobaoTbkDgMaterialOptionalAPIRequest

GetTaobaoTbkDgMaterialOptionalRequest 从 sync.Pool 获取 TaobaoTbkDgMaterialOptionalAPIRequest

func NewTaobaoTbkDgMaterialOptionalRequest

func NewTaobaoTbkDgMaterialOptionalRequest() *TaobaoTbkDgMaterialOptionalAPIRequest

NewTaobaoTbkDgMaterialOptionalRequest 初始化TaobaoTbkDgMaterialOptionalAPIRequest对象

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetAdzoneId added in v1.2.0

GetAdzoneId AdzoneId Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetBizSceneId added in v1.2.8

GetBizSceneId BizSceneId Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetCat added in v1.2.0

GetCat Cat Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetCityCode added in v1.2.0

GetCityCode CityCode Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceEncrypt added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceEncrypt() string

GetDeviceEncrypt DeviceEncrypt Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceType added in v1.2.0

GetDeviceType DeviceType Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceValue added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetDeviceValue() string

GetDeviceValue DeviceValue Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetEndKaTkRate added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetEndKaTkRate() int64

GetEndKaTkRate EndKaTkRate Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetEndPrice added in v1.2.0

GetEndPrice EndPrice Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetEndTkRate added in v1.2.0

GetEndTkRate EndTkRate Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetGetTopnRate added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetGetTopnRate() int64

GetGetTopnRate GetTopnRate Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetHasCoupon added in v1.2.0

GetHasCoupon HasCoupon Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeGoodRate added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeGoodRate() bool

GetIncludeGoodRate IncludeGoodRate Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludePayRate30 added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludePayRate30() bool

GetIncludePayRate30 IncludePayRate30 Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeRfdRate added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIncludeRfdRate() bool

GetIncludeRfdRate IncludeRfdRate Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIp added in v1.2.0

GetIp Ip Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIsOverseas added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetIsOverseas() bool

GetIsOverseas IsOverseas Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetIsTmall added in v1.2.0

GetIsTmall IsTmall Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetItemloc added in v1.2.0

GetItemloc Itemloc Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetLatitude added in v1.2.0

GetLatitude Latitude Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateEndTime added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateEndTime() int64

GetLockRateEndTime LockRateEndTime Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateStartTime added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetLockRateStartTime() int64

GetLockRateStartTime LockRateStartTime Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetLongitude added in v1.2.0

GetLongitude Longitude Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetMaterialId added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetMaterialId() int64

GetMaterialId MaterialId Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedFreeShipment added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedFreeShipment() bool

GetNeedFreeShipment NeedFreeShipment Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedPrepay added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetNeedPrepay() bool

GetNeedPrepay NeedPrepay Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetNpxLevel added in v1.2.0

GetNpxLevel NpxLevel Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetPageResultKey added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPageResultKey() string

GetPageResultKey PageResultKey Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetPlatform added in v1.2.0

GetPlatform Platform Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetPromotionType added in v1.2.8

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetPromotionType() string

GetPromotionType PromotionType Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetQ added in v1.2.0

GetQ Q Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetRelationId added in v1.2.0

GetRelationId RelationId Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetSellerIds added in v1.2.0

GetSellerIds SellerIds Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetSort added in v1.2.0

GetSort Sort Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetSpecialId added in v1.2.0

GetSpecialId SpecialId Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetStartDsr added in v1.2.0

GetStartDsr StartDsr Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetStartKaTkRate added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartKaTkRate() int64

GetStartKaTkRate StartKaTkRate Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetStartPrice added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartPrice() int64

GetStartPrice StartPrice Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetStartTkRate added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetStartTkRate() int64

GetStartTkRate StartTkRate Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdId added in v1.2.0

GetUcrowdId UcrowdId Getter

func (TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdRankItems added in v1.2.0

func (r TaobaoTbkDgMaterialOptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems

GetUcrowdRankItems UcrowdRankItems Getter

func (*TaobaoTbkDgMaterialOptionalAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetAdzoneId added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter mm_xxx_xxx_12345678三段式的最后一段数字

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetBizSceneId added in v1.2.8

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetBizSceneId(_bizSceneId string) error

SetBizSceneId is BizSceneId Setter 1-动态ID转链场景,2-消费者比价场景(不填默认为1)

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetCat added in v1.2.0

SetCat is Cat Setter 商品筛选-后台类目ID。用,分割,最大10个,该ID可以通过taobao.itemcats.get接口获取到

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetCityCode added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetCityCode(_cityCode string) error

SetCityCode is CityCode Setter 本地化业务入参-LBS信息-国标城市码,仅支持单个请求,请求饿了么卡券物料时,该字段必填。 (详细城市ID见:https://mo.m.taobao.com/page_2020010315120200508

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceEncrypt added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error

SetDeviceEncrypt is DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceType added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceType(_deviceType string) error

SetDeviceType is DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceValue added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetDeviceValue(_deviceValue string) error

SetDeviceValue is DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写)

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetEndKaTkRate added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error

SetEndKaTkRate is EndKaTkRate Setter 商品筛选-KA媒体淘客佣金比率上限。如:1234表示12.34%

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetEndPrice added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndPrice(_endPrice int64) error

SetEndPrice is EndPrice Setter 商品筛选-折扣价范围上限。单位:元

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetEndTkRate added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetEndTkRate(_endTkRate int64) error

SetEndTkRate is EndTkRate Setter 商品筛选-淘客佣金比率上限。如:1234表示12.34%

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetGetTopnRate added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error

SetGetTopnRate is GetTopnRate Setter 是否获取前N件佣金信息 0否,1是,其他值否

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetHasCoupon added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error

SetHasCoupon is HasCoupon Setter 优惠券筛选-是否有优惠券。true表示该商品有优惠券,false或不设置表示不限

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeGoodRate added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error

SetIncludeGoodRate is IncludeGoodRate Setter 商品筛选-好评率是否高于行业均值。True表示大于等于,false或不设置表示不限

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludePayRate30 added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error

SetIncludePayRate30 is IncludePayRate30 Setter 商品筛选(特定媒体支持)-成交转化是否高于行业均值。True表示大于等于,false或不设置表示不限

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeRfdRate added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error

SetIncludeRfdRate is IncludeRfdRate Setter 商品筛选(特定媒体支持)-退款率是否低于行业均值。True表示大于等于,false或不设置表示不限

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIp added in v1.2.0

SetIp is Ip Setter ip参数影响邮费获取,如果不传或者传入不准确,邮费无法精准提供

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIsOverseas added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIsOverseas(_isOverseas bool) error

SetIsOverseas is IsOverseas Setter 商品筛选-是否海外商品。true表示属于海外商品,false或不设置表示不限

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetIsTmall added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetIsTmall(_isTmall bool) error

SetIsTmall is IsTmall Setter 商品筛选-是否天猫商品。true表示属于天猫商品,false或不设置表示不限

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetItemloc added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetItemloc(_itemloc string) error

SetItemloc is Itemloc Setter 商品筛选-所在地

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetLatitude added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLatitude(_latitude string) error

SetLatitude is Latitude Setter 本地化业务入参-LBS信息-纬度

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateEndTime added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error

SetLockRateEndTime is LockRateEndTime Setter 锁佣结束时间

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateStartTime added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error

SetLockRateStartTime is LockRateStartTime Setter 锁佣开始时间

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetLongitude added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetLongitude(_longitude string) error

SetLongitude is Longitude Setter 本地化业务入参-LBS信息-经度

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetMaterialId added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetMaterialId(_materialId int64) error

SetMaterialId is MaterialId Setter 不传时默认物料id=2836;如果直接对消费者投放,可使用官方个性化算法优化的搜索物料id=17004

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedFreeShipment added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error

SetNeedFreeShipment is NeedFreeShipment Setter 商品筛选-是否包邮。true表示包邮,false或不设置表示不限

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedPrepay added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error

SetNeedPrepay is NeedPrepay Setter 商品筛选-是否加入消费者保障。true表示加入,false或不设置表示不限

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetNpxLevel added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetNpxLevel(_npxLevel int64) error

SetNpxLevel is NpxLevel Setter 商品筛选-牛皮癣程度。取值:1不限,2无,3轻微

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetPageNo added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 第几页,默认:1

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetPageResultKey added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPageResultKey(_pageResultKey string) error

SetPageResultKey is PageResultKey Setter 本地化业务入参-分页唯一标识,非首页的请求必传,值为上一页返回结果中的page_result_key字段值

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 页大小,默认20,1~100

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetPlatform added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPlatform(_platform int64) error

SetPlatform is Platform Setter 链接形式:1:PC,2:无线,默认:1

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetPromotionType added in v1.2.8

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetPromotionType(_promotionType string) error

SetPromotionType is PromotionType Setter 1-自购省,2-推广赚(代理模式专属ID,代理模式必填,非代理模式不用填写该字段)

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetQ added in v1.2.0

SetQ is Q Setter 商品筛选-查询词

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetRelationId added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetRelationId(_relationId string) error

SetRelationId is RelationId Setter 渠道关系ID,仅适用于渠道推广场景

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetSellerIds added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetSellerIds(_sellerIds string) error

SetSellerIds is SellerIds Setter 商家id,仅支持饿了么卡券商家ID,支持批量请求1-100以内,多个商家ID使用英文逗号分隔

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetSort added in v1.2.0

SetSort is Sort Setter 排序_des(降序),排序_asc(升序),销量(total_sales),淘客佣金比率(tk_rate), 累计推广量(tk_total_sales),总支出佣金(tk_total_commi),价格(price),匹配分(match)

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetSpecialId added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetSpecialId(_specialId string) error

SetSpecialId is SpecialId Setter 会员运营ID

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetStartDsr added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartDsr(_startDsr int64) error

SetStartDsr is StartDsr Setter 商品筛选(特定媒体支持)-店铺dsr评分。筛选大于等于当前设置的店铺dsr评分的商品0-50000之间

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetStartKaTkRate added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error

SetStartKaTkRate is StartKaTkRate Setter 商品筛选-KA媒体淘客佣金比率下限。如:1234表示12.34%

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetStartPrice added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartPrice(_startPrice int64) error

SetStartPrice is StartPrice Setter 商品筛选-折扣价范围下限。单位:元

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetStartTkRate added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetStartTkRate(_startTkRate int64) error

SetStartTkRate is StartTkRate Setter 商品筛选-淘客佣金比率下限。如:1234表示12.34%

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdId added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error

SetUcrowdId is UcrowdId Setter 人群ID,仅适用于物料评估场景material_id=41377

func (*TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdRankItems added in v1.2.0

func (r *TaobaoTbkDgMaterialOptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error

SetUcrowdRankItems is UcrowdRankItems Setter 物料评估-商品列表

type TaobaoTbkDgMaterialOptionalAPIResponse

type TaobaoTbkDgMaterialOptionalAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgMaterialOptionalAPIResponseModel
}

TaobaoTbkDgMaterialOptionalAPIResponse 淘宝客-推广者-物料搜索 API返回值 taobao.tbk.dg.material.optional

通用物料搜索API(导购)

func GetTaobaoTbkDgMaterialOptionalAPIResponse added in v1.3.4

func GetTaobaoTbkDgMaterialOptionalAPIResponse() *TaobaoTbkDgMaterialOptionalAPIResponse

GetTaobaoTbkDgMaterialOptionalAPIResponse 从 sync.Pool 获取 TaobaoTbkDgMaterialOptionalAPIResponse

func (*TaobaoTbkDgMaterialOptionalAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgMaterialOptionalAPIResponseModel added in v1.2.0

type TaobaoTbkDgMaterialOptionalAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_dg_material_optional_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// resultList
	ResultList []TaobaoTbkDgMaterialOptionalMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_material_optional_map_data,omitempty"`
	// 本地化-lbs分页标识,请在下一次翻页时作为入参传入
	PageResultKey string `json:"page_result_key,omitempty" xml:"page_result_key,omitempty"`
	// 搜索到符合条件的结果总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

TaobaoTbkDgMaterialOptionalAPIResponseModel is 淘宝客-推广者-物料搜索 成功返回结果

func (*TaobaoTbkDgMaterialOptionalAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgMaterialOptionalMapData

type TaobaoTbkDgMaterialOptionalMapData struct {
	// 商品信息-商品小图列表
	SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"`
	// 定向计划集合
	SpCampaignList []SpCampaign `json:"sp_campaign_list,omitempty" xml:"sp_campaign_list>sp_campaign,omitempty"`
	// 优惠券信息-优惠券开始时间
	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"`
	// 商品信息-淘客30天推广量
	TkTotalSales string `json:"tk_total_sales,omitempty" xml:"tk_total_sales,omitempty"`
	// 商品信息-月支出佣金(该字段废弃,请勿再用)
	TkTotalCommi string `json:"tk_total_commi,omitempty" xml:"tk_total_commi,omitempty"`
	// 优惠券信息-优惠券id
	CouponId string `json:"coupon_id,omitempty" xml:"coupon_id,omitempty"`
	// 商品信息-宝贝id(该字段废弃,请勿再用)
	NumIid string `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"`
	// 商品信息-商品一口价格
	ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"`
	// 折扣价(元) 若属于预售商品,付定金时间内,折扣价=预售价
	ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,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"`
	// 商品信息-佣金比率。1550表示15.5%
	CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"`
	// 店铺信息-店铺名称
	ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"`
	// 优惠券信息-优惠券满减信息
	CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"`
	// 商品信息-佣金类型。MKT表示营销计划,SP表示定向计划,COMMON表示通用计划
	CommissionType string `json:"commission_type,omitempty" xml:"commission_type,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"`
	// 商品信息-叶子类目名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,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"`
	// 拼团专用-拼团拼成价,单位元
	JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"`
	// 链接-物料块id(测试中请勿使用)
	XId string `json:"x_id,omitempty" xml:"x_id,omitempty"`
	// 优惠券信息-优惠券起用门槛,满X元可用。如:满299元减20元
	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"`
	// 营销-天猫营销玩法
	TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"`
	// 商品信息-宝贝id
	ItemId string `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"`
	// 预售商品-优惠
	PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,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"`
	// 预售有礼-佣金比例( 预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376
	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"`
	// 本地化-可用店铺id
	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"`
	// 是否品牌精选,0不是,1是
	SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"`
	// 是否品牌快抢,0不是,1是
	IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"`
	// 本地化-扩展信息
	LocalizationExtend string `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"`
	// 是否是热门商品,0不是,1是
	HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"`
	// 商品入驻淘特后产生的所有销量量级,不特指某段具体时间
	TtSoldCount string `json:"tt_sold_count,omitempty" xml:"tt_sold_count,omitempty"`
	// 额外奖励活动类型,如果一个商品有多个奖励类型,返回结果使用空格分割,0=预售单单奖励,1=618超级U选单单补
	CpaRewardType string `json:"cpa_reward_type,omitempty" xml:"cpa_reward_type,omitempty"`
	// 额外奖励活动金额,活动奖励金额的类型与cpa_reward_type字段对应,如果一个商品有多个奖励类型,返回结果使用空格分割
	CpaRewardAmount string `json:"cpa_reward_amount,omitempty" xml:"cpa_reward_amount,omitempty"`
	// 合作伙伴单单补ID,用作“年货节超级单单补”活动合作伙伴奖励统计依据
	ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 榜单url
	RankPageUrl string `json:"rank_page_url,omitempty" xml:"rank_page_url,omitempty"`
	// 搜索类型
	ItemSearchType string `json:"item_search_type,omitempty" xml:"item_search_type,omitempty"`
	// 店铺信息-卖家类型。0表示集市,1表示天猫
	UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"`
	// 商品信息-30天销量(饿了么卡券信息-总销量)
	Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"`
	// 店铺信息-卖家id
	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"`
	// 店铺信息-店铺dsr评分
	ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"`
	// 商品信息-一级类目ID
	LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"`
	// 商品信息-叶子类目id
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 拼团专用-拼团几人团
	JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"`
	// 预售专用-预售数量
	UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,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"`
	// 锁佣结束时间
	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"`
	// 预售商品-付尾款结束时间(毫秒)
	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"`
	// 比价场景专用,当系统检测到入参消费者ID购买当前商品会获得《天天开彩蛋》玩法的彩蛋时,该字段显示1,否则为0
	RewardInfo int64 `json:"reward_info,omitempty" xml:"reward_info,omitempty"`
	// 前N件佣金信息-前N件佣金生效或预热时透出以下字段
	TopnInfo *TopNInfoDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"`
	// 百亿补贴信息
	BybtInfo *BybtInfoDto `json:"bybt_info,omitempty" xml:"bybt_info,omitempty"`
	// 猫超买返卡信息
	MaifanPromotion *MaifanPromotionDto `json:"maifan_promotion,omitempty" xml:"maifan_promotion,omitempty"`
}

TaobaoTbkDgMaterialOptionalMapData 结构体

func GetTaobaoTbkDgMaterialOptionalMapData added in v1.3.4

func GetTaobaoTbkDgMaterialOptionalMapData() *TaobaoTbkDgMaterialOptionalMapData

GetTaobaoTbkDgMaterialOptionalMapData() 从对象池中获取TaobaoTbkDgMaterialOptionalMapData

type TaobaoTbkDgNewuserOrderGetAPIRequest added in v1.2.0

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

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

拉新API

func GetTaobaoTbkDgNewuserOrderGetAPIRequest added in v1.3.4

func GetTaobaoTbkDgNewuserOrderGetAPIRequest() *TaobaoTbkDgNewuserOrderGetAPIRequest

GetTaobaoTbkDgNewuserOrderGetRequest 从 sync.Pool 获取 TaobaoTbkDgNewuserOrderGetAPIRequest

func NewTaobaoTbkDgNewuserOrderGetRequest

func NewTaobaoTbkDgNewuserOrderGetRequest() *TaobaoTbkDgNewuserOrderGetAPIRequest

NewTaobaoTbkDgNewuserOrderGetRequest 初始化TaobaoTbkDgNewuserOrderGetAPIRequest对象

func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetActivityId added in v1.2.0

func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetActivityId() string

GetActivityId ActivityId Getter

func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetAdzoneId added in v1.2.0

GetAdzoneId AdzoneId Getter

func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetEndTime added in v1.2.0

GetEndTime EndTime Getter

func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkDgNewuserOrderGetAPIRequest) GetStartTime added in v1.2.0

GetStartTime StartTime Getter

func (*TaobaoTbkDgNewuserOrderGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetActivityId added in v1.2.0

func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetActivityId(_activityId string) error

SetActivityId is ActivityId Setter 活动id, 活动名称与活动ID列表(该字段已废弃)

func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetAdzoneId added in v1.2.0

func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第三位

func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetEndTime added in v1.2.0

func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetEndTime(_endTime string) error

SetEndTime is EndTime Setter 结束时间,当活动为淘宝活动,表示最晚结束时间;当活动为支付宝活动,表示最晚绑定时间;当活动为天猫活动,表示最晚领取红包的时间

func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageNo added in v1.2.0

func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 页码,默认1

func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 页大小,默认20,1~100

func (*TaobaoTbkDgNewuserOrderGetAPIRequest) SetStartTime added in v1.2.0

func (r *TaobaoTbkDgNewuserOrderGetAPIRequest) SetStartTime(_startTime string) error

SetStartTime is StartTime Setter 开始时间,当活动为淘宝活动,表示最早注册时间;当活动为支付宝活动,表示最早绑定时间;当活动为天猫活动,表示最早领取红包时间

type TaobaoTbkDgNewuserOrderGetAPIResponse

type TaobaoTbkDgNewuserOrderGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgNewuserOrderGetAPIResponseModel
}

TaobaoTbkDgNewuserOrderGetAPIResponse 淘宝客-推广者-新用户订单明细查询 API返回值 taobao.tbk.dg.newuser.order.get

拉新API

func GetTaobaoTbkDgNewuserOrderGetAPIResponse added in v1.3.4

func GetTaobaoTbkDgNewuserOrderGetAPIResponse() *TaobaoTbkDgNewuserOrderGetAPIResponse

GetTaobaoTbkDgNewuserOrderGetAPIResponse 从 sync.Pool 获取 TaobaoTbkDgNewuserOrderGetAPIResponse

func (*TaobaoTbkDgNewuserOrderGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgNewuserOrderGetAPIResponseModel added in v1.2.0

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

TaobaoTbkDgNewuserOrderGetAPIResponseModel is 淘宝客-推广者-新用户订单明细查询 成功返回结果

func (*TaobaoTbkDgNewuserOrderGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgNewuserOrderGetData

type TaobaoTbkDgNewuserOrderGetData struct {
	// resultList
	Results []TaobaoTbkDgNewuserOrderGetMapData `json:"results,omitempty" xml:"results>taobao_tbk_dg_newuser_order_get_map_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"`
}

TaobaoTbkDgNewuserOrderGetData 结构体

func GetTaobaoTbkDgNewuserOrderGetData added in v1.3.4

func GetTaobaoTbkDgNewuserOrderGetData() *TaobaoTbkDgNewuserOrderGetData

GetTaobaoTbkDgNewuserOrderGetData() 从对象池中获取TaobaoTbkDgNewuserOrderGetData

type TaobaoTbkDgNewuserOrderGetMapData

type TaobaoTbkDgNewuserOrderGetMapData struct {
	// 复购订单,仅适用于手淘拉新
	Orders []OrderData `json:"orders,omitempty" xml:"orders>order_data,omitempty"`
	// 新注册时间,仅淘宝拉新适用
	RegisterTime string `json:"register_time,omitempty" xml:"register_time,omitempty"`
	// 当前活动为淘宝拉新活动时,bind_time为新激活时间; 当前活动为支付宝拉新活动时,bind_time为绑定时间。
	BindTime string `json:"bind_time,omitempty" xml:"bind_time,omitempty"`
	// 首购时间,仅淘宝,天猫拉新适用
	BuyTime string `json:"buy_time,omitempty" xml:"buy_time,omitempty"`
	// 新人手机号
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 分享用户(unionid),仅淘宝,天猫拉新适用
	UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"`
	// 来源媒体名称
	MemberNick string `json:"member_nick,omitempty" xml:"member_nick,omitempty"`
	// 来源站点名称
	SiteName string `json:"site_name,omitempty" xml:"site_name,omitempty"`
	// 来源广告位名称
	AdzoneName string `json:"adzone_name,omitempty" xml:"adzone_name,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"`
	// 活动类型,taobao-淘宝 alipay-支付宝 tmall-天猫
	ActivityType string `json:"activity_type,omitempty" xml:"activity_type,omitempty"`
	// 活动id
	ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 日期,格式为"20180202"
	BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"`
	// 绑卡日期,仅适用于手淘拉新
	BindCardTime string `json:"bind_card_time,omitempty" xml:"bind_card_time,omitempty"`
	// loginTime
	LoginTime string `json:"login_time,omitempty" xml:"login_time,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"`
	// 渠道关系id
	RelationId string `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 新人状态, 当前活动为淘宝拉新活动时,1: 新注册,2:激活,3:首购,4:确认收货; 当前活动为支付宝实名活动时,1:已绑定,2:拉新成功,3:无效用户;当前活动为支付宝新登活动时,3:手淘首购,4:手淘确认收货;当前活动为天猫拉新活动时,2:已领取,3:已首购,4:已收货
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 订单淘客类型:1.淘客订单;2.非淘客订单,仅淘宝,天猫拉新适用
	OrderTkType int64 `json:"order_tk_type,omitempty" xml:"order_tk_type,omitempty"`
	// 来源媒体ID(pid中mm_1_2_3)中第1位
	MemberId int64 `json:"member_id,omitempty" xml:"member_id,omitempty"`
	// 来源站点ID(pid中mm_1_2_3)中第2位
	SiteId int64 `json:"site_id,omitempty" xml:"site_id,omitempty"`
	// 来源广告位ID(pid中mm_1_2_3)中第3位
	AdzoneId int64 `json:"adzone_id,omitempty" xml:"adzone_id,omitempty"`
	// 淘宝订单id,仅淘宝,天猫拉新适用
	TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"`
	// 银行卡是否是绑定状态:1-绑定,0-未绑定
	IsCardSave int64 `json:"is_card_save,omitempty" xml:"is_card_save,omitempty"`
}

TaobaoTbkDgNewuserOrderGetMapData 结构体

func GetTaobaoTbkDgNewuserOrderGetMapData added in v1.3.4

func GetTaobaoTbkDgNewuserOrderGetMapData() *TaobaoTbkDgNewuserOrderGetMapData

GetTaobaoTbkDgNewuserOrderGetMapData() 从对象池中获取TaobaoTbkDgNewuserOrderGetMapData

type TaobaoTbkDgNewuserOrderGetResults

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

TaobaoTbkDgNewuserOrderGetResults 结构体

func GetTaobaoTbkDgNewuserOrderGetResults added in v1.3.4

func GetTaobaoTbkDgNewuserOrderGetResults() *TaobaoTbkDgNewuserOrderGetResults

GetTaobaoTbkDgNewuserOrderGetResults() 从对象池中获取TaobaoTbkDgNewuserOrderGetResults

type TaobaoTbkDgNewuserOrderSumAPIRequest added in v1.2.0

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

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

拉新活动汇总API

func GetTaobaoTbkDgNewuserOrderSumAPIRequest added in v1.3.4

func GetTaobaoTbkDgNewuserOrderSumAPIRequest() *TaobaoTbkDgNewuserOrderSumAPIRequest

GetTaobaoTbkDgNewuserOrderSumRequest 从 sync.Pool 获取 TaobaoTbkDgNewuserOrderSumAPIRequest

func NewTaobaoTbkDgNewuserOrderSumRequest

func NewTaobaoTbkDgNewuserOrderSumRequest() *TaobaoTbkDgNewuserOrderSumAPIRequest

NewTaobaoTbkDgNewuserOrderSumRequest 初始化TaobaoTbkDgNewuserOrderSumAPIRequest对象

func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetActivityId added in v1.2.0

func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetActivityId() string

GetActivityId ActivityId Getter

func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetAdzoneId added in v1.2.0

GetAdzoneId AdzoneId Getter

func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetSettleMonth added in v1.2.0

func (r TaobaoTbkDgNewuserOrderSumAPIRequest) GetSettleMonth() string

GetSettleMonth SettleMonth Getter

func (TaobaoTbkDgNewuserOrderSumAPIRequest) GetSiteId added in v1.2.0

GetSiteId SiteId Getter

func (*TaobaoTbkDgNewuserOrderSumAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetActivityId added in v1.2.0

func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetActivityId(_activityId string) error

SetActivityId is ActivityId Setter 活动id, 活动名称与活动ID列表,请参见https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=8599277

func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetAdzoneId added in v1.2.0

func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第三位

func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageNo added in v1.2.0

func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 页码,默认1

func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 页大小,默认20,1~100

func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetSettleMonth added in v1.2.0

func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetSettleMonth(_settleMonth string) error

SetSettleMonth is SettleMonth Setter 结算月份

func (*TaobaoTbkDgNewuserOrderSumAPIRequest) SetSiteId added in v1.2.0

func (r *TaobaoTbkDgNewuserOrderSumAPIRequest) SetSiteId(_siteId int64) error

SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第二位

type TaobaoTbkDgNewuserOrderSumAPIResponse

type TaobaoTbkDgNewuserOrderSumAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgNewuserOrderSumAPIResponseModel
}

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

拉新活动汇总API

func GetTaobaoTbkDgNewuserOrderSumAPIResponse added in v1.3.4

func GetTaobaoTbkDgNewuserOrderSumAPIResponse() *TaobaoTbkDgNewuserOrderSumAPIResponse

GetTaobaoTbkDgNewuserOrderSumAPIResponse 从 sync.Pool 获取 TaobaoTbkDgNewuserOrderSumAPIResponse

func (*TaobaoTbkDgNewuserOrderSumAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgNewuserOrderSumAPIResponseModel added in v1.2.0

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

TaobaoTbkDgNewuserOrderSumAPIResponseModel is 淘宝客-推广者-拉新活动对应数据查询 成功返回结果

func (*TaobaoTbkDgNewuserOrderSumAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgNewuserOrderSumData

type TaobaoTbkDgNewuserOrderSumData struct {
	// resultList
	Results []TaobaoTbkDgNewuserOrderSumData `json:"results,omitempty" xml:"results>taobao_tbk_dg_newuser_order_sum_data,omitempty"`
	// 活动ID
	ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 日期
	BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"`
	// 结算CPA 奖励金额:仅支持member 维度的统计
	AlipayUserCpaPreAmt string `json:"alipay_user_cpa_pre_amt,omitempty" xml:"alipay_user_cpa_pre_amt,omitempty"`
	// 当日激活且首购结算的CPA 金额:仅适用于八天乐,仅支持member维度的统计
	BindBuyUserCpaPreAmt string `json:"bind_buy_user_cpa_pre_amt,omitempty" xml:"bind_buy_user_cpa_pre_amt,omitempty"`
	// 渠道关系id
	RelationId string `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// data
	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"`
	// 新注册用户数
	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"`
	// 当日激活且首购的有效用户数:仅适用于八天乐,支持member,adzone维度的统计
	BindBuyValidUserCnt int64 `json:"bind_buy_valid_user_cnt,omitempty" xml:"bind_buy_valid_user_cnt,omitempty"`
	// bindCardValidUserCnt
	BindCardValidUserCnt int64 `json:"bind_card_valid_user_cnt,omitempty" xml:"bind_card_valid_user_cnt,omitempty"`
	// reBuyValidUserCnt
	ReBuyValidUserCnt int64 `json:"re_buy_valid_user_cnt,omitempty" xml:"re_buy_valid_user_cnt,omitempty"`
	// validNum
	ValidNum int64 `json:"valid_num,omitempty" xml:"valid_num,omitempty"`
	// 是否有下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
}

TaobaoTbkDgNewuserOrderSumData 结构体

func GetTaobaoTbkDgNewuserOrderSumData added in v1.3.4

func GetTaobaoTbkDgNewuserOrderSumData() *TaobaoTbkDgNewuserOrderSumData

GetTaobaoTbkDgNewuserOrderSumData() 从对象池中获取TaobaoTbkDgNewuserOrderSumData

type TaobaoTbkDgOptimusMaterialAPIRequest added in v1.2.0

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

TaobaoTbkDgOptimusMaterialAPIRequest 淘宝客-推广者-物料精选 API请求 taobao.tbk.dg.optimus.material

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

func GetTaobaoTbkDgOptimusMaterialAPIRequest added in v1.3.4

func GetTaobaoTbkDgOptimusMaterialAPIRequest() *TaobaoTbkDgOptimusMaterialAPIRequest

GetTaobaoTbkDgOptimusMaterialRequest 从 sync.Pool 获取 TaobaoTbkDgOptimusMaterialAPIRequest

func NewTaobaoTbkDgOptimusMaterialRequest

func NewTaobaoTbkDgOptimusMaterialRequest() *TaobaoTbkDgOptimusMaterialAPIRequest

NewTaobaoTbkDgOptimusMaterialRequest 初始化TaobaoTbkDgOptimusMaterialAPIRequest对象

func (TaobaoTbkDgOptimusMaterialAPIRequest) GetAdzoneId added in v1.2.0

GetAdzoneId AdzoneId Getter

func (TaobaoTbkDgOptimusMaterialAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgOptimusMaterialAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgOptimusMaterialAPIRequest) GetContentId added in v1.2.0

GetContentId ContentId Getter

func (TaobaoTbkDgOptimusMaterialAPIRequest) GetContentSource added in v1.2.0

func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetContentSource() string

GetContentSource ContentSource Getter

func (TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceEncrypt added in v1.2.0

func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceEncrypt() string

GetDeviceEncrypt DeviceEncrypt Getter

func (TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceType added in v1.2.0

func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceType() string

GetDeviceType DeviceType Getter

func (TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceValue added in v1.2.0

func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetDeviceValue() string

GetDeviceValue DeviceValue Getter

func (TaobaoTbkDgOptimusMaterialAPIRequest) GetFavoritesId added in v1.2.0

func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetFavoritesId() string

GetFavoritesId FavoritesId Getter

func (TaobaoTbkDgOptimusMaterialAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (TaobaoTbkDgOptimusMaterialAPIRequest) GetMaterialId added in v1.2.0

func (r TaobaoTbkDgOptimusMaterialAPIRequest) GetMaterialId() int64

GetMaterialId MaterialId Getter

func (TaobaoTbkDgOptimusMaterialAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (TaobaoTbkDgOptimusMaterialAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoTbkDgOptimusMaterialAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoTbkDgOptimusMaterialAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetAdzoneId added in v1.2.0

func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第三位

func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetContentId added in v1.2.0

func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetContentId(_contentId int64) error

SetContentId is ContentId Setter 内容专用-内容详情ID

func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetContentSource added in v1.2.0

func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetContentSource(_contentSource string) error

SetContentSource is ContentSource Setter 内容专用-内容渠道信息

func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceEncrypt added in v1.2.0

func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error

SetDeviceEncrypt is DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5,类型为OAID时不传

func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceType added in v1.2.0

func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceType(_deviceType string) error

SetDeviceType is DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID

func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceValue added in v1.2.0

func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetDeviceValue(_deviceValue string) error

SetDeviceValue is DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写),类型为OAID时传原始OAID值

func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetFavoritesId added in v1.2.0

func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetFavoritesId(_favoritesId string) error

SetFavoritesId is FavoritesId Setter 选品库投放id

func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetItemId added in v1.2.0

func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetItemId(_itemId string) error

SetItemId is ItemId Setter 商品ID,用于相似商品推荐

func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetMaterialId added in v1.2.0

func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetMaterialId(_materialId int64) error

SetMaterialId is MaterialId Setter 官方的物料Id(详细物料id见:https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html#/detail/10628875?_k=gpov9a)

func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetPageNo added in v1.2.0

func (r *TaobaoTbkDgOptimusMaterialAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 第几页,默认:1

func (*TaobaoTbkDgOptimusMaterialAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 页大小,默认20,1~100

type TaobaoTbkDgOptimusMaterialAPIResponse

type TaobaoTbkDgOptimusMaterialAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgOptimusMaterialAPIResponseModel
}

TaobaoTbkDgOptimusMaterialAPIResponse 淘宝客-推广者-物料精选 API返回值 taobao.tbk.dg.optimus.material

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

func GetTaobaoTbkDgOptimusMaterialAPIResponse added in v1.3.4

func GetTaobaoTbkDgOptimusMaterialAPIResponse() *TaobaoTbkDgOptimusMaterialAPIResponse

GetTaobaoTbkDgOptimusMaterialAPIResponse 从 sync.Pool 获取 TaobaoTbkDgOptimusMaterialAPIResponse

func (*TaobaoTbkDgOptimusMaterialAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgOptimusMaterialAPIResponseModel added in v1.2.0

type TaobaoTbkDgOptimusMaterialAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_dg_optimus_material_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// resultList
	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"`
}

TaobaoTbkDgOptimusMaterialAPIResponseModel is 淘宝客-推广者-物料精选 成功返回结果

func (*TaobaoTbkDgOptimusMaterialAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgOptimusMaterialMapData

type TaobaoTbkDgOptimusMaterialMapData struct {
	// 商品信息-商品小图列表
	SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"`
	// 商品信息-商品关联词
	WordList []WordMapData `json:"word_list,omitempty" xml:"word_list>word_map_data,omitempty"`
	// 定向计划集合
	SpCampaignList []SpCampaign `json:"sp_campaign_list,omitempty" xml:"sp_campaign_list>sp_campaign,omitempty"`
	// 店铺信息-店铺名称
	ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"`
	// 优惠券信息-优惠券起用门槛,满X元可用。如:满299元减20元
	CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"`
	// 商品信息-宝贝id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 折扣价(元) 若属于预售商品,付定金时间内,折扣价=预售价
	ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,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"`
	// 优惠券信息-优惠券结束时间
	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"`
	// 拼团专用-拼团结束时间
	Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"`
	// 拼团专用-拼团开始时间
	Ostime string `json:"ostime,omitempty" xml:"ostime,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"`
	// 商品信息-叶子类目名称
	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"`
	// 营销-天猫营销玩法
	TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"`
	// 物料块id(测试中请勿使用)
	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"`
	// 猫超玩法信息-玩法类型,2:折扣(满n件折扣),5:减钱(满n元减m元)
	MaochaoPlayDiscountType string `json:"maochao_play_discount_type,omitempty" xml:"maochao_play_discount_type,omitempty"`
	// 猫超玩法信息-当前是否包邮,1:是,0:否
	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"`
	// 满减满折的类型(1. 满减 2. 满折)
	PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"`
	// 满减满折信息
	PromotionInfo string `json:"promotion_info,omitempty" xml:"promotion_info,omitempty"`
	// 满减满折门槛(满2件打5折中值为2;满300减20中值为300)
	PromotionDiscount string `json:"promotion_discount,omitempty" xml:"promotion_discount,omitempty"`
	// 满减满折优惠(满2件打5折中值为5;满300减20中值为20)
	PromotionCondition string `json:"promotion_condition,omitempty" xml:"promotion_condition,omitempty"`
	// 预售商品-优惠信息
	PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,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"`
	// 预售有礼-佣金比例( 预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376
	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"`
	// 1聚划算满减:满N件减X元,满N件X折,满N件X元)  2天猫限时抢:前N分钟每件X元,前N分钟满N件每件X元,前N件每件X元)
	PlayInfo string `json:"play_info,omitempty" xml:"play_info,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"`
	// 活动价
	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"`
	// 是否品牌精选,0不是,1是
	SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"`
	// 是否品牌快抢,0不是,1是
	IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"`
	// 是否是热门商品,0不是,1是
	HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"`
	// 商品入驻淘特后产生的所有销量量级,不特指某段具体时间
	TtSoldCount string `json:"tt_sold_count,omitempty" xml:"tt_sold_count,omitempty"`
	// 额外奖励活动类型,如果一个商品有多个奖励类型,返回结果使用空格分割,0=单单奖励(已失效),1=超级单单奖励(已失效),2=年货节单单奖励
	CpaRewardType string `json:"cpa_reward_type,omitempty" xml:"cpa_reward_type,omitempty"`
	// 额外奖励活动金额,活动奖励金额的类型与cpa_reward_type字段对应,如果一个商品有多个奖励类型,返回结果使用空格分割
	CpaRewardAmount string `json:"cpa_reward_amount,omitempty" xml:"cpa_reward_amount,omitempty"`
	// 合作伙伴单单补ID,用作“年货节超级单单补”活动合作伙伴奖励统计依据
	ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 优惠券(元) 若属于预售商品,该优惠券付尾款可用,付定金不可用
	CouponAmount int64 `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"`
	// 商品信息-叶子类目id
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 优惠券信息-优惠券总量
	CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"`
	// 店铺信息-卖家类型,0表示淘宝,1表示天猫,3表示特价版
	UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"`
	// 优惠券信息-优惠券剩余量
	CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"`
	// 店铺信息-卖家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 商品信息-30天销量
	Volume int64 `json:"volume,omitempty" xml:"volume,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"`
	// 拼团专用-拼团几人团
	JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"`
	// 商品信息-一级类目ID
	LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"`
	// 商品信息-预售数量
	UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,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"`
	// 预售商品-付尾款结束时间(毫秒)
	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"`
	// 聚划算满减  -结束时间(毫秒)
	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"`
	// 天猫限时抢可售  -结束时间(毫秒)
	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"`
	// 选品库信息
	FavoritesInfo *FavoritesInfo `json:"favorites_info,omitempty" xml:"favorites_info,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"`
	// 前N件佣金信息-前N件佣金生效或预热时透出以下字段
	TopnInfo *TopNInfoDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"`
	// 百亿补贴信息
	BybtInfo *BybtInfoDto `json:"bybt_info,omitempty" xml:"bybt_info,omitempty"`
	// 猫超买返卡信息
	MaifanPromotion *MaifanPromotionDto `json:"maifan_promotion,omitempty" xml:"maifan_promotion,omitempty"`
}

TaobaoTbkDgOptimusMaterialMapData 结构体

func GetTaobaoTbkDgOptimusMaterialMapData added in v1.3.4

func GetTaobaoTbkDgOptimusMaterialMapData() *TaobaoTbkDgOptimusMaterialMapData

GetTaobaoTbkDgOptimusMaterialMapData() 从对象池中获取TaobaoTbkDgOptimusMaterialMapData

type TaobaoTbkDgOptimusPromotionAPIRequest added in v1.2.0

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

TaobaoTbkDgOptimusPromotionAPIRequest 淘宝客-推广者-权益物料精选 API请求 taobao.tbk.dg.optimus.promotion

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

func GetTaobaoTbkDgOptimusPromotionAPIRequest added in v1.3.4

func GetTaobaoTbkDgOptimusPromotionAPIRequest() *TaobaoTbkDgOptimusPromotionAPIRequest

GetTaobaoTbkDgOptimusPromotionRequest 从 sync.Pool 获取 TaobaoTbkDgOptimusPromotionAPIRequest

func NewTaobaoTbkDgOptimusPromotionRequest

func NewTaobaoTbkDgOptimusPromotionRequest() *TaobaoTbkDgOptimusPromotionAPIRequest

NewTaobaoTbkDgOptimusPromotionRequest 初始化TaobaoTbkDgOptimusPromotionAPIRequest对象

func (TaobaoTbkDgOptimusPromotionAPIRequest) GetAdzoneId added in v1.2.0

GetAdzoneId AdzoneId Getter

func (TaobaoTbkDgOptimusPromotionAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgOptimusPromotionAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgOptimusPromotionAPIRequest) GetPageNum added in v1.2.0

GetPageNum PageNum Getter

func (TaobaoTbkDgOptimusPromotionAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoTbkDgOptimusPromotionAPIRequest) GetPromotionId added in v1.2.0

func (r TaobaoTbkDgOptimusPromotionAPIRequest) GetPromotionId() int64

GetPromotionId PromotionId Getter

func (TaobaoTbkDgOptimusPromotionAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoTbkDgOptimusPromotionAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgOptimusPromotionAPIRequest) SetAdzoneId added in v1.2.0

func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字

func (*TaobaoTbkDgOptimusPromotionAPIRequest) SetPageNum added in v1.2.0

func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetPageNum(_pageNum int64) error

SetPageNum is PageNum Setter 第几页,默认:1

func (*TaobaoTbkDgOptimusPromotionAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 页大小,一次请求请限制在10以内

func (*TaobaoTbkDgOptimusPromotionAPIRequest) SetPromotionId added in v1.2.0

func (r *TaobaoTbkDgOptimusPromotionAPIRequest) SetPromotionId(_promotionId int64) error

SetPromotionId is PromotionId Setter 官方提供的权益物料Id。有价券-37104、大额店铺券-37116、天猫店铺券-62191、券券补-61809 更多权益物料id敬请期待!

type TaobaoTbkDgOptimusPromotionAPIResponse

type TaobaoTbkDgOptimusPromotionAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgOptimusPromotionAPIResponseModel
}

TaobaoTbkDgOptimusPromotionAPIResponse 淘宝客-推广者-权益物料精选 API返回值 taobao.tbk.dg.optimus.promotion

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

func GetTaobaoTbkDgOptimusPromotionAPIResponse added in v1.3.4

func GetTaobaoTbkDgOptimusPromotionAPIResponse() *TaobaoTbkDgOptimusPromotionAPIResponse

GetTaobaoTbkDgOptimusPromotionAPIResponse 从 sync.Pool 获取 TaobaoTbkDgOptimusPromotionAPIResponse

func (*TaobaoTbkDgOptimusPromotionAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgOptimusPromotionAPIResponseModel added in v1.2.0

type TaobaoTbkDgOptimusPromotionAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_dg_optimus_promotion_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// resultList
	ResultList []TaobaoTbkDgOptimusPromotionMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_optimus_promotion_map_data,omitempty"`
}

TaobaoTbkDgOptimusPromotionAPIResponseModel is 淘宝客-推广者-权益物料精选 成功返回结果

func (*TaobaoTbkDgOptimusPromotionAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgOptimusPromotionMapData

type TaobaoTbkDgOptimusPromotionMapData struct {
	// 权益信息
	PromotionList []PromotionList `json:"promotion_list,omitempty" xml:"promotion_list>promotion_list,omitempty"`
	// 权益类型。1 有价券(需要购买的店铺券或单品券) 2 公开券(直接领取的店铺券或单品券) 3 妈妈券(妈妈渠道领取的店铺券或单品券) 4.品类券 (跨店可用券,可与1,2,3叠加)
	PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"`
	// 优惠门槛类型: 1 满元 2 满件
	ConditionType string `json:"condition_type,omitempty" xml:"condition_type,omitempty"`
	// 优惠类型: 1 减钱 2 打折
	DiscountType string `json:"discount_type,omitempty" xml:"discount_type,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"`
	// 店铺信息-卖家ID
	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"`
	// 店铺信息-店铺logo
	ShopPictureUrl string `json:"shop_picture_url,omitempty" xml:"shop_picture_url,omitempty"`
	// 权益信息-总量(权益初始库存量)
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 权益信息-剩余库存(权益剩余库存量)
	RemainCount int64 `json:"remain_count,omitempty" xml:"remain_count,omitempty"`
	// 权益扩展信息
	PromotionExtend *PromotionExtend `json:"promotion_extend,omitempty" xml:"promotion_extend,omitempty"`
}

TaobaoTbkDgOptimusPromotionMapData 结构体

func GetTaobaoTbkDgOptimusPromotionMapData added in v1.3.4

func GetTaobaoTbkDgOptimusPromotionMapData() *TaobaoTbkDgOptimusPromotionMapData

GetTaobaoTbkDgOptimusPromotionMapData() 从对象池中获取TaobaoTbkDgOptimusPromotionMapData

type TaobaoTbkDgPunishOrderGetAPIRequest added in v1.2.0

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

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

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

func GetTaobaoTbkDgPunishOrderGetAPIRequest added in v1.3.4

func GetTaobaoTbkDgPunishOrderGetAPIRequest() *TaobaoTbkDgPunishOrderGetAPIRequest

GetTaobaoTbkDgPunishOrderGetRequest 从 sync.Pool 获取 TaobaoTbkDgPunishOrderGetAPIRequest

func NewTaobaoTbkDgPunishOrderGetRequest

func NewTaobaoTbkDgPunishOrderGetRequest() *TaobaoTbkDgPunishOrderGetAPIRequest

NewTaobaoTbkDgPunishOrderGetRequest 初始化TaobaoTbkDgPunishOrderGetAPIRequest对象

func (TaobaoTbkDgPunishOrderGetAPIRequest) GetAfOrderOption added in v1.2.0

GetAfOrderOption AfOrderOption Getter

func (TaobaoTbkDgPunishOrderGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkDgPunishOrderGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgPunishOrderGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgPunishOrderGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoTbkDgPunishOrderGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgPunishOrderGetAPIRequest) SetAfOrderOption added in v1.2.0

func (r *TaobaoTbkDgPunishOrderGetAPIRequest) SetAfOrderOption(_afOrderOption *TopApiAfOrderOption) error

SetAfOrderOption is AfOrderOption Setter 入参的对象

type TaobaoTbkDgPunishOrderGetAPIResponse

type TaobaoTbkDgPunishOrderGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgPunishOrderGetAPIResponseModel
}

TaobaoTbkDgPunishOrderGetAPIResponse 淘宝客-推广者-处罚订单查询 API返回值 taobao.tbk.dg.punish.order.get

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

func GetTaobaoTbkDgPunishOrderGetAPIResponse added in v1.3.4

func GetTaobaoTbkDgPunishOrderGetAPIResponse() *TaobaoTbkDgPunishOrderGetAPIResponse

GetTaobaoTbkDgPunishOrderGetAPIResponse 从 sync.Pool 获取 TaobaoTbkDgPunishOrderGetAPIResponse

func (*TaobaoTbkDgPunishOrderGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgPunishOrderGetAPIResponseModel added in v1.2.0

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

TaobaoTbkDgPunishOrderGetAPIResponseModel is 淘宝客-推广者-处罚订单查询 成功返回结果

func (*TaobaoTbkDgPunishOrderGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgPunishOrderGetResult

type TaobaoTbkDgPunishOrderGetResult struct {
	// 淘宝联盟unionid(该字段不再支持)
	UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"`
	// 处罚状态。0 冻结,1 解冻
	PunishStatus string `json:"punish_status,omitempty" xml:"punish_status,omitempty"`
	// 处罚类型,目前包括 1.店铺淘宝客 2.订单虚假交易
	ViolationType string `json:"violation_type,omitempty" xml:"violation_type,omitempty"`
	// 淘客订单创建时间
	TkTradeCreateTime string `json:"tk_trade_create_time,omitempty" xml:"tk_trade_create_time,omitempty"`
	// pid里的pubid
	TkPubId string `json:"tk_pub_id,omitempty" xml:"tk_pub_id,omitempty"`
	// 会员运营id(该字段不再支持)
	SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"`
	// 渠道关系id
	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 结算月份
	SettleMonth int64 `json:"settle_month,omitempty" xml:"settle_month,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"`
	// pid里的adzoneid
	TkAdzoneId int64 `json:"tk_adzone_id,omitempty" xml:"tk_adzone_id,omitempty"`
	// pid里的siteid
	TkSiteId int64 `json:"tk_site_id,omitempty" xml:"tk_site_id,omitempty"`
}

TaobaoTbkDgPunishOrderGetResult 结构体

func GetTaobaoTbkDgPunishOrderGetResult added in v1.3.4

func GetTaobaoTbkDgPunishOrderGetResult() *TaobaoTbkDgPunishOrderGetResult

GetTaobaoTbkDgPunishOrderGetResult() 从对象池中获取TaobaoTbkDgPunishOrderGetResult

type TaobaoTbkDgPunishOrderGetRpcResult

type TaobaoTbkDgPunishOrderGetRpcResult struct {
	// 业务出错的描述
	BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"`
	// 执行结果
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 结果
	Data *PageResult `json:"data,omitempty" xml:"data,omitempty"`
	// 业务出错的状态码
	BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 执行结果状态码
	ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"`
}

TaobaoTbkDgPunishOrderGetRpcResult 结构体

func GetTaobaoTbkDgPunishOrderGetRpcResult added in v1.3.4

func GetTaobaoTbkDgPunishOrderGetRpcResult() *TaobaoTbkDgPunishOrderGetRpcResult

GetTaobaoTbkDgPunishOrderGetRpcResult() 从对象池中获取TaobaoTbkDgPunishOrderGetRpcResult

type TaobaoTbkDgTpwdReportGetAPIRequest added in v1.2.5

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

TaobaoTbkDgTpwdReportGetAPIRequest 淘宝客-推广者-淘口令回流数据查询 API请求 taobao.tbk.dg.tpwd.report.get

淘宝客获取单个淘口令的回流PV、UV数据。

func GetTaobaoTbkDgTpwdReportGetAPIRequest added in v1.3.4

func GetTaobaoTbkDgTpwdReportGetAPIRequest() *TaobaoTbkDgTpwdReportGetAPIRequest

GetTaobaoTbkDgTpwdReportGetRequest 从 sync.Pool 获取 TaobaoTbkDgTpwdReportGetAPIRequest

func NewTaobaoTbkDgTpwdReportGetRequest added in v1.2.5

func NewTaobaoTbkDgTpwdReportGetRequest() *TaobaoTbkDgTpwdReportGetAPIRequest

NewTaobaoTbkDgTpwdReportGetRequest 初始化TaobaoTbkDgTpwdReportGetAPIRequest对象

func (TaobaoTbkDgTpwdReportGetAPIRequest) GetAdzoneId added in v1.2.5

GetAdzoneId AdzoneId Getter

func (TaobaoTbkDgTpwdReportGetAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkDgTpwdReportGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgTpwdReportGetAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgTpwdReportGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkDgTpwdReportGetAPIRequest) GetTaoPassword added in v1.2.5

func (r TaobaoTbkDgTpwdReportGetAPIRequest) GetTaoPassword() string

GetTaoPassword TaoPassword Getter

func (*TaobaoTbkDgTpwdReportGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgTpwdReportGetAPIRequest) SetAdzoneId added in v1.2.5

func (r *TaobaoTbkDgTpwdReportGetAPIRequest) SetAdzoneId(_adzoneId string) error

SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字

func (*TaobaoTbkDgTpwdReportGetAPIRequest) SetTaoPassword added in v1.2.5

func (r *TaobaoTbkDgTpwdReportGetAPIRequest) SetTaoPassword(_taoPassword string) error

SetTaoPassword is TaoPassword Setter 待查询的口令

type TaobaoTbkDgTpwdReportGetAPIResponse added in v1.2.5

type TaobaoTbkDgTpwdReportGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgTpwdReportGetAPIResponseModel
}

TaobaoTbkDgTpwdReportGetAPIResponse 淘宝客-推广者-淘口令回流数据查询 API返回值 taobao.tbk.dg.tpwd.report.get

淘宝客获取单个淘口令的回流PV、UV数据。

func GetTaobaoTbkDgTpwdReportGetAPIResponse added in v1.3.4

func GetTaobaoTbkDgTpwdReportGetAPIResponse() *TaobaoTbkDgTpwdReportGetAPIResponse

GetTaobaoTbkDgTpwdReportGetAPIResponse 从 sync.Pool 获取 TaobaoTbkDgTpwdReportGetAPIResponse

func (*TaobaoTbkDgTpwdReportGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgTpwdReportGetAPIResponseModel added in v1.2.5

type TaobaoTbkDgTpwdReportGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_dg_tpwd_report_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Data *TaobaoTbkDgTpwdReportGetMapData `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkDgTpwdReportGetAPIResponseModel is 淘宝客-推广者-淘口令回流数据查询 成功返回结果

func (*TaobaoTbkDgTpwdReportGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgTpwdReportGetMapData added in v1.2.5

type TaobaoTbkDgTpwdReportGetMapData struct {
	// 截止查询时刻近1小时回流pv
	HourPv int64 `json:"hour_pv,omitempty" xml:"hour_pv,omitempty"`
	// 截止查询时刻近1小时回流uv
	HourUv int64 `json:"hour_uv,omitempty" xml:"hour_uv,omitempty"`
	// 今日截止查询时刻累计uv
	Uv int64 `json:"uv,omitempty" xml:"uv,omitempty"`
	// 今日截止查询时刻累计pv
	Pv int64 `json:"pv,omitempty" xml:"pv,omitempty"`
}

TaobaoTbkDgTpwdReportGetMapData 结构体

func GetTaobaoTbkDgTpwdReportGetMapData added in v1.3.4

func GetTaobaoTbkDgTpwdReportGetMapData() *TaobaoTbkDgTpwdReportGetMapData

GetTaobaoTbkDgTpwdReportGetMapData() 从对象池中获取TaobaoTbkDgTpwdReportGetMapData

type TaobaoTbkDgTpwdRiskReportAPIRequest added in v1.2.5

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

TaobaoTbkDgTpwdRiskReportAPIRequest 淘宝客-推广者-淘口令预警及拦截查询 API请求 taobao.tbk.dg.tpwd.risk.report

淘宝客-推广者-淘口令预警及拦截查询

func GetTaobaoTbkDgTpwdRiskReportAPIRequest added in v1.3.4

func GetTaobaoTbkDgTpwdRiskReportAPIRequest() *TaobaoTbkDgTpwdRiskReportAPIRequest

GetTaobaoTbkDgTpwdRiskReportRequest 从 sync.Pool 获取 TaobaoTbkDgTpwdRiskReportAPIRequest

func NewTaobaoTbkDgTpwdRiskReportRequest added in v1.2.5

func NewTaobaoTbkDgTpwdRiskReportRequest() *TaobaoTbkDgTpwdRiskReportAPIRequest

NewTaobaoTbkDgTpwdRiskReportRequest 初始化TaobaoTbkDgTpwdRiskReportAPIRequest对象

func (TaobaoTbkDgTpwdRiskReportAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkDgTpwdRiskReportAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgTpwdRiskReportAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgTpwdRiskReportAPIRequest) GetLimit added in v1.2.5

GetLimit Limit Getter

func (TaobaoTbkDgTpwdRiskReportAPIRequest) GetOffset added in v1.2.5

GetOffset Offset Getter

func (TaobaoTbkDgTpwdRiskReportAPIRequest) GetPid added in v1.2.5

GetPid Pid Getter

func (TaobaoTbkDgTpwdRiskReportAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoTbkDgTpwdRiskReportAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgTpwdRiskReportAPIRequest) SetLimit added in v1.2.5

func (r *TaobaoTbkDgTpwdRiskReportAPIRequest) SetLimit(_limit int64) error

SetLimit is Limit Setter 分页参数,一次最多不能超过1000

func (*TaobaoTbkDgTpwdRiskReportAPIRequest) SetOffset added in v1.2.5

func (r *TaobaoTbkDgTpwdRiskReportAPIRequest) SetOffset(_offset int64) error

SetOffset is Offset Setter 分页参数

func (*TaobaoTbkDgTpwdRiskReportAPIRequest) SetPid added in v1.2.5

SetPid is Pid Setter 如有pid,则查询pid下的relationid名单;如没有pid,则查询appkey关联userid下的pid名单

type TaobaoTbkDgTpwdRiskReportAPIResponse added in v1.2.5

type TaobaoTbkDgTpwdRiskReportAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgTpwdRiskReportAPIResponseModel
}

TaobaoTbkDgTpwdRiskReportAPIResponse 淘宝客-推广者-淘口令预警及拦截查询 API返回值 taobao.tbk.dg.tpwd.risk.report

淘宝客-推广者-淘口令预警及拦截查询

func GetTaobaoTbkDgTpwdRiskReportAPIResponse added in v1.3.4

func GetTaobaoTbkDgTpwdRiskReportAPIResponse() *TaobaoTbkDgTpwdRiskReportAPIResponse

GetTaobaoTbkDgTpwdRiskReportAPIResponse 从 sync.Pool 获取 TaobaoTbkDgTpwdRiskReportAPIResponse

func (*TaobaoTbkDgTpwdRiskReportAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgTpwdRiskReportAPIResponseModel added in v1.2.5

type TaobaoTbkDgTpwdRiskReportAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_dg_tpwd_risk_report_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 无
	Result *TaobaoTbkDgTpwdRiskReportResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoTbkDgTpwdRiskReportAPIResponseModel is 淘宝客-推广者-淘口令预警及拦截查询 成功返回结果

func (*TaobaoTbkDgTpwdRiskReportAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgTpwdRiskReportResult added in v1.2.5

type TaobaoTbkDgTpwdRiskReportResult struct {
	// x
	StatusList []DataMap `json:"status_list,omitempty" xml:"status_list>data_map,omitempty"`
}

TaobaoTbkDgTpwdRiskReportResult 结构体

func GetTaobaoTbkDgTpwdRiskReportResult added in v1.3.4

func GetTaobaoTbkDgTpwdRiskReportResult() *TaobaoTbkDgTpwdRiskReportResult

GetTaobaoTbkDgTpwdRiskReportResult() 从对象池中获取TaobaoTbkDgTpwdRiskReportResult

type TaobaoTbkDgVegasSendReportAPIRequest added in v1.2.5

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

TaobaoTbkDgVegasSendReportAPIRequest 淘宝客-推广者-查询红包发放个数 API请求 taobao.tbk.dg.vegas.send.report

查询账号下的红包发放个数。

func GetTaobaoTbkDgVegasSendReportAPIRequest added in v1.3.4

func GetTaobaoTbkDgVegasSendReportAPIRequest() *TaobaoTbkDgVegasSendReportAPIRequest

GetTaobaoTbkDgVegasSendReportRequest 从 sync.Pool 获取 TaobaoTbkDgVegasSendReportAPIRequest

func NewTaobaoTbkDgVegasSendReportRequest added in v1.2.5

func NewTaobaoTbkDgVegasSendReportRequest() *TaobaoTbkDgVegasSendReportAPIRequest

NewTaobaoTbkDgVegasSendReportRequest 初始化TaobaoTbkDgVegasSendReportAPIRequest对象

func (TaobaoTbkDgVegasSendReportAPIRequest) GetActivityCategory added in v1.2.9

func (r TaobaoTbkDgVegasSendReportAPIRequest) GetActivityCategory() int64

GetActivityCategory ActivityCategory Getter

func (TaobaoTbkDgVegasSendReportAPIRequest) GetActivityId added in v1.2.5

func (r TaobaoTbkDgVegasSendReportAPIRequest) GetActivityId() int64

GetActivityId ActivityId Getter

func (TaobaoTbkDgVegasSendReportAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkDgVegasSendReportAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgVegasSendReportAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgVegasSendReportAPIRequest) GetBizDate added in v1.2.5

GetBizDate BizDate Getter

func (TaobaoTbkDgVegasSendReportAPIRequest) GetPageNo added in v1.2.5

GetPageNo PageNo Getter

func (TaobaoTbkDgVegasSendReportAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (TaobaoTbkDgVegasSendReportAPIRequest) GetPid added in v1.2.9

GetPid Pid Getter

func (TaobaoTbkDgVegasSendReportAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkDgVegasSendReportAPIRequest) GetRelationId added in v1.2.5

func (r TaobaoTbkDgVegasSendReportAPIRequest) GetRelationId() int64

GetRelationId RelationId Getter

func (TaobaoTbkDgVegasSendReportAPIRequest) GetRptDim added in v1.2.9

GetRptDim RptDim Getter

func (*TaobaoTbkDgVegasSendReportAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgVegasSendReportAPIRequest) SetActivityCategory added in v1.2.9

func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetActivityCategory(_activityCategory int64) error

SetActivityCategory is ActivityCategory Setter 查询红包类型,1-超级红包,2-福利购,3-签到红包,4-福利直降,不传时默认查询超级红包数据

func (*TaobaoTbkDgVegasSendReportAPIRequest) SetActivityId added in v1.2.5

func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetActivityId(_activityId int64) error

SetActivityId is ActivityId Setter 已下线,后续不需要填写

func (*TaobaoTbkDgVegasSendReportAPIRequest) SetBizDate added in v1.2.5

func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetBizDate(_bizDate string) error

SetBizDate is BizDate Setter 统计日期

func (*TaobaoTbkDgVegasSendReportAPIRequest) SetPageNo added in v1.2.5

func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 页码

func (*TaobaoTbkDgVegasSendReportAPIRequest) SetPageSize added in v1.2.5

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

SetPageSize is PageSize Setter 每页大小

func (*TaobaoTbkDgVegasSendReportAPIRequest) SetPid added in v1.2.9

SetPid is Pid Setter 媒体推广pid

func (*TaobaoTbkDgVegasSendReportAPIRequest) SetRelationId added in v1.2.5

func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetRelationId(_relationId int64) error

SetRelationId is RelationId Setter 渠道关系id

func (*TaobaoTbkDgVegasSendReportAPIRequest) SetRptDim added in v1.2.9

func (r *TaobaoTbkDgVegasSendReportAPIRequest) SetRptDim(_rptDim string) error

SetRptDim is RptDim Setter 查询维度,不填写默认是pid维度

type TaobaoTbkDgVegasSendReportAPIResponse added in v1.2.5

type TaobaoTbkDgVegasSendReportAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgVegasSendReportAPIResponseModel
}

TaobaoTbkDgVegasSendReportAPIResponse 淘宝客-推广者-查询红包发放个数 API返回值 taobao.tbk.dg.vegas.send.report

查询账号下的红包发放个数。

func GetTaobaoTbkDgVegasSendReportAPIResponse added in v1.3.4

func GetTaobaoTbkDgVegasSendReportAPIResponse() *TaobaoTbkDgVegasSendReportAPIResponse

GetTaobaoTbkDgVegasSendReportAPIResponse 从 sync.Pool 获取 TaobaoTbkDgVegasSendReportAPIResponse

func (*TaobaoTbkDgVegasSendReportAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgVegasSendReportAPIResponseModel added in v1.2.5

type TaobaoTbkDgVegasSendReportAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_dg_vegas_send_report_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *TaobaoTbkDgVegasSendReportResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoTbkDgVegasSendReportAPIResponseModel is 淘宝客-推广者-查询红包发放个数 成功返回结果

func (*TaobaoTbkDgVegasSendReportAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgVegasSendReportResult added in v1.2.5

type TaobaoTbkDgVegasSendReportResult struct {
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// model
	Model *RightsSendRptDto `json:"model,omitempty" xml:"model,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoTbkDgVegasSendReportResult 结构体

func GetTaobaoTbkDgVegasSendReportResult added in v1.3.4

func GetTaobaoTbkDgVegasSendReportResult() *TaobaoTbkDgVegasSendReportResult

GetTaobaoTbkDgVegasSendReportResult() 从对象池中获取TaobaoTbkDgVegasSendReportResult

type TaobaoTbkDgVegasSendStatusAPIRequest added in v1.2.0

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

TaobaoTbkDgVegasSendStatusAPIRequest 淘宝客-推广者-红包领取状态查询 API请求 taobao.tbk.dg.vegas.send.status

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

func GetTaobaoTbkDgVegasSendStatusAPIRequest added in v1.3.4

func GetTaobaoTbkDgVegasSendStatusAPIRequest() *TaobaoTbkDgVegasSendStatusAPIRequest

GetTaobaoTbkDgVegasSendStatusRequest 从 sync.Pool 获取 TaobaoTbkDgVegasSendStatusAPIRequest

func NewTaobaoTbkDgVegasSendStatusRequest

func NewTaobaoTbkDgVegasSendStatusRequest() *TaobaoTbkDgVegasSendStatusAPIRequest

NewTaobaoTbkDgVegasSendStatusRequest 初始化TaobaoTbkDgVegasSendStatusAPIRequest对象

func (TaobaoTbkDgVegasSendStatusAPIRequest) GetActivityCategory added in v1.2.9

func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetActivityCategory() int64

GetActivityCategory ActivityCategory Getter

func (TaobaoTbkDgVegasSendStatusAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgVegasSendStatusAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceType added in v1.2.0

func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceType() string

GetDeviceType DeviceType Getter

func (TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceValue added in v1.2.0

func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetDeviceValue() string

GetDeviceValue DeviceValue Getter

func (TaobaoTbkDgVegasSendStatusAPIRequest) GetPid added in v1.2.0

GetPid Pid Getter

func (TaobaoTbkDgVegasSendStatusAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkDgVegasSendStatusAPIRequest) GetRelationId added in v1.2.0

func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetRelationId() string

GetRelationId RelationId Getter

func (TaobaoTbkDgVegasSendStatusAPIRequest) GetSpecialId added in v1.2.0

GetSpecialId SpecialId Getter

func (TaobaoTbkDgVegasSendStatusAPIRequest) GetThorBizCode added in v1.2.0

func (r TaobaoTbkDgVegasSendStatusAPIRequest) GetThorBizCode() string

GetThorBizCode ThorBizCode Getter

func (*TaobaoTbkDgVegasSendStatusAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetActivityCategory added in v1.2.9

func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetActivityCategory(_activityCategory int64) error

SetActivityCategory is ActivityCategory Setter 查询红包类型,1-超级红包,2-福利购,3-签到红包,4-福利直降,不传时默认查询超级红包数据

func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceType added in v1.2.0

func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceType(_deviceType string) error

SetDeviceType is DeviceType Setter 入参类型(该模式下返回的结果为模糊匹配结果,和实际情况可能存在误差): 1. IMEI 2. IDFA 3. OAID 4. MOBILE

func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceValue added in v1.2.0

func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetDeviceValue(_deviceValue string) error

SetDeviceValue is DeviceValue Setter 加密后的值,需用MD5加密,32位小写

func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetPid added in v1.2.0

SetPid is Pid Setter 媒体pid

func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetRelationId added in v1.2.0

func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetRelationId(_relationId string) error

SetRelationId is RelationId Setter 渠道管理id

func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetSpecialId added in v1.2.0

func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetSpecialId(_specialId string) error

SetSpecialId is SpecialId Setter 会员运营id

func (*TaobaoTbkDgVegasSendStatusAPIRequest) SetThorBizCode added in v1.2.0

func (r *TaobaoTbkDgVegasSendStatusAPIRequest) SetThorBizCode(_thorBizCode string) error

SetThorBizCode is ThorBizCode Setter 已废弃,请勿传入

type TaobaoTbkDgVegasSendStatusAPIResponse

type TaobaoTbkDgVegasSendStatusAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgVegasSendStatusAPIResponseModel
}

TaobaoTbkDgVegasSendStatusAPIResponse 淘宝客-推广者-红包领取状态查询 API返回值 taobao.tbk.dg.vegas.send.status

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

func GetTaobaoTbkDgVegasSendStatusAPIResponse added in v1.3.4

func GetTaobaoTbkDgVegasSendStatusAPIResponse() *TaobaoTbkDgVegasSendStatusAPIResponse

GetTaobaoTbkDgVegasSendStatusAPIResponse 从 sync.Pool 获取 TaobaoTbkDgVegasSendStatusAPIResponse

func (*TaobaoTbkDgVegasSendStatusAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgVegasSendStatusAPIResponseModel added in v1.2.0

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

TaobaoTbkDgVegasSendStatusAPIResponseModel is 淘宝客-推广者-红包领取状态查询 成功返回结果

func (*TaobaoTbkDgVegasSendStatusAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgVegasSendStatusData

type TaobaoTbkDgVegasSendStatusData struct {
	// 返回结果封装对象
	ResultList []TaobaoTbkDgVegasSendStatusMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_dg_vegas_send_status_map_data,omitempty"`
}

TaobaoTbkDgVegasSendStatusData 结构体

func GetTaobaoTbkDgVegasSendStatusData added in v1.3.4

func GetTaobaoTbkDgVegasSendStatusData() *TaobaoTbkDgVegasSendStatusData

GetTaobaoTbkDgVegasSendStatusData() 从对象池中获取TaobaoTbkDgVegasSendStatusData

type TaobaoTbkDgVegasSendStatusMapData

type TaobaoTbkDgVegasSendStatusMapData struct {
	// 若该用户当前无待核销的红包,则返回1,若当前有待核销的红包,则返回0
	IsNewUser string `json:"is_new_user,omitempty" xml:"is_new_user,omitempty"`
}

TaobaoTbkDgVegasSendStatusMapData 结构体

func GetTaobaoTbkDgVegasSendStatusMapData added in v1.3.4

func GetTaobaoTbkDgVegasSendStatusMapData() *TaobaoTbkDgVegasSendStatusMapData

GetTaobaoTbkDgVegasSendStatusMapData() 从对象池中获取TaobaoTbkDgVegasSendStatusMapData

type TaobaoTbkDgVegasTljCreateAPIRequest added in v1.2.0

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

TaobaoTbkDgVegasTljCreateAPIRequest 淘宝客-推广者-淘礼金创建 API请求 taobao.tbk.dg.vegas.tlj.create

创建淘礼金

func GetTaobaoTbkDgVegasTljCreateAPIRequest added in v1.3.4

func GetTaobaoTbkDgVegasTljCreateAPIRequest() *TaobaoTbkDgVegasTljCreateAPIRequest

GetTaobaoTbkDgVegasTljCreateRequest 从 sync.Pool 获取 TaobaoTbkDgVegasTljCreateAPIRequest

func NewTaobaoTbkDgVegasTljCreateRequest

func NewTaobaoTbkDgVegasTljCreateRequest() *TaobaoTbkDgVegasTljCreateAPIRequest

NewTaobaoTbkDgVegasTljCreateRequest 初始化TaobaoTbkDgVegasTljCreateAPIRequest对象

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetAdzoneId added in v1.2.0

GetAdzoneId AdzoneId Getter

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetCampaignType added in v1.2.0

func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetCampaignType() string

GetCampaignType CampaignType Getter

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetName added in v1.2.0

GetName Name Getter

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetPerFace added in v1.2.0

GetPerFace PerFace Getter

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetSecurityLevel added in v1.2.0

func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSecurityLevel() int64

GetSecurityLevel SecurityLevel Getter

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetSecuritySwitch added in v1.2.0

func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSecuritySwitch() bool

GetSecuritySwitch SecuritySwitch Getter

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetSendEndTime added in v1.2.0

func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSendEndTime() string

GetSendEndTime SendEndTime Getter

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetSendStartTime added in v1.2.0

func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetSendStartTime() string

GetSendStartTime SendStartTime Getter

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetTotalNum added in v1.2.0

GetTotalNum TotalNum Getter

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTime added in v1.2.0

func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTime() string

GetUseEndTime UseEndTime Getter

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTimeMode added in v1.2.0

func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseEndTimeMode() int64

GetUseEndTimeMode UseEndTimeMode Getter

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetUseStartTime added in v1.2.0

func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUseStartTime() string

GetUseStartTime UseStartTime Getter

func (TaobaoTbkDgVegasTljCreateAPIRequest) GetUserTotalWinNumLimit added in v1.2.0

func (r TaobaoTbkDgVegasTljCreateAPIRequest) GetUserTotalWinNumLimit() int64

GetUserTotalWinNumLimit UserTotalWinNumLimit Getter

func (*TaobaoTbkDgVegasTljCreateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetAdzoneId added in v1.2.0

func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter 妈妈广告位Id

func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetCampaignType added in v1.2.0

func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetCampaignType(_campaignType string) error

SetCampaignType is CampaignType Setter 已下线,后续不需要填写

func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetItemId added in v1.2.0

func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetItemId(_itemId string) error

SetItemId is ItemId Setter 宝贝ID或营销ID

func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetName added in v1.2.0

SetName is Name Setter 淘礼金名称,最大10个字符

func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetPerFace added in v1.2.0

func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetPerFace(_perFace string) error

SetPerFace is PerFace Setter 单个淘礼金面额,支持两位小数,单位元

func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetSecurityLevel added in v1.2.0

func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSecurityLevel(_securityLevel int64) error

SetSecurityLevel is SecurityLevel Setter 必须传入0

func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetSecuritySwitch added in v1.2.0

func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSecuritySwitch(_securitySwitch bool) error

SetSecuritySwitch is SecuritySwitch Setter 必须设置为true,默认开启安全

func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetSendEndTime added in v1.2.0

func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSendEndTime(_sendEndTime string) error

SetSendEndTime is SendEndTime Setter 发放截止时间

func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetSendStartTime added in v1.2.0

func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetSendStartTime(_sendStartTime string) error

SetSendStartTime is SendStartTime Setter 发放开始时间

func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetTotalNum added in v1.2.0

func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetTotalNum(_totalNum int64) error

SetTotalNum is TotalNum Setter 淘礼金总个数

func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTime added in v1.2.0

func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTime(_useEndTime string) error

SetUseEndTime is UseEndTime Setter 使用结束日期。如果是结束时间模式为相对时间,时间格式为1-7直接的整数, 例如,1(相对领取时间1天); 如果是绝对时间,格式为yyyy-MM-dd,例如,2019-01-29,表示到2019-01-29 23:59:59结束

func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTimeMode added in v1.2.0

func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseEndTimeMode(_useEndTimeMode int64) error

SetUseEndTimeMode is UseEndTimeMode Setter 结束日期的模式,1:相对时间,2:绝对时间

func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetUseStartTime added in v1.2.0

func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUseStartTime(_useStartTime string) error

SetUseStartTime is UseStartTime Setter 使用开始日期。相对时间,无需填写,以用户领取时间作为使用开始时间。绝对时间,格式 yyyy-MM-dd,例如,2019-01-29,表示从2019-01-29 00:00:00 开始

func (*TaobaoTbkDgVegasTljCreateAPIRequest) SetUserTotalWinNumLimit added in v1.2.0

func (r *TaobaoTbkDgVegasTljCreateAPIRequest) SetUserTotalWinNumLimit(_userTotalWinNumLimit int64) error

SetUserTotalWinNumLimit is UserTotalWinNumLimit Setter 单用户累计中奖次数上限

type TaobaoTbkDgVegasTljCreateAPIResponse

type TaobaoTbkDgVegasTljCreateAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgVegasTljCreateAPIResponseModel
}

TaobaoTbkDgVegasTljCreateAPIResponse 淘宝客-推广者-淘礼金创建 API返回值 taobao.tbk.dg.vegas.tlj.create

创建淘礼金

func GetTaobaoTbkDgVegasTljCreateAPIResponse added in v1.3.4

func GetTaobaoTbkDgVegasTljCreateAPIResponse() *TaobaoTbkDgVegasTljCreateAPIResponse

GetTaobaoTbkDgVegasTljCreateAPIResponse 从 sync.Pool 获取 TaobaoTbkDgVegasTljCreateAPIResponse

func (*TaobaoTbkDgVegasTljCreateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgVegasTljCreateAPIResponseModel added in v1.2.0

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

TaobaoTbkDgVegasTljCreateAPIResponseModel is 淘宝客-推广者-淘礼金创建 成功返回结果

func (*TaobaoTbkDgVegasTljCreateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgVegasTljCreateResult

type TaobaoTbkDgVegasTljCreateResult struct {
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// model
	Model *RightsInstanceCreateResult `json:"model,omitempty" xml:"model,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoTbkDgVegasTljCreateResult 结构体

func GetTaobaoTbkDgVegasTljCreateResult added in v1.3.4

func GetTaobaoTbkDgVegasTljCreateResult() *TaobaoTbkDgVegasTljCreateResult

GetTaobaoTbkDgVegasTljCreateResult() 从对象池中获取TaobaoTbkDgVegasTljCreateResult

type TaobaoTbkDgVegasTljReportAPIRequest added in v1.2.5

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

TaobaoTbkDgVegasTljReportAPIRequest 淘宝客-推广者-淘礼金效果数据 API请求 taobao.tbk.dg.vegas.tlj.report

淘宝客推广者可查询淘礼金发放和使用等效果数据,只提供近150天的数据

func GetTaobaoTbkDgVegasTljReportAPIRequest added in v1.3.4

func GetTaobaoTbkDgVegasTljReportAPIRequest() *TaobaoTbkDgVegasTljReportAPIRequest

GetTaobaoTbkDgVegasTljReportRequest 从 sync.Pool 获取 TaobaoTbkDgVegasTljReportAPIRequest

func NewTaobaoTbkDgVegasTljReportRequest added in v1.2.5

func NewTaobaoTbkDgVegasTljReportRequest() *TaobaoTbkDgVegasTljReportAPIRequest

NewTaobaoTbkDgVegasTljReportRequest 初始化TaobaoTbkDgVegasTljReportAPIRequest对象

func (TaobaoTbkDgVegasTljReportAPIRequest) GetAdzoneId added in v1.2.5

GetAdzoneId AdzoneId Getter

func (TaobaoTbkDgVegasTljReportAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkDgVegasTljReportAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgVegasTljReportAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgVegasTljReportAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkDgVegasTljReportAPIRequest) GetRightsId added in v1.2.5

GetRightsId RightsId Getter

func (*TaobaoTbkDgVegasTljReportAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgVegasTljReportAPIRequest) SetAdzoneId added in v1.2.5

func (r *TaobaoTbkDgVegasTljReportAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter adzoneId

func (*TaobaoTbkDgVegasTljReportAPIRequest) SetRightsId added in v1.2.5

func (r *TaobaoTbkDgVegasTljReportAPIRequest) SetRightsId(_rightsId string) error

SetRightsId is RightsId Setter 创建淘礼金时返回的rightsId

type TaobaoTbkDgVegasTljReportAPIResponse added in v1.2.5

type TaobaoTbkDgVegasTljReportAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgVegasTljReportAPIResponseModel
}

TaobaoTbkDgVegasTljReportAPIResponse 淘宝客-推广者-淘礼金效果数据 API返回值 taobao.tbk.dg.vegas.tlj.report

淘宝客推广者可查询淘礼金发放和使用等效果数据,只提供近150天的数据

func GetTaobaoTbkDgVegasTljReportAPIResponse added in v1.3.4

func GetTaobaoTbkDgVegasTljReportAPIResponse() *TaobaoTbkDgVegasTljReportAPIResponse

GetTaobaoTbkDgVegasTljReportAPIResponse 从 sync.Pool 获取 TaobaoTbkDgVegasTljReportAPIResponse

func (*TaobaoTbkDgVegasTljReportAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgVegasTljReportAPIResponseModel added in v1.2.5

type TaobaoTbkDgVegasTljReportAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_dg_vegas_tlj_report_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 结果
	Model *InstanceDto `json:"model,omitempty" xml:"model,omitempty"`
	// 调用接口是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

TaobaoTbkDgVegasTljReportAPIResponseModel is 淘宝客-推广者-淘礼金效果数据 成功返回结果

func (*TaobaoTbkDgVegasTljReportAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgVegasTljStopAPIRequest added in v1.2.5

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

TaobaoTbkDgVegasTljStopAPIRequest 淘宝客-推广者-淘礼金暂停发放 API请求 taobao.tbk.dg.vegas.tlj.stop

淘宝客推广者可对已经创建的淘礼金暂停发放

func GetTaobaoTbkDgVegasTljStopAPIRequest added in v1.3.4

func GetTaobaoTbkDgVegasTljStopAPIRequest() *TaobaoTbkDgVegasTljStopAPIRequest

GetTaobaoTbkDgVegasTljStopRequest 从 sync.Pool 获取 TaobaoTbkDgVegasTljStopAPIRequest

func NewTaobaoTbkDgVegasTljStopRequest added in v1.2.5

func NewTaobaoTbkDgVegasTljStopRequest() *TaobaoTbkDgVegasTljStopAPIRequest

NewTaobaoTbkDgVegasTljStopRequest 初始化TaobaoTbkDgVegasTljStopAPIRequest对象

func (TaobaoTbkDgVegasTljStopAPIRequest) GetAdzoneId added in v1.2.5

func (r TaobaoTbkDgVegasTljStopAPIRequest) GetAdzoneId() int64

GetAdzoneId AdzoneId Getter

func (TaobaoTbkDgVegasTljStopAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkDgVegasTljStopAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkDgVegasTljStopAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkDgVegasTljStopAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkDgVegasTljStopAPIRequest) GetRightsId added in v1.2.5

func (r TaobaoTbkDgVegasTljStopAPIRequest) GetRightsId() string

GetRightsId RightsId Getter

func (*TaobaoTbkDgVegasTljStopAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkDgVegasTljStopAPIRequest) SetAdzoneId added in v1.2.5

func (r *TaobaoTbkDgVegasTljStopAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter adzoneId

func (*TaobaoTbkDgVegasTljStopAPIRequest) SetRightsId added in v1.2.5

func (r *TaobaoTbkDgVegasTljStopAPIRequest) SetRightsId(_rightsId string) error

SetRightsId is RightsId Setter 创建淘礼金时返回的rightsId

type TaobaoTbkDgVegasTljStopAPIResponse added in v1.2.5

type TaobaoTbkDgVegasTljStopAPIResponse struct {
	model.CommonResponse
	TaobaoTbkDgVegasTljStopAPIResponseModel
}

TaobaoTbkDgVegasTljStopAPIResponse 淘宝客-推广者-淘礼金暂停发放 API返回值 taobao.tbk.dg.vegas.tlj.stop

淘宝客推广者可对已经创建的淘礼金暂停发放

func GetTaobaoTbkDgVegasTljStopAPIResponse added in v1.3.4

func GetTaobaoTbkDgVegasTljStopAPIResponse() *TaobaoTbkDgVegasTljStopAPIResponse

GetTaobaoTbkDgVegasTljStopAPIResponse 从 sync.Pool 获取 TaobaoTbkDgVegasTljStopAPIResponse

func (*TaobaoTbkDgVegasTljStopAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkDgVegasTljStopAPIResponseModel added in v1.2.5

type TaobaoTbkDgVegasTljStopAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_dg_vegas_tlj_stop_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// model
	Model *UpdateStatusResult `json:"model,omitempty" xml:"model,omitempty"`
	// 调用接口是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

TaobaoTbkDgVegasTljStopAPIResponseModel is 淘宝客-推广者-淘礼金暂停发放 成功返回结果

func (*TaobaoTbkDgVegasTljStopAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkItemInfoGetAPIRequest added in v1.2.0

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

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

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

func GetTaobaoTbkItemInfoGetAPIRequest added in v1.3.4

func GetTaobaoTbkItemInfoGetAPIRequest() *TaobaoTbkItemInfoGetAPIRequest

GetTaobaoTbkItemInfoGetRequest 从 sync.Pool 获取 TaobaoTbkItemInfoGetAPIRequest

func NewTaobaoTbkItemInfoGetRequest

func NewTaobaoTbkItemInfoGetRequest() *TaobaoTbkItemInfoGetAPIRequest

NewTaobaoTbkItemInfoGetRequest 初始化TaobaoTbkItemInfoGetAPIRequest对象

func (TaobaoTbkItemInfoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkItemInfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkItemInfoGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkItemInfoGetAPIRequest) GetBizSceneId added in v1.2.8

func (r TaobaoTbkItemInfoGetAPIRequest) GetBizSceneId() string

GetBizSceneId BizSceneId Getter

func (TaobaoTbkItemInfoGetAPIRequest) GetIp added in v1.2.0

GetIp Ip Getter

func (TaobaoTbkItemInfoGetAPIRequest) GetManageItemPubId added in v1.2.9

func (r TaobaoTbkItemInfoGetAPIRequest) GetManageItemPubId() int64

GetManageItemPubId ManageItemPubId Getter

func (TaobaoTbkItemInfoGetAPIRequest) GetNumIids added in v1.2.0

func (r TaobaoTbkItemInfoGetAPIRequest) GetNumIids() string

GetNumIids NumIids Getter

func (TaobaoTbkItemInfoGetAPIRequest) GetPlatform added in v1.2.0

func (r TaobaoTbkItemInfoGetAPIRequest) GetPlatform() int64

GetPlatform Platform Getter

func (TaobaoTbkItemInfoGetAPIRequest) GetPromotionType added in v1.2.8

func (r TaobaoTbkItemInfoGetAPIRequest) GetPromotionType() string

GetPromotionType PromotionType Getter

func (TaobaoTbkItemInfoGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoTbkItemInfoGetAPIRequest) GetRawParams() model.Params

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

func (TaobaoTbkItemInfoGetAPIRequest) GetRelationId added in v1.2.9

func (r TaobaoTbkItemInfoGetAPIRequest) GetRelationId() string

GetRelationId RelationId Getter

func (*TaobaoTbkItemInfoGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoTbkItemInfoGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkItemInfoGetAPIRequest) SetBizSceneId added in v1.2.8

func (r *TaobaoTbkItemInfoGetAPIRequest) SetBizSceneId(_bizSceneId string) error

SetBizSceneId is BizSceneId Setter 1-动态ID转链场景,2-消费者比价场景,3-商品库导购场景(不填默认为1)

func (*TaobaoTbkItemInfoGetAPIRequest) SetIp added in v1.2.0

SetIp is Ip Setter ip地址,影响邮费获取,如果不传或者传入不准确,邮费无法精准提供

func (*TaobaoTbkItemInfoGetAPIRequest) SetManageItemPubId added in v1.2.9

func (r *TaobaoTbkItemInfoGetAPIRequest) SetManageItemPubId(_manageItemPubId int64) error

SetManageItemPubId is ManageItemPubId Setter 商品库服务账户(场景id3权限对应的memberid)

func (*TaobaoTbkItemInfoGetAPIRequest) SetNumIids added in v1.2.0

func (r *TaobaoTbkItemInfoGetAPIRequest) SetNumIids(_numIids string) error

SetNumIids is NumIids Setter 商品ID串,用,分割,最大40个

func (*TaobaoTbkItemInfoGetAPIRequest) SetPlatform added in v1.2.0

func (r *TaobaoTbkItemInfoGetAPIRequest) SetPlatform(_platform int64) error

SetPlatform is Platform Setter 链接形式:1:PC,2:无线,默认:1

func (*TaobaoTbkItemInfoGetAPIRequest) SetPromotionType added in v1.2.8

func (r *TaobaoTbkItemInfoGetAPIRequest) SetPromotionType(_promotionType string) error

SetPromotionType is PromotionType Setter 1-自购省,2-推广赚(代理模式专属ID,代理模式必填,非代理模式不用填写该字段)

func (*TaobaoTbkItemInfoGetAPIRequest) SetRelationId added in v1.2.9

func (r *TaobaoTbkItemInfoGetAPIRequest) SetRelationId(_relationId string) error

SetRelationId is RelationId Setter 渠道关系ID

type TaobaoTbkItemInfoGetAPIResponse

type TaobaoTbkItemInfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkItemInfoGetAPIResponseModel
}

TaobaoTbkItemInfoGetAPIResponse 淘宝客-公用-淘宝客商品详情查询(简版) API返回值 taobao.tbk.item.info.get

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

func GetTaobaoTbkItemInfoGetAPIResponse added in v1.3.4

func GetTaobaoTbkItemInfoGetAPIResponse() *TaobaoTbkItemInfoGetAPIResponse

GetTaobaoTbkItemInfoGetAPIResponse 从 sync.Pool 获取 TaobaoTbkItemInfoGetAPIResponse

func (*TaobaoTbkItemInfoGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkItemInfoGetAPIResponseModel added in v1.2.0

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

TaobaoTbkItemInfoGetAPIResponseModel is 淘宝客-公用-淘宝客商品详情查询(简版) 成功返回结果

func (*TaobaoTbkItemInfoGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkOrderDetailsGetAPIRequest added in v1.2.3

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

TaobaoTbkOrderDetailsGetAPIRequest 淘宝客-推广者-所有订单查询 API请求 taobao.tbk.order.details.get

淘宝客推广带来的所有拍下付款的正向订单明细报表。

func GetTaobaoTbkOrderDetailsGetAPIRequest added in v1.3.4

func GetTaobaoTbkOrderDetailsGetAPIRequest() *TaobaoTbkOrderDetailsGetAPIRequest

GetTaobaoTbkOrderDetailsGetRequest 从 sync.Pool 获取 TaobaoTbkOrderDetailsGetAPIRequest

func NewTaobaoTbkOrderDetailsGetRequest added in v1.2.3

func NewTaobaoTbkOrderDetailsGetRequest() *TaobaoTbkOrderDetailsGetAPIRequest

NewTaobaoTbkOrderDetailsGetRequest 初始化TaobaoTbkOrderDetailsGetAPIRequest对象

func (TaobaoTbkOrderDetailsGetAPIRequest) GetApiMethodName added in v1.2.3

func (r TaobaoTbkOrderDetailsGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkOrderDetailsGetAPIRequest) GetApiParams added in v1.2.3

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkOrderDetailsGetAPIRequest) GetEndTime added in v1.2.3

GetEndTime EndTime Getter

func (TaobaoTbkOrderDetailsGetAPIRequest) GetJumpType added in v1.2.3

func (r TaobaoTbkOrderDetailsGetAPIRequest) GetJumpType() int64

GetJumpType JumpType Getter

func (TaobaoTbkOrderDetailsGetAPIRequest) GetMemberType added in v1.2.3

func (r TaobaoTbkOrderDetailsGetAPIRequest) GetMemberType() int64

GetMemberType MemberType Getter

func (TaobaoTbkOrderDetailsGetAPIRequest) GetOrderScene added in v1.2.3

func (r TaobaoTbkOrderDetailsGetAPIRequest) GetOrderScene() int64

GetOrderScene OrderScene Getter

func (TaobaoTbkOrderDetailsGetAPIRequest) GetPageNo added in v1.2.3

GetPageNo PageNo Getter

func (TaobaoTbkOrderDetailsGetAPIRequest) GetPageSize added in v1.2.3

func (r TaobaoTbkOrderDetailsGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoTbkOrderDetailsGetAPIRequest) GetPositionIndex added in v1.2.3

func (r TaobaoTbkOrderDetailsGetAPIRequest) GetPositionIndex() string

GetPositionIndex PositionIndex Getter

func (TaobaoTbkOrderDetailsGetAPIRequest) GetQueryType added in v1.2.3

func (r TaobaoTbkOrderDetailsGetAPIRequest) GetQueryType() int64

GetQueryType QueryType Getter

func (TaobaoTbkOrderDetailsGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkOrderDetailsGetAPIRequest) GetStartTime added in v1.2.3

func (r TaobaoTbkOrderDetailsGetAPIRequest) GetStartTime() string

GetStartTime StartTime Getter

func (TaobaoTbkOrderDetailsGetAPIRequest) GetTkStatus added in v1.2.3

func (r TaobaoTbkOrderDetailsGetAPIRequest) GetTkStatus() int64

GetTkStatus TkStatus Getter

func (*TaobaoTbkOrderDetailsGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkOrderDetailsGetAPIRequest) SetEndTime added in v1.2.3

func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetEndTime(_endTime string) error

SetEndTime is EndTime Setter 订单查询结束时间,订单开始时间至订单结束时间,中间时间段日常要求不超过3个小时,但如618、双11、年货节等大促期间预估时间段不可超过20分钟,超过会提示错误,调用时请务必注意时间段的选择,以保证亲能正常调用!

func (*TaobaoTbkOrderDetailsGetAPIRequest) SetJumpType added in v1.2.3

func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetJumpType(_jumpType int64) error

SetJumpType is JumpType Setter 跳转类型,当向前或者向后翻页必须提供,-1: 向前翻页,1:向后翻页

func (*TaobaoTbkOrderDetailsGetAPIRequest) SetMemberType added in v1.2.3

func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetMemberType(_memberType int64) error

SetMemberType is MemberType Setter 推广者角色类型,2:二方,3:三方,不传,表示所有角色

func (*TaobaoTbkOrderDetailsGetAPIRequest) SetOrderScene added in v1.2.3

func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetOrderScene(_orderScene int64) error

SetOrderScene is OrderScene Setter 筛选订单类型,1:所有订单,2:渠道订单,3:会员运营订单,默认为1

func (*TaobaoTbkOrderDetailsGetAPIRequest) SetPageNo added in v1.2.3

func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 第几页,默认1,1~100

func (*TaobaoTbkOrderDetailsGetAPIRequest) SetPageSize added in v1.2.3

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

SetPageSize is PageSize Setter 页大小,默认20,1~100

func (*TaobaoTbkOrderDetailsGetAPIRequest) SetPositionIndex added in v1.2.3

func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetPositionIndex(_positionIndex string) error

SetPositionIndex is PositionIndex Setter 位点,除第一页之外,都需要传递;前端原样返回。

func (*TaobaoTbkOrderDetailsGetAPIRequest) SetQueryType added in v1.2.3

func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetQueryType(_queryType int64) error

SetQueryType is QueryType Setter 查询时间类型,1:按照订单淘客创建时间查询,2:按照订单淘客付款时间查询,3:按照订单淘客结算时间查询,4:按照订单更新时间;

func (*TaobaoTbkOrderDetailsGetAPIRequest) SetStartTime added in v1.2.3

func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetStartTime(_startTime string) error

SetStartTime is StartTime Setter 订单查询开始时间

func (*TaobaoTbkOrderDetailsGetAPIRequest) SetTkStatus added in v1.2.3

func (r *TaobaoTbkOrderDetailsGetAPIRequest) SetTkStatus(_tkStatus int64) error

SetTkStatus is TkStatus Setter 淘客订单状态,11-拍下未付款,12-付款,13-关闭,14-确认收货,3-结算成功;不传,表示所有状态

type TaobaoTbkOrderDetailsGetAPIResponse added in v1.2.3

type TaobaoTbkOrderDetailsGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkOrderDetailsGetAPIResponseModel
}

TaobaoTbkOrderDetailsGetAPIResponse 淘宝客-推广者-所有订单查询 API返回值 taobao.tbk.order.details.get

淘宝客推广带来的所有拍下付款的正向订单明细报表。

func GetTaobaoTbkOrderDetailsGetAPIResponse added in v1.3.4

func GetTaobaoTbkOrderDetailsGetAPIResponse() *TaobaoTbkOrderDetailsGetAPIResponse

GetTaobaoTbkOrderDetailsGetAPIResponse 从 sync.Pool 获取 TaobaoTbkOrderDetailsGetAPIResponse

func (*TaobaoTbkOrderDetailsGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkOrderDetailsGetAPIResponseModel added in v1.2.3

type TaobaoTbkOrderDetailsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_order_details_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// PublisherOrderDto
	Data *OrderPage `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkOrderDetailsGetAPIResponseModel is 淘宝客-推广者-所有订单查询 成功返回结果

func (*TaobaoTbkOrderDetailsGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkOrderRefundGetAPIRequest added in v1.2.9

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

TaobaoTbkOrderRefundGetAPIRequest 淘宝客-推广者-全量维权退款订单查询 API请求 taobao.tbk.order.refund.get

淘宝客账户下全量维权退款订单查询

func GetTaobaoTbkOrderRefundGetAPIRequest added in v1.3.4

func GetTaobaoTbkOrderRefundGetAPIRequest() *TaobaoTbkOrderRefundGetAPIRequest

GetTaobaoTbkOrderRefundGetRequest 从 sync.Pool 获取 TaobaoTbkOrderRefundGetAPIRequest

func NewTaobaoTbkOrderRefundGetRequest added in v1.2.9

func NewTaobaoTbkOrderRefundGetRequest() *TaobaoTbkOrderRefundGetAPIRequest

NewTaobaoTbkOrderRefundGetRequest 初始化TaobaoTbkOrderRefundGetAPIRequest对象

func (TaobaoTbkOrderRefundGetAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoTbkOrderRefundGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkOrderRefundGetAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkOrderRefundGetAPIRequest) GetPublisherRefundOrderQueryOption added in v1.2.9

func (r TaobaoTbkOrderRefundGetAPIRequest) GetPublisherRefundOrderQueryOption() *PublisherRefundOrderQueryOption

GetPublisherRefundOrderQueryOption PublisherRefundOrderQueryOption Getter

func (TaobaoTbkOrderRefundGetAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoTbkOrderRefundGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkOrderRefundGetAPIRequest) SetPublisherRefundOrderQueryOption added in v1.2.9

func (r *TaobaoTbkOrderRefundGetAPIRequest) SetPublisherRefundOrderQueryOption(_publisherRefundOrderQueryOption *PublisherRefundOrderQueryOption) error

SetPublisherRefundOrderQueryOption is PublisherRefundOrderQueryOption Setter 全量维权订单查询入参

type TaobaoTbkOrderRefundGetAPIResponse added in v1.2.9

type TaobaoTbkOrderRefundGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkOrderRefundGetAPIResponseModel
}

TaobaoTbkOrderRefundGetAPIResponse 淘宝客-推广者-全量维权退款订单查询 API返回值 taobao.tbk.order.refund.get

淘宝客账户下全量维权退款订单查询

func GetTaobaoTbkOrderRefundGetAPIResponse added in v1.3.4

func GetTaobaoTbkOrderRefundGetAPIResponse() *TaobaoTbkOrderRefundGetAPIResponse

GetTaobaoTbkOrderRefundGetAPIResponse 从 sync.Pool 获取 TaobaoTbkOrderRefundGetAPIResponse

func (*TaobaoTbkOrderRefundGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkOrderRefundGetAPIResponseModel added in v1.2.9

type TaobaoTbkOrderRefundGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_order_refund_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 业务错误信息
	BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"`
	// 返回信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 返回数据
	Data *OrderPage `json:"data,omitempty" xml:"data,omitempty"`
	// 接口返回值信息,跟rpc架构保持一致
	ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 业务错误码 101, 102,103
	BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
}

TaobaoTbkOrderRefundGetAPIResponseModel is 淘宝客-推广者-全量维权退款订单查询 成功返回结果

func (*TaobaoTbkOrderRefundGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkPrivilegeGetAPIRequest added in v1.2.5

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

TaobaoTbkPrivilegeGetAPIRequest 淘宝客-服务商-单品券高效转链 API请求 taobao.tbk.privilege.get

单品券高效转链API

func GetTaobaoTbkPrivilegeGetAPIRequest added in v1.3.4

func GetTaobaoTbkPrivilegeGetAPIRequest() *TaobaoTbkPrivilegeGetAPIRequest

GetTaobaoTbkPrivilegeGetRequest 从 sync.Pool 获取 TaobaoTbkPrivilegeGetAPIRequest

func NewTaobaoTbkPrivilegeGetRequest added in v1.2.5

func NewTaobaoTbkPrivilegeGetRequest() *TaobaoTbkPrivilegeGetAPIRequest

NewTaobaoTbkPrivilegeGetRequest 初始化TaobaoTbkPrivilegeGetAPIRequest对象

func (TaobaoTbkPrivilegeGetAPIRequest) GetAdzoneId added in v1.2.5

func (r TaobaoTbkPrivilegeGetAPIRequest) GetAdzoneId() int64

GetAdzoneId AdzoneId Getter

func (TaobaoTbkPrivilegeGetAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkPrivilegeGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkPrivilegeGetAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkPrivilegeGetAPIRequest) GetBizSceneId added in v1.2.8

func (r TaobaoTbkPrivilegeGetAPIRequest) GetBizSceneId() string

GetBizSceneId BizSceneId Getter

func (TaobaoTbkPrivilegeGetAPIRequest) GetExternalId added in v1.2.5

func (r TaobaoTbkPrivilegeGetAPIRequest) GetExternalId() string

GetExternalId ExternalId Getter

func (TaobaoTbkPrivilegeGetAPIRequest) GetGetTopnRate added in v1.2.5

func (r TaobaoTbkPrivilegeGetAPIRequest) GetGetTopnRate() int64

GetGetTopnRate GetTopnRate Getter

func (TaobaoTbkPrivilegeGetAPIRequest) GetItemId added in v1.2.5

GetItemId ItemId Getter

func (TaobaoTbkPrivilegeGetAPIRequest) GetManageItemPubId added in v1.2.9

func (r TaobaoTbkPrivilegeGetAPIRequest) GetManageItemPubId() int64

GetManageItemPubId ManageItemPubId Getter

func (r TaobaoTbkPrivilegeGetAPIRequest) GetMiniProgramLink() int64

GetMiniProgramLink MiniProgramLink Getter

func (TaobaoTbkPrivilegeGetAPIRequest) GetPlatform added in v1.2.5

func (r TaobaoTbkPrivilegeGetAPIRequest) GetPlatform() int64

GetPlatform Platform Getter

func (TaobaoTbkPrivilegeGetAPIRequest) GetPromotionType added in v1.2.8

func (r TaobaoTbkPrivilegeGetAPIRequest) GetPromotionType() string

GetPromotionType PromotionType Getter

func (TaobaoTbkPrivilegeGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoTbkPrivilegeGetAPIRequest) GetRawParams() model.Params

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

func (TaobaoTbkPrivilegeGetAPIRequest) GetRelationId added in v1.2.5

func (r TaobaoTbkPrivilegeGetAPIRequest) GetRelationId() string

GetRelationId RelationId Getter

func (TaobaoTbkPrivilegeGetAPIRequest) GetSiteId added in v1.2.5

func (r TaobaoTbkPrivilegeGetAPIRequest) GetSiteId() int64

GetSiteId SiteId Getter

func (TaobaoTbkPrivilegeGetAPIRequest) GetSkuId added in v1.2.9

GetSkuId SkuId Getter

func (TaobaoTbkPrivilegeGetAPIRequest) GetSpecialId added in v1.2.5

func (r TaobaoTbkPrivilegeGetAPIRequest) GetSpecialId() string

GetSpecialId SpecialId Getter

func (TaobaoTbkPrivilegeGetAPIRequest) GetUcrowdId added in v1.2.5

func (r TaobaoTbkPrivilegeGetAPIRequest) GetUcrowdId() int64

GetUcrowdId UcrowdId Getter

func (TaobaoTbkPrivilegeGetAPIRequest) GetXid added in v1.2.5

GetXid Xid Getter

func (*TaobaoTbkPrivilegeGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkPrivilegeGetAPIRequest) SetAdzoneId added in v1.2.5

func (r *TaobaoTbkPrivilegeGetAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter 推广位id,mm_xx_xx_xx pid三段式中的第三段

func (*TaobaoTbkPrivilegeGetAPIRequest) SetBizSceneId added in v1.2.8

func (r *TaobaoTbkPrivilegeGetAPIRequest) SetBizSceneId(_bizSceneId string) error

SetBizSceneId is BizSceneId Setter 1-动态ID转链场景,2-消费者比价场景,3-商品库导购场景(不填默认为1)

func (*TaobaoTbkPrivilegeGetAPIRequest) SetExternalId added in v1.2.5

func (r *TaobaoTbkPrivilegeGetAPIRequest) SetExternalId(_externalId string) error

SetExternalId is ExternalId Setter 淘宝客外部用户标记,如自身系统账户ID;微信ID等

func (*TaobaoTbkPrivilegeGetAPIRequest) SetGetTopnRate added in v1.2.5

func (r *TaobaoTbkPrivilegeGetAPIRequest) SetGetTopnRate(_getTopnRate int64) error

SetGetTopnRate is GetTopnRate Setter 是否获取前N件佣金 ,0-否,1-是,其他值-否

func (*TaobaoTbkPrivilegeGetAPIRequest) SetItemId added in v1.2.5

func (r *TaobaoTbkPrivilegeGetAPIRequest) SetItemId(_itemId string) error

SetItemId is ItemId Setter 商品ID

func (*TaobaoTbkPrivilegeGetAPIRequest) SetManageItemPubId added in v1.2.9

func (r *TaobaoTbkPrivilegeGetAPIRequest) SetManageItemPubId(_manageItemPubId int64) error

SetManageItemPubId is ManageItemPubId Setter 商品库服务账户(场景id3权限对应的memberid)

func (r *TaobaoTbkPrivilegeGetAPIRequest) SetMiniProgramLink(_miniProgramLink int64) error

SetMiniProgramLink is MiniProgramLink Setter 是否需要获取小程序链接,需要设置1。(暂未对外开放)

func (*TaobaoTbkPrivilegeGetAPIRequest) SetPlatform added in v1.2.5

func (r *TaobaoTbkPrivilegeGetAPIRequest) SetPlatform(_platform int64) error

SetPlatform is Platform Setter 1:PC,2:无线,默认:1

func (*TaobaoTbkPrivilegeGetAPIRequest) SetPromotionType added in v1.2.8

func (r *TaobaoTbkPrivilegeGetAPIRequest) SetPromotionType(_promotionType string) error

SetPromotionType is PromotionType Setter 1-自购省,2-推广赚(代理模式专属ID,代理模式必填,非代理模式不用填写该字段)

func (*TaobaoTbkPrivilegeGetAPIRequest) SetRelationId added in v1.2.5

func (r *TaobaoTbkPrivilegeGetAPIRequest) SetRelationId(_relationId string) error

SetRelationId is RelationId Setter 渠道关系ID,仅适用于渠道推广场景(如是主站选品推广场景,必须入参该字段,且bizSceneId字段需入参2-消费者比价场景,否则二次转链失败)

func (*TaobaoTbkPrivilegeGetAPIRequest) SetSiteId added in v1.2.5

func (r *TaobaoTbkPrivilegeGetAPIRequest) SetSiteId(_siteId int64) error

SetSiteId is SiteId Setter 备案的网站id, mm_xx_xx_xx pid三段式中的第二段

func (*TaobaoTbkPrivilegeGetAPIRequest) SetSkuId added in v1.2.9

func (r *TaobaoTbkPrivilegeGetAPIRequest) SetSkuId(_skuId int64) error

SetSkuId is SkuId Setter 入参商品id下的skuid,传入时会透传至转链结果url中

func (*TaobaoTbkPrivilegeGetAPIRequest) SetSpecialId added in v1.2.5

func (r *TaobaoTbkPrivilegeGetAPIRequest) SetSpecialId(_specialId string) error

SetSpecialId is SpecialId Setter 会员运营ID

func (*TaobaoTbkPrivilegeGetAPIRequest) SetUcrowdId added in v1.2.5

func (r *TaobaoTbkPrivilegeGetAPIRequest) SetUcrowdId(_ucrowdId int64) error

SetUcrowdId is UcrowdId Setter 会员人群ID,用于统计人群推广效果

func (*TaobaoTbkPrivilegeGetAPIRequest) SetXid added in v1.2.5

SetXid is Xid Setter 团长与下游渠道合作的特殊标识,用于统计渠道推广效果

type TaobaoTbkPrivilegeGetAPIResponse added in v1.2.5

type TaobaoTbkPrivilegeGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkPrivilegeGetAPIResponseModel
}

TaobaoTbkPrivilegeGetAPIResponse 淘宝客-服务商-单品券高效转链 API返回值 taobao.tbk.privilege.get

单品券高效转链API

func GetTaobaoTbkPrivilegeGetAPIResponse added in v1.3.4

func GetTaobaoTbkPrivilegeGetAPIResponse() *TaobaoTbkPrivilegeGetAPIResponse

GetTaobaoTbkPrivilegeGetAPIResponse 从 sync.Pool 获取 TaobaoTbkPrivilegeGetAPIResponse

func (*TaobaoTbkPrivilegeGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkPrivilegeGetAPIResponseModel added in v1.2.5

type TaobaoTbkPrivilegeGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_privilege_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TaobaoTbkPrivilegeGetRpcResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoTbkPrivilegeGetAPIResponseModel is 淘宝客-服务商-单品券高效转链 成功返回结果

func (*TaobaoTbkPrivilegeGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkPrivilegeGetRpcResult added in v1.2.5

type TaobaoTbkPrivilegeGetRpcResult struct {
	// data
	Data *MaterialDto `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkPrivilegeGetRpcResult 结构体

func GetTaobaoTbkPrivilegeGetRpcResult added in v1.3.4

func GetTaobaoTbkPrivilegeGetRpcResult() *TaobaoTbkPrivilegeGetRpcResult

GetTaobaoTbkPrivilegeGetRpcResult() 从对象池中获取TaobaoTbkPrivilegeGetRpcResult

type TaobaoTbkRelationRefundAPIRequest added in v1.2.9

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

TaobaoTbkRelationRefundAPIRequest 淘宝客-推广者-维权退款订单查询 API请求 taobao.tbk.relation.refund

淘宝客维权退款订单查询-渠道管理和会员运营管理专用

func GetTaobaoTbkRelationRefundAPIRequest added in v1.3.4

func GetTaobaoTbkRelationRefundAPIRequest() *TaobaoTbkRelationRefundAPIRequest

GetTaobaoTbkRelationRefundRequest 从 sync.Pool 获取 TaobaoTbkRelationRefundAPIRequest

func NewTaobaoTbkRelationRefundRequest added in v1.2.9

func NewTaobaoTbkRelationRefundRequest() *TaobaoTbkRelationRefundAPIRequest

NewTaobaoTbkRelationRefundRequest 初始化TaobaoTbkRelationRefundAPIRequest对象

func (TaobaoTbkRelationRefundAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoTbkRelationRefundAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkRelationRefundAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkRelationRefundAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoTbkRelationRefundAPIRequest) GetSearchOption added in v1.2.9

GetSearchOption SearchOption Getter

func (*TaobaoTbkRelationRefundAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkRelationRefundAPIRequest) SetSearchOption added in v1.2.9

func (r *TaobaoTbkRelationRefundAPIRequest) SetSearchOption(_searchOption *TopApiRefundRptOption) error

SetSearchOption is SearchOption Setter 参数option

type TaobaoTbkRelationRefundAPIResponse added in v1.2.9

type TaobaoTbkRelationRefundAPIResponse struct {
	model.CommonResponse
	TaobaoTbkRelationRefundAPIResponseModel
}

TaobaoTbkRelationRefundAPIResponse 淘宝客-推广者-维权退款订单查询 API返回值 taobao.tbk.relation.refund

淘宝客维权退款订单查询-渠道管理和会员运营管理专用

func GetTaobaoTbkRelationRefundAPIResponse added in v1.3.4

func GetTaobaoTbkRelationRefundAPIResponse() *TaobaoTbkRelationRefundAPIResponse

GetTaobaoTbkRelationRefundAPIResponse 从 sync.Pool 获取 TaobaoTbkRelationRefundAPIResponse

func (*TaobaoTbkRelationRefundAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkRelationRefundAPIResponseModel added in v1.2.9

type TaobaoTbkRelationRefundAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_relation_refund_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果封装对象
	Result *TaobaoTbkRelationRefundRpcResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoTbkRelationRefundAPIResponseModel is 淘宝客-推广者-维权退款订单查询 成功返回结果

func (*TaobaoTbkRelationRefundAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkRelationRefundResult added in v1.2.9

type TaobaoTbkRelationRefundResult struct {
	// 第三方应该返还的补贴
	TkSubsidyFeeRefund3rdPub string `json:"tk_subsidy_fee_refund3rd_pub,omitempty" xml:"tk_subsidy_fee_refund3rd_pub,omitempty"`
	// 第三方应该返还的佣金
	TkCommissionFeeRefund3rdPub string `json:"tk_commission_fee_refund3rd_pub,omitempty" xml:"tk_commission_fee_refund3rd_pub,omitempty"`
	// 第二方应该返还的补贴(不包括技术服务费)
	TkSubsidyFeeRefundPub string `json:"tk_subsidy_fee_refund_pub,omitempty" xml:"tk_subsidy_fee_refund_pub,omitempty"`
	// 第二方应该返还的佣金(不包括技术服务费)
	TkCommissionFeeRefundPub string `json:"tk_commission_fee_refund_pub,omitempty" xml:"tk_commission_fee_refund_pub,omitempty"`
	// 维权完成时间
	TkRefundSuitTime string `json:"tk_refund_suit_time,omitempty" xml:"tk_refund_suit_time,omitempty"`
	// 维权创建时间
	TkRefundTime string `json:"tk_refund_time,omitempty" xml:"tk_refund_time,omitempty"`
	// 订单结算时间
	EarningTime string `json:"earning_time,omitempty" xml:"earning_time,omitempty"`
	// 订单创建时间
	TbTradeCreateTime string `json:"tb_trade_create_time,omitempty" xml:"tb_trade_create_time,omitempty"`
	// 宝贝标题
	TbAuctionTitle string `json:"tb_auction_title,omitempty" xml:"tb_auction_title,omitempty"`
	// 维权金额
	RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 结算金额
	TbTradeFinishPrice string `json:"tb_trade_finish_price,omitempty" xml:"tb_trade_finish_price,omitempty"`
	// 应返商家金额(二方)
	TkPubShowReturnFee string `json:"tk_pub_show_return_fee,omitempty" xml:"tk_pub_show_return_fee,omitempty"`
	// 应返商家金额(三方)
	Tk3rdPubShowReturnFee string `json:"tk3rd_pub_show_return_fee,omitempty" xml:"tk3rd_pub_show_return_fee,omitempty"`
	// (口碑订单)口碑父订单号
	AlscPid string `json:"alsc_pid,omitempty" xml:"alsc_pid,omitempty"`
	// (口碑订单)口碑子订单号
	AlscId string `json:"alsc_id,omitempty" xml:"alsc_id,omitempty"`
	// 更新时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 淘宝订单编号
	TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"`
	// 会员关系id
	SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"`
	// 渠道关系id
	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 第三方推广者memberid
	Tk3rdPubId int64 `json:"tk3rd_pub_id,omitempty" xml:"tk3rd_pub_id,omitempty"`
	// 推广者memberid
	TkPubId int64 `json:"tk_pub_id,omitempty" xml:"tk_pub_id,omitempty"`
	// 维权创建(淘客结算回执) 4,维权成功(淘客结算回执) 2,维权失败(淘客结算回执) 3,发生多次维权,待处理      11,从淘客处补扣(钱已结给淘客) 等待扣款 12,从淘客处补扣(钱已结给淘客) 扣款成功 13,从卖家处补扣(钱已结给卖家) 等待扣款 14,从卖家处补扣(钱已结给卖家) 扣款成功 15
	RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 淘宝子订单编号
	TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"`
	// 1 表示2方,2表示3方
	RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"`
}

TaobaoTbkRelationRefundResult 结构体

func GetTaobaoTbkRelationRefundResult added in v1.3.4

func GetTaobaoTbkRelationRefundResult() *TaobaoTbkRelationRefundResult

GetTaobaoTbkRelationRefundResult() 从对象池中获取TaobaoTbkRelationRefundResult

type TaobaoTbkRelationRefundRpcResult added in v1.2.9

type TaobaoTbkRelationRefundRpcResult struct {
	// 返回信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 业务错误信息
	BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"`
	// 真正的业务数据结构
	Data *PageResult `json:"data,omitempty" xml:"data,omitempty"`
	// 接口返回值信息,跟rpc架构保持一致
	ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 业务错误码 101, 102,103
	BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
}

TaobaoTbkRelationRefundRpcResult 结构体

func GetTaobaoTbkRelationRefundRpcResult added in v1.3.4

func GetTaobaoTbkRelationRefundRpcResult() *TaobaoTbkRelationRefundRpcResult

GetTaobaoTbkRelationRefundRpcResult() 从对象池中获取TaobaoTbkRelationRefundRpcResult

type TaobaoTbkRtaConsumerMatchAPIRequest added in v1.2.8

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

TaobaoTbkRtaConsumerMatchAPIRequest 淘宝客-推广者-定向活动目标发布 API请求 taobao.tbk.rta.consumer.match

淘客计划向用户推送某个定向活动时,调用该接口判断用户是否符合活动目标(淘客接入前需签署协议 https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin

func GetTaobaoTbkRtaConsumerMatchAPIRequest added in v1.3.4

func GetTaobaoTbkRtaConsumerMatchAPIRequest() *TaobaoTbkRtaConsumerMatchAPIRequest

GetTaobaoTbkRtaConsumerMatchRequest 从 sync.Pool 获取 TaobaoTbkRtaConsumerMatchAPIRequest

func NewTaobaoTbkRtaConsumerMatchRequest added in v1.2.8

func NewTaobaoTbkRtaConsumerMatchRequest() *TaobaoTbkRtaConsumerMatchAPIRequest

NewTaobaoTbkRtaConsumerMatchRequest 初始化TaobaoTbkRtaConsumerMatchAPIRequest对象

func (TaobaoTbkRtaConsumerMatchAPIRequest) GetAdzoneId added in v1.2.8

GetAdzoneId AdzoneId Getter

func (TaobaoTbkRtaConsumerMatchAPIRequest) GetApiMethodName added in v1.2.8

func (r TaobaoTbkRtaConsumerMatchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkRtaConsumerMatchAPIRequest) GetApiParams added in v1.2.8

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkRtaConsumerMatchAPIRequest) GetDeviceType added in v1.2.8

func (r TaobaoTbkRtaConsumerMatchAPIRequest) GetDeviceType() string

GetDeviceType DeviceType Getter

func (TaobaoTbkRtaConsumerMatchAPIRequest) GetDeviceValue added in v1.2.8

func (r TaobaoTbkRtaConsumerMatchAPIRequest) GetDeviceValue() string

GetDeviceValue DeviceValue Getter

func (TaobaoTbkRtaConsumerMatchAPIRequest) GetOfferList added in v1.2.8

GetOfferList OfferList Getter

func (TaobaoTbkRtaConsumerMatchAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkRtaConsumerMatchAPIRequest) GetSpecialId added in v1.2.8

GetSpecialId SpecialId Getter

func (TaobaoTbkRtaConsumerMatchAPIRequest) GetStrategyIdList added in v1.2.9

func (r TaobaoTbkRtaConsumerMatchAPIRequest) GetStrategyIdList() string

GetStrategyIdList StrategyIdList Getter

func (*TaobaoTbkRtaConsumerMatchAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkRtaConsumerMatchAPIRequest) SetAdzoneId added in v1.2.8

func (r *TaobaoTbkRtaConsumerMatchAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字

func (*TaobaoTbkRtaConsumerMatchAPIRequest) SetDeviceType added in v1.2.8

func (r *TaobaoTbkRtaConsumerMatchAPIRequest) SetDeviceType(_deviceType string) error

SetDeviceType is DeviceType Setter 设备信息,入参类型(该模式下返回的结果为模糊匹配结果,和实际情况可能存在误差):IMEI, 或者IDFA, 或者OAID, 或者MOBILE, 或者ALIPAY_ID

func (*TaobaoTbkRtaConsumerMatchAPIRequest) SetDeviceValue added in v1.2.8

func (r *TaobaoTbkRtaConsumerMatchAPIRequest) SetDeviceValue(_deviceValue string) error

SetDeviceValue is DeviceValue Setter 设备信息,加密后的值(IMEI,IDFA,OAID,MOBILE需要加密),需用MD5加密,32位小写

func (*TaobaoTbkRtaConsumerMatchAPIRequest) SetOfferList added in v1.2.8

func (r *TaobaoTbkRtaConsumerMatchAPIRequest) SetOfferList(_offerList []OfferList) error

SetOfferList is OfferList Setter 活动列表

func (*TaobaoTbkRtaConsumerMatchAPIRequest) SetSpecialId added in v1.2.8

func (r *TaobaoTbkRtaConsumerMatchAPIRequest) SetSpecialId(_specialId string) error

SetSpecialId is SpecialId Setter 消费者对应的会员ID(会员ID或设备信息同时填时,优先使用会员ID)

func (*TaobaoTbkRtaConsumerMatchAPIRequest) SetStrategyIdList added in v1.2.9

func (r *TaobaoTbkRtaConsumerMatchAPIRequest) SetStrategyIdList(_strategyIdList string) error

SetStrategyIdList is StrategyIdList Setter 策略ID,与活动列表二选一传入

type TaobaoTbkRtaConsumerMatchAPIResponse added in v1.2.8

type TaobaoTbkRtaConsumerMatchAPIResponse struct {
	model.CommonResponse
	TaobaoTbkRtaConsumerMatchAPIResponseModel
}

TaobaoTbkRtaConsumerMatchAPIResponse 淘宝客-推广者-定向活动目标发布 API返回值 taobao.tbk.rta.consumer.match

淘客计划向用户推送某个定向活动时,调用该接口判断用户是否符合活动目标(淘客接入前需签署协议 https://pub.alimama.com/fourth/protocol/common.htm?key=hangye_laxin

func GetTaobaoTbkRtaConsumerMatchAPIResponse added in v1.3.4

func GetTaobaoTbkRtaConsumerMatchAPIResponse() *TaobaoTbkRtaConsumerMatchAPIResponse

GetTaobaoTbkRtaConsumerMatchAPIResponse 从 sync.Pool 获取 TaobaoTbkRtaConsumerMatchAPIResponse

func (*TaobaoTbkRtaConsumerMatchAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkRtaConsumerMatchAPIResponseModel added in v1.2.8

type TaobaoTbkRtaConsumerMatchAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_rta_consumer_match_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Data *TaobaoTbkRtaConsumerMatchData `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkRtaConsumerMatchAPIResponseModel is 淘宝客-推广者-定向活动目标发布 成功返回结果

func (*TaobaoTbkRtaConsumerMatchAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkRtaConsumerMatchData added in v1.2.8

type TaobaoTbkRtaConsumerMatchData struct {
	// 返回结果列表
	ResultList []Resultlist `json:"result_list,omitempty" xml:"result_list>resultlist,omitempty"`
	// 策略ID的匹配结果,仅在入参strategy_id_list字段非空时返回
	StrategyResultList []StrategyResultList `json:"strategy_result_list,omitempty" xml:"strategy_result_list>strategy_result_list,omitempty"`
}

TaobaoTbkRtaConsumerMatchData 结构体

func GetTaobaoTbkRtaConsumerMatchData added in v1.3.4

func GetTaobaoTbkRtaConsumerMatchData() *TaobaoTbkRtaConsumerMatchData

GetTaobaoTbkRtaConsumerMatchData() 从对象池中获取TaobaoTbkRtaConsumerMatchData

type TaobaoTbkScActivityInfoGetAPIRequest added in v1.2.5

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

TaobaoTbkScActivityInfoGetAPIRequest 淘宝客-服务商-官方活动转链 API请求 taobao.tbk.sc.activity.info.get

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

func GetTaobaoTbkScActivityInfoGetAPIRequest added in v1.3.4

func GetTaobaoTbkScActivityInfoGetAPIRequest() *TaobaoTbkScActivityInfoGetAPIRequest

GetTaobaoTbkScActivityInfoGetRequest 从 sync.Pool 获取 TaobaoTbkScActivityInfoGetAPIRequest

func NewTaobaoTbkScActivityInfoGetRequest added in v1.2.5

func NewTaobaoTbkScActivityInfoGetRequest() *TaobaoTbkScActivityInfoGetAPIRequest

NewTaobaoTbkScActivityInfoGetRequest 初始化TaobaoTbkScActivityInfoGetAPIRequest对象

func (TaobaoTbkScActivityInfoGetAPIRequest) GetActivityMaterialId added in v1.2.5

func (r TaobaoTbkScActivityInfoGetAPIRequest) GetActivityMaterialId() string

GetActivityMaterialId ActivityMaterialId Getter

func (TaobaoTbkScActivityInfoGetAPIRequest) GetAdzoneId added in v1.2.5

GetAdzoneId AdzoneId Getter

func (TaobaoTbkScActivityInfoGetAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScActivityInfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScActivityInfoGetAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScActivityInfoGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScActivityInfoGetAPIRequest) GetRelationId added in v1.2.5

func (r TaobaoTbkScActivityInfoGetAPIRequest) GetRelationId() int64

GetRelationId RelationId Getter

func (TaobaoTbkScActivityInfoGetAPIRequest) GetSiteId added in v1.2.5

GetSiteId SiteId Getter

func (TaobaoTbkScActivityInfoGetAPIRequest) GetUnionId added in v1.2.5

GetUnionId UnionId Getter

func (*TaobaoTbkScActivityInfoGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScActivityInfoGetAPIRequest) SetActivityMaterialId added in v1.2.5

func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetActivityMaterialId(_activityMaterialId string) error

SetActivityMaterialId is ActivityMaterialId Setter 官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取

func (*TaobaoTbkScActivityInfoGetAPIRequest) SetAdzoneId added in v1.2.5

func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字

func (*TaobaoTbkScActivityInfoGetAPIRequest) SetRelationId added in v1.2.5

func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetRelationId(_relationId int64) error

SetRelationId is RelationId Setter 渠道关系id

func (*TaobaoTbkScActivityInfoGetAPIRequest) SetSiteId added in v1.2.5

func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetSiteId(_siteId int64) error

SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字

func (*TaobaoTbkScActivityInfoGetAPIRequest) SetUnionId added in v1.2.5

func (r *TaobaoTbkScActivityInfoGetAPIRequest) SetUnionId(_unionId string) error

SetUnionId is UnionId Setter 自定义输入串,英文和数字组成,长度不能大于12个字符,区分不同的推广渠道

type TaobaoTbkScActivityInfoGetAPIResponse added in v1.2.5

type TaobaoTbkScActivityInfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScActivityInfoGetAPIResponseModel
}

TaobaoTbkScActivityInfoGetAPIResponse 淘宝客-服务商-官方活动转链 API返回值 taobao.tbk.sc.activity.info.get

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

func GetTaobaoTbkScActivityInfoGetAPIResponse added in v1.3.4

func GetTaobaoTbkScActivityInfoGetAPIResponse() *TaobaoTbkScActivityInfoGetAPIResponse

GetTaobaoTbkScActivityInfoGetAPIResponse 从 sync.Pool 获取 TaobaoTbkScActivityInfoGetAPIResponse

func (*TaobaoTbkScActivityInfoGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScActivityInfoGetAPIResponseModel added in v1.2.5

type TaobaoTbkScActivityInfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_activity_info_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果对象
	Data *TaobaoTbkScActivityInfoGetData `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkScActivityInfoGetAPIResponseModel is 淘宝客-服务商-官方活动转链 成功返回结果

func (*TaobaoTbkScActivityInfoGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScActivityInfoGetData added in v1.2.5

type TaobaoTbkScActivityInfoGetData 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"`
	// 投放平台:1-PC,2-无线
	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"`
}

TaobaoTbkScActivityInfoGetData 结构体

func GetTaobaoTbkScActivityInfoGetData added in v1.3.4

func GetTaobaoTbkScActivityInfoGetData() *TaobaoTbkScActivityInfoGetData

GetTaobaoTbkScActivityInfoGetData() 从对象池中获取TaobaoTbkScActivityInfoGetData

type TaobaoTbkScAdzoneCreateAPIRequest added in v1.2.8

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

TaobaoTbkScAdzoneCreateAPIRequest 淘宝客-服务商-创建推广者位 API请求 taobao.tbk.sc.adzone.create

提供淘宝客创建广告位

func GetTaobaoTbkScAdzoneCreateAPIRequest added in v1.3.4

func GetTaobaoTbkScAdzoneCreateAPIRequest() *TaobaoTbkScAdzoneCreateAPIRequest

GetTaobaoTbkScAdzoneCreateRequest 从 sync.Pool 获取 TaobaoTbkScAdzoneCreateAPIRequest

func NewTaobaoTbkScAdzoneCreateRequest added in v1.2.8

func NewTaobaoTbkScAdzoneCreateRequest() *TaobaoTbkScAdzoneCreateAPIRequest

NewTaobaoTbkScAdzoneCreateRequest 初始化TaobaoTbkScAdzoneCreateAPIRequest对象

func (TaobaoTbkScAdzoneCreateAPIRequest) GetAdzoneName added in v1.2.8

func (r TaobaoTbkScAdzoneCreateAPIRequest) GetAdzoneName() string

GetAdzoneName AdzoneName Getter

func (TaobaoTbkScAdzoneCreateAPIRequest) GetApiMethodName added in v1.2.8

func (r TaobaoTbkScAdzoneCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScAdzoneCreateAPIRequest) GetApiParams added in v1.2.8

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScAdzoneCreateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScAdzoneCreateAPIRequest) GetSiteId added in v1.2.8

GetSiteId SiteId Getter

func (*TaobaoTbkScAdzoneCreateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScAdzoneCreateAPIRequest) SetAdzoneName added in v1.2.8

func (r *TaobaoTbkScAdzoneCreateAPIRequest) SetAdzoneName(_adzoneName string) error

SetAdzoneName is AdzoneName Setter 广告位名称,最大长度64字符

func (*TaobaoTbkScAdzoneCreateAPIRequest) SetSiteId added in v1.2.8

func (r *TaobaoTbkScAdzoneCreateAPIRequest) SetSiteId(_siteId int64) error

SetSiteId is SiteId Setter 网站ID

type TaobaoTbkScAdzoneCreateAPIResponse added in v1.2.8

type TaobaoTbkScAdzoneCreateAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScAdzoneCreateAPIResponseModel
}

TaobaoTbkScAdzoneCreateAPIResponse 淘宝客-服务商-创建推广者位 API返回值 taobao.tbk.sc.adzone.create

提供淘宝客创建广告位

func GetTaobaoTbkScAdzoneCreateAPIResponse added in v1.3.4

func GetTaobaoTbkScAdzoneCreateAPIResponse() *TaobaoTbkScAdzoneCreateAPIResponse

GetTaobaoTbkScAdzoneCreateAPIResponse 从 sync.Pool 获取 TaobaoTbkScAdzoneCreateAPIResponse

func (*TaobaoTbkScAdzoneCreateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScAdzoneCreateAPIResponseModel added in v1.2.8

type TaobaoTbkScAdzoneCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_adzone_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// MapData
	Data *TaobaoTbkScAdzoneCreateMapData `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkScAdzoneCreateAPIResponseModel is 淘宝客-服务商-创建推广者位 成功返回结果

func (*TaobaoTbkScAdzoneCreateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScAdzoneCreateMapData added in v1.2.8

type TaobaoTbkScAdzoneCreateMapData struct {
	// 完整的pid
	Model string `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaoTbkScAdzoneCreateMapData 结构体

func GetTaobaoTbkScAdzoneCreateMapData added in v1.3.4

func GetTaobaoTbkScAdzoneCreateMapData() *TaobaoTbkScAdzoneCreateMapData

GetTaobaoTbkScAdzoneCreateMapData() 从对象池中获取TaobaoTbkScAdzoneCreateMapData

type TaobaoTbkScInvitecodeGetAPIRequest added in v1.2.0

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

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

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

func GetTaobaoTbkScInvitecodeGetAPIRequest added in v1.3.4

func GetTaobaoTbkScInvitecodeGetAPIRequest() *TaobaoTbkScInvitecodeGetAPIRequest

GetTaobaoTbkScInvitecodeGetRequest 从 sync.Pool 获取 TaobaoTbkScInvitecodeGetAPIRequest

func NewTaobaoTbkScInvitecodeGetRequest

func NewTaobaoTbkScInvitecodeGetRequest() *TaobaoTbkScInvitecodeGetAPIRequest

NewTaobaoTbkScInvitecodeGetRequest 初始化TaobaoTbkScInvitecodeGetAPIRequest对象

func (TaobaoTbkScInvitecodeGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkScInvitecodeGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScInvitecodeGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScInvitecodeGetAPIRequest) GetCodeType added in v1.2.0

func (r TaobaoTbkScInvitecodeGetAPIRequest) GetCodeType() int64

GetCodeType CodeType Getter

func (TaobaoTbkScInvitecodeGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScInvitecodeGetAPIRequest) GetRelationApp added in v1.2.0

func (r TaobaoTbkScInvitecodeGetAPIRequest) GetRelationApp() string

GetRelationApp RelationApp Getter

func (TaobaoTbkScInvitecodeGetAPIRequest) GetRelationId added in v1.2.0

func (r TaobaoTbkScInvitecodeGetAPIRequest) GetRelationId() int64

GetRelationId RelationId Getter

func (*TaobaoTbkScInvitecodeGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScInvitecodeGetAPIRequest) SetCodeType added in v1.2.0

func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetCodeType(_codeType int64) error

SetCodeType is CodeType Setter 邀请码类型,1 - 渠道邀请,2 - 渠道裂变,3 -会员邀请

func (*TaobaoTbkScInvitecodeGetAPIRequest) SetRelationApp added in v1.2.0

func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetRelationApp(_relationApp string) error

SetRelationApp is RelationApp Setter 渠道推广的物料类型

func (*TaobaoTbkScInvitecodeGetAPIRequest) SetRelationId added in v1.2.0

func (r *TaobaoTbkScInvitecodeGetAPIRequest) SetRelationId(_relationId int64) error

SetRelationId is RelationId Setter 渠道关系ID

type TaobaoTbkScInvitecodeGetAPIResponse

type TaobaoTbkScInvitecodeGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScInvitecodeGetAPIResponseModel
}

TaobaoTbkScInvitecodeGetAPIResponse 淘宝客-公用-私域用户邀请码生成 API返回值 taobao.tbk.sc.invitecode.get

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

func GetTaobaoTbkScInvitecodeGetAPIResponse added in v1.3.4

func GetTaobaoTbkScInvitecodeGetAPIResponse() *TaobaoTbkScInvitecodeGetAPIResponse

GetTaobaoTbkScInvitecodeGetAPIResponse 从 sync.Pool 获取 TaobaoTbkScInvitecodeGetAPIResponse

func (*TaobaoTbkScInvitecodeGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScInvitecodeGetAPIResponseModel added in v1.2.0

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

TaobaoTbkScInvitecodeGetAPIResponseModel is 淘宝客-公用-私域用户邀请码生成 成功返回结果

func (*TaobaoTbkScInvitecodeGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScInvitecodeGetData

type TaobaoTbkScInvitecodeGetData struct {
	// 邀请码
	InviterCode string `json:"inviter_code,omitempty" xml:"inviter_code,omitempty"`
}

TaobaoTbkScInvitecodeGetData 结构体

func GetTaobaoTbkScInvitecodeGetData added in v1.3.4

func GetTaobaoTbkScInvitecodeGetData() *TaobaoTbkScInvitecodeGetData

GetTaobaoTbkScInvitecodeGetData() 从对象池中获取TaobaoTbkScInvitecodeGetData

type TaobaoTbkScMaterialOptionalAPIRequest added in v1.2.5

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

TaobaoTbkScMaterialOptionalAPIRequest 淘宝客-服务商-物料搜索 API请求 taobao.tbk.sc.material.optional

服务商使用。支持入参推广者对应的“推广位”、关键词和相关筛选条件,获取对应的物料信息和推广者对应的推广链接。

func GetTaobaoTbkScMaterialOptionalAPIRequest added in v1.3.4

func GetTaobaoTbkScMaterialOptionalAPIRequest() *TaobaoTbkScMaterialOptionalAPIRequest

GetTaobaoTbkScMaterialOptionalRequest 从 sync.Pool 获取 TaobaoTbkScMaterialOptionalAPIRequest

func NewTaobaoTbkScMaterialOptionalRequest added in v1.2.5

func NewTaobaoTbkScMaterialOptionalRequest() *TaobaoTbkScMaterialOptionalAPIRequest

NewTaobaoTbkScMaterialOptionalRequest 初始化TaobaoTbkScMaterialOptionalAPIRequest对象

func (TaobaoTbkScMaterialOptionalAPIRequest) GetAdzoneId added in v1.2.5

GetAdzoneId AdzoneId Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScMaterialOptionalAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScMaterialOptionalAPIRequest) GetBizSceneId added in v1.2.8

GetBizSceneId BizSceneId Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetCat added in v1.2.5

GetCat Cat Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetCityCode added in v1.2.5

GetCityCode CityCode Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetDeviceEncrypt added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetDeviceEncrypt() string

GetDeviceEncrypt DeviceEncrypt Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetDeviceType added in v1.2.5

GetDeviceType DeviceType Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetDeviceValue added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetDeviceValue() string

GetDeviceValue DeviceValue Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetEndKaTkRate added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetEndKaTkRate() int64

GetEndKaTkRate EndKaTkRate Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetEndPrice added in v1.2.5

GetEndPrice EndPrice Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetEndTkRate added in v1.2.5

GetEndTkRate EndTkRate Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetGetTopnRate added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetGetTopnRate() int64

GetGetTopnRate GetTopnRate Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetHasCoupon added in v1.2.5

GetHasCoupon HasCoupon Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetIncludeGoodRate added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIncludeGoodRate() bool

GetIncludeGoodRate IncludeGoodRate Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetIncludePayRate30 added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIncludePayRate30() bool

GetIncludePayRate30 IncludePayRate30 Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetIncludeRfdRate added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIncludeRfdRate() bool

GetIncludeRfdRate IncludeRfdRate Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetIp added in v1.2.5

GetIp Ip Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetIsOverseas added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetIsOverseas() bool

GetIsOverseas IsOverseas Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetIsTmall added in v1.2.5

GetIsTmall IsTmall Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetItemloc added in v1.2.5

GetItemloc Itemloc Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetLatitude added in v1.2.5

GetLatitude Latitude Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetLockRateEndTime added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetLockRateEndTime() int64

GetLockRateEndTime LockRateEndTime Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetLockRateStartTime added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetLockRateStartTime() int64

GetLockRateStartTime LockRateStartTime Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetLongitude added in v1.2.5

GetLongitude Longitude Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetMaterialId added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetMaterialId() int64

GetMaterialId MaterialId Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetNeedFreeShipment added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetNeedFreeShipment() bool

GetNeedFreeShipment NeedFreeShipment Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetNeedPrepay added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetNeedPrepay() bool

GetNeedPrepay NeedPrepay Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetNpxLevel added in v1.2.5

GetNpxLevel NpxLevel Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetPageNo added in v1.2.5

GetPageNo PageNo Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetPageResultKey added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetPageResultKey() string

GetPageResultKey PageResultKey Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetPlatform added in v1.2.5

GetPlatform Platform Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetPromotionType added in v1.2.8

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetPromotionType() string

GetPromotionType PromotionType Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetQ added in v1.2.5

GetQ Q Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScMaterialOptionalAPIRequest) GetRelationId added in v1.2.5

GetRelationId RelationId Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetSellerIds added in v1.2.5

GetSellerIds SellerIds Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetSiteId added in v1.2.5

GetSiteId SiteId Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetSort added in v1.2.5

GetSort Sort Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetSpecialId added in v1.2.5

GetSpecialId SpecialId Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetStartDsr added in v1.2.5

GetStartDsr StartDsr Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetStartKaTkRate added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetStartKaTkRate() int64

GetStartKaTkRate StartKaTkRate Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetStartPrice added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetStartPrice() int64

GetStartPrice StartPrice Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetStartTkRate added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetStartTkRate() int64

GetStartTkRate StartTkRate Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetUcrowdId added in v1.2.5

GetUcrowdId UcrowdId Getter

func (TaobaoTbkScMaterialOptionalAPIRequest) GetUcrowdRankItems added in v1.2.5

func (r TaobaoTbkScMaterialOptionalAPIRequest) GetUcrowdRankItems() []Ucrowdrankitems

GetUcrowdRankItems UcrowdRankItems Getter

func (*TaobaoTbkScMaterialOptionalAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetAdzoneId added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetBizSceneId added in v1.2.8

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetBizSceneId(_bizSceneId string) error

SetBizSceneId is BizSceneId Setter 1-动态ID转链场景,2-消费者比价场景(不填默认为1)

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetCat added in v1.2.5

SetCat is Cat Setter 商品筛选-后台类目ID。用,分割,最大10个,该ID可以通过taobao.itemcats.get接口获取到

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetCityCode added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetCityCode(_cityCode string) error

SetCityCode is CityCode Setter 本地化入参-LBS信息-国标城市码,仅支持单个请求,请求饿了么卡券物料时,该字段必填。 (详细城市ID见:https://mo.m.taobao.com/page_2020010315120200508

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceEncrypt added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error

SetDeviceEncrypt is DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceType added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceType(_deviceType string) error

SetDeviceType is DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceValue added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetDeviceValue(_deviceValue string) error

SetDeviceValue is DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写)

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetEndKaTkRate added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetEndKaTkRate(_endKaTkRate int64) error

SetEndKaTkRate is EndKaTkRate Setter 商品筛选-KA媒体淘客佣金率上限。如:1234表示12.34%

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetEndPrice added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetEndPrice(_endPrice int64) error

SetEndPrice is EndPrice Setter 商品筛选-折扣价范围上限。单位:元

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetEndTkRate added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetEndTkRate(_endTkRate int64) error

SetEndTkRate is EndTkRate Setter 商品筛选-淘客佣金比率上限。如:1234表示12.34%

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetGetTopnRate added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetGetTopnRate(_getTopnRate int64) error

SetGetTopnRate is GetTopnRate Setter 是否获取前N件佣金信息,0否,1是,其他值否

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetHasCoupon added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetHasCoupon(_hasCoupon bool) error

SetHasCoupon is HasCoupon Setter 优惠券筛选-是否有优惠券。true表示该商品有优惠券,false或不设置表示不限

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetIncludeGoodRate added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIncludeGoodRate(_includeGoodRate bool) error

SetIncludeGoodRate is IncludeGoodRate Setter 商品筛选(特定媒体支持)-好评率是否高于行业均值。True表示大于等于,false或不设置表示不限

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetIncludePayRate30 added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIncludePayRate30(_includePayRate30 bool) error

SetIncludePayRate30 is IncludePayRate30 Setter 商品筛选(特定媒体支持)-成交转化是否高于行业均值。True表示大于等于,false或不设置表示不限

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetIncludeRfdRate added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIncludeRfdRate(_includeRfdRate bool) error

SetIncludeRfdRate is IncludeRfdRate Setter 商品筛选(特定媒体支持)-退款率是否低于行业均值。True表示大于等于,false或不设置表示不限

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetIp added in v1.2.5

SetIp is Ip Setter ip参数影响邮费获取,如果不传或者传入不准确,邮费无法精准提供

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetIsOverseas added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIsOverseas(_isOverseas bool) error

SetIsOverseas is IsOverseas Setter 商品筛选-是否海外商品。true表示属于海外商品,false或不设置表示不限

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetIsTmall added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetIsTmall(_isTmall bool) error

SetIsTmall is IsTmall Setter 商品筛选-是否天猫商品。true表示属于天猫商品,false或不设置表示不限

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetItemloc added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetItemloc(_itemloc string) error

SetItemloc is Itemloc Setter 商品筛选-所在地

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetLatitude added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetLatitude(_latitude string) error

SetLatitude is Latitude Setter 本地化入参-LBS信息-纬度

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetLockRateEndTime added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetLockRateEndTime(_lockRateEndTime int64) error

SetLockRateEndTime is LockRateEndTime Setter 商品筛选-锁佣结束时间

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetLockRateStartTime added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetLockRateStartTime(_lockRateStartTime int64) error

SetLockRateStartTime is LockRateStartTime Setter 商品筛选-锁佣开始时间

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetLongitude added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetLongitude(_longitude string) error

SetLongitude is Longitude Setter 本地化入参-LBS信息-经度

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetMaterialId added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetMaterialId(_materialId int64) error

SetMaterialId is MaterialId Setter 不传时默认物料id=2836。如果直接对消费者投放,可使用官方个性化算法优化的搜索物料id=17004

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetNeedFreeShipment added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetNeedFreeShipment(_needFreeShipment bool) error

SetNeedFreeShipment is NeedFreeShipment Setter 商品筛选-是否包邮。true表示包邮,false或不设置表示不限

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetNeedPrepay added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetNeedPrepay(_needPrepay bool) error

SetNeedPrepay is NeedPrepay Setter 商品筛选-是否加入消费者保障。true表示加入,false或不设置表示不限

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetNpxLevel added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetNpxLevel(_npxLevel int64) error

SetNpxLevel is NpxLevel Setter 商品筛选-牛皮癣程度。取值:1不限,2无,3轻微

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetPageNo added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 第几页,默认:1

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetPageResultKey added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetPageResultKey(_pageResultKey string) error

SetPageResultKey is PageResultKey Setter 本地化业务入参-分页唯一标识,非首页的请求必传,值为上一页返回结果中的page_result_key字段值

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetPageSize added in v1.2.5

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

SetPageSize is PageSize Setter 页大小,默认20,1~100

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetPlatform added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetPlatform(_platform int64) error

SetPlatform is Platform Setter 链接形式-1:PC,2:无线,默认为1

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetPromotionType added in v1.2.8

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetPromotionType(_promotionType string) error

SetPromotionType is PromotionType Setter 1-自购省,2-推广赚(代理模式专属ID,代理模式必填,非代理模式不用填写该字段)

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetQ added in v1.2.5

SetQ is Q Setter 查询的关键词

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetRelationId added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetRelationId(_relationId string) error

SetRelationId is RelationId Setter 渠道关系ID,仅适用于渠道推广场景

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetSellerIds added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetSellerIds(_sellerIds string) error

SetSellerIds is SellerIds Setter 商家筛选-商家id,仅支持饿了么卡券商家id,支持批量请求1-100以内,多个商家id使用英文逗号分隔

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetSiteId added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetSiteId(_siteId int64) error

SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetSort added in v1.2.5

SetSort is Sort Setter 排序_des(降序),排序_asc(升序),销量(total_sales),淘客佣金比率(tk_rate), 累计推广量(tk_total_sales),总支出佣金(tk_total_commi),价格(price),匹配分(match)

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetSpecialId added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetSpecialId(_specialId string) error

SetSpecialId is SpecialId Setter 会员运营ID,仅适用于会员运营场景

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetStartDsr added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetStartDsr(_startDsr int64) error

SetStartDsr is StartDsr Setter 商品筛选(特定媒体支持)-店铺dsr评分。筛选大于等于当前设置的店铺dsr评分的商品0-50000之间

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetStartKaTkRate added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetStartKaTkRate(_startKaTkRate int64) error

SetStartKaTkRate is StartKaTkRate Setter 商品筛选-KA媒体淘客佣金率下限。如:1234表示12.34%

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetStartPrice added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetStartPrice(_startPrice int64) error

SetStartPrice is StartPrice Setter 商品筛选-折扣价范围上限。单位:元

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetStartTkRate added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetStartTkRate(_startTkRate int64) error

SetStartTkRate is StartTkRate Setter 商品筛选-淘客佣金比率下限。如:1234表示12.34%

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetUcrowdId added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetUcrowdId(_ucrowdId int64) error

SetUcrowdId is UcrowdId Setter 人群ID,仅适用于物料评估场景material_id=41377

func (*TaobaoTbkScMaterialOptionalAPIRequest) SetUcrowdRankItems added in v1.2.5

func (r *TaobaoTbkScMaterialOptionalAPIRequest) SetUcrowdRankItems(_ucrowdRankItems []Ucrowdrankitems) error

SetUcrowdRankItems is UcrowdRankItems Setter 物料评估-商品列表

type TaobaoTbkScMaterialOptionalAPIResponse added in v1.2.5

type TaobaoTbkScMaterialOptionalAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScMaterialOptionalAPIResponseModel
}

TaobaoTbkScMaterialOptionalAPIResponse 淘宝客-服务商-物料搜索 API返回值 taobao.tbk.sc.material.optional

服务商使用。支持入参推广者对应的“推广位”、关键词和相关筛选条件,获取对应的物料信息和推广者对应的推广链接。

func GetTaobaoTbkScMaterialOptionalAPIResponse added in v1.3.4

func GetTaobaoTbkScMaterialOptionalAPIResponse() *TaobaoTbkScMaterialOptionalAPIResponse

GetTaobaoTbkScMaterialOptionalAPIResponse 从 sync.Pool 获取 TaobaoTbkScMaterialOptionalAPIResponse

func (*TaobaoTbkScMaterialOptionalAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScMaterialOptionalAPIResponseModel added in v1.2.5

type TaobaoTbkScMaterialOptionalAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_material_optional_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// resultList
	ResultList []TaobaoTbkScMaterialOptionalMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_sc_material_optional_map_data,omitempty"`
	// 本地化-lbs唯一分页标示,请在翻页时作为入参透传
	PageResultKey string `json:"page_result_key,omitempty" xml:"page_result_key,omitempty"`
	// 搜索到符合条件的结果总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

TaobaoTbkScMaterialOptionalAPIResponseModel is 淘宝客-服务商-物料搜索 成功返回结果

func (*TaobaoTbkScMaterialOptionalAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScMaterialOptionalMapData added in v1.2.5

type TaobaoTbkScMaterialOptionalMapData struct {
	// 商品信息-商品小图列表
	SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"`
	// 定向计划集合
	SpCampaignList []SpCampaign `json:"sp_campaign_list,omitempty" xml:"sp_campaign_list>sp_campaign,omitempty"`
	// 优惠券信息-优惠券开始时间
	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"`
	// 商品信息-淘客30天推广量
	TkTotalSales string `json:"tk_total_sales,omitempty" xml:"tk_total_sales,omitempty"`
	// 商品信息-月支出佣金(该字段废弃,请勿再用)
	TkTotalCommi string `json:"tk_total_commi,omitempty" xml:"tk_total_commi,omitempty"`
	// 优惠券信息-优惠券id
	CouponId string `json:"coupon_id,omitempty" xml:"coupon_id,omitempty"`
	// 商品信息-宝贝id(该字段废弃,请勿再用)
	NumIid string `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"`
	// 商品信息-一口价通常显示为划线价
	ReservePrice string `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"`
	// 商品信息-在线售卖价(元)。若属于预售商品,付定金时间内,在线售卖价=预售价
	ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,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"`
	// 商品信息-佣金比率。1550表示15.5%
	CommissionRate string `json:"commission_rate,omitempty" xml:"commission_rate,omitempty"`
	// 店铺信息-店铺名称
	ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"`
	// 优惠券信息-优惠券满减信息
	CouponInfo string `json:"coupon_info,omitempty" xml:"coupon_info,omitempty"`
	// 商品信息-佣金类型。MKT表示营销计划,SP表示定向计划,COMMON表示通用计划
	CommissionType string `json:"commission_type,omitempty" xml:"commission_type,omitempty"`
	// 链接-宝贝推广链接
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 链接-宝贝+券二合一页面链接
	CouponShareUrl string `json:"coupon_share_url,omitempty" xml:"coupon_share_url,omitempty"`
	// 商品信息-商品白底图
	WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"`
	// 商品信息-商品短标题
	ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"`
	// 商品信息-叶子类目名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 商品信息-一级类目名称
	LevelOneCategoryName string `json:"level_one_category_name,omitempty" xml:"level_one_category_name,omitempty"`
	// 拼团专用-拼团结束时间
	Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"`
	// 拼团专用-拼团开始时间
	Ostime string `json:"ostime,omitempty" xml:"ostime,omitempty"`
	// 拼团专用-拼团拼成价,单位元
	JddPrice string `json:"jdd_price,omitempty" xml:"jdd_price,omitempty"`
	// 优惠券信息-优惠券(元)。若属于预售商品,该优惠券付尾款可用,付定金不可用
	CouponAmount string `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"`
	// 优惠券信息-优惠券起用门槛,满X元可用,如:满299元减20元
	CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"`
	// 商品信息-宝贝描述(推荐理由,不一定有)
	ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"`
	// 店铺信息-卖家昵称
	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`
	// 链接-物料块id(测试中请勿使用)
	XId string `json:"x_id,omitempty" xml:"x_id,omitempty"`
	// 拼团专用-拼团一人价(原价),单位元
	OrigPrice string `json:"orig_price,omitempty" xml:"orig_price,omitempty"`
	// 营销-天猫营销玩法
	TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,omitempty"`
	// 商品信息-宝贝id
	ItemId string `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"`
	// 预售商品-优惠信息
	PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,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"`
	// 预售有礼-推广链接
	YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"`
	// 预售有礼-佣金比例(预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376
	YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,omitempty"`
	// 预售有礼-预估淘礼金(元)
	YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,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"`
	// 本地化-可用店铺名称
	UsableShopName string `json:"usable_shop_name,omitempty" xml:"usable_shop_name,omitempty"`
	// 本地化-可用店铺id
	UsableShopId string `json:"usable_shop_id,omitempty" xml:"usable_shop_id,omitempty"`
	// 本地化-到门店距离(米)
	Distance string `json:"distance,omitempty" xml:"distance,omitempty"`
	// 本地化-销售开始时间
	SaleEndTime string `json:"sale_end_time,omitempty" xml:"sale_end_time,omitempty"`
	// 本地化-销售结束时间
	SaleBeginTime string `json:"sale_begin_time,omitempty" xml:"sale_begin_time,omitempty"`
	// 商品信息-大促活动预热价
	SalePrice string `json:"sale_price,omitempty" xml:"sale_price,omitempty"`
	// 营销-跨店满减信息
	KuadianPromotionInfo string `json:"kuadian_promotion_info,omitempty" xml:"kuadian_promotion_info,omitempty"`
	// 是否品牌精选,0不是,1是
	SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"`
	// 是否品牌快抢,0不是,1是
	IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"`
	// 本地化-扩展信息
	LocalizationExtend string `json:"localization_extend,omitempty" xml:"localization_extend,omitempty"`
	// 物料评估-收益分
	CommiScore string `json:"commi_score,omitempty" xml:"commi_score,omitempty"`
	// 物料评估-匹配分
	MatchScore string `json:"match_score,omitempty" xml:"match_score,omitempty"`
	// 是否是热门商品,0不是,1是
	HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"`
	// 商品入驻淘特后产生的所有销量量级,不特指某段具体时间
	TtSoldCount string `json:"tt_sold_count,omitempty" xml:"tt_sold_count,omitempty"`
	// 额外奖励活动类型,如果一个商品有多个奖励类型,返回结果使用空格分割,0=预售单单奖励,1=618超级U选单单补
	CpaRewardType string `json:"cpa_reward_type,omitempty" xml:"cpa_reward_type,omitempty"`
	// 额外奖励活动金额,活动奖励金额的类型与cpa_reward_type字段对应,如果一个商品有多个奖励类型,返回结果使用空格分割
	CpaRewardAmount string `json:"cpa_reward_amount,omitempty" xml:"cpa_reward_amount,omitempty"`
	// 合作伙伴单单补ID,用作“年货节超级单单补”活动合作伙伴奖励统计依据
	ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 榜单url
	RankPageUrl string `json:"rank_page_url,omitempty" xml:"rank_page_url,omitempty"`
	// 搜索类型
	ItemSearchType string `json:"item_search_type,omitempty" xml:"item_search_type,omitempty"`
	// 店铺信息-卖家类型。0表示集市,1表示天猫
	UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"`
	// 商品信息-30天销量(饿了么卡券信息-总销量)
	Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"`
	// 店铺信息-卖家id
	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"`
	// 店铺信息-店铺dsr评分
	ShopDsr int64 `json:"shop_dsr,omitempty" xml:"shop_dsr,omitempty"`
	// 商品信息-叶子类目id
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 商品信息-一级类目ID
	LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"`
	// 拼团专用--拼团几人团
	JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"`
	// 预售专用-预售数量
	UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,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"`
	// 商品信息-锁佣开始时间
	LockRateStartTime int64 `json:"lock_rate_start_time,omitempty" xml:"lock_rate_start_time,omitempty"`
	// 商品信息-锁佣结束时间
	LockRateEndTime int64 `json:"lock_rate_end_time,omitempty" xml:"lock_rate_end_time,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"`
	// 比价场景专用,当系统检测到入参消费者ID购买当前商品会获得《天天开彩蛋》玩法的彩蛋时,该字段显示1,否则为0
	RewardInfo int64 `json:"reward_info,omitempty" xml:"reward_info,omitempty"`
	// 前N件佣金信息-前N件佣金生效或预热时透出以下字段
	TopnInfo *TopNInfoDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"`
	// 百亿补贴信息
	BybtInfo *BybtInfoDto `json:"bybt_info,omitempty" xml:"bybt_info,omitempty"`
	// 猫超买返卡信息
	MaifanPromotion *MaifanPromotionDto `json:"maifan_promotion,omitempty" xml:"maifan_promotion,omitempty"`
}

TaobaoTbkScMaterialOptionalMapData 结构体

func GetTaobaoTbkScMaterialOptionalMapData added in v1.3.4

func GetTaobaoTbkScMaterialOptionalMapData() *TaobaoTbkScMaterialOptionalMapData

GetTaobaoTbkScMaterialOptionalMapData() 从对象池中获取TaobaoTbkScMaterialOptionalMapData

type TaobaoTbkScMembergroupOptionalAPIRequest added in v1.2.8

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

TaobaoTbkScMembergroupOptionalAPIRequest 工具服务商member组查询、新增接口 API请求 taobao.tbk.sc.membergroup.optional

工具服务商member组查询、新增接口

func GetTaobaoTbkScMembergroupOptionalAPIRequest added in v1.3.4

func GetTaobaoTbkScMembergroupOptionalAPIRequest() *TaobaoTbkScMembergroupOptionalAPIRequest

GetTaobaoTbkScMembergroupOptionalRequest 从 sync.Pool 获取 TaobaoTbkScMembergroupOptionalAPIRequest

func NewTaobaoTbkScMembergroupOptionalRequest added in v1.2.8

func NewTaobaoTbkScMembergroupOptionalRequest() *TaobaoTbkScMembergroupOptionalAPIRequest

NewTaobaoTbkScMembergroupOptionalRequest 初始化TaobaoTbkScMembergroupOptionalAPIRequest对象

func (TaobaoTbkScMembergroupOptionalAPIRequest) GetApiMethodName added in v1.2.8

func (r TaobaoTbkScMembergroupOptionalAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScMembergroupOptionalAPIRequest) GetApiParams added in v1.2.8

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScMembergroupOptionalAPIRequest) GetMemberGroupId added in v1.2.8

func (r TaobaoTbkScMembergroupOptionalAPIRequest) GetMemberGroupId() int64

GetMemberGroupId MemberGroupId Getter

func (TaobaoTbkScMembergroupOptionalAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScMembergroupOptionalAPIRequest) GetTbNumIds added in v1.2.8

GetTbNumIds TbNumIds Getter

func (*TaobaoTbkScMembergroupOptionalAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScMembergroupOptionalAPIRequest) SetMemberGroupId added in v1.2.8

func (r *TaobaoTbkScMembergroupOptionalAPIRequest) SetMemberGroupId(_memberGroupId int64) error

SetMemberGroupId is MemberGroupId Setter member组id

func (*TaobaoTbkScMembergroupOptionalAPIRequest) SetTbNumIds added in v1.2.8

func (r *TaobaoTbkScMembergroupOptionalAPIRequest) SetTbNumIds(_tbNumIds string) error

SetTbNumIds is TbNumIds Setter 淘宝数字id

type TaobaoTbkScMembergroupOptionalAPIResponse added in v1.2.8

type TaobaoTbkScMembergroupOptionalAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScMembergroupOptionalAPIResponseModel
}

TaobaoTbkScMembergroupOptionalAPIResponse 工具服务商member组查询、新增接口 API返回值 taobao.tbk.sc.membergroup.optional

工具服务商member组查询、新增接口

func GetTaobaoTbkScMembergroupOptionalAPIResponse added in v1.3.4

func GetTaobaoTbkScMembergroupOptionalAPIResponse() *TaobaoTbkScMembergroupOptionalAPIResponse

GetTaobaoTbkScMembergroupOptionalAPIResponse 从 sync.Pool 获取 TaobaoTbkScMembergroupOptionalAPIResponse

func (*TaobaoTbkScMembergroupOptionalAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScMembergroupOptionalAPIResponseModel added in v1.2.8

type TaobaoTbkScMembergroupOptionalAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_membergroup_optional_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Data *TaobaoTbkScMembergroupOptionalMapData `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkScMembergroupOptionalAPIResponseModel is 工具服务商member组查询、新增接口 成功返回结果

func (*TaobaoTbkScMembergroupOptionalAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScMembergroupOptionalMapData added in v1.2.8

type TaobaoTbkScMembergroupOptionalMapData struct {
	// 组内的成员ID
	TbNumIds string `json:"tb_num_ids,omitempty" xml:"tb_num_ids,omitempty"`
	// 创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 更新时间
	UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"`
	// 组ID
	MemberGroupId int64 `json:"member_group_id,omitempty" xml:"member_group_id,omitempty"`
}

TaobaoTbkScMembergroupOptionalMapData 结构体

func GetTaobaoTbkScMembergroupOptionalMapData added in v1.3.4

func GetTaobaoTbkScMembergroupOptionalMapData() *TaobaoTbkScMembergroupOptionalMapData

GetTaobaoTbkScMembergroupOptionalMapData() 从对象池中获取TaobaoTbkScMembergroupOptionalMapData

type TaobaoTbkScOptimusMaterialAPIRequest added in v1.2.5

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

TaobaoTbkScOptimusMaterialAPIRequest 淘宝客-服务商-物料精选 API请求 taobao.tbk.sc.optimus.material

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

func GetTaobaoTbkScOptimusMaterialAPIRequest added in v1.3.4

func GetTaobaoTbkScOptimusMaterialAPIRequest() *TaobaoTbkScOptimusMaterialAPIRequest

GetTaobaoTbkScOptimusMaterialRequest 从 sync.Pool 获取 TaobaoTbkScOptimusMaterialAPIRequest

func NewTaobaoTbkScOptimusMaterialRequest added in v1.2.5

func NewTaobaoTbkScOptimusMaterialRequest() *TaobaoTbkScOptimusMaterialAPIRequest

NewTaobaoTbkScOptimusMaterialRequest 初始化TaobaoTbkScOptimusMaterialAPIRequest对象

func (TaobaoTbkScOptimusMaterialAPIRequest) GetAdzoneId added in v1.2.5

GetAdzoneId AdzoneId Getter

func (TaobaoTbkScOptimusMaterialAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScOptimusMaterialAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScOptimusMaterialAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScOptimusMaterialAPIRequest) GetContentId added in v1.2.5

GetContentId ContentId Getter

func (TaobaoTbkScOptimusMaterialAPIRequest) GetContentSource added in v1.2.5

func (r TaobaoTbkScOptimusMaterialAPIRequest) GetContentSource() string

GetContentSource ContentSource Getter

func (TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceEncrypt added in v1.2.5

func (r TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceEncrypt() string

GetDeviceEncrypt DeviceEncrypt Getter

func (TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceType added in v1.2.5

func (r TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceType() string

GetDeviceType DeviceType Getter

func (TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceValue added in v1.2.5

func (r TaobaoTbkScOptimusMaterialAPIRequest) GetDeviceValue() string

GetDeviceValue DeviceValue Getter

func (TaobaoTbkScOptimusMaterialAPIRequest) GetItemId added in v1.2.5

GetItemId ItemId Getter

func (TaobaoTbkScOptimusMaterialAPIRequest) GetMaterialId added in v1.2.5

func (r TaobaoTbkScOptimusMaterialAPIRequest) GetMaterialId() int64

GetMaterialId MaterialId Getter

func (TaobaoTbkScOptimusMaterialAPIRequest) GetPageNo added in v1.2.5

GetPageNo PageNo Getter

func (TaobaoTbkScOptimusMaterialAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (TaobaoTbkScOptimusMaterialAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScOptimusMaterialAPIRequest) GetSiteId added in v1.2.5

GetSiteId SiteId Getter

func (*TaobaoTbkScOptimusMaterialAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScOptimusMaterialAPIRequest) SetAdzoneId added in v1.2.5

func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字

func (*TaobaoTbkScOptimusMaterialAPIRequest) SetContentId added in v1.2.5

func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetContentId(_contentId int64) error

SetContentId is ContentId Setter 内容专用-内容详情ID

func (*TaobaoTbkScOptimusMaterialAPIRequest) SetContentSource added in v1.2.5

func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetContentSource(_contentSource string) error

SetContentSource is ContentSource Setter 内容专用-内容渠道信息

func (*TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceEncrypt added in v1.2.5

func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceEncrypt(_deviceEncrypt string) error

SetDeviceEncrypt is DeviceEncrypt Setter 智能匹配-设备号加密类型:MD5,类型为OAID时不传

func (*TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceType added in v1.2.5

func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceType(_deviceType string) error

SetDeviceType is DeviceType Setter 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID

func (*TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceValue added in v1.2.5

func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetDeviceValue(_deviceValue string) error

SetDeviceValue is DeviceValue Setter 智能匹配-设备号加密后的值(MD5加密需32位小写),类型为OAID时传原始OAID值

func (*TaobaoTbkScOptimusMaterialAPIRequest) SetItemId added in v1.2.5

func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetItemId(_itemId string) error

SetItemId is ItemId Setter 商品ID,用于相似商品推荐

func (*TaobaoTbkScOptimusMaterialAPIRequest) SetMaterialId added in v1.2.5

func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetMaterialId(_materialId int64) error

SetMaterialId is MaterialId Setter 官方提供的物料Id(详细物料id见:https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html#/detail/10628875?_k=gpov9a

func (*TaobaoTbkScOptimusMaterialAPIRequest) SetPageNo added in v1.2.5

func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 第几页,默认:1

func (*TaobaoTbkScOptimusMaterialAPIRequest) SetPageSize added in v1.2.5

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

SetPageSize is PageSize Setter 页大小,默认20,1~100

func (*TaobaoTbkScOptimusMaterialAPIRequest) SetSiteId added in v1.2.5

func (r *TaobaoTbkScOptimusMaterialAPIRequest) SetSiteId(_siteId int64) error

SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字

type TaobaoTbkScOptimusMaterialAPIResponse added in v1.2.5

type TaobaoTbkScOptimusMaterialAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScOptimusMaterialAPIResponseModel
}

TaobaoTbkScOptimusMaterialAPIResponse 淘宝客-服务商-物料精选 API返回值 taobao.tbk.sc.optimus.material

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

func GetTaobaoTbkScOptimusMaterialAPIResponse added in v1.3.4

func GetTaobaoTbkScOptimusMaterialAPIResponse() *TaobaoTbkScOptimusMaterialAPIResponse

GetTaobaoTbkScOptimusMaterialAPIResponse 从 sync.Pool 获取 TaobaoTbkScOptimusMaterialAPIResponse

func (*TaobaoTbkScOptimusMaterialAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScOptimusMaterialAPIResponseModel added in v1.2.5

type TaobaoTbkScOptimusMaterialAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_optimus_material_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// resultList
	ResultList []TaobaoTbkScOptimusMaterialMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_sc_optimus_material_map_data,omitempty"`
	// 推荐信息-是否抄底
	IsDefault string `json:"is_default,omitempty" xml:"is_default,omitempty"`
}

TaobaoTbkScOptimusMaterialAPIResponseModel is 淘宝客-服务商-物料精选 成功返回结果

func (*TaobaoTbkScOptimusMaterialAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScOptimusMaterialMapData added in v1.2.5

type TaobaoTbkScOptimusMaterialMapData struct {
	// 商品信息-商品小图列表
	SmallImages []string `json:"small_images,omitempty" xml:"small_images>string,omitempty"`
	// 商品信息-商品关联词
	WordList []WordMapData `json:"word_list,omitempty" xml:"word_list>word_map_data,omitempty"`
	// 定向计划集合
	SpCampaignList []SpCampaign `json:"sp_campaign_list,omitempty" xml:"sp_campaign_list>sp_campaign,omitempty"`
	// 店铺信息-店铺名称
	ShopTitle string `json:"shop_title,omitempty" xml:"shop_title,omitempty"`
	// 优惠券信息-优惠券起用门槛,满X元可用。如:满299元减20元
	CouponStartFee string `json:"coupon_start_fee,omitempty" xml:"coupon_start_fee,omitempty"`
	// 商品信息-宝贝id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品信息-在线售卖价(元)。若属于预售商品,付定金时间内,在线售卖价=预售价
	ZkFinalPrice string `json:"zk_final_price,omitempty" xml:"zk_final_price,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"`
	// 优惠券信息-优惠券结束时间
	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"`
	// 拼团专用-拼团结束时间
	Oetime string `json:"oetime,omitempty" xml:"oetime,omitempty"`
	// 拼团专用-拼团开始时间
	Ostime string `json:"ostime,omitempty" xml:"ostime,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"`
	// 商品信息-叶子类目名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 商品信息-商品短标题
	ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"`
	// 商品信息-商品白底图
	WhiteImage string `json:"white_image,omitempty" xml:"white_image,omitempty"`
	// 营销-天猫营销玩法
	TmallPlayActivityInfo string `json:"tmall_play_activity_info,omitempty" xml:"tmall_play_activity_info,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"`
	// 猫超玩法信息-当前是否包邮,1:是,0:否
	MaochaoPlayFreePostFee string `json:"maochao_play_free_post_fee,omitempty" xml:"maochao_play_free_post_fee,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"`
	// 猫超玩法信息-玩法类型,2:折扣(满n件折扣),5:减钱(满n元减m元)
	MaochaoPlayDiscountType string `json:"maochao_play_discount_type,omitempty" xml:"maochao_play_discount_type,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"`
	// 预售商品-优惠信息
	PresaleDiscountFeeText string `json:"presale_discount_fee_text,omitempty" xml:"presale_discount_fee_text,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"`
	// 预售有礼-推广链接
	YsylClickUrl string `json:"ysyl_click_url,omitempty" xml:"ysyl_click_url,omitempty"`
	// 预售有礼-预估淘礼金(元)
	YsylTljFace string `json:"ysyl_tlj_face,omitempty" xml:"ysyl_tlj_face,omitempty"`
	// 预售有礼-佣金比例(预售有礼活动享受的推广佣金比例,注:推广该活动有特殊分成规则,请详见:https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=9334376)
	YsylCommissionRate string `json:"ysyl_commission_rate,omitempty" xml:"ysyl_commission_rate,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"`
	// 营销-1、聚划算满减满折:满N件减X元、满N件X折、满N件X元;2、天猫限时抢:前N分钟每件X元、前N分钟满N件每件X元、前N件每件X元
	PlayInfo string `json:"play_info,omitempty" xml:"play_info,omitempty"`
	// 营销-满减满折的类型(1. 满减 2. 满折)
	PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"`
	// 营销-满减满折信息
	PromotionInfo string `json:"promotion_info,omitempty" xml:"promotion_info,omitempty"`
	// 营销-满减满折门槛(满2件打5折中值为2,满300减20中值为300)
	PromotionDiscount string `json:"promotion_discount,omitempty" xml:"promotion_discount,omitempty"`
	// 营销-满减满折优惠(满2件打5折中值为5,满300减20中值为20)
	PromotionCondition string `json:"promotion_condition,omitempty" xml:"promotion_condition,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"`
	// 商品信息-大促活动预热价
	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"`
	// 淘抢购商品专用-总库存
	TqgTotalCount string `json:"tqg_total_count,omitempty" xml:"tqg_total_count,omitempty"`
	// 淘抢购商品专用-已抢购数量
	TqgSoldCount string `json:"tqg_sold_count,omitempty" xml:"tqg_sold_count,omitempty"`
	// 淘抢购商品专用-开团时间
	TqgOnlineStartTime string `json:"tqg_online_start_time,omitempty" xml:"tqg_online_start_time,omitempty"`
	// 淘抢购商品专用-结束时间
	TqgOnlineEndTime string `json:"tqg_online_end_time,omitempty" xml:"tqg_online_end_time,omitempty"`
	// 是否品牌精选,0不是,1是
	SuperiorBrand string `json:"superior_brand,omitempty" xml:"superior_brand,omitempty"`
	// 是否品牌快抢,0不是,1是
	IsBrandFlashSale string `json:"is_brand_flash_sale,omitempty" xml:"is_brand_flash_sale,omitempty"`
	// 是否是热门商品,0不是,1是
	HotFlag string `json:"hot_flag,omitempty" xml:"hot_flag,omitempty"`
	// 商品入驻淘特后产生的所有销量量级,不特指某段具体时间
	TtSoldCount string `json:"tt_sold_count,omitempty" xml:"tt_sold_count,omitempty"`
	// 额外奖励活动类型,如果一个商品有多个奖励类型,返回结果使用空格分割,0=单单奖励(已失效),1=超级单单奖励(已失效),2=年货节单单奖励
	CpaRewardType string `json:"cpa_reward_type,omitempty" xml:"cpa_reward_type,omitempty"`
	// 额外奖励活动金额,活动奖励金额的类型与cpa_reward_type字段对应,如果一个商品有多个奖励类型,返回结果使用空格分割
	CpaRewardAmount string `json:"cpa_reward_amount,omitempty" xml:"cpa_reward_amount,omitempty"`
	// 合作伙伴单单补ID,用作“年货节超级单单补”活动合作伙伴奖励统计依据
	ActivityId string `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 优惠券信息-优惠券(元)。若属于预售商品,该优惠券付尾款可用,付定金不可用
	CouponAmount int64 `json:"coupon_amount,omitempty" xml:"coupon_amount,omitempty"`
	// 商品信息-叶子类目id
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 优惠券信息-优惠券总量
	CouponTotalCount int64 `json:"coupon_total_count,omitempty" xml:"coupon_total_count,omitempty"`
	// 店铺信息-卖家类型,0表示淘宝,1表示天猫,3表示特价版
	UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"`
	// 优惠券信息-优惠券剩余量
	CouponRemainCount int64 `json:"coupon_remain_count,omitempty" xml:"coupon_remain_count,omitempty"`
	// 店铺信息-卖家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 商品信息-30天销量
	Volume int64 `json:"volume,omitempty" xml:"volume,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"`
	// 拼团专用-拼团几人团
	JddNum int64 `json:"jdd_num,omitempty" xml:"jdd_num,omitempty"`
	// 商品信息-一级类目ID
	LevelOneCategoryId int64 `json:"level_one_category_id,omitempty" xml:"level_one_category_id,omitempty"`
	// 商品信息-预售数量
	UvSumPreSale int64 `json:"uv_sum_pre_sale,omitempty" xml:"uv_sum_pre_sale,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"`
	// 预售商品-付尾款结束时间(毫秒)
	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"`
	// 天猫限时抢可售  -结束时间(毫秒)
	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"`
	// 营销-聚划算满减结束时间(毫秒)
	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"`
	// 前N件佣金信息-前N件佣金生效或预热时透出以下字段
	TopnInfo *TopNInfoDto `json:"topn_info,omitempty" xml:"topn_info,omitempty"`
	// 百亿补贴信息
	BybtInfo *BybtInfoDto `json:"bybt_info,omitempty" xml:"bybt_info,omitempty"`
	// 猫超买返卡信息
	MaifanPromotion *MaifanPromotionDto `json:"maifan_promotion,omitempty" xml:"maifan_promotion,omitempty"`
}

TaobaoTbkScOptimusMaterialMapData 结构体

func GetTaobaoTbkScOptimusMaterialMapData added in v1.3.4

func GetTaobaoTbkScOptimusMaterialMapData() *TaobaoTbkScOptimusMaterialMapData

GetTaobaoTbkScOptimusMaterialMapData() 从对象池中获取TaobaoTbkScOptimusMaterialMapData

type TaobaoTbkScOptimusPromotionAPIRequest added in v1.2.5

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

TaobaoTbkScOptimusPromotionAPIRequest 淘宝客-服务商-权益物料精选 API请求 taobao.tbk.sc.optimus.promotion

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

func GetTaobaoTbkScOptimusPromotionAPIRequest added in v1.3.4

func GetTaobaoTbkScOptimusPromotionAPIRequest() *TaobaoTbkScOptimusPromotionAPIRequest

GetTaobaoTbkScOptimusPromotionRequest 从 sync.Pool 获取 TaobaoTbkScOptimusPromotionAPIRequest

func NewTaobaoTbkScOptimusPromotionRequest added in v1.2.5

func NewTaobaoTbkScOptimusPromotionRequest() *TaobaoTbkScOptimusPromotionAPIRequest

NewTaobaoTbkScOptimusPromotionRequest 初始化TaobaoTbkScOptimusPromotionAPIRequest对象

func (TaobaoTbkScOptimusPromotionAPIRequest) GetAdzoneId added in v1.2.5

GetAdzoneId AdzoneId Getter

func (TaobaoTbkScOptimusPromotionAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScOptimusPromotionAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScOptimusPromotionAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScOptimusPromotionAPIRequest) GetPageNum added in v1.2.5

GetPageNum PageNum Getter

func (TaobaoTbkScOptimusPromotionAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (TaobaoTbkScOptimusPromotionAPIRequest) GetPromotionId added in v1.2.5

func (r TaobaoTbkScOptimusPromotionAPIRequest) GetPromotionId() int64

GetPromotionId PromotionId Getter

func (TaobaoTbkScOptimusPromotionAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScOptimusPromotionAPIRequest) GetSiteId added in v1.2.5

GetSiteId SiteId Getter

func (*TaobaoTbkScOptimusPromotionAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScOptimusPromotionAPIRequest) SetAdzoneId added in v1.2.5

func (r *TaobaoTbkScOptimusPromotionAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字

func (*TaobaoTbkScOptimusPromotionAPIRequest) SetPageNum added in v1.2.5

func (r *TaobaoTbkScOptimusPromotionAPIRequest) SetPageNum(_pageNum int64) error

SetPageNum is PageNum Setter 第几页,默认:1

func (*TaobaoTbkScOptimusPromotionAPIRequest) SetPageSize added in v1.2.5

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

SetPageSize is PageSize Setter 页大小,每次请求限制10以内

func (*TaobaoTbkScOptimusPromotionAPIRequest) SetPromotionId added in v1.2.5

func (r *TaobaoTbkScOptimusPromotionAPIRequest) SetPromotionId(_promotionId int64) error

SetPromotionId is PromotionId Setter 官方提供的权益物料Id。有价券-37104、大额店铺券-37116、天猫店铺券-62191、券券补-61809 更多权益物料id敬请期待!

func (*TaobaoTbkScOptimusPromotionAPIRequest) SetSiteId added in v1.2.5

func (r *TaobaoTbkScOptimusPromotionAPIRequest) SetSiteId(_siteId int64) error

SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字

type TaobaoTbkScOptimusPromotionAPIResponse added in v1.2.5

type TaobaoTbkScOptimusPromotionAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScOptimusPromotionAPIResponseModel
}

TaobaoTbkScOptimusPromotionAPIResponse 淘宝客-服务商-权益物料精选 API返回值 taobao.tbk.sc.optimus.promotion

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

func GetTaobaoTbkScOptimusPromotionAPIResponse added in v1.3.4

func GetTaobaoTbkScOptimusPromotionAPIResponse() *TaobaoTbkScOptimusPromotionAPIResponse

GetTaobaoTbkScOptimusPromotionAPIResponse 从 sync.Pool 获取 TaobaoTbkScOptimusPromotionAPIResponse

func (*TaobaoTbkScOptimusPromotionAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScOptimusPromotionAPIResponseModel added in v1.2.5

type TaobaoTbkScOptimusPromotionAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_optimus_promotion_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// resultList
	ResultList []TaobaoTbkScOptimusPromotionMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_sc_optimus_promotion_map_data,omitempty"`
}

TaobaoTbkScOptimusPromotionAPIResponseModel is 淘宝客-服务商-权益物料精选 成功返回结果

func (*TaobaoTbkScOptimusPromotionAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScOptimusPromotionMapData added in v1.2.5

type TaobaoTbkScOptimusPromotionMapData struct {
	// 权益信息
	PromotionList []PromotionList `json:"promotion_list,omitempty" xml:"promotion_list>promotion_list,omitempty"`
	// 权益类型。1 有价券(需要购买的店铺券或单品券) 2 公开券(直接领取的店铺券或单品券) 3 妈妈券(妈妈渠道领取的店铺券或单品券) 4.品类券 (跨店可用券,可与1,2,3叠加)
	PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"`
	// 优惠门槛类型: 1 满元 2 满件
	ConditionType string `json:"condition_type,omitempty" xml:"condition_type,omitempty"`
	// 优惠类型: 1 减钱 2 打折
	DiscountType string `json:"discount_type,omitempty" xml:"discount_type,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"`
	// 店铺信息-卖家ID
	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"`
	// 店铺信息-店铺logo
	ShopPictureUrl string `json:"shop_picture_url,omitempty" xml:"shop_picture_url,omitempty"`
	// 权益信息-总量(权益初始库存量)
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 权益信息-剩余库存(权益剩余库存量)
	RemainCount int64 `json:"remain_count,omitempty" xml:"remain_count,omitempty"`
	// 权益扩展信息
	PromotionExtend *PromotionExtend `json:"promotion_extend,omitempty" xml:"promotion_extend,omitempty"`
}

TaobaoTbkScOptimusPromotionMapData 结构体

func GetTaobaoTbkScOptimusPromotionMapData added in v1.3.4

func GetTaobaoTbkScOptimusPromotionMapData() *TaobaoTbkScOptimusPromotionMapData

GetTaobaoTbkScOptimusPromotionMapData() 从对象池中获取TaobaoTbkScOptimusPromotionMapData

type TaobaoTbkScOrderDetailsGetAPIRequest added in v1.2.3

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

TaobaoTbkScOrderDetailsGetAPIRequest 淘宝客-服务商-所有订单查询 API请求 taobao.tbk.sc.order.details.get

服务商使用。可通过该接口查询推广者账号下对应的推广订单明细。

func GetTaobaoTbkScOrderDetailsGetAPIRequest added in v1.3.4

func GetTaobaoTbkScOrderDetailsGetAPIRequest() *TaobaoTbkScOrderDetailsGetAPIRequest

GetTaobaoTbkScOrderDetailsGetRequest 从 sync.Pool 获取 TaobaoTbkScOrderDetailsGetAPIRequest

func NewTaobaoTbkScOrderDetailsGetRequest added in v1.2.3

func NewTaobaoTbkScOrderDetailsGetRequest() *TaobaoTbkScOrderDetailsGetAPIRequest

NewTaobaoTbkScOrderDetailsGetRequest 初始化TaobaoTbkScOrderDetailsGetAPIRequest对象

func (TaobaoTbkScOrderDetailsGetAPIRequest) GetApiMethodName added in v1.2.3

func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScOrderDetailsGetAPIRequest) GetApiParams added in v1.2.3

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScOrderDetailsGetAPIRequest) GetEndTime added in v1.2.3

GetEndTime EndTime Getter

func (TaobaoTbkScOrderDetailsGetAPIRequest) GetJumpType added in v1.2.3

GetJumpType JumpType Getter

func (TaobaoTbkScOrderDetailsGetAPIRequest) GetMemberGroupId added in v1.2.8

func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetMemberGroupId() int64

GetMemberGroupId MemberGroupId Getter

func (TaobaoTbkScOrderDetailsGetAPIRequest) GetMemberType added in v1.2.3

func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetMemberType() int64

GetMemberType MemberType Getter

func (TaobaoTbkScOrderDetailsGetAPIRequest) GetOrderScene added in v1.2.3

func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetOrderScene() int64

GetOrderScene OrderScene Getter

func (TaobaoTbkScOrderDetailsGetAPIRequest) GetPageNo added in v1.2.3

GetPageNo PageNo Getter

func (TaobaoTbkScOrderDetailsGetAPIRequest) GetPageSize added in v1.2.3

GetPageSize PageSize Getter

func (TaobaoTbkScOrderDetailsGetAPIRequest) GetPositionIndex added in v1.2.3

func (r TaobaoTbkScOrderDetailsGetAPIRequest) GetPositionIndex() string

GetPositionIndex PositionIndex Getter

func (TaobaoTbkScOrderDetailsGetAPIRequest) GetQueryType added in v1.2.3

GetQueryType QueryType Getter

func (TaobaoTbkScOrderDetailsGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScOrderDetailsGetAPIRequest) GetStartTime added in v1.2.3

GetStartTime StartTime Getter

func (TaobaoTbkScOrderDetailsGetAPIRequest) GetTkStatus added in v1.2.3

GetTkStatus TkStatus Getter

func (*TaobaoTbkScOrderDetailsGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetEndTime added in v1.2.3

func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetEndTime(_endTime string) error

SetEndTime is EndTime Setter 订单查询结束时间,订单开始时间至订单结束时间,中间时间段日常要求不超过3个小时,但如618、双11、年货节等大促期间预估时间段不可超过20分钟,超过会提示错误,调用时请务必注意时间段的选择,以保证亲能正常调用!

func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetJumpType added in v1.2.3

func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetJumpType(_jumpType int64) error

SetJumpType is JumpType Setter 跳转类型,当向前或者向后翻页必须提供,-1: 向前翻页,1:向后翻页

func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetMemberGroupId added in v1.2.8

func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetMemberGroupId(_memberGroupId int64) error

SetMemberGroupId is MemberGroupId Setter member组ID

func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetMemberType added in v1.2.3

func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetMemberType(_memberType int64) error

SetMemberType is MemberType Setter 推广者角色类型,2:二方,3:三方,不传,表示所有角色

func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetOrderScene added in v1.2.3

func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetOrderScene(_orderScene int64) error

SetOrderScene is OrderScene Setter 筛选订单类型,1:所有订单,2:渠道订单,3:会员运营订单,默认为1

func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetPageNo added in v1.2.3

func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 第几页,默认1,1~100

func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetPageSize added in v1.2.3

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

SetPageSize is PageSize Setter 页大小,默认20,1~100

func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetPositionIndex added in v1.2.3

func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetPositionIndex(_positionIndex string) error

SetPositionIndex is PositionIndex Setter 位点,除第一页之外,都需要传递;前端原样返回。

func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetQueryType added in v1.2.3

func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetQueryType(_queryType int64) error

SetQueryType is QueryType Setter 查询时间类型,1:按照订单淘客创建时间查询,2:按照订单淘客付款时间查询,3:按照订单淘客结算时间查询,4:按照订单更新时间;

func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetStartTime added in v1.2.3

func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetStartTime(_startTime string) error

SetStartTime is StartTime Setter 订单查询开始时间

func (*TaobaoTbkScOrderDetailsGetAPIRequest) SetTkStatus added in v1.2.3

func (r *TaobaoTbkScOrderDetailsGetAPIRequest) SetTkStatus(_tkStatus int64) error

SetTkStatus is TkStatus Setter 淘客订单状态,12-付款,13-关闭,14-确认收货,3-结算成功;不传,表示所有状态

type TaobaoTbkScOrderDetailsGetAPIResponse added in v1.2.3

type TaobaoTbkScOrderDetailsGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScOrderDetailsGetAPIResponseModel
}

TaobaoTbkScOrderDetailsGetAPIResponse 淘宝客-服务商-所有订单查询 API返回值 taobao.tbk.sc.order.details.get

服务商使用。可通过该接口查询推广者账号下对应的推广订单明细。

func GetTaobaoTbkScOrderDetailsGetAPIResponse added in v1.3.4

func GetTaobaoTbkScOrderDetailsGetAPIResponse() *TaobaoTbkScOrderDetailsGetAPIResponse

GetTaobaoTbkScOrderDetailsGetAPIResponse 从 sync.Pool 获取 TaobaoTbkScOrderDetailsGetAPIResponse

func (*TaobaoTbkScOrderDetailsGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScOrderDetailsGetAPIResponseModel added in v1.2.3

type TaobaoTbkScOrderDetailsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_order_details_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// PublisherOrderDto
	Data *OrderPage `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkScOrderDetailsGetAPIResponseModel is 淘宝客-服务商-所有订单查询 成功返回结果

func (*TaobaoTbkScOrderDetailsGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScPublisherInfoGetAPIRequest added in v1.2.0

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

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

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

func GetTaobaoTbkScPublisherInfoGetAPIRequest added in v1.3.4

func GetTaobaoTbkScPublisherInfoGetAPIRequest() *TaobaoTbkScPublisherInfoGetAPIRequest

GetTaobaoTbkScPublisherInfoGetRequest 从 sync.Pool 获取 TaobaoTbkScPublisherInfoGetAPIRequest

func NewTaobaoTbkScPublisherInfoGetRequest

func NewTaobaoTbkScPublisherInfoGetRequest() *TaobaoTbkScPublisherInfoGetAPIRequest

NewTaobaoTbkScPublisherInfoGetRequest 初始化TaobaoTbkScPublisherInfoGetAPIRequest对象

func (TaobaoTbkScPublisherInfoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScPublisherInfoGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalId added in v1.2.0

GetExternalId ExternalId Getter

func (TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalType added in v1.2.0

func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetExternalType() int64

GetExternalType ExternalType Getter

func (TaobaoTbkScPublisherInfoGetAPIRequest) GetInfoType added in v1.2.0

GetInfoType InfoType Getter

func (TaobaoTbkScPublisherInfoGetAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (TaobaoTbkScPublisherInfoGetAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoTbkScPublisherInfoGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationApp added in v1.2.0

func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationApp() string

GetRelationApp RelationApp Getter

func (TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationId added in v1.2.0

func (r TaobaoTbkScPublisherInfoGetAPIRequest) GetRelationId() int64

GetRelationId RelationId Getter

func (TaobaoTbkScPublisherInfoGetAPIRequest) GetSpecialId added in v1.2.0

GetSpecialId SpecialId Getter

func (*TaobaoTbkScPublisherInfoGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalId added in v1.2.0

func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalId(_externalId string) error

SetExternalId is ExternalId Setter 淘宝客外部用户标记,如自身系统账户ID;微信ID等

func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalType added in v1.2.0

func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetExternalType(_externalType int64) error

SetExternalType is ExternalType Setter 1-微信、2-微博、3-抖音、4-快手、5-QQ,0-其他;默认为0

func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetInfoType added in v1.2.0

func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetInfoType(_infoType int64) error

SetInfoType is InfoType Setter 类型,必选 1:渠道信息;2:会员信息

func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetPageNo added in v1.2.0

func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 第几页,下标从0开始

func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 每页大小

func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationApp added in v1.2.0

func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationApp(_relationApp string) error

SetRelationApp is RelationApp Setter 备案的场景:common(通用备案),etao(一淘备案),minietao(一淘小程序备案),offlineShop(线下门店备案),offlinePerson(线下个人备案)。如不填默认common。查询会员信息只需填写common即可

func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationId added in v1.2.0

func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetRelationId(_relationId int64) error

SetRelationId is RelationId Setter 渠道独占 - 渠道关系ID

func (*TaobaoTbkScPublisherInfoGetAPIRequest) SetSpecialId added in v1.2.0

func (r *TaobaoTbkScPublisherInfoGetAPIRequest) SetSpecialId(_specialId string) error

SetSpecialId is SpecialId Setter 会员独占 - 会员运营ID

type TaobaoTbkScPublisherInfoGetAPIResponse

type TaobaoTbkScPublisherInfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScPublisherInfoGetAPIResponseModel
}

TaobaoTbkScPublisherInfoGetAPIResponse 淘宝客-公用-私域用户备案信息查询 API返回值 taobao.tbk.sc.publisher.info.get

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

func GetTaobaoTbkScPublisherInfoGetAPIResponse added in v1.3.4

func GetTaobaoTbkScPublisherInfoGetAPIResponse() *TaobaoTbkScPublisherInfoGetAPIResponse

GetTaobaoTbkScPublisherInfoGetAPIResponse 从 sync.Pool 获取 TaobaoTbkScPublisherInfoGetAPIResponse

func (*TaobaoTbkScPublisherInfoGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScPublisherInfoGetAPIResponseModel added in v1.2.0

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

TaobaoTbkScPublisherInfoGetAPIResponseModel is 淘宝客-公用-私域用户备案信息查询 成功返回结果

func (*TaobaoTbkScPublisherInfoGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScPublisherInfoGetData

type TaobaoTbkScPublisherInfoGetData struct {
	// 共享字段 - 渠道或会员列表
	InviterList []TaobaoTbkScPublisherInfoGetMapData `json:"inviter_list,omitempty" xml:"inviter_list>taobao_tbk_sc_publisher_info_get_map_data,omitempty"`
	// 渠道专属pidList
	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"`
}

TaobaoTbkScPublisherInfoGetData 结构体

func GetTaobaoTbkScPublisherInfoGetData added in v1.3.4

func GetTaobaoTbkScPublisherInfoGetData() *TaobaoTbkScPublisherInfoGetData

GetTaobaoTbkScPublisherInfoGetData() 从对象池中获取TaobaoTbkScPublisherInfoGetData

type TaobaoTbkScPublisherInfoGetMapData

type TaobaoTbkScPublisherInfoGetMapData struct {
	// 共享字段 - 备案场景:common(通用备案),etao(一淘备案),minietao(一淘小程序备案),offlineShop(线下门店备案),offlinePerson(线下个人备案)
	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"`
	// 渠道独有 - 线下场景信息,1 - 门店,2- 学校,3 - 工厂,4 - 其他
	OfflineScene string `json:"offline_scene,omitempty" xml:"offline_scene,omitempty"`
	// 渠道独有 - 线上场景信息,1 - 微信群,2- QQ群,3 - 其他
	OnlineScene string `json:"online_scene,omitempty" xml:"online_scene,omitempty"`
	// 渠道独有 - 媒体侧渠道备注信息
	Note string `json:"note,omitempty" xml:"note,omitempty"`
	// 共享字段 - 渠道/会员专属pid
	RootPid string `json:"root_pid,omitempty" xml:"root_pid,omitempty"`
	// 共享字段 - 渠道/会员原始身份信息
	Rtag string `json:"rtag,omitempty" xml:"rtag,omitempty"`
	// 渠道独有 - 处罚状态
	PunishStatus string `json:"punish_status,omitempty" xml:"punish_status,omitempty"`
	// 淘宝客外部用户标记
	ExternalId string `json:"external_id,omitempty" xml:"external_id,omitempty"`
	// 1-微信、2-微博、3-抖音、4-快手、5-QQ,0-其他
	ExternalType string `json:"external_type,omitempty" xml:"external_type,omitempty"`
	// 渠道独有 - 渠道关系ID
	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 线下备案专属信息
	OfflineInfo *RegisterInfoDto `json:"offline_info,omitempty" xml:"offline_info,omitempty"`
	// 会员独有 - 会员运营ID
	SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"`
}

TaobaoTbkScPublisherInfoGetMapData 结构体

func GetTaobaoTbkScPublisherInfoGetMapData added in v1.3.4

func GetTaobaoTbkScPublisherInfoGetMapData() *TaobaoTbkScPublisherInfoGetMapData

GetTaobaoTbkScPublisherInfoGetMapData() 从对象池中获取TaobaoTbkScPublisherInfoGetMapData

type TaobaoTbkScPublisherInfoSaveAPIRequest added in v1.2.0

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

TaobaoTbkScPublisherInfoSaveAPIRequest 淘宝客-公用-私域用户备案 API请求 taobao.tbk.sc.publisher.info.save

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

func GetTaobaoTbkScPublisherInfoSaveAPIRequest added in v1.3.4

func GetTaobaoTbkScPublisherInfoSaveAPIRequest() *TaobaoTbkScPublisherInfoSaveAPIRequest

GetTaobaoTbkScPublisherInfoSaveRequest 从 sync.Pool 获取 TaobaoTbkScPublisherInfoSaveAPIRequest

func NewTaobaoTbkScPublisherInfoSaveRequest

func NewTaobaoTbkScPublisherInfoSaveRequest() *TaobaoTbkScPublisherInfoSaveAPIRequest

NewTaobaoTbkScPublisherInfoSaveRequest 初始化TaobaoTbkScPublisherInfoSaveAPIRequest对象

func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetInfoType added in v1.2.0

GetInfoType InfoType Getter

func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetInviterCode added in v1.2.0

GetInviterCode InviterCode Getter

func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetNote added in v1.2.0

GetNote Note Getter

func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetOfflineScene added in v1.2.0

func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetOfflineScene() string

GetOfflineScene OfflineScene Getter

func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetOnlineScene added in v1.2.0

GetOnlineScene OnlineScene Getter

func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetRegisterInfo added in v1.2.0

func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetRegisterInfo() string

GetRegisterInfo RegisterInfo Getter

func (TaobaoTbkScPublisherInfoSaveAPIRequest) GetRelationFrom added in v1.2.0

func (r TaobaoTbkScPublisherInfoSaveAPIRequest) GetRelationFrom() string

GetRelationFrom RelationFrom Getter

func (*TaobaoTbkScPublisherInfoSaveAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetInfoType added in v1.2.0

func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetInfoType(_infoType int64) error

SetInfoType is InfoType Setter 类型,必选 默认为1:

func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetInviterCode added in v1.2.0

func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetInviterCode(_inviterCode string) error

SetInviterCode is InviterCode Setter 淘宝客邀请渠道或会员的邀请码

func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetNote added in v1.2.0

SetNote is Note Setter 媒体侧渠道备注

func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetOfflineScene added in v1.2.0

func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetOfflineScene(_offlineScene string) error

SetOfflineScene is OfflineScene Setter 渠道备案 - 线下场景信息,1 - 门店,2- 学校,3 - 工厂,4 - 其他

func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetOnlineScene added in v1.2.0

func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetOnlineScene(_onlineScene string) error

SetOnlineScene is OnlineScene Setter 渠道备案 - 线上场景信息,1 - 微信群,2- QQ群,3 - 其他

func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetRegisterInfo added in v1.2.0

func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetRegisterInfo(_registerInfo string) error

SetRegisterInfo is RegisterInfo Setter 线下备案注册信息,字段包含: 电话号码(phoneNumber,必填),省(province,必填),市(city,必填),区县街道(location,必填),详细地址(detailAddress,必填),经营类型(career,线下个人必填),店铺类型(shopType,线下店铺必填),店铺名称(shopName,线下店铺必填),店铺证书类型(shopCertifyType,线下店铺选填),店铺证书编号(certifyNumber,线下店铺选填)

func (*TaobaoTbkScPublisherInfoSaveAPIRequest) SetRelationFrom added in v1.2.0

func (r *TaobaoTbkScPublisherInfoSaveAPIRequest) SetRelationFrom(_relationFrom string) error

SetRelationFrom is RelationFrom Setter 渠道备案 - 来源,取链接的来源

type TaobaoTbkScPublisherInfoSaveAPIResponse

type TaobaoTbkScPublisherInfoSaveAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScPublisherInfoSaveAPIResponseModel
}

TaobaoTbkScPublisherInfoSaveAPIResponse 淘宝客-公用-私域用户备案 API返回值 taobao.tbk.sc.publisher.info.save

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

func GetTaobaoTbkScPublisherInfoSaveAPIResponse added in v1.3.4

func GetTaobaoTbkScPublisherInfoSaveAPIResponse() *TaobaoTbkScPublisherInfoSaveAPIResponse

GetTaobaoTbkScPublisherInfoSaveAPIResponse 从 sync.Pool 获取 TaobaoTbkScPublisherInfoSaveAPIResponse

func (*TaobaoTbkScPublisherInfoSaveAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScPublisherInfoSaveAPIResponseModel added in v1.2.0

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

TaobaoTbkScPublisherInfoSaveAPIResponseModel is 淘宝客-公用-私域用户备案 成功返回结果

func (*TaobaoTbkScPublisherInfoSaveAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScPublisherInfoSaveData

type TaobaoTbkScPublisherInfoSaveData struct {
	// 渠道昵称
	AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"`
	// 如果重复绑定会提示:”重复绑定渠道“或”重复绑定粉丝“
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 渠道关系ID
	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 会员运营ID
	SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"`
}

TaobaoTbkScPublisherInfoSaveData 结构体

func GetTaobaoTbkScPublisherInfoSaveData added in v1.3.4

func GetTaobaoTbkScPublisherInfoSaveData() *TaobaoTbkScPublisherInfoSaveData

GetTaobaoTbkScPublisherInfoSaveData() 从对象池中获取TaobaoTbkScPublisherInfoSaveData

type TaobaoTbkScPunishOrderGetAPIRequest added in v1.2.5

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

TaobaoTbkScPunishOrderGetAPIRequest 淘宝客-服务商-处罚订单查询 API请求 taobao.tbk.sc.punish.order.get

服务商使用。可通过该接口查询推广者账号下在处罚管理后台,可直接下载的处罚订单明细。请注意:若是基于账号(member)、媒体id(site)、推广位(adzone)、渠道方(relationid)维度的完整处罚,对应订单明细请根据处罚后台对应的处罚订单时间说明,在“推广订单明细”中筛选对应订单。

func GetTaobaoTbkScPunishOrderGetAPIRequest added in v1.3.4

func GetTaobaoTbkScPunishOrderGetAPIRequest() *TaobaoTbkScPunishOrderGetAPIRequest

GetTaobaoTbkScPunishOrderGetRequest 从 sync.Pool 获取 TaobaoTbkScPunishOrderGetAPIRequest

func NewTaobaoTbkScPunishOrderGetRequest added in v1.2.5

func NewTaobaoTbkScPunishOrderGetRequest() *TaobaoTbkScPunishOrderGetAPIRequest

NewTaobaoTbkScPunishOrderGetRequest 初始化TaobaoTbkScPunishOrderGetAPIRequest对象

func (TaobaoTbkScPunishOrderGetAPIRequest) GetAfOrderOption added in v1.2.5

GetAfOrderOption AfOrderOption Getter

func (TaobaoTbkScPunishOrderGetAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScPunishOrderGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScPunishOrderGetAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScPunishOrderGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoTbkScPunishOrderGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScPunishOrderGetAPIRequest) SetAfOrderOption added in v1.2.5

func (r *TaobaoTbkScPunishOrderGetAPIRequest) SetAfOrderOption(_afOrderOption *TopApiAfOrderOption) error

SetAfOrderOption is AfOrderOption Setter 入参的对象

type TaobaoTbkScPunishOrderGetAPIResponse added in v1.2.5

type TaobaoTbkScPunishOrderGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScPunishOrderGetAPIResponseModel
}

TaobaoTbkScPunishOrderGetAPIResponse 淘宝客-服务商-处罚订单查询 API返回值 taobao.tbk.sc.punish.order.get

服务商使用。可通过该接口查询推广者账号下在处罚管理后台,可直接下载的处罚订单明细。请注意:若是基于账号(member)、媒体id(site)、推广位(adzone)、渠道方(relationid)维度的完整处罚,对应订单明细请根据处罚后台对应的处罚订单时间说明,在“推广订单明细”中筛选对应订单。

func GetTaobaoTbkScPunishOrderGetAPIResponse added in v1.3.4

func GetTaobaoTbkScPunishOrderGetAPIResponse() *TaobaoTbkScPunishOrderGetAPIResponse

GetTaobaoTbkScPunishOrderGetAPIResponse 从 sync.Pool 获取 TaobaoTbkScPunishOrderGetAPIResponse

func (*TaobaoTbkScPunishOrderGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScPunishOrderGetAPIResponseModel added in v1.2.5

type TaobaoTbkScPunishOrderGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_punish_order_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询的对象
	Result *TaobaoTbkScPunishOrderGetRpcResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoTbkScPunishOrderGetAPIResponseModel is 淘宝客-服务商-处罚订单查询 成功返回结果

func (*TaobaoTbkScPunishOrderGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScPunishOrderGetResult added in v1.2.5

type TaobaoTbkScPunishOrderGetResult struct {
	// 淘宝联盟unionid(该字段不再支持)
	UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"`
	// 处罚状态。0 冻结,1 解冻
	PunishStatus string `json:"punish_status,omitempty" xml:"punish_status,omitempty"`
	// 处罚类型,目前包括 1:店铺淘宝客 2:订单虚假交易
	ViolationType string `json:"violation_type,omitempty" xml:"violation_type,omitempty"`
	// 淘客订单创建时间
	TkTradeCreateTime string `json:"tk_trade_create_time,omitempty" xml:"tk_trade_create_time,omitempty"`
	// 会员运营id(该字段不再支持)
	SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"`
	// 渠道关系id
	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 结算月份
	SettleMonth int64 `json:"settle_month,omitempty" xml:"settle_month,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"`
	// pid里的adzoneid
	TkAdzoneId int64 `json:"tk_adzone_id,omitempty" xml:"tk_adzone_id,omitempty"`
	// pid里的siteid
	TkSiteId int64 `json:"tk_site_id,omitempty" xml:"tk_site_id,omitempty"`
	// pid里的pubid
	TkPubId int64 `json:"tk_pub_id,omitempty" xml:"tk_pub_id,omitempty"`
}

TaobaoTbkScPunishOrderGetResult 结构体

func GetTaobaoTbkScPunishOrderGetResult added in v1.3.4

func GetTaobaoTbkScPunishOrderGetResult() *TaobaoTbkScPunishOrderGetResult

GetTaobaoTbkScPunishOrderGetResult() 从对象池中获取TaobaoTbkScPunishOrderGetResult

type TaobaoTbkScPunishOrderGetRpcResult added in v1.2.5

type TaobaoTbkScPunishOrderGetRpcResult struct {
	// 业务出错的描述
	BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"`
	// 执行结果
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 结果
	Data *PageResult `json:"data,omitempty" xml:"data,omitempty"`
	// 业务出错的状态码
	BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 执行结果状态码
	ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"`
}

TaobaoTbkScPunishOrderGetRpcResult 结构体

func GetTaobaoTbkScPunishOrderGetRpcResult added in v1.3.4

func GetTaobaoTbkScPunishOrderGetRpcResult() *TaobaoTbkScPunishOrderGetRpcResult

GetTaobaoTbkScPunishOrderGetRpcResult() 从对象池中获取TaobaoTbkScPunishOrderGetRpcResult

type TaobaoTbkScRelationRecordAPIRequest added in v1.2.5

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

TaobaoTbkScRelationRecordAPIRequest 淘宝客-服务商-私域会员标记 API请求 taobao.tbk.sc.relation.record

服务商使用。支持淘宝客通过入参私域外部ID,获得待私域会员可标记的链接,会员打开该链接后,可帮助媒体自动生成会员运营id进行标记,同时自动跳转到推广落地页。

func GetTaobaoTbkScRelationRecordAPIRequest added in v1.3.4

func GetTaobaoTbkScRelationRecordAPIRequest() *TaobaoTbkScRelationRecordAPIRequest

GetTaobaoTbkScRelationRecordRequest 从 sync.Pool 获取 TaobaoTbkScRelationRecordAPIRequest

func NewTaobaoTbkScRelationRecordRequest added in v1.2.5

func NewTaobaoTbkScRelationRecordRequest() *TaobaoTbkScRelationRecordAPIRequest

NewTaobaoTbkScRelationRecordRequest 初始化TaobaoTbkScRelationRecordAPIRequest对象

func (TaobaoTbkScRelationRecordAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScRelationRecordAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScRelationRecordAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScRelationRecordAPIRequest) GetExternalId added in v1.2.5

func (r TaobaoTbkScRelationRecordAPIRequest) GetExternalId() string

GetExternalId ExternalId Getter

func (TaobaoTbkScRelationRecordAPIRequest) GetExternalType added in v1.2.5

func (r TaobaoTbkScRelationRecordAPIRequest) GetExternalType() int64

GetExternalType ExternalType Getter

func (TaobaoTbkScRelationRecordAPIRequest) GetOpType added in v1.2.5

GetOpType OpType Getter

func (TaobaoTbkScRelationRecordAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScRelationRecordAPIRequest) GetRedirectUrl added in v1.2.5

func (r TaobaoTbkScRelationRecordAPIRequest) GetRedirectUrl() string

GetRedirectUrl RedirectUrl Getter

func (TaobaoTbkScRelationRecordAPIRequest) GetUcrowdId added in v1.2.5

GetUcrowdId UcrowdId Getter

func (*TaobaoTbkScRelationRecordAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScRelationRecordAPIRequest) SetExternalId added in v1.2.5

func (r *TaobaoTbkScRelationRecordAPIRequest) SetExternalId(_externalId string) error

SetExternalId is ExternalId Setter 淘宝客自有私域用户自定义标记,如自有私域系统账号标记等

func (*TaobaoTbkScRelationRecordAPIRequest) SetExternalType added in v1.2.5

func (r *TaobaoTbkScRelationRecordAPIRequest) SetExternalType(_externalType int64) error

SetExternalType is ExternalType Setter 淘宝客其他平台私域用户自定义标记,1-微信、2-微博、3-抖音、4-快手、5-QQ,0-其他

func (*TaobaoTbkScRelationRecordAPIRequest) SetOpType added in v1.2.5

func (r *TaobaoTbkScRelationRecordAPIRequest) SetOpType(_opType int64) error

SetOpType is OpType Setter 授权类型,选2时可用于更新外部用户标记,默认1:1-新绑,2-更新

func (*TaobaoTbkScRelationRecordAPIRequest) SetRedirectUrl added in v1.2.5

func (r *TaobaoTbkScRelationRecordAPIRequest) SetRedirectUrl(_redirectUrl string) error

SetRedirectUrl is RedirectUrl Setter 会员备案授权后,跳转的目标页地址

func (*TaobaoTbkScRelationRecordAPIRequest) SetUcrowdId added in v1.2.5

func (r *TaobaoTbkScRelationRecordAPIRequest) SetUcrowdId(_ucrowdId int64) error

SetUcrowdId is UcrowdId Setter 人群标签ID,用户备案授权后会自动添加到该人群

type TaobaoTbkScRelationRecordAPIResponse added in v1.2.5

type TaobaoTbkScRelationRecordAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScRelationRecordAPIResponseModel
}

TaobaoTbkScRelationRecordAPIResponse 淘宝客-服务商-私域会员标记 API返回值 taobao.tbk.sc.relation.record

服务商使用。支持淘宝客通过入参私域外部ID,获得待私域会员可标记的链接,会员打开该链接后,可帮助媒体自动生成会员运营id进行标记,同时自动跳转到推广落地页。

func GetTaobaoTbkScRelationRecordAPIResponse added in v1.3.4

func GetTaobaoTbkScRelationRecordAPIResponse() *TaobaoTbkScRelationRecordAPIResponse

GetTaobaoTbkScRelationRecordAPIResponse 从 sync.Pool 获取 TaobaoTbkScRelationRecordAPIResponse

func (*TaobaoTbkScRelationRecordAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScRelationRecordAPIResponseModel added in v1.2.5

type TaobaoTbkScRelationRecordAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_relation_record_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data *TaobaoTbkScRelationRecordMapData `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkScRelationRecordAPIResponseModel is 淘宝客-服务商-私域会员标记 成功返回结果

func (*TaobaoTbkScRelationRecordAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScRelationRecordMapData added in v1.2.5

type TaobaoTbkScRelationRecordMapData struct {
	// 带授权的备案链接
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 已废弃,请调用淘口令生成接口
	PasswordSimple string `json:"password_simple,omitempty" xml:"password_simple,omitempty"`
	// 已废弃,请调用淘口令生成接口
	Model string `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaoTbkScRelationRecordMapData 结构体

func GetTaobaoTbkScRelationRecordMapData added in v1.3.4

func GetTaobaoTbkScRelationRecordMapData() *TaobaoTbkScRelationRecordMapData

GetTaobaoTbkScRelationRecordMapData() 从对象池中获取TaobaoTbkScRelationRecordMapData

type TaobaoTbkScRelationRefundAPIRequest added in v1.2.5

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

TaobaoTbkScRelationRefundAPIRequest 淘宝客-服务商-维权退款订单查询 API请求 taobao.tbk.sc.relation.refund

淘宝客维权退款订单查询-渠道管理和会员运营管理专用

func GetTaobaoTbkScRelationRefundAPIRequest added in v1.3.4

func GetTaobaoTbkScRelationRefundAPIRequest() *TaobaoTbkScRelationRefundAPIRequest

GetTaobaoTbkScRelationRefundRequest 从 sync.Pool 获取 TaobaoTbkScRelationRefundAPIRequest

func NewTaobaoTbkScRelationRefundRequest added in v1.2.5

func NewTaobaoTbkScRelationRefundRequest() *TaobaoTbkScRelationRefundAPIRequest

NewTaobaoTbkScRelationRefundRequest 初始化TaobaoTbkScRelationRefundAPIRequest对象

func (TaobaoTbkScRelationRefundAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScRelationRefundAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScRelationRefundAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScRelationRefundAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScRelationRefundAPIRequest) GetSearchOption added in v1.2.5

GetSearchOption SearchOption Getter

func (*TaobaoTbkScRelationRefundAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScRelationRefundAPIRequest) SetSearchOption added in v1.2.5

func (r *TaobaoTbkScRelationRefundAPIRequest) SetSearchOption(_searchOption *TopApiRefundRptOption) error

SetSearchOption is SearchOption Setter 参数option

type TaobaoTbkScRelationRefundAPIResponse added in v1.2.5

type TaobaoTbkScRelationRefundAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScRelationRefundAPIResponseModel
}

TaobaoTbkScRelationRefundAPIResponse 淘宝客-服务商-维权退款订单查询 API返回值 taobao.tbk.sc.relation.refund

淘宝客维权退款订单查询-渠道管理和会员运营管理专用

func GetTaobaoTbkScRelationRefundAPIResponse added in v1.3.4

func GetTaobaoTbkScRelationRefundAPIResponse() *TaobaoTbkScRelationRefundAPIResponse

GetTaobaoTbkScRelationRefundAPIResponse 从 sync.Pool 获取 TaobaoTbkScRelationRefundAPIResponse

func (*TaobaoTbkScRelationRefundAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScRelationRefundAPIResponseModel added in v1.2.5

type TaobaoTbkScRelationRefundAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_relation_refund_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果封装对象
	Result *TaobaoTbkScRelationRefundRpcResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoTbkScRelationRefundAPIResponseModel is 淘宝客-服务商-维权退款订单查询 成功返回结果

func (*TaobaoTbkScRelationRefundAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScRelationRefundResult added in v1.2.5

type TaobaoTbkScRelationRefundResult struct {
	// 第三方应该返还的补贴
	TkSubsidyFeeRefund3rdPub string `json:"tk_subsidy_fee_refund3rd_pub,omitempty" xml:"tk_subsidy_fee_refund3rd_pub,omitempty"`
	// 第三方应该返还的佣金
	TkCommissionFeeRefund3rdPub string `json:"tk_commission_fee_refund3rd_pub,omitempty" xml:"tk_commission_fee_refund3rd_pub,omitempty"`
	// 第二方应该返还的补贴(不包括技术服务费)
	TkSubsidyFeeRefundPub string `json:"tk_subsidy_fee_refund_pub,omitempty" xml:"tk_subsidy_fee_refund_pub,omitempty"`
	// 第二方应该返还的佣金(不包括技术服务费)
	TkCommissionFeeRefundPub string `json:"tk_commission_fee_refund_pub,omitempty" xml:"tk_commission_fee_refund_pub,omitempty"`
	// 维权完成时间
	TkRefundSuitTime string `json:"tk_refund_suit_time,omitempty" xml:"tk_refund_suit_time,omitempty"`
	// 维权创建时间
	TkRefundTime string `json:"tk_refund_time,omitempty" xml:"tk_refund_time,omitempty"`
	// 订单结算时间
	EarningTime string `json:"earning_time,omitempty" xml:"earning_time,omitempty"`
	// 订单创建时间
	TbTradeCreateTime string `json:"tb_trade_create_time,omitempty" xml:"tb_trade_create_time,omitempty"`
	// 宝贝标题
	TbAuctionTitle string `json:"tb_auction_title,omitempty" xml:"tb_auction_title,omitempty"`
	// 维权金额
	RefundFee string `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 结算金额
	TbTradeFinishPrice string `json:"tb_trade_finish_price,omitempty" xml:"tb_trade_finish_price,omitempty"`
	// 应返商家金额(二方)
	TkPubShowReturnFee string `json:"tk_pub_show_return_fee,omitempty" xml:"tk_pub_show_return_fee,omitempty"`
	// 应返商家金额(三方)
	Tk3rdPubShowReturnFee string `json:"tk3rd_pub_show_return_fee,omitempty" xml:"tk3rd_pub_show_return_fee,omitempty"`
	// (口碑订单)口碑父订单号
	AlscPid string `json:"alsc_pid,omitempty" xml:"alsc_pid,omitempty"`
	// (口碑订单)口碑子订单号
	AlscId string `json:"alsc_id,omitempty" xml:"alsc_id,omitempty"`
	// 更新时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 淘宝订单编号
	TbTradeParentId int64 `json:"tb_trade_parent_id,omitempty" xml:"tb_trade_parent_id,omitempty"`
	// 会员关系id
	SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"`
	// 渠道关系id
	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 第三方推广者memberid
	Tk3rdPubId int64 `json:"tk3rd_pub_id,omitempty" xml:"tk3rd_pub_id,omitempty"`
	// 推广者memberid
	TkPubId int64 `json:"tk_pub_id,omitempty" xml:"tk_pub_id,omitempty"`
	// 维权创建(淘客结算回执) 4,维权成功(淘客结算回执) 2,维权失败(淘客结算回执) 3,发生多次维权,待处理      11,从淘客处补扣(钱已结给淘客) 等待扣款 12,从淘客处补扣(钱已结给淘客) 扣款成功 13,从卖家处补扣(钱已结给卖家) 等待扣款 14,从卖家处补扣(钱已结给卖家) 扣款成功 15
	RefundStatus int64 `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 淘宝子订单编号
	TbTradeId int64 `json:"tb_trade_id,omitempty" xml:"tb_trade_id,omitempty"`
	// 1 表示2方,2表示3方
	RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"`
}

TaobaoTbkScRelationRefundResult 结构体

func GetTaobaoTbkScRelationRefundResult added in v1.3.4

func GetTaobaoTbkScRelationRefundResult() *TaobaoTbkScRelationRefundResult

GetTaobaoTbkScRelationRefundResult() 从对象池中获取TaobaoTbkScRelationRefundResult

type TaobaoTbkScRelationRefundRpcResult added in v1.2.5

type TaobaoTbkScRelationRefundRpcResult struct {
	// 返回信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 业务错误信息
	BizErrorDesc string `json:"biz_error_desc,omitempty" xml:"biz_error_desc,omitempty"`
	// 真正的业务数据结构
	Data *PageResult `json:"data,omitempty" xml:"data,omitempty"`
	// 接口返回值信息,跟rpc架构保持一致
	ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 业务错误码 101, 102,103
	BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
}

TaobaoTbkScRelationRefundRpcResult 结构体

func GetTaobaoTbkScRelationRefundRpcResult added in v1.3.4

func GetTaobaoTbkScRelationRefundRpcResult() *TaobaoTbkScRelationRefundRpcResult

GetTaobaoTbkScRelationRefundRpcResult() 从对象池中获取TaobaoTbkScRelationRefundRpcResult

type TaobaoTbkScShopConvertAPIRequest added in v1.2.5

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

TaobaoTbkScShopConvertAPIRequest 淘宝客-服务商-店铺链接转换 API请求 taobao.tbk.sc.shop.convert

服务商使用。支持入参推广者对应的“推广位”和卖家id,获取对应的店铺推广链接。

func GetTaobaoTbkScShopConvertAPIRequest added in v1.3.4

func GetTaobaoTbkScShopConvertAPIRequest() *TaobaoTbkScShopConvertAPIRequest

GetTaobaoTbkScShopConvertRequest 从 sync.Pool 获取 TaobaoTbkScShopConvertAPIRequest

func NewTaobaoTbkScShopConvertRequest added in v1.2.5

func NewTaobaoTbkScShopConvertRequest() *TaobaoTbkScShopConvertAPIRequest

NewTaobaoTbkScShopConvertRequest 初始化TaobaoTbkScShopConvertAPIRequest对象

func (TaobaoTbkScShopConvertAPIRequest) GetAdzoneId added in v1.2.5

func (r TaobaoTbkScShopConvertAPIRequest) GetAdzoneId() int64

GetAdzoneId AdzoneId Getter

func (TaobaoTbkScShopConvertAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScShopConvertAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScShopConvertAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScShopConvertAPIRequest) GetFields added in v1.2.5

GetFields Fields Getter

func (TaobaoTbkScShopConvertAPIRequest) GetPlatform added in v1.2.5

func (r TaobaoTbkScShopConvertAPIRequest) GetPlatform() int64

GetPlatform Platform Getter

func (TaobaoTbkScShopConvertAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScShopConvertAPIRequest) GetSiteId added in v1.2.5

GetSiteId SiteId Getter

func (TaobaoTbkScShopConvertAPIRequest) GetUnid added in v1.2.5

GetUnid Unid Getter

func (TaobaoTbkScShopConvertAPIRequest) GetUserIds added in v1.2.5

GetUserIds UserIds Getter

func (*TaobaoTbkScShopConvertAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScShopConvertAPIRequest) SetAdzoneId added in v1.2.5

func (r *TaobaoTbkScShopConvertAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter mm_xxx_xxx_xxx的第3段数字

func (*TaobaoTbkScShopConvertAPIRequest) SetFields added in v1.2.5

func (r *TaobaoTbkScShopConvertAPIRequest) SetFields(_fields string) error

SetFields is Fields Setter 需返回的字段列表

func (*TaobaoTbkScShopConvertAPIRequest) SetPlatform added in v1.2.5

func (r *TaobaoTbkScShopConvertAPIRequest) SetPlatform(_platform int64) error

SetPlatform is Platform Setter 链接形式-1:PC,2:无线。默认为1

func (*TaobaoTbkScShopConvertAPIRequest) SetSiteId added in v1.2.5

func (r *TaobaoTbkScShopConvertAPIRequest) SetSiteId(_siteId int64) error

SetSiteId is SiteId Setter mm_xxx_xxx_xxx的第2段数字

func (*TaobaoTbkScShopConvertAPIRequest) SetUnid added in v1.2.5

func (r *TaobaoTbkScShopConvertAPIRequest) SetUnid(_unid string) error

SetUnid is Unid Setter (该字段不开放)自定义输入串,英文和数字组成,长度不能大于12个字符,区分不同的推广渠道

func (*TaobaoTbkScShopConvertAPIRequest) SetUserIds added in v1.2.5

func (r *TaobaoTbkScShopConvertAPIRequest) SetUserIds(_userIds string) error

SetUserIds is UserIds Setter 卖家id串,用,分割,从taobao.tbk.shop.get接口获取user_id字段

type TaobaoTbkScShopConvertAPIResponse added in v1.2.5

type TaobaoTbkScShopConvertAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScShopConvertAPIResponseModel
}

TaobaoTbkScShopConvertAPIResponse 淘宝客-服务商-店铺链接转换 API返回值 taobao.tbk.sc.shop.convert

服务商使用。支持入参推广者对应的“推广位”和卖家id,获取对应的店铺推广链接。

func GetTaobaoTbkScShopConvertAPIResponse added in v1.3.4

func GetTaobaoTbkScShopConvertAPIResponse() *TaobaoTbkScShopConvertAPIResponse

GetTaobaoTbkScShopConvertAPIResponse 从 sync.Pool 获取 TaobaoTbkScShopConvertAPIResponse

func (*TaobaoTbkScShopConvertAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScShopConvertAPIResponseModel added in v1.2.5

type TaobaoTbkScShopConvertAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_shop_convert_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 加入淘宝客的店铺
	Results []NTbkShop `json:"results,omitempty" xml:"results>n_tbk_shop,omitempty"`
}

TaobaoTbkScShopConvertAPIResponseModel is 淘宝客-服务商-店铺链接转换 成功返回结果

func (*TaobaoTbkScShopConvertAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScTpwdConvertAPIRequest added in v1.2.5

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

TaobaoTbkScTpwdConvertAPIRequest 淘宝客-服务商-淘口令解析&转链 API请求 taobao.tbk.sc.tpwd.convert

支持通过淘口令解析商品id,并提供对应的淘客转链接

func GetTaobaoTbkScTpwdConvertAPIRequest added in v1.3.4

func GetTaobaoTbkScTpwdConvertAPIRequest() *TaobaoTbkScTpwdConvertAPIRequest

GetTaobaoTbkScTpwdConvertRequest 从 sync.Pool 获取 TaobaoTbkScTpwdConvertAPIRequest

func NewTaobaoTbkScTpwdConvertRequest added in v1.2.5

func NewTaobaoTbkScTpwdConvertRequest() *TaobaoTbkScTpwdConvertAPIRequest

NewTaobaoTbkScTpwdConvertRequest 初始化TaobaoTbkScTpwdConvertAPIRequest对象

func (TaobaoTbkScTpwdConvertAPIRequest) GetAdzoneId added in v1.2.5

func (r TaobaoTbkScTpwdConvertAPIRequest) GetAdzoneId() int64

GetAdzoneId AdzoneId Getter

func (TaobaoTbkScTpwdConvertAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScTpwdConvertAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScTpwdConvertAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScTpwdConvertAPIRequest) GetDx added in v1.2.5

GetDx Dx Getter

func (TaobaoTbkScTpwdConvertAPIRequest) GetPasswordContent added in v1.2.5

func (r TaobaoTbkScTpwdConvertAPIRequest) GetPasswordContent() string

GetPasswordContent PasswordContent Getter

func (TaobaoTbkScTpwdConvertAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScTpwdConvertAPIRequest) GetRelationId added in v1.2.8

func (r TaobaoTbkScTpwdConvertAPIRequest) GetRelationId() string

GetRelationId RelationId Getter

func (TaobaoTbkScTpwdConvertAPIRequest) GetSiteId added in v1.2.5

GetSiteId SiteId Getter

func (TaobaoTbkScTpwdConvertAPIRequest) GetUcrowdId added in v1.2.5

func (r TaobaoTbkScTpwdConvertAPIRequest) GetUcrowdId() int64

GetUcrowdId UcrowdId Getter

func (*TaobaoTbkScTpwdConvertAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScTpwdConvertAPIRequest) SetAdzoneId added in v1.2.5

func (r *TaobaoTbkScTpwdConvertAPIRequest) SetAdzoneId(_adzoneId int64) error

SetAdzoneId is AdzoneId Setter 广告位ID,mm_xx_xx_xx pid三段式中的第三段

func (*TaobaoTbkScTpwdConvertAPIRequest) SetDx added in v1.2.5

SetDx is Dx Setter 1表示商品转通用计划链接,其他值或不传表示优先转营销计划链接

func (*TaobaoTbkScTpwdConvertAPIRequest) SetPasswordContent added in v1.2.5

func (r *TaobaoTbkScTpwdConvertAPIRequest) SetPasswordContent(_passwordContent string) error

SetPasswordContent is PasswordContent Setter 需要解析的淘口令

func (*TaobaoTbkScTpwdConvertAPIRequest) SetRelationId added in v1.2.8

func (r *TaobaoTbkScTpwdConvertAPIRequest) SetRelationId(_relationId string) error

SetRelationId is RelationId Setter 渠道id

func (*TaobaoTbkScTpwdConvertAPIRequest) SetSiteId added in v1.2.5

func (r *TaobaoTbkScTpwdConvertAPIRequest) SetSiteId(_siteId int64) error

SetSiteId is SiteId Setter 备案的网站id, mm_xx_xx_xx pid三段式中的第二段

func (*TaobaoTbkScTpwdConvertAPIRequest) SetUcrowdId added in v1.2.5

func (r *TaobaoTbkScTpwdConvertAPIRequest) SetUcrowdId(_ucrowdId int64) error

SetUcrowdId is UcrowdId Setter 会员人群ID,用于统计人群推广效果

type TaobaoTbkScTpwdConvertAPIResponse added in v1.2.5

type TaobaoTbkScTpwdConvertAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScTpwdConvertAPIResponseModel
}

TaobaoTbkScTpwdConvertAPIResponse 淘宝客-服务商-淘口令解析&转链 API返回值 taobao.tbk.sc.tpwd.convert

支持通过淘口令解析商品id,并提供对应的淘客转链接

func GetTaobaoTbkScTpwdConvertAPIResponse added in v1.3.4

func GetTaobaoTbkScTpwdConvertAPIResponse() *TaobaoTbkScTpwdConvertAPIResponse

GetTaobaoTbkScTpwdConvertAPIResponse 从 sync.Pool 获取 TaobaoTbkScTpwdConvertAPIResponse

func (*TaobaoTbkScTpwdConvertAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScTpwdConvertAPIResponseModel added in v1.2.5

type TaobaoTbkScTpwdConvertAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_tpwd_convert_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data *TaobaoTbkScTpwdConvertMapData `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkScTpwdConvertAPIResponseModel is 淘宝客-服务商-淘口令解析&转链 成功返回结果

func (*TaobaoTbkScTpwdConvertAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScTpwdConvertMapData added in v1.2.5

type TaobaoTbkScTpwdConvertMapData struct {
	// 商品Id
	NumIid string `json:"num_iid,omitempty" xml:"num_iid,omitempty"`
	// 商品淘客转链链接
	ClickUrl string `json:"click_url,omitempty" xml:"click_url,omitempty"`
	// 店铺卖家ID
	SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 入参淘口令对应原始链接
	OriginUrl string `json:"origin_url,omitempty" xml:"origin_url,omitempty"`
	// 入参淘口令推广链接中的pid,如果不属于当前调用的推广者则展示“0”
	OriginPid string `json:"origin_pid,omitempty" xml:"origin_pid,omitempty"`
	// 1-动态ID转链场景,2-消费者比价场景,3-商品库导购场景
	BizSceneId string `json:"biz_scene_id,omitempty" xml:"biz_scene_id,omitempty"`
	// 短口令
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// 长口令
	Password string `json:"password,omitempty" xml:"password,omitempty"`
	// 短链接
	ShortUrl string `json:"short_url,omitempty" xml:"short_url,omitempty"`
	// 1-单品,2-店铺,3-活动,0-其它
	UrlType string `json:"url_type,omitempty" xml:"url_type,omitempty"`
}

TaobaoTbkScTpwdConvertMapData 结构体

func GetTaobaoTbkScTpwdConvertMapData added in v1.3.4

func GetTaobaoTbkScTpwdConvertMapData() *TaobaoTbkScTpwdConvertMapData

GetTaobaoTbkScTpwdConvertMapData() 从对象池中获取TaobaoTbkScTpwdConvertMapData

type TaobaoTbkScUcrowdCreateAPIRequest added in v1.2.5

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

TaobaoTbkScUcrowdCreateAPIRequest 淘宝客-服务商-创建人群标签 API请求 taobao.tbk.sc.ucrowd.create

服务商使用。可为淘宝客创建会员人群标签,获得人群id,人群id可用于物料评估推荐等场景。

func GetTaobaoTbkScUcrowdCreateAPIRequest added in v1.3.4

func GetTaobaoTbkScUcrowdCreateAPIRequest() *TaobaoTbkScUcrowdCreateAPIRequest

GetTaobaoTbkScUcrowdCreateRequest 从 sync.Pool 获取 TaobaoTbkScUcrowdCreateAPIRequest

func NewTaobaoTbkScUcrowdCreateRequest added in v1.2.5

func NewTaobaoTbkScUcrowdCreateRequest() *TaobaoTbkScUcrowdCreateAPIRequest

NewTaobaoTbkScUcrowdCreateRequest 初始化TaobaoTbkScUcrowdCreateAPIRequest对象

func (TaobaoTbkScUcrowdCreateAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScUcrowdCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScUcrowdCreateAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScUcrowdCreateAPIRequest) GetDesc added in v1.2.5

GetDesc Desc Getter

func (TaobaoTbkScUcrowdCreateAPIRequest) GetExternalCrowdCode added in v1.2.5

func (r TaobaoTbkScUcrowdCreateAPIRequest) GetExternalCrowdCode() string

GetExternalCrowdCode ExternalCrowdCode Getter

func (TaobaoTbkScUcrowdCreateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScUcrowdCreateAPIRequest) GetUcrowdName added in v1.2.5

func (r TaobaoTbkScUcrowdCreateAPIRequest) GetUcrowdName() string

GetUcrowdName UcrowdName Getter

func (TaobaoTbkScUcrowdCreateAPIRequest) GetUcrowdType added in v1.2.5

func (r TaobaoTbkScUcrowdCreateAPIRequest) GetUcrowdType() int64

GetUcrowdType UcrowdType Getter

func (*TaobaoTbkScUcrowdCreateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScUcrowdCreateAPIRequest) SetDesc added in v1.2.5

SetDesc is Desc Setter 人群描述,最大100字符

func (*TaobaoTbkScUcrowdCreateAPIRequest) SetExternalCrowdCode added in v1.2.5

func (r *TaobaoTbkScUcrowdCreateAPIRequest) SetExternalCrowdCode(_externalCrowdCode string) error

SetExternalCrowdCode is ExternalCrowdCode Setter 人群外部编码,只能包含:字母、数字、下划线(以字母、数字开头),最大128字符

func (*TaobaoTbkScUcrowdCreateAPIRequest) SetUcrowdName added in v1.2.5

func (r *TaobaoTbkScUcrowdCreateAPIRequest) SetUcrowdName(_ucrowdName string) error

SetUcrowdName is UcrowdName Setter 人群名称,最大32字符

func (*TaobaoTbkScUcrowdCreateAPIRequest) SetUcrowdType added in v1.2.5

func (r *TaobaoTbkScUcrowdCreateAPIRequest) SetUcrowdType(_ucrowdType int64) error

SetUcrowdType is UcrowdType Setter 人群类型,1:社群

type TaobaoTbkScUcrowdCreateAPIResponse added in v1.2.5

type TaobaoTbkScUcrowdCreateAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScUcrowdCreateAPIResponseModel
}

TaobaoTbkScUcrowdCreateAPIResponse 淘宝客-服务商-创建人群标签 API返回值 taobao.tbk.sc.ucrowd.create

服务商使用。可为淘宝客创建会员人群标签,获得人群id,人群id可用于物料评估推荐等场景。

func GetTaobaoTbkScUcrowdCreateAPIResponse added in v1.3.4

func GetTaobaoTbkScUcrowdCreateAPIResponse() *TaobaoTbkScUcrowdCreateAPIResponse

GetTaobaoTbkScUcrowdCreateAPIResponse 从 sync.Pool 获取 TaobaoTbkScUcrowdCreateAPIResponse

func (*TaobaoTbkScUcrowdCreateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScUcrowdCreateAPIResponseModel added in v1.2.5

type TaobaoTbkScUcrowdCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_ucrowd_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data *TaobaoTbkScUcrowdCreateRpcResult `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkScUcrowdCreateAPIResponseModel is 淘宝客-服务商-创建人群标签 成功返回结果

func (*TaobaoTbkScUcrowdCreateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScUcrowdCreateRpcResult added in v1.2.5

type TaobaoTbkScUcrowdCreateRpcResult struct {
	// 人群标签id
	UcrowdId int64 `json:"ucrowd_id,omitempty" xml:"ucrowd_id,omitempty"`
}

TaobaoTbkScUcrowdCreateRpcResult 结构体

func GetTaobaoTbkScUcrowdCreateRpcResult added in v1.3.4

func GetTaobaoTbkScUcrowdCreateRpcResult() *TaobaoTbkScUcrowdCreateRpcResult

GetTaobaoTbkScUcrowdCreateRpcResult() 从对象池中获取TaobaoTbkScUcrowdCreateRpcResult

type TaobaoTbkScUcrowdDeleteAPIRequest added in v1.2.5

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

TaobaoTbkScUcrowdDeleteAPIRequest 淘宝客-服务商-删除人群标签 API请求 taobao.tbk.sc.ucrowd.delete

服务商使用。支持淘宝客删除人群标签id,被删除的人群标签id将失效,并不可重新生效。

func GetTaobaoTbkScUcrowdDeleteAPIRequest added in v1.3.4

func GetTaobaoTbkScUcrowdDeleteAPIRequest() *TaobaoTbkScUcrowdDeleteAPIRequest

GetTaobaoTbkScUcrowdDeleteRequest 从 sync.Pool 获取 TaobaoTbkScUcrowdDeleteAPIRequest

func NewTaobaoTbkScUcrowdDeleteRequest added in v1.2.5

func NewTaobaoTbkScUcrowdDeleteRequest() *TaobaoTbkScUcrowdDeleteAPIRequest

NewTaobaoTbkScUcrowdDeleteRequest 初始化TaobaoTbkScUcrowdDeleteAPIRequest对象

func (TaobaoTbkScUcrowdDeleteAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScUcrowdDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScUcrowdDeleteAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScUcrowdDeleteAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScUcrowdDeleteAPIRequest) GetUcrowdId added in v1.2.5

func (r TaobaoTbkScUcrowdDeleteAPIRequest) GetUcrowdId() int64

GetUcrowdId UcrowdId Getter

func (*TaobaoTbkScUcrowdDeleteAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScUcrowdDeleteAPIRequest) SetUcrowdId added in v1.2.5

func (r *TaobaoTbkScUcrowdDeleteAPIRequest) SetUcrowdId(_ucrowdId int64) error

SetUcrowdId is UcrowdId Setter 人群标签id

type TaobaoTbkScUcrowdDeleteAPIResponse added in v1.2.5

type TaobaoTbkScUcrowdDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScUcrowdDeleteAPIResponseModel
}

TaobaoTbkScUcrowdDeleteAPIResponse 淘宝客-服务商-删除人群标签 API返回值 taobao.tbk.sc.ucrowd.delete

服务商使用。支持淘宝客删除人群标签id,被删除的人群标签id将失效,并不可重新生效。

func GetTaobaoTbkScUcrowdDeleteAPIResponse added in v1.3.4

func GetTaobaoTbkScUcrowdDeleteAPIResponse() *TaobaoTbkScUcrowdDeleteAPIResponse

GetTaobaoTbkScUcrowdDeleteAPIResponse 从 sync.Pool 获取 TaobaoTbkScUcrowdDeleteAPIResponse

func (*TaobaoTbkScUcrowdDeleteAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScUcrowdDeleteAPIResponseModel added in v1.2.5

type TaobaoTbkScUcrowdDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_ucrowd_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data *TaobaoTbkScUcrowdDeleteRpcResult `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkScUcrowdDeleteAPIResponseModel is 淘宝客-服务商-删除人群标签 成功返回结果

func (*TaobaoTbkScUcrowdDeleteAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScUcrowdDeleteRpcResult added in v1.2.5

type TaobaoTbkScUcrowdDeleteRpcResult struct {
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoTbkScUcrowdDeleteRpcResult 结构体

func GetTaobaoTbkScUcrowdDeleteRpcResult added in v1.3.4

func GetTaobaoTbkScUcrowdDeleteRpcResult() *TaobaoTbkScUcrowdDeleteRpcResult

GetTaobaoTbkScUcrowdDeleteRpcResult() 从对象池中获取TaobaoTbkScUcrowdDeleteRpcResult

type TaobaoTbkScUcrowdGetAPIRequest added in v1.2.5

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

TaobaoTbkScUcrowdGetAPIRequest 淘宝客-服务商-获取人群标签 API请求 taobao.tbk.sc.ucrowd.get

服务商使用。支持淘宝客通过入参人群标签id,获得人群信息,包括人群名称描述及覆盖会员数。

func GetTaobaoTbkScUcrowdGetAPIRequest added in v1.3.4

func GetTaobaoTbkScUcrowdGetAPIRequest() *TaobaoTbkScUcrowdGetAPIRequest

GetTaobaoTbkScUcrowdGetRequest 从 sync.Pool 获取 TaobaoTbkScUcrowdGetAPIRequest

func NewTaobaoTbkScUcrowdGetRequest added in v1.2.5

func NewTaobaoTbkScUcrowdGetRequest() *TaobaoTbkScUcrowdGetAPIRequest

NewTaobaoTbkScUcrowdGetRequest 初始化TaobaoTbkScUcrowdGetAPIRequest对象

func (TaobaoTbkScUcrowdGetAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScUcrowdGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScUcrowdGetAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScUcrowdGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoTbkScUcrowdGetAPIRequest) GetRawParams() model.Params

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

func (TaobaoTbkScUcrowdGetAPIRequest) GetUcrowdId added in v1.2.5

func (r TaobaoTbkScUcrowdGetAPIRequest) GetUcrowdId() int64

GetUcrowdId UcrowdId Getter

func (*TaobaoTbkScUcrowdGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoTbkScUcrowdGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScUcrowdGetAPIRequest) SetUcrowdId added in v1.2.5

func (r *TaobaoTbkScUcrowdGetAPIRequest) SetUcrowdId(_ucrowdId int64) error

SetUcrowdId is UcrowdId Setter 人群标签id

type TaobaoTbkScUcrowdGetAPIResponse added in v1.2.5

type TaobaoTbkScUcrowdGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScUcrowdGetAPIResponseModel
}

TaobaoTbkScUcrowdGetAPIResponse 淘宝客-服务商-获取人群标签 API返回值 taobao.tbk.sc.ucrowd.get

服务商使用。支持淘宝客通过入参人群标签id,获得人群信息,包括人群名称描述及覆盖会员数。

func GetTaobaoTbkScUcrowdGetAPIResponse added in v1.3.4

func GetTaobaoTbkScUcrowdGetAPIResponse() *TaobaoTbkScUcrowdGetAPIResponse

GetTaobaoTbkScUcrowdGetAPIResponse 从 sync.Pool 获取 TaobaoTbkScUcrowdGetAPIResponse

func (*TaobaoTbkScUcrowdGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScUcrowdGetAPIResponseModel added in v1.2.5

type TaobaoTbkScUcrowdGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_ucrowd_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data *TaobaoTbkScUcrowdGetRpcResult `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkScUcrowdGetAPIResponseModel is 淘宝客-服务商-获取人群标签 成功返回结果

func (*TaobaoTbkScUcrowdGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScUcrowdGetRpcResult added in v1.2.5

type TaobaoTbkScUcrowdGetRpcResult struct {
	// 人群
	Ucrowd *CrowdDto `json:"ucrowd,omitempty" xml:"ucrowd,omitempty"`
}

TaobaoTbkScUcrowdGetRpcResult 结构体

func GetTaobaoTbkScUcrowdGetRpcResult added in v1.3.4

func GetTaobaoTbkScUcrowdGetRpcResult() *TaobaoTbkScUcrowdGetRpcResult

GetTaobaoTbkScUcrowdGetRpcResult() 从对象池中获取TaobaoTbkScUcrowdGetRpcResult

type TaobaoTbkScUcrowdMemberAddAPIRequest added in v1.2.5

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

TaobaoTbkScUcrowdMemberAddAPIRequest 淘宝客-服务商-上传人群数据 API请求 taobao.tbk.sc.ucrowd.member.add

服务商使用。支持淘宝客上传人群标签id对应的会员列表,支持全量和增量多种数据更新方式。

func GetTaobaoTbkScUcrowdMemberAddAPIRequest added in v1.3.4

func GetTaobaoTbkScUcrowdMemberAddAPIRequest() *TaobaoTbkScUcrowdMemberAddAPIRequest

GetTaobaoTbkScUcrowdMemberAddRequest 从 sync.Pool 获取 TaobaoTbkScUcrowdMemberAddAPIRequest

func NewTaobaoTbkScUcrowdMemberAddRequest added in v1.2.5

func NewTaobaoTbkScUcrowdMemberAddRequest() *TaobaoTbkScUcrowdMemberAddAPIRequest

NewTaobaoTbkScUcrowdMemberAddRequest 初始化TaobaoTbkScUcrowdMemberAddAPIRequest对象

func (TaobaoTbkScUcrowdMemberAddAPIRequest) GetAccountList added in v1.2.5

func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetAccountList() []string

GetAccountList AccountList Getter

func (TaobaoTbkScUcrowdMemberAddAPIRequest) GetAccountType added in v1.2.5

func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetAccountType() int64

GetAccountType AccountType Getter

func (TaobaoTbkScUcrowdMemberAddAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScUcrowdMemberAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScUcrowdMemberAddAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScUcrowdMemberAddAPIRequest) GetEditType added in v1.2.5

GetEditType EditType Getter

func (TaobaoTbkScUcrowdMemberAddAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScUcrowdMemberAddAPIRequest) GetUcrowdId added in v1.2.5

GetUcrowdId UcrowdId Getter

func (*TaobaoTbkScUcrowdMemberAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScUcrowdMemberAddAPIRequest) SetAccountList added in v1.2.5

func (r *TaobaoTbkScUcrowdMemberAddAPIRequest) SetAccountList(_accountList []string) error

SetAccountList is AccountList Setter 成员列表

func (*TaobaoTbkScUcrowdMemberAddAPIRequest) SetAccountType added in v1.2.5

func (r *TaobaoTbkScUcrowdMemberAddAPIRequest) SetAccountType(_accountType int64) error

SetAccountType is AccountType Setter 成员账号类型,1:sid

func (*TaobaoTbkScUcrowdMemberAddAPIRequest) SetEditType added in v1.2.5

func (r *TaobaoTbkScUcrowdMemberAddAPIRequest) SetEditType(_editType int64) error

SetEditType is EditType Setter 更新方式,1:增量更新,2:全量更新

func (*TaobaoTbkScUcrowdMemberAddAPIRequest) SetUcrowdId added in v1.2.5

func (r *TaobaoTbkScUcrowdMemberAddAPIRequest) SetUcrowdId(_ucrowdId int64) error

SetUcrowdId is UcrowdId Setter 人群id

type TaobaoTbkScUcrowdMemberAddAPIResponse added in v1.2.5

type TaobaoTbkScUcrowdMemberAddAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScUcrowdMemberAddAPIResponseModel
}

TaobaoTbkScUcrowdMemberAddAPIResponse 淘宝客-服务商-上传人群数据 API返回值 taobao.tbk.sc.ucrowd.member.add

服务商使用。支持淘宝客上传人群标签id对应的会员列表,支持全量和增量多种数据更新方式。

func GetTaobaoTbkScUcrowdMemberAddAPIResponse added in v1.3.4

func GetTaobaoTbkScUcrowdMemberAddAPIResponse() *TaobaoTbkScUcrowdMemberAddAPIResponse

GetTaobaoTbkScUcrowdMemberAddAPIResponse 从 sync.Pool 获取 TaobaoTbkScUcrowdMemberAddAPIResponse

func (*TaobaoTbkScUcrowdMemberAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScUcrowdMemberAddAPIResponseModel added in v1.2.5

type TaobaoTbkScUcrowdMemberAddAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_ucrowd_member_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data *TaobaoTbkScUcrowdMemberAddRpcResult `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkScUcrowdMemberAddAPIResponseModel is 淘宝客-服务商-上传人群数据 成功返回结果

func (*TaobaoTbkScUcrowdMemberAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScUcrowdMemberAddRpcResult added in v1.2.5

type TaobaoTbkScUcrowdMemberAddRpcResult struct {
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoTbkScUcrowdMemberAddRpcResult 结构体

func GetTaobaoTbkScUcrowdMemberAddRpcResult added in v1.3.4

func GetTaobaoTbkScUcrowdMemberAddRpcResult() *TaobaoTbkScUcrowdMemberAddRpcResult

GetTaobaoTbkScUcrowdMemberAddRpcResult() 从对象池中获取TaobaoTbkScUcrowdMemberAddRpcResult

type TaobaoTbkScUcrowdReportGetAPIRequest added in v1.2.5

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

TaobaoTbkScUcrowdReportGetAPIRequest 淘宝客-服务商-人群推广效果 API请求 taobao.tbk.sc.ucrowd.report.get

服务商使用。支持淘宝客通过入参人群标签id,获得人群的推广和转化效果数据。

func GetTaobaoTbkScUcrowdReportGetAPIRequest added in v1.3.4

func GetTaobaoTbkScUcrowdReportGetAPIRequest() *TaobaoTbkScUcrowdReportGetAPIRequest

GetTaobaoTbkScUcrowdReportGetRequest 从 sync.Pool 获取 TaobaoTbkScUcrowdReportGetAPIRequest

func NewTaobaoTbkScUcrowdReportGetRequest added in v1.2.5

func NewTaobaoTbkScUcrowdReportGetRequest() *TaobaoTbkScUcrowdReportGetAPIRequest

NewTaobaoTbkScUcrowdReportGetRequest 初始化TaobaoTbkScUcrowdReportGetAPIRequest对象

func (TaobaoTbkScUcrowdReportGetAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScUcrowdReportGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScUcrowdReportGetAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScUcrowdReportGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScUcrowdReportGetAPIRequest) GetReportDate added in v1.2.5

func (r TaobaoTbkScUcrowdReportGetAPIRequest) GetReportDate() string

GetReportDate ReportDate Getter

func (TaobaoTbkScUcrowdReportGetAPIRequest) GetUcrowdId added in v1.2.5

GetUcrowdId UcrowdId Getter

func (*TaobaoTbkScUcrowdReportGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScUcrowdReportGetAPIRequest) SetReportDate added in v1.2.5

func (r *TaobaoTbkScUcrowdReportGetAPIRequest) SetReportDate(_reportDate string) error

SetReportDate is ReportDate Setter 报表日期,支持:月、日,示例:2020-12,2020-12-30

func (*TaobaoTbkScUcrowdReportGetAPIRequest) SetUcrowdId added in v1.2.5

func (r *TaobaoTbkScUcrowdReportGetAPIRequest) SetUcrowdId(_ucrowdId int64) error

SetUcrowdId is UcrowdId Setter 人群标签id

type TaobaoTbkScUcrowdReportGetAPIResponse added in v1.2.5

type TaobaoTbkScUcrowdReportGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScUcrowdReportGetAPIResponseModel
}

TaobaoTbkScUcrowdReportGetAPIResponse 淘宝客-服务商-人群推广效果 API返回值 taobao.tbk.sc.ucrowd.report.get

服务商使用。支持淘宝客通过入参人群标签id,获得人群的推广和转化效果数据。

func GetTaobaoTbkScUcrowdReportGetAPIResponse added in v1.3.4

func GetTaobaoTbkScUcrowdReportGetAPIResponse() *TaobaoTbkScUcrowdReportGetAPIResponse

GetTaobaoTbkScUcrowdReportGetAPIResponse 从 sync.Pool 获取 TaobaoTbkScUcrowdReportGetAPIResponse

func (*TaobaoTbkScUcrowdReportGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScUcrowdReportGetAPIResponseModel added in v1.2.5

type TaobaoTbkScUcrowdReportGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_ucrowd_report_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data *TaobaoTbkScUcrowdReportGetRpcResult `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkScUcrowdReportGetAPIResponseModel is 淘宝客-服务商-人群推广效果 成功返回结果

func (*TaobaoTbkScUcrowdReportGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScUcrowdReportGetRpcResult added in v1.2.5

type TaobaoTbkScUcrowdReportGetRpcResult struct {
	// ucrowd_report
	UcrowdReport *DwsUnionAppDto `json:"ucrowd_report,omitempty" xml:"ucrowd_report,omitempty"`
}

TaobaoTbkScUcrowdReportGetRpcResult 结构体

func GetTaobaoTbkScUcrowdReportGetRpcResult added in v1.3.4

func GetTaobaoTbkScUcrowdReportGetRpcResult() *TaobaoTbkScUcrowdReportGetRpcResult

GetTaobaoTbkScUcrowdReportGetRpcResult() 从对象池中获取TaobaoTbkScUcrowdReportGetRpcResult

type TaobaoTbkScVegasSendReportAPIRequest added in v1.2.5

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

TaobaoTbkScVegasSendReportAPIRequest 淘宝客-服务商-查询红包发放个数 API请求 taobao.tbk.sc.vegas.send.report

服务商使用。可通过此接口查询对应推广者账号下的红包发放个数。

func GetTaobaoTbkScVegasSendReportAPIRequest added in v1.3.4

func GetTaobaoTbkScVegasSendReportAPIRequest() *TaobaoTbkScVegasSendReportAPIRequest

GetTaobaoTbkScVegasSendReportRequest 从 sync.Pool 获取 TaobaoTbkScVegasSendReportAPIRequest

func NewTaobaoTbkScVegasSendReportRequest added in v1.2.5

func NewTaobaoTbkScVegasSendReportRequest() *TaobaoTbkScVegasSendReportAPIRequest

NewTaobaoTbkScVegasSendReportRequest 初始化TaobaoTbkScVegasSendReportAPIRequest对象

func (TaobaoTbkScVegasSendReportAPIRequest) GetActivityCategory added in v1.2.9

func (r TaobaoTbkScVegasSendReportAPIRequest) GetActivityCategory() int64

GetActivityCategory ActivityCategory Getter

func (TaobaoTbkScVegasSendReportAPIRequest) GetActivityId added in v1.2.5

func (r TaobaoTbkScVegasSendReportAPIRequest) GetActivityId() int64

GetActivityId ActivityId Getter

func (TaobaoTbkScVegasSendReportAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScVegasSendReportAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScVegasSendReportAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScVegasSendReportAPIRequest) GetBizDate added in v1.2.5

GetBizDate BizDate Getter

func (TaobaoTbkScVegasSendReportAPIRequest) GetPageNo added in v1.2.5

GetPageNo PageNo Getter

func (TaobaoTbkScVegasSendReportAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (TaobaoTbkScVegasSendReportAPIRequest) GetPid added in v1.2.9

GetPid Pid Getter

func (TaobaoTbkScVegasSendReportAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScVegasSendReportAPIRequest) GetRelationId added in v1.2.5

func (r TaobaoTbkScVegasSendReportAPIRequest) GetRelationId() int64

GetRelationId RelationId Getter

func (TaobaoTbkScVegasSendReportAPIRequest) GetRptDim added in v1.2.9

GetRptDim RptDim Getter

func (*TaobaoTbkScVegasSendReportAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScVegasSendReportAPIRequest) SetActivityCategory added in v1.2.9

func (r *TaobaoTbkScVegasSendReportAPIRequest) SetActivityCategory(_activityCategory int64) error

SetActivityCategory is ActivityCategory Setter 查询红包类型,1-超级红包,2-福利购,3-签到红包,4-福利直降,不传时默认查询超级红包数据

func (*TaobaoTbkScVegasSendReportAPIRequest) SetActivityId added in v1.2.5

func (r *TaobaoTbkScVegasSendReportAPIRequest) SetActivityId(_activityId int64) error

SetActivityId is ActivityId Setter 已下线,后续不需要填写

func (*TaobaoTbkScVegasSendReportAPIRequest) SetBizDate added in v1.2.5

func (r *TaobaoTbkScVegasSendReportAPIRequest) SetBizDate(_bizDate string) error

SetBizDate is BizDate Setter 统计日期

func (*TaobaoTbkScVegasSendReportAPIRequest) SetPageNo added in v1.2.5

func (r *TaobaoTbkScVegasSendReportAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 页码

func (*TaobaoTbkScVegasSendReportAPIRequest) SetPageSize added in v1.2.5

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

SetPageSize is PageSize Setter 每页大小

func (*TaobaoTbkScVegasSendReportAPIRequest) SetPid added in v1.2.9

SetPid is Pid Setter 媒体推广pid

func (*TaobaoTbkScVegasSendReportAPIRequest) SetRelationId added in v1.2.5

func (r *TaobaoTbkScVegasSendReportAPIRequest) SetRelationId(_relationId int64) error

SetRelationId is RelationId Setter 渠道关系id

func (*TaobaoTbkScVegasSendReportAPIRequest) SetRptDim added in v1.2.9

func (r *TaobaoTbkScVegasSendReportAPIRequest) SetRptDim(_rptDim string) error

SetRptDim is RptDim Setter 查询维度,不填写默认是pid维度

type TaobaoTbkScVegasSendReportAPIResponse added in v1.2.5

type TaobaoTbkScVegasSendReportAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScVegasSendReportAPIResponseModel
}

TaobaoTbkScVegasSendReportAPIResponse 淘宝客-服务商-查询红包发放个数 API返回值 taobao.tbk.sc.vegas.send.report

服务商使用。可通过此接口查询对应推广者账号下的红包发放个数。

func GetTaobaoTbkScVegasSendReportAPIResponse added in v1.3.4

func GetTaobaoTbkScVegasSendReportAPIResponse() *TaobaoTbkScVegasSendReportAPIResponse

GetTaobaoTbkScVegasSendReportAPIResponse 从 sync.Pool 获取 TaobaoTbkScVegasSendReportAPIResponse

func (*TaobaoTbkScVegasSendReportAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScVegasSendReportAPIResponseModel added in v1.2.5

type TaobaoTbkScVegasSendReportAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_vegas_send_report_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoTbkScVegasSendReportResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoTbkScVegasSendReportAPIResponseModel is 淘宝客-服务商-查询红包发放个数 成功返回结果

func (*TaobaoTbkScVegasSendReportAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScVegasSendReportResult added in v1.2.5

type TaobaoTbkScVegasSendReportResult struct {
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// model
	Model *RightsSendRptDto `json:"model,omitempty" xml:"model,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoTbkScVegasSendReportResult 结构体

func GetTaobaoTbkScVegasSendReportResult added in v1.3.4

func GetTaobaoTbkScVegasSendReportResult() *TaobaoTbkScVegasSendReportResult

GetTaobaoTbkScVegasSendReportResult() 从对象池中获取TaobaoTbkScVegasSendReportResult

type TaobaoTbkScVegasSendStatusAPIRequest added in v1.2.5

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

TaobaoTbkScVegasSendStatusAPIRequest 淘宝客-服务商-红包领取状态查询 API请求 taobao.tbk.sc.vegas.send.status

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

func GetTaobaoTbkScVegasSendStatusAPIRequest added in v1.3.4

func GetTaobaoTbkScVegasSendStatusAPIRequest() *TaobaoTbkScVegasSendStatusAPIRequest

GetTaobaoTbkScVegasSendStatusRequest 从 sync.Pool 获取 TaobaoTbkScVegasSendStatusAPIRequest

func NewTaobaoTbkScVegasSendStatusRequest added in v1.2.5

func NewTaobaoTbkScVegasSendStatusRequest() *TaobaoTbkScVegasSendStatusAPIRequest

NewTaobaoTbkScVegasSendStatusRequest 初始化TaobaoTbkScVegasSendStatusAPIRequest对象

func (TaobaoTbkScVegasSendStatusAPIRequest) GetActivityCategory added in v1.2.9

func (r TaobaoTbkScVegasSendStatusAPIRequest) GetActivityCategory() int64

GetActivityCategory ActivityCategory Getter

func (TaobaoTbkScVegasSendStatusAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoTbkScVegasSendStatusAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkScVegasSendStatusAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkScVegasSendStatusAPIRequest) GetDeviceType added in v1.2.5

func (r TaobaoTbkScVegasSendStatusAPIRequest) GetDeviceType() string

GetDeviceType DeviceType Getter

func (TaobaoTbkScVegasSendStatusAPIRequest) GetDeviceValue added in v1.2.5

func (r TaobaoTbkScVegasSendStatusAPIRequest) GetDeviceValue() string

GetDeviceValue DeviceValue Getter

func (TaobaoTbkScVegasSendStatusAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkScVegasSendStatusAPIRequest) GetRelationId added in v1.2.5

func (r TaobaoTbkScVegasSendStatusAPIRequest) GetRelationId() string

GetRelationId RelationId Getter

func (TaobaoTbkScVegasSendStatusAPIRequest) GetSpecialId added in v1.2.5

GetSpecialId SpecialId Getter

func (*TaobaoTbkScVegasSendStatusAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkScVegasSendStatusAPIRequest) SetActivityCategory added in v1.2.9

func (r *TaobaoTbkScVegasSendStatusAPIRequest) SetActivityCategory(_activityCategory int64) error

SetActivityCategory is ActivityCategory Setter 查询红包类型,1-超级红包,2-福利购,3-签到红包,4-福利直降,不传时默认查询超级红包数据

func (*TaobaoTbkScVegasSendStatusAPIRequest) SetDeviceType added in v1.2.5

func (r *TaobaoTbkScVegasSendStatusAPIRequest) SetDeviceType(_deviceType string) error

SetDeviceType is DeviceType Setter 入参类型(该模式下返回的结果为模糊匹配结果,和实际情况可能存在误差): 1. IMEI 2. IDFA 3. OAID 4. MOBILE

func (*TaobaoTbkScVegasSendStatusAPIRequest) SetDeviceValue added in v1.2.5

func (r *TaobaoTbkScVegasSendStatusAPIRequest) SetDeviceValue(_deviceValue string) error

SetDeviceValue is DeviceValue Setter 加密后的值,需用MD5加密,32位小写

func (*TaobaoTbkScVegasSendStatusAPIRequest) SetRelationId added in v1.2.5

func (r *TaobaoTbkScVegasSendStatusAPIRequest) SetRelationId(_relationId string) error

SetRelationId is RelationId Setter 渠道管理id

func (*TaobaoTbkScVegasSendStatusAPIRequest) SetSpecialId added in v1.2.5

func (r *TaobaoTbkScVegasSendStatusAPIRequest) SetSpecialId(_specialId string) error

SetSpecialId is SpecialId Setter 会员运营id

type TaobaoTbkScVegasSendStatusAPIResponse added in v1.2.5

type TaobaoTbkScVegasSendStatusAPIResponse struct {
	model.CommonResponse
	TaobaoTbkScVegasSendStatusAPIResponseModel
}

TaobaoTbkScVegasSendStatusAPIResponse 淘宝客-服务商-红包领取状态查询 API返回值 taobao.tbk.sc.vegas.send.status

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

func GetTaobaoTbkScVegasSendStatusAPIResponse added in v1.3.4

func GetTaobaoTbkScVegasSendStatusAPIResponse() *TaobaoTbkScVegasSendStatusAPIResponse

GetTaobaoTbkScVegasSendStatusAPIResponse 从 sync.Pool 获取 TaobaoTbkScVegasSendStatusAPIResponse

func (*TaobaoTbkScVegasSendStatusAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScVegasSendStatusAPIResponseModel added in v1.2.5

type TaobaoTbkScVegasSendStatusAPIResponseModel struct {
	XMLName xml.Name `xml:"tbk_sc_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 *TaobaoTbkScVegasSendStatusData `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoTbkScVegasSendStatusAPIResponseModel is 淘宝客-服务商-红包领取状态查询 成功返回结果

func (*TaobaoTbkScVegasSendStatusAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkScVegasSendStatusData added in v1.2.5

type TaobaoTbkScVegasSendStatusData struct {
	// 返回结果封装对象
	ResultList []TaobaoTbkScVegasSendStatusMapData `json:"result_list,omitempty" xml:"result_list>taobao_tbk_sc_vegas_send_status_map_data,omitempty"`
}

TaobaoTbkScVegasSendStatusData 结构体

func GetTaobaoTbkScVegasSendStatusData added in v1.3.4

func GetTaobaoTbkScVegasSendStatusData() *TaobaoTbkScVegasSendStatusData

GetTaobaoTbkScVegasSendStatusData() 从对象池中获取TaobaoTbkScVegasSendStatusData

type TaobaoTbkScVegasSendStatusMapData added in v1.2.5

type TaobaoTbkScVegasSendStatusMapData struct {
	// 若该用户当前无待核销的红包,则返回1,若当前有待核销的红包,则返回0
	IsNewUser string `json:"is_new_user,omitempty" xml:"is_new_user,omitempty"`
}

TaobaoTbkScVegasSendStatusMapData 结构体

func GetTaobaoTbkScVegasSendStatusMapData added in v1.3.4

func GetTaobaoTbkScVegasSendStatusMapData() *TaobaoTbkScVegasSendStatusMapData

GetTaobaoTbkScVegasSendStatusMapData() 从对象池中获取TaobaoTbkScVegasSendStatusMapData

type TaobaoTbkShopGetAPIRequest added in v1.2.0

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

TaobaoTbkShopGetAPIRequest 淘宝客-推广者-店铺搜索 API请求 taobao.tbk.shop.get

淘宝客店铺查询

func GetTaobaoTbkShopGetAPIRequest added in v1.3.4

func GetTaobaoTbkShopGetAPIRequest() *TaobaoTbkShopGetAPIRequest

GetTaobaoTbkShopGetRequest 从 sync.Pool 获取 TaobaoTbkShopGetAPIRequest

func NewTaobaoTbkShopGetRequest

func NewTaobaoTbkShopGetRequest() *TaobaoTbkShopGetAPIRequest

NewTaobaoTbkShopGetRequest 初始化TaobaoTbkShopGetAPIRequest对象

func (TaobaoTbkShopGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkShopGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkShopGetAPIRequest) GetEndAuctionCount added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetEndAuctionCount() int64

GetEndAuctionCount EndAuctionCount Getter

func (TaobaoTbkShopGetAPIRequest) GetEndCommissionRate added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetEndCommissionRate() int64

GetEndCommissionRate EndCommissionRate Getter

func (TaobaoTbkShopGetAPIRequest) GetEndCredit added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetEndCredit() int64

GetEndCredit EndCredit Getter

func (TaobaoTbkShopGetAPIRequest) GetEndTotalAction added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetEndTotalAction() int64

GetEndTotalAction EndTotalAction Getter

func (TaobaoTbkShopGetAPIRequest) GetFields added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetFields() string

GetFields Fields Getter

func (TaobaoTbkShopGetAPIRequest) GetIsTmall added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetIsTmall() bool

GetIsTmall IsTmall Getter

func (TaobaoTbkShopGetAPIRequest) GetPageNo added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetPageNo() int64

GetPageNo PageNo Getter

func (TaobaoTbkShopGetAPIRequest) GetPageSize added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoTbkShopGetAPIRequest) GetPlatform added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetPlatform() int64

GetPlatform Platform Getter

func (TaobaoTbkShopGetAPIRequest) GetQ added in v1.2.0

GetQ Q Getter

func (TaobaoTbkShopGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoTbkShopGetAPIRequest) GetRawParams() model.Params

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

func (TaobaoTbkShopGetAPIRequest) GetSort added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetSort() string

GetSort Sort Getter

func (TaobaoTbkShopGetAPIRequest) GetStartAuctionCount added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetStartAuctionCount() int64

GetStartAuctionCount StartAuctionCount Getter

func (TaobaoTbkShopGetAPIRequest) GetStartCommissionRate added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetStartCommissionRate() int64

GetStartCommissionRate StartCommissionRate Getter

func (TaobaoTbkShopGetAPIRequest) GetStartCredit added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetStartCredit() int64

GetStartCredit StartCredit Getter

func (TaobaoTbkShopGetAPIRequest) GetStartTotalAction added in v1.2.0

func (r TaobaoTbkShopGetAPIRequest) GetStartTotalAction() int64

GetStartTotalAction StartTotalAction Getter

func (*TaobaoTbkShopGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoTbkShopGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkShopGetAPIRequest) SetEndAuctionCount added in v1.2.0

func (r *TaobaoTbkShopGetAPIRequest) SetEndAuctionCount(_endAuctionCount int64) error

SetEndAuctionCount is EndAuctionCount Setter 累计推广商品上限

func (*TaobaoTbkShopGetAPIRequest) SetEndCommissionRate added in v1.2.0

func (r *TaobaoTbkShopGetAPIRequest) SetEndCommissionRate(_endCommissionRate int64) error

SetEndCommissionRate is EndCommissionRate Setter 淘客佣金比率上限,1~10000

func (*TaobaoTbkShopGetAPIRequest) SetEndCredit added in v1.2.0

func (r *TaobaoTbkShopGetAPIRequest) SetEndCredit(_endCredit int64) error

SetEndCredit is EndCredit Setter 信用等级上限,1~20

func (*TaobaoTbkShopGetAPIRequest) SetEndTotalAction added in v1.2.0

func (r *TaobaoTbkShopGetAPIRequest) SetEndTotalAction(_endTotalAction int64) error

SetEndTotalAction is EndTotalAction Setter 店铺商品总数上限

func (*TaobaoTbkShopGetAPIRequest) SetFields added in v1.2.0

func (r *TaobaoTbkShopGetAPIRequest) SetFields(_fields string) error

SetFields is Fields Setter 需返回的字段列表

func (*TaobaoTbkShopGetAPIRequest) SetIsTmall added in v1.2.0

func (r *TaobaoTbkShopGetAPIRequest) SetIsTmall(_isTmall bool) error

SetIsTmall is IsTmall Setter 是否商城的店铺,设置为true表示该是属于淘宝商城的店铺,设置为false或不设置表示不判断这个属性

func (*TaobaoTbkShopGetAPIRequest) SetPageNo added in v1.2.0

func (r *TaobaoTbkShopGetAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 第几页,默认1,1~100

func (*TaobaoTbkShopGetAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 页大小,默认20,1~100

func (*TaobaoTbkShopGetAPIRequest) SetPlatform added in v1.2.0

func (r *TaobaoTbkShopGetAPIRequest) SetPlatform(_platform int64) error

SetPlatform is Platform Setter 链接形式:1:PC,2:无线,默认:1

func (*TaobaoTbkShopGetAPIRequest) SetQ added in v1.2.0

SetQ is Q Setter 查询词

func (*TaobaoTbkShopGetAPIRequest) SetSort added in v1.2.0

func (r *TaobaoTbkShopGetAPIRequest) SetSort(_sort string) error

SetSort is Sort Setter 排序_des(降序),排序_asc(升序),佣金比率(commission_rate), 商品数量(auction_count),销售总数量(total_auction)

func (*TaobaoTbkShopGetAPIRequest) SetStartAuctionCount added in v1.2.0

func (r *TaobaoTbkShopGetAPIRequest) SetStartAuctionCount(_startAuctionCount int64) error

SetStartAuctionCount is StartAuctionCount Setter 累计推广商品下限

func (*TaobaoTbkShopGetAPIRequest) SetStartCommissionRate added in v1.2.0

func (r *TaobaoTbkShopGetAPIRequest) SetStartCommissionRate(_startCommissionRate int64) error

SetStartCommissionRate is StartCommissionRate Setter 淘客佣金比率下限,1~10000

func (*TaobaoTbkShopGetAPIRequest) SetStartCredit added in v1.2.0

func (r *TaobaoTbkShopGetAPIRequest) SetStartCredit(_startCredit int64) error

SetStartCredit is StartCredit Setter 信用等级下限,1~20

func (*TaobaoTbkShopGetAPIRequest) SetStartTotalAction added in v1.2.0

func (r *TaobaoTbkShopGetAPIRequest) SetStartTotalAction(_startTotalAction int64) error

SetStartTotalAction is StartTotalAction Setter 店铺商品总数下限

type TaobaoTbkShopGetAPIResponse

type TaobaoTbkShopGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkShopGetAPIResponseModel
}

TaobaoTbkShopGetAPIResponse 淘宝客-推广者-店铺搜索 API返回值 taobao.tbk.shop.get

淘宝客店铺查询

func GetTaobaoTbkShopGetAPIResponse added in v1.3.4

func GetTaobaoTbkShopGetAPIResponse() *TaobaoTbkShopGetAPIResponse

GetTaobaoTbkShopGetAPIResponse 从 sync.Pool 获取 TaobaoTbkShopGetAPIResponse

func (*TaobaoTbkShopGetAPIResponse) Reset added in v1.3.4

func (m *TaobaoTbkShopGetAPIResponse) Reset()

Reset 清空结构体

type TaobaoTbkShopGetAPIResponseModel added in v1.2.0

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

TaobaoTbkShopGetAPIResponseModel is 淘宝客-推广者-店铺搜索 成功返回结果

func (*TaobaoTbkShopGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkShopRecommendGetAPIRequest added in v1.2.0

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

TaobaoTbkShopRecommendGetAPIRequest 淘宝客-公用-店铺关联推荐 API请求 taobao.tbk.shop.recommend.get

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

func GetTaobaoTbkShopRecommendGetAPIRequest added in v1.3.4

func GetTaobaoTbkShopRecommendGetAPIRequest() *TaobaoTbkShopRecommendGetAPIRequest

GetTaobaoTbkShopRecommendGetRequest 从 sync.Pool 获取 TaobaoTbkShopRecommendGetAPIRequest

func NewTaobaoTbkShopRecommendGetRequest

func NewTaobaoTbkShopRecommendGetRequest() *TaobaoTbkShopRecommendGetAPIRequest

NewTaobaoTbkShopRecommendGetRequest 初始化TaobaoTbkShopRecommendGetAPIRequest对象

func (TaobaoTbkShopRecommendGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkShopRecommendGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkShopRecommendGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkShopRecommendGetAPIRequest) GetCount added in v1.2.0

GetCount Count Getter

func (TaobaoTbkShopRecommendGetAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (TaobaoTbkShopRecommendGetAPIRequest) GetPlatform added in v1.2.0

GetPlatform Platform Getter

func (TaobaoTbkShopRecommendGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkShopRecommendGetAPIRequest) GetUserId added in v1.2.0

GetUserId UserId Getter

func (*TaobaoTbkShopRecommendGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkShopRecommendGetAPIRequest) SetCount added in v1.2.0

func (r *TaobaoTbkShopRecommendGetAPIRequest) SetCount(_count int64) error

SetCount is Count Setter 返回数量,默认20,最大值40

func (*TaobaoTbkShopRecommendGetAPIRequest) SetFields added in v1.2.0

func (r *TaobaoTbkShopRecommendGetAPIRequest) SetFields(_fields string) error

SetFields is Fields Setter 需返回的字段列表

func (*TaobaoTbkShopRecommendGetAPIRequest) SetPlatform added in v1.2.0

func (r *TaobaoTbkShopRecommendGetAPIRequest) SetPlatform(_platform int64) error

SetPlatform is Platform Setter 链接形式:1:PC,2:无线,默认:1

func (*TaobaoTbkShopRecommendGetAPIRequest) SetUserId added in v1.2.0

func (r *TaobaoTbkShopRecommendGetAPIRequest) SetUserId(_userId int64) error

SetUserId is UserId Setter 卖家Id

type TaobaoTbkShopRecommendGetAPIResponse

type TaobaoTbkShopRecommendGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkShopRecommendGetAPIResponseModel
}

TaobaoTbkShopRecommendGetAPIResponse 淘宝客-公用-店铺关联推荐 API返回值 taobao.tbk.shop.recommend.get

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

func GetTaobaoTbkShopRecommendGetAPIResponse added in v1.3.4

func GetTaobaoTbkShopRecommendGetAPIResponse() *TaobaoTbkShopRecommendGetAPIResponse

GetTaobaoTbkShopRecommendGetAPIResponse 从 sync.Pool 获取 TaobaoTbkShopRecommendGetAPIResponse

func (*TaobaoTbkShopRecommendGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkShopRecommendGetAPIResponseModel added in v1.2.0

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

TaobaoTbkShopRecommendGetAPIResponseModel is 淘宝客-公用-店铺关联推荐 成功返回结果

func (*TaobaoTbkShopRecommendGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkSkuBestCouponAPIRequest added in v1.2.0

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

TaobaoTbkSkuBestCouponAPIRequest sku维度最优优惠券信息 API请求 taobao.tbk.sku.best.coupon

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

func GetTaobaoTbkSkuBestCouponAPIRequest added in v1.3.4

func GetTaobaoTbkSkuBestCouponAPIRequest() *TaobaoTbkSkuBestCouponAPIRequest

GetTaobaoTbkSkuBestCouponRequest 从 sync.Pool 获取 TaobaoTbkSkuBestCouponAPIRequest

func NewTaobaoTbkSkuBestCouponRequest

func NewTaobaoTbkSkuBestCouponRequest() *TaobaoTbkSkuBestCouponAPIRequest

NewTaobaoTbkSkuBestCouponRequest 初始化TaobaoTbkSkuBestCouponAPIRequest对象

func (TaobaoTbkSkuBestCouponAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkSkuBestCouponAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkSkuBestCouponAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkSkuBestCouponAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (TaobaoTbkSkuBestCouponAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoTbkSkuBestCouponAPIRequest) GetSkuId added in v1.2.0

GetSkuId SkuId Getter

func (*TaobaoTbkSkuBestCouponAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkSkuBestCouponAPIRequest) SetItemId added in v1.2.0

func (r *TaobaoTbkSkuBestCouponAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 商品ID

func (*TaobaoTbkSkuBestCouponAPIRequest) SetSkuId added in v1.2.0

func (r *TaobaoTbkSkuBestCouponAPIRequest) SetSkuId(_skuId int64) error

SetSkuId is SkuId Setter 商品对应的skuId

type TaobaoTbkSkuBestCouponAPIResponse

type TaobaoTbkSkuBestCouponAPIResponse struct {
	model.CommonResponse
	TaobaoTbkSkuBestCouponAPIResponseModel
}

TaobaoTbkSkuBestCouponAPIResponse sku维度最优优惠券信息 API返回值 taobao.tbk.sku.best.coupon

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

func GetTaobaoTbkSkuBestCouponAPIResponse added in v1.3.4

func GetTaobaoTbkSkuBestCouponAPIResponse() *TaobaoTbkSkuBestCouponAPIResponse

GetTaobaoTbkSkuBestCouponAPIResponse 从 sync.Pool 获取 TaobaoTbkSkuBestCouponAPIResponse

func (*TaobaoTbkSkuBestCouponAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkSkuBestCouponAPIResponseModel added in v1.2.0

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

TaobaoTbkSkuBestCouponAPIResponseModel is sku维度最优优惠券信息 成功返回结果

func (*TaobaoTbkSkuBestCouponAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkSkuBestCouponMapData

type TaobaoTbkSkuBestCouponMapData struct {
	// 优惠券过期时间13位时间戳
	CouponExpireTime int64 `json:"coupon_expire_time,omitempty" xml:"coupon_expire_time,omitempty"`
}

TaobaoTbkSkuBestCouponMapData 结构体

func GetTaobaoTbkSkuBestCouponMapData added in v1.3.4

func GetTaobaoTbkSkuBestCouponMapData() *TaobaoTbkSkuBestCouponMapData

GetTaobaoTbkSkuBestCouponMapData() 从对象池中获取TaobaoTbkSkuBestCouponMapData

type TaobaoTbkSpreadGetAPIRequest added in v1.2.0

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

TaobaoTbkSpreadGetAPIRequest 淘宝客-公用-长链转短链 API请求 taobao.tbk.spread.get

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

func GetTaobaoTbkSpreadGetAPIRequest added in v1.3.4

func GetTaobaoTbkSpreadGetAPIRequest() *TaobaoTbkSpreadGetAPIRequest

GetTaobaoTbkSpreadGetRequest 从 sync.Pool 获取 TaobaoTbkSpreadGetAPIRequest

func NewTaobaoTbkSpreadGetRequest

func NewTaobaoTbkSpreadGetRequest() *TaobaoTbkSpreadGetAPIRequest

NewTaobaoTbkSpreadGetRequest 初始化TaobaoTbkSpreadGetAPIRequest对象

func (TaobaoTbkSpreadGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkSpreadGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkSpreadGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkSpreadGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoTbkSpreadGetAPIRequest) GetRawParams() model.Params

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

func (TaobaoTbkSpreadGetAPIRequest) GetRequests added in v1.2.0

GetRequests Requests Getter

func (*TaobaoTbkSpreadGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoTbkSpreadGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkSpreadGetAPIRequest) SetRequests added in v1.2.0

func (r *TaobaoTbkSpreadGetAPIRequest) SetRequests(_requests []TbkSpreadRequest) error

SetRequests is Requests Setter 请求列表,内部包含多个url

type TaobaoTbkSpreadGetAPIResponse

type TaobaoTbkSpreadGetAPIResponse struct {
	model.CommonResponse
	TaobaoTbkSpreadGetAPIResponseModel
}

TaobaoTbkSpreadGetAPIResponse 淘宝客-公用-长链转短链 API返回值 taobao.tbk.spread.get

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

func GetTaobaoTbkSpreadGetAPIResponse added in v1.3.4

func GetTaobaoTbkSpreadGetAPIResponse() *TaobaoTbkSpreadGetAPIResponse

GetTaobaoTbkSpreadGetAPIResponse 从 sync.Pool 获取 TaobaoTbkSpreadGetAPIResponse

func (*TaobaoTbkSpreadGetAPIResponse) Reset added in v1.3.4

func (m *TaobaoTbkSpreadGetAPIResponse) Reset()

Reset 清空结构体

type TaobaoTbkSpreadGetAPIResponseModel added in v1.2.0

type TaobaoTbkSpreadGetAPIResponseModel 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
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

TaobaoTbkSpreadGetAPIResponseModel is 淘宝客-公用-长链转短链 成功返回结果

func (*TaobaoTbkSpreadGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkTpwdCreateAPIRequest added in v1.2.0

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

TaobaoTbkTpwdCreateAPIRequest 淘宝客-公用-淘口令生成 API请求 taobao.tbk.tpwd.create

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

func GetTaobaoTbkTpwdCreateAPIRequest added in v1.3.4

func GetTaobaoTbkTpwdCreateAPIRequest() *TaobaoTbkTpwdCreateAPIRequest

GetTaobaoTbkTpwdCreateRequest 从 sync.Pool 获取 TaobaoTbkTpwdCreateAPIRequest

func NewTaobaoTbkTpwdCreateRequest

func NewTaobaoTbkTpwdCreateRequest() *TaobaoTbkTpwdCreateAPIRequest

NewTaobaoTbkTpwdCreateRequest 初始化TaobaoTbkTpwdCreateAPIRequest对象

func (TaobaoTbkTpwdCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoTbkTpwdCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoTbkTpwdCreateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoTbkTpwdCreateAPIRequest) GetExt added in v1.2.0

GetExt Ext Getter

GetLogo Logo Getter

func (TaobaoTbkTpwdCreateAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoTbkTpwdCreateAPIRequest) GetRawParams() model.Params

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

func (TaobaoTbkTpwdCreateAPIRequest) GetText added in v1.2.0

GetText Text Getter

func (TaobaoTbkTpwdCreateAPIRequest) GetUrl added in v1.2.0

GetUrl Url Getter

func (TaobaoTbkTpwdCreateAPIRequest) GetUserId added in v1.2.0

func (r TaobaoTbkTpwdCreateAPIRequest) GetUserId() string

GetUserId UserId Getter

func (*TaobaoTbkTpwdCreateAPIRequest) Reset added in v1.3.4

func (r *TaobaoTbkTpwdCreateAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoTbkTpwdCreateAPIRequest) SetExt added in v1.2.0

func (r *TaobaoTbkTpwdCreateAPIRequest) SetExt(_ext string) error

SetExt is Ext Setter 兼容旧版本api参数,无实际作用

func (r *TaobaoTbkTpwdCreateAPIRequest) SetLogo(_logo string) error

SetLogo is Logo Setter 兼容旧版本api参数,无实际作用

func (*TaobaoTbkTpwdCreateAPIRequest) SetText added in v1.2.0

func (r *TaobaoTbkTpwdCreateAPIRequest) SetText(_text string) error

SetText is Text Setter 兼容旧版本api参数,无实际作用

func (*TaobaoTbkTpwdCreateAPIRequest) SetUrl added in v1.2.0

func (r *TaobaoTbkTpwdCreateAPIRequest) SetUrl(_url string) error

SetUrl is Url Setter 联盟官方渠道获取的淘客推广链接,请注意,不要随意篡改官方生成的链接,否则可能无法生成淘口令

func (*TaobaoTbkTpwdCreateAPIRequest) SetUserId added in v1.2.0

func (r *TaobaoTbkTpwdCreateAPIRequest) SetUserId(_userId string) error

SetUserId is UserId Setter 兼容旧版本api参数,无实际作用

type TaobaoTbkTpwdCreateAPIResponse

type TaobaoTbkTpwdCreateAPIResponse struct {
	model.CommonResponse
	TaobaoTbkTpwdCreateAPIResponseModel
}

TaobaoTbkTpwdCreateAPIResponse 淘宝客-公用-淘口令生成 API返回值 taobao.tbk.tpwd.create

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

func GetTaobaoTbkTpwdCreateAPIResponse added in v1.3.4

func GetTaobaoTbkTpwdCreateAPIResponse() *TaobaoTbkTpwdCreateAPIResponse

GetTaobaoTbkTpwdCreateAPIResponse 从 sync.Pool 获取 TaobaoTbkTpwdCreateAPIResponse

func (*TaobaoTbkTpwdCreateAPIResponse) Reset added in v1.3.4

func (m *TaobaoTbkTpwdCreateAPIResponse) Reset()

Reset 清空结构体

type TaobaoTbkTpwdCreateAPIResponseModel added in v1.2.0

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

TaobaoTbkTpwdCreateAPIResponseModel is 淘宝客-公用-淘口令生成 成功返回结果

func (*TaobaoTbkTpwdCreateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoTbkTpwdCreateMapData

type TaobaoTbkTpwdCreateMapData struct {
	// 非苹果ios14以上版本的设备(即其他ios版本、Android系统等),可以用此淘口令正常在复制到手淘打开
	PasswordSimple string `json:"password_simple,omitempty" xml:"password_simple,omitempty"`
	// 针对苹果ios14及以上版本的苹果设备,手淘将按照示例值信息格式读取淘口令(需包含:数字+羊角符+url,识别规则可能根据ios情况变更)。如需更改淘口令内文案、url等内容,请务必先验证更改后的淘口令在手淘可被识别打开!
	Model string `json:"model,omitempty" xml:"model,omitempty"`
}

TaobaoTbkTpwdCreateMapData 结构体

func GetTaobaoTbkTpwdCreateMapData added in v1.3.4

func GetTaobaoTbkTpwdCreateMapData() *TaobaoTbkTpwdCreateMapData

GetTaobaoTbkTpwdCreateMapData() 从对象池中获取TaobaoTbkTpwdCreateMapData

type TbkSpread

type TbkSpread struct {
	// 传播形式, 目前只支持短链接
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 调用错误信息;由于是批量接口,请重点关注每条请求返回的结果,如果非OK,则说明该结果对应的content不正常,请酌情处理;
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
}

TbkSpread 结构体

func GetTbkSpread added in v1.3.4

func GetTbkSpread() *TbkSpread

GetTbkSpread() 从对象池中获取TbkSpread

type TbkSpreadRequest

type TbkSpreadRequest struct {
	// 原始url, 只支持uland.taobao.com,s.click.taobao.com, ai.taobao.com,temai.taobao.com的域名转换,否则判错
	Url string `json:"url,omitempty" xml:"url,omitempty"`
}

TbkSpreadRequest 结构体

func GetTbkSpreadRequest added in v1.3.4

func GetTbkSpreadRequest() *TbkSpreadRequest

GetTbkSpreadRequest() 从对象池中获取TbkSpreadRequest

type TopApiAfOrderOption

type TopApiAfOrderOption struct {
	// 查询开始时间,以taoke订单创建时间开始
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 渠道关系id
	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
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// pageNo
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 查询时间跨度,不超过30天,单位是天
	Span int64 `json:"span,omitempty" xml:"span,omitempty"`
	// 此参数不再使用,请勿入参
	SpecialId int64 `json:"special_id,omitempty" xml:"special_id,omitempty"`
	// pid中的第三段,adzoneId
	AdzoneId int64 `json:"adzone_id,omitempty" xml:"adzone_id,omitempty"`
	// pid中的第二段,siteId
	SiteId int64 `json:"site_id,omitempty" xml:"site_id,omitempty"`
	// 此参数不再使用,请勿入参
	ViolationType int64 `json:"violation_type,omitempty" xml:"violation_type,omitempty"`
	// 此参数不再使用,请勿入参
	PunishStatus int64 `json:"punish_status,omitempty" xml:"punish_status,omitempty"`
}

TopApiAfOrderOption 结构体

func GetTopApiAfOrderOption added in v1.3.4

func GetTopApiAfOrderOption() *TopApiAfOrderOption

GetTopApiAfOrderOption() 从对象池中获取TopApiAfOrderOption

type TopApiRefundRptOption added in v1.2.5

type TopApiRefundRptOption struct {
	// 开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// pagesize
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 1-维权发起时间,2-订单结算时间(正向订单),3-维权完成时间,4-订单创建时间,5-订单更新时间
	SearchType int64 `json:"search_type,omitempty" xml:"search_type,omitempty"`
	// 1 表示2方,2表示3方,0表示不限
	RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"`
	// pagenumber
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 1代表渠道关系id,2代表会员关系id
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
}

TopApiRefundRptOption 结构体

func GetTopApiRefundRptOption added in v1.3.4

func GetTopApiRefundRptOption() *TopApiRefundRptOption

GetTopApiRefundRptOption() 从对象池中获取TopApiRefundRptOption

type TopNInfoDto added in v1.2.0

type TopNInfoDto struct {
	// 前N件佣金结束时间
	TopnEndTime string `json:"topn_end_time,omitempty" xml:"topn_end_time,omitempty"`
	// 前N件佣金开始时间
	TopnStartTime string `json:"topn_start_time,omitempty" xml:"topn_start_time,omitempty"`
	// 前N件佣金率
	TopnRate string `json:"topn_rate,omitempty" xml:"topn_rate,omitempty"`
	// 前N件剩余库存
	TopnQuantity int64 `json:"topn_quantity,omitempty" xml:"topn_quantity,omitempty"`
	// 前N件初始总库存
	TopnTotalCount int64 `json:"topn_total_count,omitempty" xml:"topn_total_count,omitempty"`
}

TopNInfoDto 结构体

func GetTopNInfoDto added in v1.3.4

func GetTopNInfoDto() *TopNInfoDto

GetTopNInfoDto() 从对象池中获取TopNInfoDto

type Ucrowdrankitems

type Ucrowdrankitems struct {
	// 物料评估-商品ID,material_id=41377时必填
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 物料评估-商品佣金率,如:1234表示12.34%,material_id=41377时选填
	Commirate int64 `json:"commirate,omitempty" xml:"commirate,omitempty"`
	// 物料评估-商品价格,单位:元,material_id=41377时选填
	Price float64 `json:"price,omitempty" xml:"price,omitempty"`
}

Ucrowdrankitems 结构体

func GetUcrowdrankitems added in v1.3.4

func GetUcrowdrankitems() *Ucrowdrankitems

GetUcrowdrankitems() 从对象池中获取Ucrowdrankitems

type UpdateStatusResult added in v1.2.5

type UpdateStatusResult struct {
	// 暂停成功
	UpdateSuccess bool `json:"update_success,omitempty" xml:"update_success,omitempty"`
}

UpdateStatusResult 结构体

func GetUpdateStatusResult added in v1.3.4

func GetUpdateStatusResult() *UpdateStatusResult

GetUpdateStatusResult() 从对象池中获取UpdateStatusResult

type UserRuleInfo

type UserRuleInfo struct {
	// 用户对应的商品详细信息
	ItemList []TaobaoTbkCartCouponExpireUserQueryMapData `json:"item_list,omitempty" xml:"item_list>taobao_tbk_cart_coupon_expire_user_query_map_data,omitempty"`
	// 用户在TOP上的openId
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 每条记录离线任务生成,代表当时离线任务的时间戳
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
}

UserRuleInfo 结构体

func GetUserRuleInfo added in v1.3.4

func GetUserRuleInfo() *UserRuleInfo

GetUserRuleInfo() 从对象池中获取UserRuleInfo

type VegasCpaReportDto added in v1.2.5

type VegasCpaReportDto struct {
	// 奖励金额;按入参是预估/结算,区分获得金额为预估or可结算结果;
	RewardAmount string `json:"reward_amount,omitempty" xml:"reward_amount,omitempty"`
	// 统计日期(统计活动期内,截止 统计日期 的数据)
	BizDate string `json:"biz_date,omitempty" xml:"biz_date,omitempty"`
	// 媒体三段式id,当查询数据为pid维度时返回该字段
	Pid string `json:"pid,omitempty" xml:"pid,omitempty"`
	// 活动相关数据信息
	ExtInfo string `json:"ext_info,omitempty" xml:"ext_info,omitempty"`
	// 符合奖励要求的累计用户数;按入参是预估/结算,区分用户数为预估or可结算结果;
	Union30dLxUv int64 `json:"union_30d_lx_uv,omitempty" xml:"union_30d_lx_uv,omitempty"`
	// rid,当查询数据为rid维度时返回该字段
	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 数据类型:1预估 2结算
	QueryType int64 `json:"query_type,omitempty" xml:"query_type,omitempty"`
}

VegasCpaReportDto 结构体

func GetVegasCpaReportDto added in v1.3.4

func GetVegasCpaReportDto() *VegasCpaReportDto

GetVegasCpaReportDto() 从对象池中获取VegasCpaReportDto

type WordMapData

type WordMapData struct {
	// 链接-商品相关关联词落地页地址
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 商品相关的关联词
	Word string `json:"word,omitempty" xml:"word,omitempty"`
}

WordMapData 结构体

func GetWordMapData added in v1.3.4

func GetWordMapData() *WordMapData

GetWordMapData() 从对象池中获取WordMapData

type Youjiacouponinfo

type Youjiacouponinfo struct {
	// 有价券商品id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品链接
	Url string `json:"url,omitempty" xml:"url,omitempty"`
}

Youjiacouponinfo 结构体

func GetYoujiacouponinfo added in v1.3.4

func GetYoujiacouponinfo() *Youjiacouponinfo

GetYoujiacouponinfo() 从对象池中获取Youjiacouponinfo

Source Files

Jump to

Keyboard shortcuts

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