uscesl

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Overview

业务平台新零售 model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemChangeBo

type ItemChangeBo struct {
	// 溯源码URL
	SourceCode string `json:"source_code,omitempty" xml:"source_code,omitempty"`
	// 销售单位
	PriceUnit string `json:"price_unit,omitempty" xml:"price_unit,omitempty"`
	// 品牌
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 品类
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 等级
	Rank string `json:"rank,omitempty" xml:"rank,omitempty"`
	// (建议)零售价,单位分,整数
	SuggestPrice string `json:"suggest_price,omitempty" xml:"suggest_price,omitempty"`
	// 库存sku id
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 能效
	EnergyEfficiency string `json:"energy_efficiency,omitempty" xml:"energy_efficiency,omitempty"`
	// 优惠开始时间
	PromotionStart string `json:"promotion_start,omitempty" xml:"promotion_start,omitempty"`
	// 淘系二级商品类目ID
	ForestSecondCatId string `json:"forest_second_cat_id,omitempty" xml:"forest_second_cat_id,omitempty"`
	// 自定义扩展属性
	CustomizeFeatureC string `json:"customize_feature_c,omitempty" xml:"customize_feature_c,omitempty"`
	// 自定义扩展属性
	CustomizeFeatureD string `json:"customize_feature_d,omitempty" xml:"customize_feature_d,omitempty"`
	// 自定义扩展属性
	CustomizeFeatureE string `json:"customize_feature_e,omitempty" xml:"customize_feature_e,omitempty"`
	// 自定义扩展属性
	CustomizeFeatureF string `json:"customize_feature_f,omitempty" xml:"customize_feature_f,omitempty"`
	// 自定义扩展属性
	CustomizeFeatureG string `json:"customize_feature_g,omitempty" xml:"customize_feature_g,omitempty"`
	// 自定义扩展属性
	CustomizeFeatureH string `json:"customize_feature_h,omitempty" xml:"customize_feature_h,omitempty"`
	// 自定义扩展属性
	CustomizeFeatureI string `json:"customize_feature_i,omitempty" xml:"customize_feature_i,omitempty"`
	// 自定义扩展属性
	CustomizeFeatureJ string `json:"customize_feature_j,omitempty" xml:"customize_feature_j,omitempty"`
	// 二维码图片URL
	ItemQrCode string `json:"item_qr_code,omitempty" xml:"item_qr_code,omitempty"`
	// 是否优惠
	IfPromotion bool `json:"if_promotion,omitempty" xml:"if_promotion,omitempty"`
	// 优惠结束时间
	PromotionEnd string `json:"promotion_end,omitempty" xml:"promotion_end,omitempty"`
	// 额外扩展信息
	ExtraAttribute string `json:"extra_attribute,omitempty" xml:"extra_attribute,omitempty"`
	// 原价,分,整数
	OriginalPrice string `json:"original_price,omitempty" xml:"original_price,omitempty"`
	// 货架位
	PositonCode string `json:"positon_code,omitempty" xml:"positon_code,omitempty"`
	// 自定义扩展属性
	CustomizeFeatureB string `json:"customize_feature_b,omitempty" xml:"customize_feature_b,omitempty"`
	// 自定义扩展属性
	CustomizeFeatureA string `json:"customize_feature_a,omitempty" xml:"customize_feature_a,omitempty"`
	// 型号
	ModelNum string `json:"model_num,omitempty" xml:"model_num,omitempty"`
	// 规格
	SaleSpec string `json:"sale_spec,omitempty" xml:"sale_spec,omitempty"`
	// 实际销售价格,分,整数
	AcctionPrice string `json:"acction_price,omitempty" xml:"acction_price,omitempty"`
	// 商品条码
	ItemBarCode string `json:"item_bar_code,omitempty" xml:"item_bar_code,omitempty"`
	// 会员价格,分,整数
	MemberPrice string `json:"member_price,omitempty" xml:"member_price,omitempty"`
	// 商品标题
	ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"`
	// 优惠文案
	PromotionText string `json:"promotion_text,omitempty" xml:"promotion_text,omitempty"`
	// 商品状态
	ItemStatus int64 `json:"item_status,omitempty" xml:"item_status,omitempty"`
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 一级商品类目id
	ForestFirstCatId string `json:"forest_first_cat_id,omitempty" xml:"forest_first_cat_id,omitempty"`
	// 商品短标题
	ShortTitle string `json:"short_title,omitempty" xml:"short_title,omitempty"`
	// 是否溯源
	IfSourceCode bool `json:"if_source_code,omitempty" xml:"if_source_code,omitempty"`
	// 产地
	ProductionPlace string `json:"production_place,omitempty" xml:"production_place,omitempty"`
	// 商品变更状态
	ItemChangeStatus string `json:"item_change_status,omitempty" xml:"item_change_status,omitempty"`
	// 促销原因
	PromotionReason string `json:"promotion_reason,omitempty" xml:"promotion_reason,omitempty"`
}

ItemChangeBo

type LightResultInfoBo

type LightResultInfoBo struct {
	// 成功数量
	SuccessCount int64 `json:"success_count,omitempty" xml:"success_count,omitempty"`
	// 失败数量
	FailCount int64 `json:"fail_count,omitempty" xml:"fail_count,omitempty"`
	// 通知消息
	NotifyMessage string `json:"notify_message,omitempty" xml:"notify_message,omitempty"`
}

LightResultInfoBo

type TaobaoUsceslBizApActivateAPIRequest added in v1.2.0

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

激活AP价签通讯模块 API请求 taobao.uscesl.biz.ap.activate

激活AP价签通讯模块

func NewTaobaoUsceslBizApActivateRequest

func NewTaobaoUsceslBizApActivateRequest() *TaobaoUsceslBizApActivateAPIRequest

初始化TaobaoUsceslBizApActivateAPIRequest对象

func (TaobaoUsceslBizApActivateAPIRequest) GetApMac added in v1.2.0

ApMac Getter

func (TaobaoUsceslBizApActivateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUsceslBizApActivateAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsceslBizApActivateAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoUsceslBizApActivateAPIRequest) GetBizBrandKey added in v1.2.0

func (r TaobaoUsceslBizApActivateAPIRequest) GetBizBrandKey() string

BizBrandKey Getter

func (TaobaoUsceslBizApActivateAPIRequest) GetStoreId added in v1.2.0

StoreId Getter

func (*TaobaoUsceslBizApActivateAPIRequest) SetApMac added in v1.2.0

func (r *TaobaoUsceslBizApActivateAPIRequest) SetApMac(_apMac string) error

ApMac Setter AP的mac地址

func (*TaobaoUsceslBizApActivateAPIRequest) SetBizBrandKey added in v1.2.0

func (r *TaobaoUsceslBizApActivateAPIRequest) SetBizBrandKey(_bizBrandKey string) error

BizBrandKey Setter 商家编码

func (*TaobaoUsceslBizApActivateAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoUsceslBizApActivateAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 门店ID

type TaobaoUsceslBizApActivateAPIResponse

type TaobaoUsceslBizApActivateAPIResponse struct {
	model.CommonResponse
	TaobaoUsceslBizApActivateAPIResponseModel
}

激活AP价签通讯模块 API返回值 taobao.uscesl.biz.ap.activate

激活AP价签通讯模块

type TaobaoUsceslBizApActivateAPIResponseModel added in v1.2.0

type TaobaoUsceslBizApActivateAPIResponseModel struct {
	XMLName xml.Name `xml:"uscesl_biz_ap_activate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 成功与否看result.success,返回true或者false
	Result *TaobaoUsceslBizApActivateResult `json:"result,omitempty" xml:"result,omitempty"`
}

激活AP价签通讯模块 成功返回结果

type TaobaoUsceslBizApActivateResult

type TaobaoUsceslBizApActivateResult struct {
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 业务true或false
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 错误编码
	BusinessCode string `json:"business_code,omitempty" xml:"business_code,omitempty"`
	// 1标识成功,其他失败
	ReturnCode int64 `json:"return_code,omitempty" xml:"return_code,omitempty"`
	// 请求true或false
	Target bool `json:"target,omitempty" xml:"target,omitempty"`
}

TaobaoUsceslBizApActivateResult

type TaobaoUsceslBizApAddAPIRequest added in v1.2.0

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

新增价签通讯AP设备 API请求 taobao.uscesl.biz.ap.add

根据门店和ap的MAC地址新增

func NewTaobaoUsceslBizApAddRequest

func NewTaobaoUsceslBizApAddRequest() *TaobaoUsceslBizApAddAPIRequest

初始化TaobaoUsceslBizApAddAPIRequest对象

func (TaobaoUsceslBizApAddAPIRequest) GetApMac added in v1.2.0

ApMac Getter

func (TaobaoUsceslBizApAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUsceslBizApAddAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsceslBizApAddAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoUsceslBizApAddAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoUsceslBizApAddAPIRequest) GetBizBrandKey added in v1.2.0

func (r TaobaoUsceslBizApAddAPIRequest) GetBizBrandKey() string

BizBrandKey Getter

func (TaobaoUsceslBizApAddAPIRequest) GetStoreId added in v1.2.0

func (r TaobaoUsceslBizApAddAPIRequest) GetStoreId() int64

StoreId Getter

func (*TaobaoUsceslBizApAddAPIRequest) SetApMac added in v1.2.0

func (r *TaobaoUsceslBizApAddAPIRequest) SetApMac(_apMac string) error

ApMac Setter AP MAC地址

func (*TaobaoUsceslBizApAddAPIRequest) SetBizBrandKey added in v1.2.0

func (r *TaobaoUsceslBizApAddAPIRequest) SetBizBrandKey(_bizBrandKey string) error

BizBrandKey Setter 商家code

func (*TaobaoUsceslBizApAddAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoUsceslBizApAddAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 价签系统门店ID

type TaobaoUsceslBizApAddAPIResponse

type TaobaoUsceslBizApAddAPIResponse struct {
	model.CommonResponse
	TaobaoUsceslBizApAddAPIResponseModel
}

新增价签通讯AP设备 API返回值 taobao.uscesl.biz.ap.add

根据门店和ap的MAC地址新增

type TaobaoUsceslBizApAddAPIResponseModel added in v1.2.0

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

新增价签通讯AP设备 成功返回结果

type TaobaoUsceslBizApAddResult

type TaobaoUsceslBizApAddResult struct {
	// 本次执行返回code
	ReturnCode int64 `json:"return_code,omitempty" xml:"return_code,omitempty"`
	// 业务错误code
	BusinessCode string `json:"business_code,omitempty" xml:"business_code,omitempty"`
	// 执行成功或失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 业务错误文案
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回本次执行成功或失败
	Target bool `json:"target,omitempty" xml:"target,omitempty"`
}

TaobaoUsceslBizApAddResult

type TaobaoUsceslBizApDeleteAPIRequest added in v1.2.0

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

删除价签AP设备 API请求 taobao.uscesl.biz.ap.delete

删除价签AP设备

func NewTaobaoUsceslBizApDeleteRequest

func NewTaobaoUsceslBizApDeleteRequest() *TaobaoUsceslBizApDeleteAPIRequest

初始化TaobaoUsceslBizApDeleteAPIRequest对象

func (TaobaoUsceslBizApDeleteAPIRequest) GetApMac added in v1.2.0

ApMac Getter

func (TaobaoUsceslBizApDeleteAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUsceslBizApDeleteAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsceslBizApDeleteAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoUsceslBizApDeleteAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoUsceslBizApDeleteAPIRequest) GetBizBrandKey added in v1.2.0

func (r TaobaoUsceslBizApDeleteAPIRequest) GetBizBrandKey() string

BizBrandKey Getter

func (TaobaoUsceslBizApDeleteAPIRequest) GetStoreId added in v1.2.0

StoreId Getter

func (*TaobaoUsceslBizApDeleteAPIRequest) SetApMac added in v1.2.0

func (r *TaobaoUsceslBizApDeleteAPIRequest) SetApMac(_apMac string) error

ApMac Setter ap的MAC地址

func (*TaobaoUsceslBizApDeleteAPIRequest) SetBizBrandKey added in v1.2.0

func (r *TaobaoUsceslBizApDeleteAPIRequest) SetBizBrandKey(_bizBrandKey string) error

BizBrandKey Setter 商家CODE

func (*TaobaoUsceslBizApDeleteAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoUsceslBizApDeleteAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 门店ID

type TaobaoUsceslBizApDeleteAPIResponse

type TaobaoUsceslBizApDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoUsceslBizApDeleteAPIResponseModel
}

删除价签AP设备 API返回值 taobao.uscesl.biz.ap.delete

删除价签AP设备

type TaobaoUsceslBizApDeleteAPIResponseModel added in v1.2.0

type TaobaoUsceslBizApDeleteAPIResponseModel struct {
	XMLName xml.Name `xml:"uscesl_biz_ap_delete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 成功与否看result.success,返回true或者false
	Result *TaobaoUsceslBizApDeleteResult `json:"result,omitempty" xml:"result,omitempty"`
}

删除价签AP设备 成功返回结果

type TaobaoUsceslBizApDeleteResult

type TaobaoUsceslBizApDeleteResult struct {
	// 返回执行对象
	Target bool `json:"target,omitempty" xml:"target,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 业务执行返回码
	BusinessCode string `json:"business_code,omitempty" xml:"business_code,omitempty"`
	// 返回码
	ReturnCode int64 `json:"return_code,omitempty" xml:"return_code,omitempty"`
}

TaobaoUsceslBizApDeleteResult

type TaobaoUsceslBizApSearchAPIRequest added in v1.2.0

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

AP列表查询 API请求 taobao.uscesl.biz.ap.search

查询当前门店下登记的AP列表

func NewTaobaoUsceslBizApSearchRequest

func NewTaobaoUsceslBizApSearchRequest() *TaobaoUsceslBizApSearchAPIRequest

初始化TaobaoUsceslBizApSearchAPIRequest对象

func (TaobaoUsceslBizApSearchAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUsceslBizApSearchAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsceslBizApSearchAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoUsceslBizApSearchAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoUsceslBizApSearchAPIRequest) GetBizBrandKey added in v1.2.0

func (r TaobaoUsceslBizApSearchAPIRequest) GetBizBrandKey() string

BizBrandKey Getter

func (TaobaoUsceslBizApSearchAPIRequest) GetCurrentPage added in v1.2.0

func (r TaobaoUsceslBizApSearchAPIRequest) GetCurrentPage() int64

CurrentPage Getter

func (TaobaoUsceslBizApSearchAPIRequest) GetIsActivate added in v1.2.0

func (r TaobaoUsceslBizApSearchAPIRequest) GetIsActivate() bool

IsActivate Getter

func (TaobaoUsceslBizApSearchAPIRequest) GetLimit added in v1.2.0

Limit Getter

func (TaobaoUsceslBizApSearchAPIRequest) GetMac added in v1.2.0

Mac Getter

func (TaobaoUsceslBizApSearchAPIRequest) GetStoreId added in v1.2.0

StoreId Getter

func (*TaobaoUsceslBizApSearchAPIRequest) SetBizBrandKey added in v1.2.0

func (r *TaobaoUsceslBizApSearchAPIRequest) SetBizBrandKey(_bizBrandKey string) error

BizBrandKey Setter 商家编码

func (*TaobaoUsceslBizApSearchAPIRequest) SetCurrentPage added in v1.2.0

func (r *TaobaoUsceslBizApSearchAPIRequest) SetCurrentPage(_currentPage int64) error

CurrentPage Setter 页码

func (*TaobaoUsceslBizApSearchAPIRequest) SetIsActivate added in v1.2.0

func (r *TaobaoUsceslBizApSearchAPIRequest) SetIsActivate(_isActivate bool) error

IsActivate Setter 是否激活

func (*TaobaoUsceslBizApSearchAPIRequest) SetLimit added in v1.2.0

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

Limit Setter 每页显示数

func (*TaobaoUsceslBizApSearchAPIRequest) SetMac added in v1.2.0

Mac Setter 价签条码

func (*TaobaoUsceslBizApSearchAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoUsceslBizApSearchAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 门店ID

type TaobaoUsceslBizApSearchAPIResponse

type TaobaoUsceslBizApSearchAPIResponse struct {
	model.CommonResponse
	TaobaoUsceslBizApSearchAPIResponseModel
}

AP列表查询 API返回值 taobao.uscesl.biz.ap.search

查询当前门店下登记的AP列表

type TaobaoUsceslBizApSearchAPIResponseModel added in v1.2.0

type TaobaoUsceslBizApSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"uscesl_biz_ap_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 成功与否看result.success,返回true或者false
	Result *TaobaoUsceslBizApSearchResult `json:"result,omitempty" xml:"result,omitempty"`
}

AP列表查询 成功返回结果

type TaobaoUsceslBizApSearchResult

type TaobaoUsceslBizApSearchResult struct {
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 本次调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误编码
	BusinessCode string `json:"business_code,omitempty" xml:"business_code,omitempty"`
	// 调用返回编码
	ReturnCode string `json:"return_code,omitempty" xml:"return_code,omitempty"`
	// 返回对象list
	TargetList []Target `json:"target_list,omitempty" xml:"target_list>target,omitempty"`
	// 当前页码
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 总数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 总页数
	TotalPages int64 `json:"total_pages,omitempty" xml:"total_pages,omitempty"`
	// 每页显示数
	Limit int64 `json:"limit,omitempty" xml:"limit,omitempty"`
}

TaobaoUsceslBizApSearchResult

type TaobaoUsceslBizBrandInsertAPIRequest added in v1.2.0

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

新增电子价签商家 API请求 taobao.uscesl.biz.brand.insert

一个电子价签业务身份下新增商家接口

func NewTaobaoUsceslBizBrandInsertRequest

func NewTaobaoUsceslBizBrandInsertRequest() *TaobaoUsceslBizBrandInsertAPIRequest

初始化TaobaoUsceslBizBrandInsertAPIRequest对象

func (TaobaoUsceslBizBrandInsertAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUsceslBizBrandInsertAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsceslBizBrandInsertAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoUsceslBizBrandInsertAPIRequest) GetBrandName added in v1.2.0

BrandName Getter

func (TaobaoUsceslBizBrandInsertAPIRequest) GetBrandOutCode added in v1.2.0

func (r TaobaoUsceslBizBrandInsertAPIRequest) GetBrandOutCode() string

BrandOutCode Getter

func (*TaobaoUsceslBizBrandInsertAPIRequest) SetBrandName added in v1.2.0

func (r *TaobaoUsceslBizBrandInsertAPIRequest) SetBrandName(_brandName string) error

BrandName Setter 商家名称

func (*TaobaoUsceslBizBrandInsertAPIRequest) SetBrandOutCode added in v1.2.0

func (r *TaobaoUsceslBizBrandInsertAPIRequest) SetBrandOutCode(_brandOutCode string) error

BrandOutCode Setter 商家外部编号

type TaobaoUsceslBizBrandInsertAPIResponse

type TaobaoUsceslBizBrandInsertAPIResponse struct {
	model.CommonResponse
	TaobaoUsceslBizBrandInsertAPIResponseModel
}

新增电子价签商家 API返回值 taobao.uscesl.biz.brand.insert

一个电子价签业务身份下新增商家接口

type TaobaoUsceslBizBrandInsertAPIResponseModel added in v1.2.0

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

新增电子价签商家 成功返回结果

type TaobaoUsceslBizEslBindAPIRequest added in v1.2.0

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

电子价签绑定接口 API请求 taobao.uscesl.biz.esl.bind

电子价签商品绑定接口

func NewTaobaoUsceslBizEslBindRequest

func NewTaobaoUsceslBizEslBindRequest() *TaobaoUsceslBizEslBindAPIRequest

初始化TaobaoUsceslBizEslBindAPIRequest对象

func (TaobaoUsceslBizEslBindAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUsceslBizEslBindAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsceslBizEslBindAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoUsceslBizEslBindAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoUsceslBizEslBindAPIRequest) GetBizBrandKey added in v1.2.0

func (r TaobaoUsceslBizEslBindAPIRequest) GetBizBrandKey() string

BizBrandKey Getter

func (TaobaoUsceslBizEslBindAPIRequest) GetEslBarCode added in v1.2.0

func (r TaobaoUsceslBizEslBindAPIRequest) GetEslBarCode() string

EslBarCode Getter

func (TaobaoUsceslBizEslBindAPIRequest) GetExtendInfo added in v1.2.0

func (r TaobaoUsceslBizEslBindAPIRequest) GetExtendInfo() string

ExtendInfo Getter

func (TaobaoUsceslBizEslBindAPIRequest) GetItemBarCode added in v1.2.0

func (r TaobaoUsceslBizEslBindAPIRequest) GetItemBarCode() string

ItemBarCode Getter

func (TaobaoUsceslBizEslBindAPIRequest) GetStoreId added in v1.2.0

func (r TaobaoUsceslBizEslBindAPIRequest) GetStoreId() int64

StoreId Getter

func (*TaobaoUsceslBizEslBindAPIRequest) SetBizBrandKey added in v1.2.0

func (r *TaobaoUsceslBizEslBindAPIRequest) SetBizBrandKey(_bizBrandKey string) error

BizBrandKey Setter 商家ID

func (*TaobaoUsceslBizEslBindAPIRequest) SetEslBarCode added in v1.2.0

func (r *TaobaoUsceslBizEslBindAPIRequest) SetEslBarCode(_eslBarCode string) error

EslBarCode Setter 价签条码

func (*TaobaoUsceslBizEslBindAPIRequest) SetExtendInfo added in v1.2.0

func (r *TaobaoUsceslBizEslBindAPIRequest) SetExtendInfo(_extendInfo string) error

ExtendInfo Setter 额外扩展信息

func (*TaobaoUsceslBizEslBindAPIRequest) SetItemBarCode added in v1.2.0

func (r *TaobaoUsceslBizEslBindAPIRequest) SetItemBarCode(_itemBarCode string) error

ItemBarCode Setter 商品条码

func (*TaobaoUsceslBizEslBindAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoUsceslBizEslBindAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 门店storeId

type TaobaoUsceslBizEslBindAPIResponse

type TaobaoUsceslBizEslBindAPIResponse struct {
	model.CommonResponse
	TaobaoUsceslBizEslBindAPIResponseModel
}

电子价签绑定接口 API返回值 taobao.uscesl.biz.esl.bind

电子价签商品绑定接口

type TaobaoUsceslBizEslBindAPIResponseModel added in v1.2.0

type TaobaoUsceslBizEslBindAPIResponseModel struct {
	XMLName xml.Name `xml:"uscesl_biz_esl_bind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 成功与否看result.success,返回true或者false
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

电子价签绑定接口 成功返回结果

type TaobaoUsceslBizEslInfoGetAPIRequest added in v1.2.0

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

价签设备信息查询接口 API请求 taobao.uscesl.biz.esl.info.get

价签设备信息查询接口

func NewTaobaoUsceslBizEslInfoGetRequest

func NewTaobaoUsceslBizEslInfoGetRequest() *TaobaoUsceslBizEslInfoGetAPIRequest

初始化TaobaoUsceslBizEslInfoGetAPIRequest对象

func (TaobaoUsceslBizEslInfoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUsceslBizEslInfoGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsceslBizEslInfoGetAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoUsceslBizEslInfoGetAPIRequest) GetBizBrandKey added in v1.2.0

func (r TaobaoUsceslBizEslInfoGetAPIRequest) GetBizBrandKey() string

BizBrandKey Getter

func (TaobaoUsceslBizEslInfoGetAPIRequest) GetEslBarCode added in v1.2.0

func (r TaobaoUsceslBizEslInfoGetAPIRequest) GetEslBarCode() string

EslBarCode Getter

func (TaobaoUsceslBizEslInfoGetAPIRequest) GetStoreId added in v1.2.0

StoreId Getter

func (*TaobaoUsceslBizEslInfoGetAPIRequest) SetBizBrandKey added in v1.2.0

func (r *TaobaoUsceslBizEslInfoGetAPIRequest) SetBizBrandKey(_bizBrandKey string) error

BizBrandKey Setter 商家ID

func (*TaobaoUsceslBizEslInfoGetAPIRequest) SetEslBarCode added in v1.2.0

func (r *TaobaoUsceslBizEslInfoGetAPIRequest) SetEslBarCode(_eslBarCode string) error

EslBarCode Setter 价签条码

func (*TaobaoUsceslBizEslInfoGetAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoUsceslBizEslInfoGetAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 门店storeId

type TaobaoUsceslBizEslInfoGetAPIResponse

type TaobaoUsceslBizEslInfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoUsceslBizEslInfoGetAPIResponseModel
}

价签设备信息查询接口 API返回值 taobao.uscesl.biz.esl.info.get

价签设备信息查询接口

type TaobaoUsceslBizEslInfoGetAPIResponseModel added in v1.2.0

type TaobaoUsceslBizEslInfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"uscesl_biz_esl_info_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result.sucess表示是否成功,target是设备信息
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

价签设备信息查询接口 成功返回结果

type TaobaoUsceslBizEslUnbindAPIRequest added in v1.2.0

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

电子价签解绑接口 API请求 taobao.uscesl.biz.esl.unbind

电子价签解绑接口

func NewTaobaoUsceslBizEslUnbindRequest

func NewTaobaoUsceslBizEslUnbindRequest() *TaobaoUsceslBizEslUnbindAPIRequest

初始化TaobaoUsceslBizEslUnbindAPIRequest对象

func (TaobaoUsceslBizEslUnbindAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUsceslBizEslUnbindAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsceslBizEslUnbindAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoUsceslBizEslUnbindAPIRequest) GetBizBrandKey added in v1.2.0

func (r TaobaoUsceslBizEslUnbindAPIRequest) GetBizBrandKey() string

BizBrandKey Getter

func (TaobaoUsceslBizEslUnbindAPIRequest) GetEslBarCode added in v1.2.0

func (r TaobaoUsceslBizEslUnbindAPIRequest) GetEslBarCode() string

EslBarCode Getter

func (TaobaoUsceslBizEslUnbindAPIRequest) GetStoreId added in v1.2.0

StoreId Getter

func (*TaobaoUsceslBizEslUnbindAPIRequest) SetBizBrandKey added in v1.2.0

func (r *TaobaoUsceslBizEslUnbindAPIRequest) SetBizBrandKey(_bizBrandKey string) error

BizBrandKey Setter 商家标识key

func (*TaobaoUsceslBizEslUnbindAPIRequest) SetEslBarCode added in v1.2.0

func (r *TaobaoUsceslBizEslUnbindAPIRequest) SetEslBarCode(_eslBarCode string) error

EslBarCode Setter 价签条码

func (*TaobaoUsceslBizEslUnbindAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoUsceslBizEslUnbindAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 价签系统注册的门店storeId

type TaobaoUsceslBizEslUnbindAPIResponse

type TaobaoUsceslBizEslUnbindAPIResponse struct {
	model.CommonResponse
	TaobaoUsceslBizEslUnbindAPIResponseModel
}

电子价签解绑接口 API返回值 taobao.uscesl.biz.esl.unbind

电子价签解绑接口

type TaobaoUsceslBizEslUnbindAPIResponseModel added in v1.2.0

type TaobaoUsceslBizEslUnbindAPIResponseModel struct {
	XMLName xml.Name `xml:"uscesl_biz_esl_unbind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result.sucess表示本次调用是否成功,true或false
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

电子价签解绑接口 成功返回结果

type TaobaoUsceslBizItemLightUpAPIRequest added in v1.2.0

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

商品条码亮灯API API请求 taobao.uscesl.biz.item.light.up

亮灯API

func NewTaobaoUsceslBizItemLightUpRequest

func NewTaobaoUsceslBizItemLightUpRequest() *TaobaoUsceslBizItemLightUpAPIRequest

初始化TaobaoUsceslBizItemLightUpAPIRequest对象

func (TaobaoUsceslBizItemLightUpAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUsceslBizItemLightUpAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsceslBizItemLightUpAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoUsceslBizItemLightUpAPIRequest) GetBizBrandKey added in v1.2.0

func (r TaobaoUsceslBizItemLightUpAPIRequest) GetBizBrandKey() string

BizBrandKey Getter

func (TaobaoUsceslBizItemLightUpAPIRequest) GetItemBarCode added in v1.2.0

func (r TaobaoUsceslBizItemLightUpAPIRequest) GetItemBarCode() string

ItemBarCode Getter

func (TaobaoUsceslBizItemLightUpAPIRequest) GetLedColor added in v1.2.0

LedColor Getter

func (TaobaoUsceslBizItemLightUpAPIRequest) GetLightUpTime added in v1.2.0

func (r TaobaoUsceslBizItemLightUpAPIRequest) GetLightUpTime() int64

LightUpTime Getter

func (TaobaoUsceslBizItemLightUpAPIRequest) GetStoreId added in v1.2.0

StoreId Getter

func (*TaobaoUsceslBizItemLightUpAPIRequest) SetBizBrandKey added in v1.2.0

func (r *TaobaoUsceslBizItemLightUpAPIRequest) SetBizBrandKey(_bizBrandKey string) error

BizBrandKey Setter 商家编号

func (*TaobaoUsceslBizItemLightUpAPIRequest) SetItemBarCode added in v1.2.0

func (r *TaobaoUsceslBizItemLightUpAPIRequest) SetItemBarCode(_itemBarCode string) error

ItemBarCode Setter 商品条码

func (*TaobaoUsceslBizItemLightUpAPIRequest) SetLedColor added in v1.2.0

func (r *TaobaoUsceslBizItemLightUpAPIRequest) SetLedColor(_ledColor string) error

LedColor Setter 亮灯颜色,绿:值为2;红:值为4

func (*TaobaoUsceslBizItemLightUpAPIRequest) SetLightUpTime added in v1.2.0

func (r *TaobaoUsceslBizItemLightUpAPIRequest) SetLightUpTime(_lightUpTime int64) error

LightUpTime Setter 亮灯时长,单位:秒,最大长度3600秒

func (*TaobaoUsceslBizItemLightUpAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoUsceslBizItemLightUpAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 门店编号

type TaobaoUsceslBizItemLightUpAPIResponse

type TaobaoUsceslBizItemLightUpAPIResponse struct {
	model.CommonResponse
	TaobaoUsceslBizItemLightUpAPIResponseModel
}

商品条码亮灯API API返回值 taobao.uscesl.biz.item.light.up

亮灯API

type TaobaoUsceslBizItemLightUpAPIResponseModel added in v1.2.0

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

商品条码亮灯API 成功返回结果

type TaobaoUsceslBizItemLightUpResult

type TaobaoUsceslBizItemLightUpResult struct {
	// 返回码
	ReturnCode string `json:"return_code,omitempty" xml:"return_code,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 业务错误码
	BusinessCode string `json:"business_code,omitempty" xml:"business_code,omitempty"`
	// true或false
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// true或false
	Target *LightResultInfoBo `json:"target,omitempty" xml:"target,omitempty"`
}

TaobaoUsceslBizItemLightUpResult

type TaobaoUsceslBizLightUpAPIRequest added in v1.2.0

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

价签LED等点亮 API请求 taobao.uscesl.biz.light.up

价签LED等点亮

func NewTaobaoUsceslBizLightUpRequest

func NewTaobaoUsceslBizLightUpRequest() *TaobaoUsceslBizLightUpAPIRequest

初始化TaobaoUsceslBizLightUpAPIRequest对象

func (TaobaoUsceslBizLightUpAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUsceslBizLightUpAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsceslBizLightUpAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoUsceslBizLightUpAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoUsceslBizLightUpAPIRequest) GetBizBrandKey added in v1.2.0

func (r TaobaoUsceslBizLightUpAPIRequest) GetBizBrandKey() string

BizBrandKey Getter

func (TaobaoUsceslBizLightUpAPIRequest) GetEslBarCode added in v1.2.0

func (r TaobaoUsceslBizLightUpAPIRequest) GetEslBarCode() string

EslBarCode Getter

func (TaobaoUsceslBizLightUpAPIRequest) GetLedColor added in v1.2.0

func (r TaobaoUsceslBizLightUpAPIRequest) GetLedColor() string

LedColor Getter

func (TaobaoUsceslBizLightUpAPIRequest) GetLightUpTime added in v1.2.0

func (r TaobaoUsceslBizLightUpAPIRequest) GetLightUpTime() int64

LightUpTime Getter

func (TaobaoUsceslBizLightUpAPIRequest) GetStoreId added in v1.2.0

func (r TaobaoUsceslBizLightUpAPIRequest) GetStoreId() int64

StoreId Getter

func (*TaobaoUsceslBizLightUpAPIRequest) SetBizBrandKey added in v1.2.0

func (r *TaobaoUsceslBizLightUpAPIRequest) SetBizBrandKey(_bizBrandKey string) error

BizBrandKey Setter 商家编号

func (*TaobaoUsceslBizLightUpAPIRequest) SetEslBarCode added in v1.2.0

func (r *TaobaoUsceslBizLightUpAPIRequest) SetEslBarCode(_eslBarCode string) error

EslBarCode Setter 价签条码

func (*TaobaoUsceslBizLightUpAPIRequest) SetLedColor added in v1.2.0

func (r *TaobaoUsceslBizLightUpAPIRequest) SetLedColor(_ledColor string) error

LedColor Setter 亮灯颜色,绿:值为2;红:值为4

func (*TaobaoUsceslBizLightUpAPIRequest) SetLightUpTime added in v1.2.0

func (r *TaobaoUsceslBizLightUpAPIRequest) SetLightUpTime(_lightUpTime int64) error

LightUpTime Setter 亮灯时长,单位:秒,最大长度3600秒

func (*TaobaoUsceslBizLightUpAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoUsceslBizLightUpAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 门店ID

type TaobaoUsceslBizLightUpAPIResponse

type TaobaoUsceslBizLightUpAPIResponse struct {
	model.CommonResponse
	TaobaoUsceslBizLightUpAPIResponseModel
}

价签LED等点亮 API返回值 taobao.uscesl.biz.light.up

价签LED等点亮

type TaobaoUsceslBizLightUpAPIResponseModel added in v1.2.0

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

价签LED等点亮 成功返回结果

type TaobaoUsceslBizLightUpResult

type TaobaoUsceslBizLightUpResult struct {
	// 返回执行码,>=0表示成功
	ReturnCode int64 `json:"return_code,omitempty" xml:"return_code,omitempty"`
	// 错误编码
	BusinessCode string `json:"business_code,omitempty" xml:"business_code,omitempty"`
	// 错误描述
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 执行结果true或者false
	Target string `json:"target,omitempty" xml:"target,omitempty"`
	// true或者false
	IsSuccess string `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoUsceslBizLightUpResult

type TaobaoUsceslBizStoreInsertAPIRequest added in v1.2.0

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

新增电子价签商家门店接口 API请求 taobao.uscesl.biz.store.insert

新增电子价签商家门店接口

func NewTaobaoUsceslBizStoreInsertRequest

func NewTaobaoUsceslBizStoreInsertRequest() *TaobaoUsceslBizStoreInsertAPIRequest

初始化TaobaoUsceslBizStoreInsertAPIRequest对象

func (TaobaoUsceslBizStoreInsertAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUsceslBizStoreInsertAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsceslBizStoreInsertAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoUsceslBizStoreInsertAPIRequest) GetBizBrandKey added in v1.2.0

func (r TaobaoUsceslBizStoreInsertAPIRequest) GetBizBrandKey() string

BizBrandKey Getter

func (TaobaoUsceslBizStoreInsertAPIRequest) GetStoreName added in v1.2.0

StoreName Getter

func (TaobaoUsceslBizStoreInsertAPIRequest) GetStoreOutId added in v1.2.0

func (r TaobaoUsceslBizStoreInsertAPIRequest) GetStoreOutId() string

StoreOutId Getter

func (*TaobaoUsceslBizStoreInsertAPIRequest) SetBizBrandKey added in v1.2.0

func (r *TaobaoUsceslBizStoreInsertAPIRequest) SetBizBrandKey(_bizBrandKey string) error

BizBrandKey Setter 商家标识key

func (*TaobaoUsceslBizStoreInsertAPIRequest) SetStoreName added in v1.2.0

func (r *TaobaoUsceslBizStoreInsertAPIRequest) SetStoreName(_storeName string) error

StoreName Setter 门店名称

func (*TaobaoUsceslBizStoreInsertAPIRequest) SetStoreOutId added in v1.2.0

func (r *TaobaoUsceslBizStoreInsertAPIRequest) SetStoreOutId(_storeOutId string) error

StoreOutId Setter 门店外部ID,要保持同一商家下的唯一性

type TaobaoUsceslBizStoreInsertAPIResponse

type TaobaoUsceslBizStoreInsertAPIResponse struct {
	model.CommonResponse
	TaobaoUsceslBizStoreInsertAPIResponseModel
}

新增电子价签商家门店接口 API返回值 taobao.uscesl.biz.store.insert

新增电子价签商家门店接口

type TaobaoUsceslBizStoreInsertAPIResponseModel added in v1.2.0

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

新增电子价签商家门店接口 成功返回结果

type TaobaoUsceslIteminfoBatchInsertAPIRequest added in v1.2.0

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

按商家批量写入商品接口 API请求 taobao.uscesl.iteminfo.batch.insert

【电子价签】支持按照商家-门店维度批量写入商品数据

func NewTaobaoUsceslIteminfoBatchInsertRequest

func NewTaobaoUsceslIteminfoBatchInsertRequest() *TaobaoUsceslIteminfoBatchInsertAPIRequest

初始化TaobaoUsceslIteminfoBatchInsertAPIRequest对象

func (TaobaoUsceslIteminfoBatchInsertAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (TaobaoUsceslIteminfoBatchInsertAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoUsceslIteminfoBatchInsertAPIRequest) GetBizBrandKey added in v1.2.0

BizBrandKey Getter

func (TaobaoUsceslIteminfoBatchInsertAPIRequest) GetItemList added in v1.2.0

ItemList Getter

func (TaobaoUsceslIteminfoBatchInsertAPIRequest) GetStoreId added in v1.2.0

StoreId Getter

func (*TaobaoUsceslIteminfoBatchInsertAPIRequest) SetBizBrandKey added in v1.2.0

func (r *TaobaoUsceslIteminfoBatchInsertAPIRequest) SetBizBrandKey(_bizBrandKey string) error

BizBrandKey Setter 商家KEY

func (*TaobaoUsceslIteminfoBatchInsertAPIRequest) SetItemList added in v1.2.0

func (r *TaobaoUsceslIteminfoBatchInsertAPIRequest) SetItemList(_itemList []ItemChangeBo) error

ItemList Setter 商品信息集合,限制500

func (*TaobaoUsceslIteminfoBatchInsertAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoUsceslIteminfoBatchInsertAPIRequest) SetStoreId(_storeId int64) error

StoreId Setter 门店ID

type TaobaoUsceslIteminfoBatchInsertAPIResponse

type TaobaoUsceslIteminfoBatchInsertAPIResponse struct {
	model.CommonResponse
	TaobaoUsceslIteminfoBatchInsertAPIResponseModel
}

按商家批量写入商品接口 API返回值 taobao.uscesl.iteminfo.batch.insert

【电子价签】支持按照商家-门店维度批量写入商品数据

type TaobaoUsceslIteminfoBatchInsertAPIResponseModel added in v1.2.0

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

按商家批量写入商品接口 成功返回结果

type TaobaoUsceslIteminfoBatchPutAPIRequest added in v1.2.0

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

批量写入商品信息接口 API请求 taobao.uscesl.iteminfo.batch.put

电子架签批量写入商品数据,用于电子价签展示

func NewTaobaoUsceslIteminfoBatchPutRequest

func NewTaobaoUsceslIteminfoBatchPutRequest() *TaobaoUsceslIteminfoBatchPutAPIRequest

初始化TaobaoUsceslIteminfoBatchPutAPIRequest对象

func (TaobaoUsceslIteminfoBatchPutAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUsceslIteminfoBatchPutAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsceslIteminfoBatchPutAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TaobaoUsceslIteminfoBatchPutAPIRequest) GetItemChangeBOList added in v1.2.0

func (r TaobaoUsceslIteminfoBatchPutAPIRequest) GetItemChangeBOList() []ItemChangeBo

ItemChangeBOList Getter

func (TaobaoUsceslIteminfoBatchPutAPIRequest) GetShopId added in v1.2.0

ShopId Getter

func (*TaobaoUsceslIteminfoBatchPutAPIRequest) SetItemChangeBOList added in v1.2.0

func (r *TaobaoUsceslIteminfoBatchPutAPIRequest) SetItemChangeBOList(_itemChangeBOList []ItemChangeBo) error

ItemChangeBOList Setter 商品变更信息集合

func (*TaobaoUsceslIteminfoBatchPutAPIRequest) SetShopId added in v1.2.0

func (r *TaobaoUsceslIteminfoBatchPutAPIRequest) SetShopId(_shopId int64) error

ShopId Setter 门店ID

type TaobaoUsceslIteminfoBatchPutAPIResponse

type TaobaoUsceslIteminfoBatchPutAPIResponse struct {
	model.CommonResponse
	TaobaoUsceslIteminfoBatchPutAPIResponseModel
}

批量写入商品信息接口 API返回值 taobao.uscesl.iteminfo.batch.put

电子架签批量写入商品数据,用于电子价签展示

type TaobaoUsceslIteminfoBatchPutAPIResponseModel added in v1.2.0

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

批量写入商品信息接口 成功返回结果

type TaobaoUsceslIteminfoPutAPIRequest added in v1.2.0

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

电子价签显示用商品信息写入 API请求 taobao.uscesl.iteminfo.put

用于电子价签上显示的商品信息的写入,包含价格及促销信息

func NewTaobaoUsceslIteminfoPutRequest

func NewTaobaoUsceslIteminfoPutRequest() *TaobaoUsceslIteminfoPutAPIRequest

初始化TaobaoUsceslIteminfoPutAPIRequest对象

func (TaobaoUsceslIteminfoPutAPIRequest) GetAcctionPrice added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetAcctionPrice() string

AcctionPrice Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoUsceslIteminfoPutAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoUsceslIteminfoPutAPIRequest) GetBrandName added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetBrandName() string

BrandName Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetCategoryName added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetCategoryName() string

CategoryName Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureA added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureA() string

CustomizeFeatureA Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureB added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureB() string

CustomizeFeatureB Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureC added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureC() string

CustomizeFeatureC Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureD added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureD() string

CustomizeFeatureD Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureE added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureE() string

CustomizeFeatureE Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureF added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureF() string

CustomizeFeatureF Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureG added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureG() string

CustomizeFeatureG Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureH added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureH() string

CustomizeFeatureH Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureI added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureI() string

CustomizeFeatureI Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureJ added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetCustomizeFeatureJ() string

CustomizeFeatureJ Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetEnergyEfficiency added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetEnergyEfficiency() string

EnergyEfficiency Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetIfPromotion added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetIfPromotion() bool

IfPromotion Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetItemBarCode added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetItemBarCode() string

ItemBarCode Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetItemChangeStatus added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetItemChangeStatus() string

ItemChangeStatus Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetItemId added in v1.2.0

ItemId Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetItemQrCode added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetItemQrCode() string

ItemQrCode Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetItemStatus added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetItemStatus() int64

ItemStatus Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetItemTitle added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetItemTitle() string

ItemTitle Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetModelNum added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetModelNum() string

ModelNum Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetOriginalPrice added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetOriginalPrice() string

OriginalPrice Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetPriceUnit added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetPriceUnit() string

PriceUnit Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetProductionPlace added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetProductionPlace() string

ProductionPlace Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetPromotionEnd added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetPromotionEnd() string

PromotionEnd Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetPromotionReason added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetPromotionReason() string

PromotionReason Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetPromotionStart added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetPromotionStart() string

PromotionStart Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetPromotionText added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetPromotionText() string

PromotionText Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetRank added in v1.2.0

Rank Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetSaleSpec added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetSaleSpec() string

SaleSpec Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetShopId added in v1.2.0

ShopId Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetShortTitle added in v1.2.0

func (r TaobaoUsceslIteminfoPutAPIRequest) GetShortTitle() string

ShortTitle Getter

func (TaobaoUsceslIteminfoPutAPIRequest) GetSkuId added in v1.2.0

SkuId Getter

func (*TaobaoUsceslIteminfoPutAPIRequest) SetAcctionPrice added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetAcctionPrice(_acctionPrice string) error

AcctionPrice Setter 实际销售价格,单位:分

func (*TaobaoUsceslIteminfoPutAPIRequest) SetBrandName added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetBrandName(_brandName string) error

BrandName Setter 品牌名

func (*TaobaoUsceslIteminfoPutAPIRequest) SetCategoryName added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetCategoryName(_categoryName string) error

CategoryName Setter 分类

func (*TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureA added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureA(_customizeFeatureA string) error

CustomizeFeatureA Setter 扩展属性A

func (*TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureB added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureB(_customizeFeatureB string) error

CustomizeFeatureB Setter 扩展属性B

func (*TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureC added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureC(_customizeFeatureC string) error

CustomizeFeatureC Setter 扩展属性C

func (*TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureD added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureD(_customizeFeatureD string) error

CustomizeFeatureD Setter 扩展属性D

func (*TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureE added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureE(_customizeFeatureE string) error

CustomizeFeatureE Setter 扩展属性E

func (*TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureF added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureF(_customizeFeatureF string) error

CustomizeFeatureF Setter 扩展属性F

func (*TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureG added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureG(_customizeFeatureG string) error

CustomizeFeatureG Setter 扩展属性G

func (*TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureH added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureH(_customizeFeatureH string) error

CustomizeFeatureH Setter 扩展属性H

func (*TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureI added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureI(_customizeFeatureI string) error

CustomizeFeatureI Setter 扩展属性I

func (*TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureJ added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetCustomizeFeatureJ(_customizeFeatureJ string) error

CustomizeFeatureJ Setter 扩展属性J

func (*TaobaoUsceslIteminfoPutAPIRequest) SetEnergyEfficiency added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetEnergyEfficiency(_energyEfficiency string) error

EnergyEfficiency Setter 能效

func (*TaobaoUsceslIteminfoPutAPIRequest) SetIfPromotion added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetIfPromotion(_ifPromotion bool) error

IfPromotion Setter 促销状态0:非促销 1:促销

func (*TaobaoUsceslIteminfoPutAPIRequest) SetItemBarCode added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetItemBarCode(_itemBarCode string) error

ItemBarCode Setter 商品条码

func (*TaobaoUsceslIteminfoPutAPIRequest) SetItemChangeStatus added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetItemChangeStatus(_itemChangeStatus string) error

ItemChangeStatus Setter 商品变更状态

func (*TaobaoUsceslIteminfoPutAPIRequest) SetItemId added in v1.2.0

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

ItemId Setter 商品编码

func (*TaobaoUsceslIteminfoPutAPIRequest) SetItemQrCode added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetItemQrCode(_itemQrCode string) error

ItemQrCode Setter 二维码

func (*TaobaoUsceslIteminfoPutAPIRequest) SetItemStatus added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetItemStatus(_itemStatus int64) error

ItemStatus Setter 商品状态0:在售 1:售罄

func (*TaobaoUsceslIteminfoPutAPIRequest) SetItemTitle added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetItemTitle(_itemTitle string) error

ItemTitle Setter 商品名称

func (*TaobaoUsceslIteminfoPutAPIRequest) SetModelNum added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetModelNum(_modelNum string) error

ModelNum Setter 型号

func (*TaobaoUsceslIteminfoPutAPIRequest) SetOriginalPrice added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetOriginalPrice(_originalPrice string) error

OriginalPrice Setter 商品原价

func (*TaobaoUsceslIteminfoPutAPIRequest) SetPriceUnit added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetPriceUnit(_priceUnit string) error

PriceUnit Setter 价格单位

func (*TaobaoUsceslIteminfoPutAPIRequest) SetProductionPlace added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetProductionPlace(_productionPlace string) error

ProductionPlace Setter 产地

func (*TaobaoUsceslIteminfoPutAPIRequest) SetPromotionEnd added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetPromotionEnd(_promotionEnd string) error

PromotionEnd Setter 促销结束时间:yyyy-MM-dd HH:mm:ss

func (*TaobaoUsceslIteminfoPutAPIRequest) SetPromotionReason added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetPromotionReason(_promotionReason string) error

PromotionReason Setter 促销原因

func (*TaobaoUsceslIteminfoPutAPIRequest) SetPromotionStart added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetPromotionStart(_promotionStart string) error

PromotionStart Setter 促销开始时间:yyyy-MM-dd HH:mm:ss

func (*TaobaoUsceslIteminfoPutAPIRequest) SetPromotionText added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetPromotionText(_promotionText string) error

PromotionText Setter 促销文案

func (*TaobaoUsceslIteminfoPutAPIRequest) SetRank added in v1.2.0

Rank Setter 等级

func (*TaobaoUsceslIteminfoPutAPIRequest) SetSaleSpec added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetSaleSpec(_saleSpec string) error

SaleSpec Setter 销售规格

func (*TaobaoUsceslIteminfoPutAPIRequest) SetShopId added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetShopId(_shopId int64) error

ShopId Setter 门店ID

func (*TaobaoUsceslIteminfoPutAPIRequest) SetShortTitle added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetShortTitle(_shortTitle string) error

ShortTitle Setter 商品简称

func (*TaobaoUsceslIteminfoPutAPIRequest) SetSkuId added in v1.2.0

func (r *TaobaoUsceslIteminfoPutAPIRequest) SetSkuId(_skuId string) error

SkuId Setter 商品skuId

type TaobaoUsceslIteminfoPutAPIResponse

type TaobaoUsceslIteminfoPutAPIResponse struct {
	model.CommonResponse
	TaobaoUsceslIteminfoPutAPIResponseModel
}

电子价签显示用商品信息写入 API返回值 taobao.uscesl.iteminfo.put

用于电子价签上显示的商品信息的写入,包含价格及促销信息

type TaobaoUsceslIteminfoPutAPIResponseModel added in v1.2.0

type TaobaoUsceslIteminfoPutAPIResponseModel struct {
	XMLName xml.Name `xml:"uscesl_iteminfo_put_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// target
	Target bool `json:"target,omitempty" xml:"target,omitempty"`
	// returnCode
	ReturnCode int64 `json:"return_code,omitempty" xml:"return_code,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

电子价签显示用商品信息写入 成功返回结果

type Target

type Target struct {
	// AP的mac地址
	Mac string `json:"mac,omitempty" xml:"mac,omitempty"`
	// 是否在线
	Status bool `json:"status,omitempty" xml:"status,omitempty"`
	// 是否激活
	IsActivate bool `json:"is_activate,omitempty" xml:"is_activate,omitempty"`
	// 型号
	Model string `json:"model,omitempty" xml:"model,omitempty"`
}

Target

Jump to

Keyboard shortcuts

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