tmalltrend

package
v1.3.5 Latest Latest
Warning

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

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

Documentation

Overview

Package tmalltrend 包含天猫新品平台API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseStyleBasicInfoBo added in v1.3.4

func ReleaseStyleBasicInfoBo(v *StyleBasicInfoBo)

ReleaseStyleBasicInfoBo 释放StyleBasicInfoBo

func ReleaseStyleProduceInfoBO added in v1.3.4

func ReleaseStyleProduceInfoBO(v *StyleProduceInfoBO)

ReleaseStyleProduceInfoBO 释放StyleProduceInfoBO

func ReleaseTmallBrandChannelNewItem added in v1.3.4

func ReleaseTmallBrandChannelNewItem(v *TmallBrandChannelNewItem)

ReleaseTmallBrandChannelNewItem 释放TmallBrandChannelNewItem

func ReleaseTmallBrandItemCouponProtectAPIRequest added in v1.3.4

func ReleaseTmallBrandItemCouponProtectAPIRequest(v *TmallBrandItemCouponProtectAPIRequest)

ReleaseTmallBrandItemCouponProtectAPIRequest 将 TmallBrandItemCouponProtectAPIRequest 放入 sync.Pool

func ReleaseTmallBrandItemCouponProtectAPIResponse added in v1.3.4

func ReleaseTmallBrandItemCouponProtectAPIResponse(v *TmallBrandItemCouponProtectAPIResponse)

ReleaseTmallBrandItemCouponProtectAPIResponse 将 TmallBrandItemCouponProtectAPIResponse 保存到 sync.Pool

func ReleaseTmallBrandItemUploadAPIRequest added in v1.3.4

func ReleaseTmallBrandItemUploadAPIRequest(v *TmallBrandItemUploadAPIRequest)

ReleaseTmallBrandItemUploadAPIRequest 将 TmallBrandItemUploadAPIRequest 放入 sync.Pool

func ReleaseTmallBrandItemUploadAPIResponse added in v1.3.4

func ReleaseTmallBrandItemUploadAPIResponse(v *TmallBrandItemUploadAPIResponse)

ReleaseTmallBrandItemUploadAPIResponse 将 TmallBrandItemUploadAPIResponse 保存到 sync.Pool

func ReleaseTmallTrendStyleBasicinfoUploadAPIRequest added in v1.3.4

func ReleaseTmallTrendStyleBasicinfoUploadAPIRequest(v *TmallTrendStyleBasicinfoUploadAPIRequest)

ReleaseTmallTrendStyleBasicinfoUploadAPIRequest 将 TmallTrendStyleBasicinfoUploadAPIRequest 放入 sync.Pool

func ReleaseTmallTrendStyleBasicinfoUploadAPIResponse added in v1.3.4

func ReleaseTmallTrendStyleBasicinfoUploadAPIResponse(v *TmallTrendStyleBasicinfoUploadAPIResponse)

ReleaseTmallTrendStyleBasicinfoUploadAPIResponse 将 TmallTrendStyleBasicinfoUploadAPIResponse 保存到 sync.Pool

func ReleaseTmallTrendStyleBindinfoUploadAPIRequest added in v1.3.4

func ReleaseTmallTrendStyleBindinfoUploadAPIRequest(v *TmallTrendStyleBindinfoUploadAPIRequest)

ReleaseTmallTrendStyleBindinfoUploadAPIRequest 将 TmallTrendStyleBindinfoUploadAPIRequest 放入 sync.Pool

func ReleaseTmallTrendStyleBindinfoUploadAPIResponse added in v1.3.4

func ReleaseTmallTrendStyleBindinfoUploadAPIResponse(v *TmallTrendStyleBindinfoUploadAPIResponse)

ReleaseTmallTrendStyleBindinfoUploadAPIResponse 将 TmallTrendStyleBindinfoUploadAPIResponse 保存到 sync.Pool

func ReleaseTmallTrendStyleProduceinfoUploadAPIRequest added in v1.3.4

func ReleaseTmallTrendStyleProduceinfoUploadAPIRequest(v *TmallTrendStyleProduceinfoUploadAPIRequest)

ReleaseTmallTrendStyleProduceinfoUploadAPIRequest 将 TmallTrendStyleProduceinfoUploadAPIRequest 放入 sync.Pool

func ReleaseTmallTrendStyleProduceinfoUploadAPIResponse added in v1.3.4

func ReleaseTmallTrendStyleProduceinfoUploadAPIResponse(v *TmallTrendStyleProduceinfoUploadAPIResponse)

ReleaseTmallTrendStyleProduceinfoUploadAPIResponse 将 TmallTrendStyleProduceinfoUploadAPIResponse 保存到 sync.Pool

func ReleaseTrendStyleBindInfoBO added in v1.3.4

func ReleaseTrendStyleBindInfoBO(v *TrendStyleBindInfoBO)

ReleaseTrendStyleBindInfoBO 释放TrendStyleBindInfoBO

Types

type StyleBasicInfoBo

type StyleBasicInfoBo struct {
	// 款式同步目的,枚举,INSERT("新增"), UPDATE("更新"), OFFLINE("下线");
	SyncPurpose string `json:"sync_purpose,omitempty" xml:"sync_purpose,omitempty"`
	// 款式下线原因,枚举,当上面同步目的字段为DELETE时此参数必传,IP_COPYRIGHT("版权原因"), DESIGN_FLAW("设计缺陷"), OTHER("其他原因");
	OfflineReason string `json:"offline_reason,omitempty" xml:"offline_reason,omitempty"`
	// 版权归属方,集团安全约束,此参数必填
	CopyrightOwner string `json:"copyright_owner,omitempty" xml:"copyright_owner,omitempty"`
	// 款式模型源文件URL
	ModelSourceUrl string `json:"model_source_url,omitempty" xml:"model_source_url,omitempty"`
	// 款式编号,业务唯一
	StyleSerialNumber string `json:"style_serial_number,omitempty" xml:"style_serial_number,omitempty"`
	// 图案元素,多个用英文分号分割组成字符串传递
	Pattern string `json:"pattern,omitempty" xml:"pattern,omitempty"`
	// 款式名称
	StyleName string `json:"style_name,omitempty" xml:"style_name,omitempty"`
	// 工艺技法,多个用英文分号分割
	Craftsmanship string `json:"craftsmanship,omitempty" xml:"craftsmanship,omitempty"`
	// 主料类别,枚举,KNITTING("针织"), WOVEN("梭织"), WOOLEN("毛织"), NON_WOVEN_FABRIC("牛仔"), LEATHER("皮草")
	MajorMaterialCate string `json:"major_material_cate,omitempty" xml:"major_material_cate,omitempty"`
	// 风格类型,枚举,YOUNG_LADY_CLOTHING("少淑女装"), JIAN_OU_ZHONG_SHU("简欧中淑"), MATURE_AND_ELEGANT("成熟优雅"), COTTON_LINEN_STYLE("棉麻风"), STREET_FASHION("棉麻风"), GUO_CHAO("国朝"), BUSINESS_CASUAL("商务休闲"), FASHION_FUNCTION("时尚机能"), SPORTS_AND_LEISURE("运动休闲"), OUTDOOR_SPORTS("运动休闲"), JAPANESE_AND_KOREAN_STYLE("日韩风格"), COLLEGE_STYLE("学院风"), CHINESE_STYLE("中国风"), FOLK_CUSTOM("民族风"), BOHEMIA_STYLE("波西米亚"), MIDDLE_EASTERN_STYLE("中东风"), WORKPIECE_STYLE("工装风");
	StyleType string `json:"style_type,omitempty" xml:"style_type,omitempty"`
	// 款式主图链接
	MainPicSourceUrl string `json:"main_pic_source_url,omitempty" xml:"main_pic_source_url,omitempty"`
	// 款式细节图,多个链接地址用英文分号分割,最多10张细节图
	DetailPicSourceUrl string `json:"detail_pic_source_url,omitempty" xml:"detail_pic_source_url,omitempty"`
	// 廓形分类
	ContourCate string `json:"contour_cate,omitempty" xml:"contour_cate,omitempty"`
	// 辅料
	MinorMaterial string `json:"minor_material,omitempty" xml:"minor_material,omitempty"`
	// 核心属性项,英文分号分割,最多3个,必须按照给定备选项设置,否则强校验会不通过
	KeyProperties string `json:"key_properties,omitempty" xml:"key_properties,omitempty"`
	// 款式价格,单位元
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 授权证明,图片链接,当版权方不是凌迪时
	AuthorizeProofSourceUrl string `json:"authorize_proof_source_url,omitempty" xml:"authorize_proof_source_url,omitempty"`
	// 偏好人群,枚举,LUXURIOUS_CROWED("奢华人群"), FASHION_CROWED("奢华人群"), MAIN_STREAM_FASHION_CROWED("主流时尚者"), QUALITY_PRAGMATIC_CROWED("品质实用者"), SHOPAHOLIC("购物狂"), ECONOMICAL_PRAGMATIC_CROWED("平价实惠者")
	CrowedType string `json:"crowed_type,omitempty" xml:"crowed_type,omitempty"`
	// 装饰细节,多个用英文分号分割
	DecorationDetail string `json:"decoration_detail,omitempty" xml:"decoration_detail,omitempty"`
	// 主料成分
	MajorMaterialComponent string `json:"major_material_component,omitempty" xml:"major_material_component,omitempty"`
	// 款式视频地址链接
	VideoSourceUrl string `json:"video_source_url,omitempty" xml:"video_source_url,omitempty"`
	// 下线操作时说明详细下线原因
	OfflineReasonDetail string `json:"offline_reason_detail,omitempty" xml:"offline_reason_detail,omitempty"`
	// 服装模型信息
	Clothings string `json:"clothings,omitempty" xml:"clothings,omitempty"`
	// 人台模型信息
	Modelling string `json:"modelling,omitempty" xml:"modelling,omitempty"`
	// 部件模型信息
	Components string `json:"components,omitempty" xml:"components,omitempty"`
	// 面料信息
	Fabrics string `json:"fabrics,omitempty" xml:"fabrics,omitempty"`
	// 图案信息
	Decals string `json:"decals,omitempty" xml:"decals,omitempty"`
	// 字体图案信息
	Fonts string `json:"fonts,omitempty" xml:"fonts,omitempty"`
	// 辅料信息
	Accessories string `json:"accessories,omitempty" xml:"accessories,omitempty"`
	// 场景信息
	Scenes string `json:"scenes,omitempty" xml:"scenes,omitempty"`
	// 灯光、控制信息
	Lights string `json:"lights,omitempty" xml:"lights,omitempty"`
	// 版本号
	Version string `json:"version,omitempty" xml:"version,omitempty"`
	// 是否拥有IP版权,true--有,false--无
	IpCopyright bool `json:"ip_copyright,omitempty" xml:"ip_copyright,omitempty"`
}

StyleBasicInfoBo 结构体

func GetStyleBasicInfoBo added in v1.3.4

func GetStyleBasicInfoBo() *StyleBasicInfoBo

GetStyleBasicInfoBo() 从对象池中获取StyleBasicInfoBo

type StyleProduceInfoBO

type StyleProduceInfoBO struct {
	// 款式生产信息同步目的,枚举,INSERT("新增"), UPDATE("更新"), OFFLINE("下线");
	SyncPurpose string `json:"sync_purpose,omitempty" xml:"sync_purpose,omitempty"`
	// 生产价格区间
	ProducePriceRange string `json:"produce_price_range,omitempty" xml:"produce_price_range,omitempty"`
	// 生产商联系方式
	ContactInfo string `json:"contact_info,omitempty" xml:"contact_info,omitempty"`
	// 款式编号,业务唯一
	StyleSerialNumber string `json:"style_serial_number,omitempty" xml:"style_serial_number,omitempty"`
	// 生产商名称
	ProducerName string `json:"producer_name,omitempty" xml:"producer_name,omitempty"`
	// 工艺源文件地址
	CraftSourceFile string `json:"craft_source_file,omitempty" xml:"craft_source_file,omitempty"`
	// CAD源文件,设计必须
	DesignCadSourceFile string `json:"design_cad_source_file,omitempty" xml:"design_cad_source_file,omitempty"`
	// 生产周期,单位天
	ProduceCycle string `json:"produce_cycle,omitempty" xml:"produce_cycle,omitempty"`
	// 打样价格,单位元
	MakeSamplePrice string `json:"make_sample_price,omitempty" xml:"make_sample_price,omitempty"`
	// 生产商税务编号
	TaxId string `json:"tax_id,omitempty" xml:"tax_id,omitempty"`
	// CAD源文件,生产必须
	ProduceCadSourceFile string `json:"produce_cad_source_file,omitempty" xml:"produce_cad_source_file,omitempty"`
	// 生产Bom清单,json字符串
	Bom string `json:"bom,omitempty" xml:"bom,omitempty"`
	// 最小起订量
	MinimalOder int64 `json:"minimal_oder,omitempty" xml:"minimal_oder,omitempty"`
	// 最大订单量
	MaximumOder int64 `json:"maximum_oder,omitempty" xml:"maximum_oder,omitempty"`
	// 是否支持打样,true--支持,false--不支持
	CanMakeSample bool `json:"can_make_sample,omitempty" xml:"can_make_sample,omitempty"`
}

StyleProduceInfoBO 结构体

func GetStyleProduceInfoBO added in v1.3.4

func GetStyleProduceInfoBO() *StyleProduceInfoBO

GetStyleProduceInfoBO() 从对象池中获取StyleProduceInfoBO

type TmallBrandChannelNewItem

type TmallBrandChannelNewItem struct {
	// 商品sku在渠道的图片
	ChannelItemPicts []string `json:"channel_item_picts,omitempty" xml:"channel_item_picts>string,omitempty"`
	// 天猫品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 发售渠道名称
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 在渠道的发售时间
	ChannelPublishTime string `json:"channel_publish_time,omitempty" xml:"channel_publish_time,omitempty"`
	// 天猫商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 渠道商品名称
	ChannelItemName string `json:"channel_item_name,omitempty" xml:"channel_item_name,omitempty"`
	// 商品sku在渠道对应的属性对,格式为k1:v1;k2:v2
	ChannelProperties string `json:"channel_properties,omitempty" xml:"channel_properties,omitempty"`
	// 商品sku在渠道的发售价格
	ChannelItemPrice string `json:"channel_item_price,omitempty" xml:"channel_item_price,omitempty"`
	// barcode码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// 渠道的发售区域
	ChannelPublishArea string `json:"channel_publish_area,omitempty" xml:"channel_publish_area,omitempty"`
	// 商品sku在渠道的库存
	ChannelQuantity int64 `json:"channel_quantity,omitempty" xml:"channel_quantity,omitempty"`
	// 渠道商品id
	ChannelItemId int64 `json:"channel_item_id,omitempty" xml:"channel_item_id,omitempty"`
	// 渠道商品skuId
	ChannelSkuId int64 `json:"channel_sku_id,omitempty" xml:"channel_sku_id,omitempty"`
	// 天猫商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 天猫品牌id
	BrandId int64 `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 天猫商品skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 是否天猫同款
	TmallSame bool `json:"tmall_same,omitempty" xml:"tmall_same,omitempty"`
}

TmallBrandChannelNewItem 结构体

func GetTmallBrandChannelNewItem added in v1.3.4

func GetTmallBrandChannelNewItem() *TmallBrandChannelNewItem

GetTmallBrandChannelNewItem() 从对象池中获取TmallBrandChannelNewItem

type TmallBrandItemCouponProtectAPIRequest added in v1.2.0

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

TmallBrandItemCouponProtectAPIRequest 全域新品店铺优惠券免除 API请求 tmall.brand.item.coupon.protect

全域新品店铺优惠券免除申请打标接口

func GetTmallBrandItemCouponProtectAPIRequest added in v1.3.4

func GetTmallBrandItemCouponProtectAPIRequest() *TmallBrandItemCouponProtectAPIRequest

GetTmallBrandItemCouponProtectRequest 从 sync.Pool 获取 TmallBrandItemCouponProtectAPIRequest

func NewTmallBrandItemCouponProtectRequest

func NewTmallBrandItemCouponProtectRequest() *TmallBrandItemCouponProtectAPIRequest

NewTmallBrandItemCouponProtectRequest 初始化TmallBrandItemCouponProtectAPIRequest对象

func (TmallBrandItemCouponProtectAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallBrandItemCouponProtectAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallBrandItemCouponProtectAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallBrandItemCouponProtectAPIRequest) GetBrandId added in v1.2.0

GetBrandId BrandId Getter

func (TmallBrandItemCouponProtectAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (TmallBrandItemCouponProtectAPIRequest) GetProtectionPeriod added in v1.2.0

func (r TmallBrandItemCouponProtectAPIRequest) GetProtectionPeriod() string

GetProtectionPeriod ProtectionPeriod Getter

func (TmallBrandItemCouponProtectAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallBrandItemCouponProtectAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallBrandItemCouponProtectAPIRequest) SetBrandId added in v1.2.0

func (r *TmallBrandItemCouponProtectAPIRequest) SetBrandId(_brandId int64) error

SetBrandId is BrandId Setter 天猫品牌id

func (*TmallBrandItemCouponProtectAPIRequest) SetItemId added in v1.2.0

func (r *TmallBrandItemCouponProtectAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 天猫商品id

func (*TmallBrandItemCouponProtectAPIRequest) SetProtectionPeriod added in v1.2.0

func (r *TmallBrandItemCouponProtectAPIRequest) SetProtectionPeriod(_protectionPeriod string) error

SetProtectionPeriod is ProtectionPeriod Setter 店铺优惠券新品保护期档次:PERIOD_0D("0天"), PERIOD_7D("7天"), PERIOD_14D("14天"), PERIOD_21D("21天")

type TmallBrandItemCouponProtectAPIResponse

type TmallBrandItemCouponProtectAPIResponse struct {
	model.CommonResponse
	TmallBrandItemCouponProtectAPIResponseModel
}

TmallBrandItemCouponProtectAPIResponse 全域新品店铺优惠券免除 API返回值 tmall.brand.item.coupon.protect

全域新品店铺优惠券免除申请打标接口

func GetTmallBrandItemCouponProtectAPIResponse added in v1.3.4

func GetTmallBrandItemCouponProtectAPIResponse() *TmallBrandItemCouponProtectAPIResponse

GetTmallBrandItemCouponProtectAPIResponse 从 sync.Pool 获取 TmallBrandItemCouponProtectAPIResponse

func (*TmallBrandItemCouponProtectAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallBrandItemCouponProtectAPIResponseModel added in v1.2.0

type TmallBrandItemCouponProtectAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_brand_item_coupon_protect_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回结果
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// 错误码
	RespErrorCode string `json:"resp_error_code,omitempty" xml:"resp_error_code,omitempty"`
	// 店铺优惠券保护期设置是否成功
	RespSuccess bool `json:"resp_success,omitempty" xml:"resp_success,omitempty"`
}

TmallBrandItemCouponProtectAPIResponseModel is 全域新品店铺优惠券免除 成功返回结果

func (*TmallBrandItemCouponProtectAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallBrandItemUploadAPIRequest added in v1.2.0

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

TmallBrandItemUploadAPIRequest 天猫品牌新品同步API API请求 tmall.brand.item.upload

支撑天猫品牌将各渠道新品信息同步至平台

func GetTmallBrandItemUploadAPIRequest added in v1.3.4

func GetTmallBrandItemUploadAPIRequest() *TmallBrandItemUploadAPIRequest

GetTmallBrandItemUploadRequest 从 sync.Pool 获取 TmallBrandItemUploadAPIRequest

func NewTmallBrandItemUploadRequest

func NewTmallBrandItemUploadRequest() *TmallBrandItemUploadAPIRequest

NewTmallBrandItemUploadRequest 初始化TmallBrandItemUploadAPIRequest对象

func (TmallBrandItemUploadAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallBrandItemUploadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallBrandItemUploadAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallBrandItemUploadAPIRequest) GetItemList added in v1.2.0

GetItemList ItemList Getter

func (TmallBrandItemUploadAPIRequest) GetRawParams added in v1.2.8

func (r TmallBrandItemUploadAPIRequest) GetRawParams() model.Params

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

func (*TmallBrandItemUploadAPIRequest) Reset added in v1.3.4

func (r *TmallBrandItemUploadAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TmallBrandItemUploadAPIRequest) SetItemList added in v1.2.0

SetItemList is ItemList Setter 需要同步的商品列表

type TmallBrandItemUploadAPIResponse

type TmallBrandItemUploadAPIResponse struct {
	model.CommonResponse
	TmallBrandItemUploadAPIResponseModel
}

TmallBrandItemUploadAPIResponse 天猫品牌新品同步API API返回值 tmall.brand.item.upload

支撑天猫品牌将各渠道新品信息同步至平台

func GetTmallBrandItemUploadAPIResponse added in v1.3.4

func GetTmallBrandItemUploadAPIResponse() *TmallBrandItemUploadAPIResponse

GetTmallBrandItemUploadAPIResponse 从 sync.Pool 获取 TmallBrandItemUploadAPIResponse

func (*TmallBrandItemUploadAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallBrandItemUploadAPIResponseModel added in v1.2.0

type TmallBrandItemUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_brand_item_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 请求参数错误
	RespErrorCode int64 `json:"resp_error_code,omitempty" xml:"resp_error_code,omitempty"`
	// 是否成功
	RespSuccess bool `json:"resp_success,omitempty" xml:"resp_success,omitempty"`
}

TmallBrandItemUploadAPIResponseModel is 天猫品牌新品同步API 成功返回结果

func (*TmallBrandItemUploadAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallTrendStyleBasicinfoUploadAPIRequest added in v1.2.0

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

TmallTrendStyleBasicinfoUploadAPIRequest 3D款式基本信息同步API API请求 tmall.trend.style.basicinfo.upload

3D款式基本信息同步至天猫趋势中心

func GetTmallTrendStyleBasicinfoUploadAPIRequest added in v1.3.4

func GetTmallTrendStyleBasicinfoUploadAPIRequest() *TmallTrendStyleBasicinfoUploadAPIRequest

GetTmallTrendStyleBasicinfoUploadRequest 从 sync.Pool 获取 TmallTrendStyleBasicinfoUploadAPIRequest

func NewTmallTrendStyleBasicinfoUploadRequest

func NewTmallTrendStyleBasicinfoUploadRequest() *TmallTrendStyleBasicinfoUploadAPIRequest

NewTmallTrendStyleBasicinfoUploadRequest 初始化TmallTrendStyleBasicinfoUploadAPIRequest对象

func (TmallTrendStyleBasicinfoUploadAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallTrendStyleBasicinfoUploadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallTrendStyleBasicinfoUploadAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallTrendStyleBasicinfoUploadAPIRequest) GetRawParams added in v1.2.8

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

func (TmallTrendStyleBasicinfoUploadAPIRequest) GetStyleBasicInfoBoList added in v1.2.0

func (r TmallTrendStyleBasicinfoUploadAPIRequest) GetStyleBasicInfoBoList() []StyleBasicInfoBo

GetStyleBasicInfoBoList StyleBasicInfoBoList Getter

func (*TmallTrendStyleBasicinfoUploadAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallTrendStyleBasicinfoUploadAPIRequest) SetStyleBasicInfoBoList added in v1.2.0

func (r *TmallTrendStyleBasicinfoUploadAPIRequest) SetStyleBasicInfoBoList(_styleBasicInfoBoList []StyleBasicInfoBo) error

SetStyleBasicInfoBoList is StyleBasicInfoBoList Setter 款式基本信息列表,单次同步最多1000条

type TmallTrendStyleBasicinfoUploadAPIResponse

type TmallTrendStyleBasicinfoUploadAPIResponse struct {
	model.CommonResponse
	TmallTrendStyleBasicinfoUploadAPIResponseModel
}

TmallTrendStyleBasicinfoUploadAPIResponse 3D款式基本信息同步API API返回值 tmall.trend.style.basicinfo.upload

3D款式基本信息同步至天猫趋势中心

func GetTmallTrendStyleBasicinfoUploadAPIResponse added in v1.3.4

func GetTmallTrendStyleBasicinfoUploadAPIResponse() *TmallTrendStyleBasicinfoUploadAPIResponse

GetTmallTrendStyleBasicinfoUploadAPIResponse 从 sync.Pool 获取 TmallTrendStyleBasicinfoUploadAPIResponse

func (*TmallTrendStyleBasicinfoUploadAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallTrendStyleBasicinfoUploadAPIResponseModel added in v1.2.0

type TmallTrendStyleBasicinfoUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_trend_style_basicinfo_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 款式基本信息同步处理结果描述
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码,1001-系统错误,1002-请求参数错误,1003-业务处理错误,1004-数据权限错误
	RespErrorCode int64 `json:"resp_error_code,omitempty" xml:"resp_error_code,omitempty"`
	// 是否成功
	RespSuccess bool `json:"resp_success,omitempty" xml:"resp_success,omitempty"`
}

TmallTrendStyleBasicinfoUploadAPIResponseModel is 3D款式基本信息同步API 成功返回结果

func (*TmallTrendStyleBasicinfoUploadAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallTrendStyleBindinfoUploadAPIRequest added in v1.2.0

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

TmallTrendStyleBindinfoUploadAPIRequest 趋势词&款式绑定信息同步API API请求 tmall.trend.style.bindinfo.upload

趋势词&款式(服饰行业)绑定信息同步至平台

func GetTmallTrendStyleBindinfoUploadAPIRequest added in v1.3.4

func GetTmallTrendStyleBindinfoUploadAPIRequest() *TmallTrendStyleBindinfoUploadAPIRequest

GetTmallTrendStyleBindinfoUploadRequest 从 sync.Pool 获取 TmallTrendStyleBindinfoUploadAPIRequest

func NewTmallTrendStyleBindinfoUploadRequest

func NewTmallTrendStyleBindinfoUploadRequest() *TmallTrendStyleBindinfoUploadAPIRequest

NewTmallTrendStyleBindinfoUploadRequest 初始化TmallTrendStyleBindinfoUploadAPIRequest对象

func (TmallTrendStyleBindinfoUploadAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallTrendStyleBindinfoUploadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallTrendStyleBindinfoUploadAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallTrendStyleBindinfoUploadAPIRequest) GetRawParams added in v1.2.8

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

func (TmallTrendStyleBindinfoUploadAPIRequest) GetTrendStyleBindInfoBoList added in v1.2.0

func (r TmallTrendStyleBindinfoUploadAPIRequest) GetTrendStyleBindInfoBoList() []TrendStyleBindInfoBO

GetTrendStyleBindInfoBoList TrendStyleBindInfoBoList Getter

func (*TmallTrendStyleBindinfoUploadAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallTrendStyleBindinfoUploadAPIRequest) SetTrendStyleBindInfoBoList added in v1.2.0

func (r *TmallTrendStyleBindinfoUploadAPIRequest) SetTrendStyleBindInfoBoList(_trendStyleBindInfoBoList []TrendStyleBindInfoBO) error

SetTrendStyleBindInfoBoList is TrendStyleBindInfoBoList Setter 趋势词&款式绑定信息列表,一次最多1000条

type TmallTrendStyleBindinfoUploadAPIResponse

type TmallTrendStyleBindinfoUploadAPIResponse struct {
	model.CommonResponse
	TmallTrendStyleBindinfoUploadAPIResponseModel
}

TmallTrendStyleBindinfoUploadAPIResponse 趋势词&款式绑定信息同步API API返回值 tmall.trend.style.bindinfo.upload

趋势词&款式(服饰行业)绑定信息同步至平台

func GetTmallTrendStyleBindinfoUploadAPIResponse added in v1.3.4

func GetTmallTrendStyleBindinfoUploadAPIResponse() *TmallTrendStyleBindinfoUploadAPIResponse

GetTmallTrendStyleBindinfoUploadAPIResponse 从 sync.Pool 获取 TmallTrendStyleBindinfoUploadAPIResponse

func (*TmallTrendStyleBindinfoUploadAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallTrendStyleBindinfoUploadAPIResponseModel added in v1.2.0

type TmallTrendStyleBindinfoUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_trend_style_bindinfo_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 趋势词&款式关联信息同步处理结果描述
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码,1001-系统错误,1002-请求参数错误,1003-业务处理错误,1004-数据权限错误
	RespErrorCode int64 `json:"resp_error_code,omitempty" xml:"resp_error_code,omitempty"`
	// 是否成功
	RespSuccess bool `json:"resp_success,omitempty" xml:"resp_success,omitempty"`
}

TmallTrendStyleBindinfoUploadAPIResponseModel is 趋势词&款式绑定信息同步API 成功返回结果

func (*TmallTrendStyleBindinfoUploadAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallTrendStyleProduceinfoUploadAPIRequest added in v1.2.0

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

TmallTrendStyleProduceinfoUploadAPIRequest 款式生产信息同步API API请求 tmall.trend.style.produceinfo.upload

款式生产信息同步至平台

func GetTmallTrendStyleProduceinfoUploadAPIRequest added in v1.3.4

func GetTmallTrendStyleProduceinfoUploadAPIRequest() *TmallTrendStyleProduceinfoUploadAPIRequest

GetTmallTrendStyleProduceinfoUploadRequest 从 sync.Pool 获取 TmallTrendStyleProduceinfoUploadAPIRequest

func NewTmallTrendStyleProduceinfoUploadRequest

func NewTmallTrendStyleProduceinfoUploadRequest() *TmallTrendStyleProduceinfoUploadAPIRequest

NewTmallTrendStyleProduceinfoUploadRequest 初始化TmallTrendStyleProduceinfoUploadAPIRequest对象

func (TmallTrendStyleProduceinfoUploadAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallTrendStyleProduceinfoUploadAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallTrendStyleProduceinfoUploadAPIRequest) GetRawParams added in v1.2.8

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

func (TmallTrendStyleProduceinfoUploadAPIRequest) GetStyleProduceInfoBoList added in v1.2.0

func (r TmallTrendStyleProduceinfoUploadAPIRequest) GetStyleProduceInfoBoList() []StyleProduceInfoBO

GetStyleProduceInfoBoList StyleProduceInfoBoList Getter

func (*TmallTrendStyleProduceinfoUploadAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallTrendStyleProduceinfoUploadAPIRequest) SetStyleProduceInfoBoList added in v1.2.0

func (r *TmallTrendStyleProduceinfoUploadAPIRequest) SetStyleProduceInfoBoList(_styleProduceInfoBoList []StyleProduceInfoBO) error

SetStyleProduceInfoBoList is StyleProduceInfoBoList Setter 款式生产信息列表,单次同步最对1000条

type TmallTrendStyleProduceinfoUploadAPIResponse

type TmallTrendStyleProduceinfoUploadAPIResponse struct {
	model.CommonResponse
	TmallTrendStyleProduceinfoUploadAPIResponseModel
}

TmallTrendStyleProduceinfoUploadAPIResponse 款式生产信息同步API API返回值 tmall.trend.style.produceinfo.upload

款式生产信息同步至平台

func GetTmallTrendStyleProduceinfoUploadAPIResponse added in v1.3.4

func GetTmallTrendStyleProduceinfoUploadAPIResponse() *TmallTrendStyleProduceinfoUploadAPIResponse

GetTmallTrendStyleProduceinfoUploadAPIResponse 从 sync.Pool 获取 TmallTrendStyleProduceinfoUploadAPIResponse

func (*TmallTrendStyleProduceinfoUploadAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallTrendStyleProduceinfoUploadAPIResponseModel added in v1.2.0

type TmallTrendStyleProduceinfoUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_trend_style_produceinfo_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 同步款式生产信息处理结果描述
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// 错误描述信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码,1001-系统错误,1002-请求参数错误,1003-业务处理错误,1004-数据权限错误
	RespErrorCode int64 `json:"resp_error_code,omitempty" xml:"resp_error_code,omitempty"`
	// 是否成功
	RespSuccess bool `json:"resp_success,omitempty" xml:"resp_success,omitempty"`
}

TmallTrendStyleProduceinfoUploadAPIResponseModel is 款式生产信息同步API 成功返回结果

func (*TmallTrendStyleProduceinfoUploadAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TrendStyleBindInfoBO

type TrendStyleBindInfoBO struct {
	// 款式关联趋势词信息列表,趋势词信息:趋势词id+叶子类目id,单个款式最多关联3个趋势词
	TrendWordInfoList []string `json:"trend_word_info_list,omitempty" xml:"trend_word_info_list>string,omitempty"`
	// 同步操作目的,枚举,INSERT("新增"),     UPDATE("更新"),     OFFLINE("下线");
	SyncPurpose string `json:"sync_purpose,omitempty" xml:"sync_purpose,omitempty"`
	// 款式编号,业务唯一
	StyleSerialNumber string `json:"style_serial_number,omitempty" xml:"style_serial_number,omitempty"`
}

TrendStyleBindInfoBO 结构体

func GetTrendStyleBindInfoBO added in v1.3.4

func GetTrendStyleBindInfoBO() *TrendStyleBindInfoBO

GetTrendStyleBindInfoBO() 从对象池中获取TrendStyleBindInfoBO

Jump to

Keyboard shortcuts

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