wdkitem

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package wdkitem 包含五道口商品API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaWdkItemBrandQueryAPIRequest added in v1.2.0

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

AlibabaWdkItemBrandQueryAPIRequest 品牌信息查询 API请求 alibaba.wdk.item.brand.query

品牌信息查询

func NewAlibabaWdkItemBrandQueryRequest

func NewAlibabaWdkItemBrandQueryRequest() *AlibabaWdkItemBrandQueryAPIRequest

NewAlibabaWdkItemBrandQueryRequest 初始化AlibabaWdkItemBrandQueryAPIRequest对象

func (AlibabaWdkItemBrandQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaWdkItemBrandQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWdkItemBrandQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWdkItemBrandQueryAPIRequest) GetKeyword added in v1.2.0

GetKeyword Keyword Getter

func (AlibabaWdkItemBrandQueryAPIRequest) GetOffset added in v1.2.0

GetOffset Offset Getter

func (AlibabaWdkItemBrandQueryAPIRequest) GetPageSize added in v1.2.0

func (r AlibabaWdkItemBrandQueryAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (*AlibabaWdkItemBrandQueryAPIRequest) SetKeyword added in v1.2.0

func (r *AlibabaWdkItemBrandQueryAPIRequest) SetKeyword(_keyword string) error

SetKeyword is Keyword Setter 查询关键词,不填则查询全部

func (*AlibabaWdkItemBrandQueryAPIRequest) SetOffset added in v1.2.0

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

SetOffset is Offset Setter 起始位置

func (*AlibabaWdkItemBrandQueryAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 一页大小

type AlibabaWdkItemBrandQueryAPIResponse

type AlibabaWdkItemBrandQueryAPIResponse struct {
	model.CommonResponse
	AlibabaWdkItemBrandQueryAPIResponseModel
}

AlibabaWdkItemBrandQueryAPIResponse 品牌信息查询 API返回值 alibaba.wdk.item.brand.query

品牌信息查询

type AlibabaWdkItemBrandQueryAPIResponseModel added in v1.2.0

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

AlibabaWdkItemBrandQueryAPIResponseModel is 品牌信息查询 成功返回结果

type AlibabaWdkItemBrandQueryResult

type AlibabaWdkItemBrandQueryResult struct {
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorDesc
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// result
	Result string `json:"result,omitempty" xml:"result,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaWdkItemBrandQueryResult 结构体

type AlibabaWdkItemCategoryQueryAPIRequest added in v1.2.0

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

AlibabaWdkItemCategoryQueryAPIRequest 类目查询接口 API请求 alibaba.wdk.item.category.query

类目查询接口

func NewAlibabaWdkItemCategoryQueryRequest

func NewAlibabaWdkItemCategoryQueryRequest() *AlibabaWdkItemCategoryQueryAPIRequest

NewAlibabaWdkItemCategoryQueryRequest 初始化AlibabaWdkItemCategoryQueryAPIRequest对象

func (AlibabaWdkItemCategoryQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaWdkItemCategoryQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWdkItemCategoryQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWdkItemCategoryQueryAPIRequest) GetKeyword added in v1.2.0

GetKeyword Keyword Getter

func (AlibabaWdkItemCategoryQueryAPIRequest) GetRootCategoryCode added in v1.2.0

func (r AlibabaWdkItemCategoryQueryAPIRequest) GetRootCategoryCode() string

GetRootCategoryCode RootCategoryCode Getter

func (*AlibabaWdkItemCategoryQueryAPIRequest) SetKeyword added in v1.2.0

func (r *AlibabaWdkItemCategoryQueryAPIRequest) SetKeyword(_keyword string) error

SetKeyword is Keyword Setter 查询关键词,不填查全部

func (*AlibabaWdkItemCategoryQueryAPIRequest) SetRootCategoryCode added in v1.2.0

func (r *AlibabaWdkItemCategoryQueryAPIRequest) SetRootCategoryCode(_rootCategoryCode string) error

SetRootCategoryCode is RootCategoryCode Setter 从哪个类目开始查,不填从根类目开始查

type AlibabaWdkItemCategoryQueryAPIResponse

type AlibabaWdkItemCategoryQueryAPIResponse struct {
	model.CommonResponse
	AlibabaWdkItemCategoryQueryAPIResponseModel
}

AlibabaWdkItemCategoryQueryAPIResponse 类目查询接口 API返回值 alibaba.wdk.item.category.query

类目查询接口

type AlibabaWdkItemCategoryQueryAPIResponseModel added in v1.2.0

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

AlibabaWdkItemCategoryQueryAPIResponseModel is 类目查询接口 成功返回结果

type AlibabaWdkItemCategoryQueryResult

type AlibabaWdkItemCategoryQueryResult struct {
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorDesc
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// result
	Result string `json:"result,omitempty" xml:"result,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaWdkItemCategoryQueryResult 结构体

type AlibabaWdkItemFuturepriceQueryAPIRequest added in v1.2.0

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

AlibabaWdkItemFuturepriceQueryAPIRequest 单个商品未来价查询接口 API请求 alibaba.wdk.item.futureprice.query

查询单个商品未来价,融合了未来基础售价+未来促销价

func NewAlibabaWdkItemFuturepriceQueryRequest

func NewAlibabaWdkItemFuturepriceQueryRequest() *AlibabaWdkItemFuturepriceQueryAPIRequest

NewAlibabaWdkItemFuturepriceQueryRequest 初始化AlibabaWdkItemFuturepriceQueryAPIRequest对象

func (AlibabaWdkItemFuturepriceQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaWdkItemFuturepriceQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWdkItemFuturepriceQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWdkItemFuturepriceQueryAPIRequest) GetEndTime added in v1.2.0

GetEndTime EndTime Getter

func (AlibabaWdkItemFuturepriceQueryAPIRequest) GetOrderChannelCode added in v1.2.0

func (r AlibabaWdkItemFuturepriceQueryAPIRequest) GetOrderChannelCode() string

GetOrderChannelCode OrderChannelCode Getter

func (AlibabaWdkItemFuturepriceQueryAPIRequest) GetShopId added in v1.2.0

GetShopId ShopId Getter

func (AlibabaWdkItemFuturepriceQueryAPIRequest) GetSkuCode added in v1.2.0

GetSkuCode SkuCode Getter

func (AlibabaWdkItemFuturepriceQueryAPIRequest) GetStartTime added in v1.2.0

GetStartTime StartTime Getter

func (*AlibabaWdkItemFuturepriceQueryAPIRequest) SetEndTime added in v1.2.0

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

SetEndTime is EndTime Setter 结束时间,结束时间-开始时间不能超过48小时

func (*AlibabaWdkItemFuturepriceQueryAPIRequest) SetOrderChannelCode added in v1.2.0

func (r *AlibabaWdkItemFuturepriceQueryAPIRequest) SetOrderChannelCode(_orderChannelCode string) error

SetOrderChannelCode is OrderChannelCode Setter 渠道

func (*AlibabaWdkItemFuturepriceQueryAPIRequest) SetShopId added in v1.2.0

SetShopId is ShopId Setter 渠道店id

func (*AlibabaWdkItemFuturepriceQueryAPIRequest) SetSkuCode added in v1.2.0

func (r *AlibabaWdkItemFuturepriceQueryAPIRequest) SetSkuCode(_skuCode string) error

SetSkuCode is SkuCode Setter 商品编码

func (*AlibabaWdkItemFuturepriceQueryAPIRequest) SetStartTime added in v1.2.0

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

SetStartTime is StartTime Setter 开始时间

type AlibabaWdkItemFuturepriceQueryAPIResponse

type AlibabaWdkItemFuturepriceQueryAPIResponse struct {
	model.CommonResponse
	AlibabaWdkItemFuturepriceQueryAPIResponseModel
}

AlibabaWdkItemFuturepriceQueryAPIResponse 单个商品未来价查询接口 API返回值 alibaba.wdk.item.futureprice.query

查询单个商品未来价,融合了未来基础售价+未来促销价

type AlibabaWdkItemFuturepriceQueryAPIResponseModel added in v1.2.0

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

AlibabaWdkItemFuturepriceQueryAPIResponseModel is 单个商品未来价查询接口 成功返回结果

type AlibabaWdkItemFuturepriceQueryModel

type AlibabaWdkItemFuturepriceQueryModel struct {
	// 单品促销,finalPrice对应的促销活动
	ItemPromotionList []PromotionInfoDto `json:"item_promotion_list,omitempty" xml:"item_promotion_list>promotion_info_dto,omitempty"`
	// 商品池促销
	ShopPromotionList []PromotionInfoDto `json:"shop_promotion_list,omitempty" xml:"shop_promotion_list>promotion_info_dto,omitempty"`
	// 会员单品促销活动,memberFinalPrice对应的促销活动
	MemberItemPromotionList []PromotionInfoDto `json:"member_item_promotion_list,omitempty" xml:"member_item_promotion_list>promotion_info_dto,omitempty"`
	// 商家code
	MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"`
	// 经营店Code
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 条码
	BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 商品编码
	SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"`
	// 渠道,APP/POS
	OrderChannelCode string `json:"order_channel_code,omitempty" xml:"order_channel_code,omitempty"`
	// 会员价,单位为分。对应IC标memberPrice的价格,如果没有对应的标,该价格为空。
	MemberPrice int64 `json:"member_price,omitempty" xml:"member_price,omitempty"`
	// 促销执行价格,单位为分
	FinalPrice int64 `json:"final_price,omitempty" xml:"final_price,omitempty"`
	// 买赠活动信息
	MzPromotionDTO *MzPromotionDto `json:"mz_promotion_d_t_o,omitempty" xml:"mz_promotion_d_t_o,omitempty"`
	// 会员促销执行价,单位为分。
	MemberFinalPrice int64 `json:"member_final_price,omitempty" xml:"member_final_price,omitempty"`
	// IC的商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 基础售价,单位为分
	AuctionPrice int64 `json:"auction_price,omitempty" xml:"auction_price,omitempty"`
	// 渠道店ID
	ShopId int64 `json:"shop_id,omitempty" xml:"shop_id,omitempty"`
}

AlibabaWdkItemFuturepriceQueryModel 结构体

type AlibabaWdkItemFuturepriceQueryResult

type AlibabaWdkItemFuturepriceQueryResult struct {
	// 商品未来价
	Models []AlibabaWdkItemFuturepriceQueryModel `json:"models,omitempty" xml:"models>alibaba_wdk_item_futureprice_query_model,omitempty"`
	// 返回码
	ReturnCode string `json:"return_code,omitempty" xml:"return_code,omitempty"`
	// 异常信息
	ReturnMsg string `json:"return_msg,omitempty" xml:"return_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaWdkItemFuturepriceQueryResult 结构体

type AlibabaWdkItemMemberpriceUpdateAPIRequest added in v1.2.0

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

AlibabaWdkItemMemberpriceUpdateAPIRequest 商品售价会员价修改 API请求 alibaba.wdk.item.memberprice.update

商品售价会员价修改

func NewAlibabaWdkItemMemberpriceUpdateRequest

func NewAlibabaWdkItemMemberpriceUpdateRequest() *AlibabaWdkItemMemberpriceUpdateAPIRequest

NewAlibabaWdkItemMemberpriceUpdateRequest 初始化AlibabaWdkItemMemberpriceUpdateAPIRequest对象

func (AlibabaWdkItemMemberpriceUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWdkItemMemberpriceUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWdkItemMemberpriceUpdateAPIRequest) GetCleanSkuMemberPrice added in v1.2.0

func (r AlibabaWdkItemMemberpriceUpdateAPIRequest) GetCleanSkuMemberPrice() bool

GetCleanSkuMemberPrice CleanSkuMemberPrice Getter

func (AlibabaWdkItemMemberpriceUpdateAPIRequest) GetSkuCode added in v1.2.0

GetSkuCode SkuCode Getter

func (AlibabaWdkItemMemberpriceUpdateAPIRequest) GetSkuMemberPrice added in v1.2.0

func (r AlibabaWdkItemMemberpriceUpdateAPIRequest) GetSkuMemberPrice() int64

GetSkuMemberPrice SkuMemberPrice Getter

func (AlibabaWdkItemMemberpriceUpdateAPIRequest) GetSkuPrice added in v1.2.0

GetSkuPrice SkuPrice Getter

func (AlibabaWdkItemMemberpriceUpdateAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (AlibabaWdkItemMemberpriceUpdateAPIRequest) GetTimeStamp added in v1.2.0

GetTimeStamp TimeStamp Getter

func (*AlibabaWdkItemMemberpriceUpdateAPIRequest) SetCleanSkuMemberPrice added in v1.2.0

func (r *AlibabaWdkItemMemberpriceUpdateAPIRequest) SetCleanSkuMemberPrice(_cleanSkuMemberPrice bool) error

SetCleanSkuMemberPrice is CleanSkuMemberPrice Setter 是否清空会员价

func (*AlibabaWdkItemMemberpriceUpdateAPIRequest) SetSkuCode added in v1.2.0

func (r *AlibabaWdkItemMemberpriceUpdateAPIRequest) SetSkuCode(_skuCode string) error

SetSkuCode is SkuCode Setter 商品编码

func (*AlibabaWdkItemMemberpriceUpdateAPIRequest) SetSkuMemberPrice added in v1.2.0

func (r *AlibabaWdkItemMemberpriceUpdateAPIRequest) SetSkuMemberPrice(_skuMemberPrice int64) error

SetSkuMemberPrice is SkuMemberPrice Setter 会员价,单位分

func (*AlibabaWdkItemMemberpriceUpdateAPIRequest) SetSkuPrice added in v1.2.0

func (r *AlibabaWdkItemMemberpriceUpdateAPIRequest) SetSkuPrice(_skuPrice int64) error

SetSkuPrice is SkuPrice Setter 售价,单位分,售价会员价至少填一个

func (*AlibabaWdkItemMemberpriceUpdateAPIRequest) SetStoreId added in v1.2.0

func (r *AlibabaWdkItemMemberpriceUpdateAPIRequest) SetStoreId(_storeId string) error

SetStoreId is StoreId Setter 门店ID

func (*AlibabaWdkItemMemberpriceUpdateAPIRequest) SetTimeStamp added in v1.2.0

func (r *AlibabaWdkItemMemberpriceUpdateAPIRequest) SetTimeStamp(_timeStamp int64) error

SetTimeStamp is TimeStamp Setter 时间戳

type AlibabaWdkItemMemberpriceUpdateAPIResponse

type AlibabaWdkItemMemberpriceUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaWdkItemMemberpriceUpdateAPIResponseModel
}

AlibabaWdkItemMemberpriceUpdateAPIResponse 商品售价会员价修改 API返回值 alibaba.wdk.item.memberprice.update

商品售价会员价修改

type AlibabaWdkItemMemberpriceUpdateAPIResponseModel added in v1.2.0

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

AlibabaWdkItemMemberpriceUpdateAPIResponseModel is 商品售价会员价修改 成功返回结果

type AlibabaWdkItemMemberpriceUpdateResult

type AlibabaWdkItemMemberpriceUpdateResult struct {
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorDesc
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaWdkItemMemberpriceUpdateResult 结构体

type AlibabaWdkItemMerchantskuCreateAPIRequest added in v1.2.0

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

AlibabaWdkItemMerchantskuCreateAPIRequest 商家商品信息新建 API请求 alibaba.wdk.item.merchantsku.create

商家商品信息新建

func NewAlibabaWdkItemMerchantskuCreateRequest

func NewAlibabaWdkItemMerchantskuCreateRequest() *AlibabaWdkItemMerchantskuCreateAPIRequest

NewAlibabaWdkItemMerchantskuCreateRequest 初始化AlibabaWdkItemMerchantskuCreateAPIRequest对象

func (AlibabaWdkItemMerchantskuCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWdkItemMerchantskuCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWdkItemMerchantskuCreateAPIRequest) GetParams added in v1.2.0

GetParams Params Getter

func (*AlibabaWdkItemMerchantskuCreateAPIRequest) SetParams added in v1.2.0

SetParams is Params Setter 新建商品参数,是个json字符串

type AlibabaWdkItemMerchantskuCreateAPIResponse

type AlibabaWdkItemMerchantskuCreateAPIResponse struct {
	model.CommonResponse
	AlibabaWdkItemMerchantskuCreateAPIResponseModel
}

AlibabaWdkItemMerchantskuCreateAPIResponse 商家商品信息新建 API返回值 alibaba.wdk.item.merchantsku.create

商家商品信息新建

type AlibabaWdkItemMerchantskuCreateAPIResponseModel added in v1.2.0

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

AlibabaWdkItemMerchantskuCreateAPIResponseModel is 商家商品信息新建 成功返回结果

type AlibabaWdkItemMerchantskuCreateResult

type AlibabaWdkItemMerchantskuCreateResult struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorDesc
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaWdkItemMerchantskuCreateResult 结构体

type AlibabaWdkItemMerchantskuQueryAPIRequest added in v1.2.0

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

AlibabaWdkItemMerchantskuQueryAPIRequest 商家商品信息查询 API请求 alibaba.wdk.item.merchantsku.query

商家商品信息查询

func NewAlibabaWdkItemMerchantskuQueryRequest

func NewAlibabaWdkItemMerchantskuQueryRequest() *AlibabaWdkItemMerchantskuQueryAPIRequest

NewAlibabaWdkItemMerchantskuQueryRequest 初始化AlibabaWdkItemMerchantskuQueryAPIRequest对象

func (AlibabaWdkItemMerchantskuQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaWdkItemMerchantskuQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWdkItemMerchantskuQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWdkItemMerchantskuQueryAPIRequest) GetOrgCode added in v1.2.0

GetOrgCode OrgCode Getter

func (AlibabaWdkItemMerchantskuQueryAPIRequest) GetSkuCode added in v1.2.0

GetSkuCode SkuCode Getter

func (*AlibabaWdkItemMerchantskuQueryAPIRequest) SetOrgCode added in v1.2.0

func (r *AlibabaWdkItemMerchantskuQueryAPIRequest) SetOrgCode(_orgCode string) error

SetOrgCode is OrgCode Setter 机构编码

func (*AlibabaWdkItemMerchantskuQueryAPIRequest) SetSkuCode added in v1.2.0

func (r *AlibabaWdkItemMerchantskuQueryAPIRequest) SetSkuCode(_skuCode string) error

SetSkuCode is SkuCode Setter 商品编码

type AlibabaWdkItemMerchantskuQueryAPIResponse

type AlibabaWdkItemMerchantskuQueryAPIResponse struct {
	model.CommonResponse
	AlibabaWdkItemMerchantskuQueryAPIResponseModel
}

AlibabaWdkItemMerchantskuQueryAPIResponse 商家商品信息查询 API返回值 alibaba.wdk.item.merchantsku.query

商家商品信息查询

type AlibabaWdkItemMerchantskuQueryAPIResponseModel added in v1.2.0

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

AlibabaWdkItemMerchantskuQueryAPIResponseModel is 商家商品信息查询 成功返回结果

type AlibabaWdkItemMerchantskuQueryResult

type AlibabaWdkItemMerchantskuQueryResult struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorDesc
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// result
	Result string `json:"result,omitempty" xml:"result,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaWdkItemMerchantskuQueryResult 结构体

type AlibabaWdkItemMerchantskuUpdateAPIRequest added in v1.2.0

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

AlibabaWdkItemMerchantskuUpdateAPIRequest 商家商品修改 API请求 alibaba.wdk.item.merchantsku.update

商家商品修改

func NewAlibabaWdkItemMerchantskuUpdateRequest

func NewAlibabaWdkItemMerchantskuUpdateRequest() *AlibabaWdkItemMerchantskuUpdateAPIRequest

NewAlibabaWdkItemMerchantskuUpdateRequest 初始化AlibabaWdkItemMerchantskuUpdateAPIRequest对象

func (AlibabaWdkItemMerchantskuUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWdkItemMerchantskuUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWdkItemMerchantskuUpdateAPIRequest) GetOrgCode added in v1.2.0

GetOrgCode OrgCode Getter

func (AlibabaWdkItemMerchantskuUpdateAPIRequest) GetParams added in v1.2.0

GetParams Params Getter

func (AlibabaWdkItemMerchantskuUpdateAPIRequest) GetSkuCode added in v1.2.0

GetSkuCode SkuCode Getter

func (*AlibabaWdkItemMerchantskuUpdateAPIRequest) SetOrgCode added in v1.2.0

func (r *AlibabaWdkItemMerchantskuUpdateAPIRequest) SetOrgCode(_orgCode string) error

SetOrgCode is OrgCode Setter 机构编码

func (*AlibabaWdkItemMerchantskuUpdateAPIRequest) SetParams added in v1.2.0

SetParams is Params Setter 参数json

func (*AlibabaWdkItemMerchantskuUpdateAPIRequest) SetSkuCode added in v1.2.0

func (r *AlibabaWdkItemMerchantskuUpdateAPIRequest) SetSkuCode(_skuCode string) error

SetSkuCode is SkuCode Setter 商品编码

type AlibabaWdkItemMerchantskuUpdateAPIResponse

type AlibabaWdkItemMerchantskuUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaWdkItemMerchantskuUpdateAPIResponseModel
}

AlibabaWdkItemMerchantskuUpdateAPIResponse 商家商品修改 API返回值 alibaba.wdk.item.merchantsku.update

商家商品修改

type AlibabaWdkItemMerchantskuUpdateAPIResponseModel added in v1.2.0

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

AlibabaWdkItemMerchantskuUpdateAPIResponseModel is 商家商品修改 成功返回结果

type AlibabaWdkItemMerchantskuUpdateResult

type AlibabaWdkItemMerchantskuUpdateResult struct {
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorDesc
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// result
	Result string `json:"result,omitempty" xml:"result,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaWdkItemMerchantskuUpdateResult 结构体

type AlibabaWdkItemMerchantstoreskuCreateAPIRequest added in v1.2.0

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

AlibabaWdkItemMerchantstoreskuCreateAPIRequest 门店商品信息新建 API请求 alibaba.wdk.item.merchantstoresku.create

门店商品信息新建

func NewAlibabaWdkItemMerchantstoreskuCreateRequest

func NewAlibabaWdkItemMerchantstoreskuCreateRequest() *AlibabaWdkItemMerchantstoreskuCreateAPIRequest

NewAlibabaWdkItemMerchantstoreskuCreateRequest 初始化AlibabaWdkItemMerchantstoreskuCreateAPIRequest对象

func (AlibabaWdkItemMerchantstoreskuCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWdkItemMerchantstoreskuCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWdkItemMerchantstoreskuCreateAPIRequest) GetOrgCode added in v1.2.0

GetOrgCode OrgCode Getter

func (AlibabaWdkItemMerchantstoreskuCreateAPIRequest) GetParams added in v1.2.0

GetParams Params Getter

func (AlibabaWdkItemMerchantstoreskuCreateAPIRequest) GetSkuCode added in v1.2.0

GetSkuCode SkuCode Getter

func (AlibabaWdkItemMerchantstoreskuCreateAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (*AlibabaWdkItemMerchantstoreskuCreateAPIRequest) SetOrgCode added in v1.2.0

SetOrgCode is OrgCode Setter 机构

func (*AlibabaWdkItemMerchantstoreskuCreateAPIRequest) SetParams added in v1.2.0

SetParams is Params Setter 新建参数,是个json字符串

func (*AlibabaWdkItemMerchantstoreskuCreateAPIRequest) SetSkuCode added in v1.2.0

SetSkuCode is SkuCode Setter 商品编码

func (*AlibabaWdkItemMerchantstoreskuCreateAPIRequest) SetStoreId added in v1.2.0

SetStoreId is StoreId Setter 门店编码

type AlibabaWdkItemMerchantstoreskuCreateAPIResponse

type AlibabaWdkItemMerchantstoreskuCreateAPIResponse struct {
	model.CommonResponse
	AlibabaWdkItemMerchantstoreskuCreateAPIResponseModel
}

AlibabaWdkItemMerchantstoreskuCreateAPIResponse 门店商品信息新建 API返回值 alibaba.wdk.item.merchantstoresku.create

门店商品信息新建

type AlibabaWdkItemMerchantstoreskuCreateAPIResponseModel added in v1.2.0

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

AlibabaWdkItemMerchantstoreskuCreateAPIResponseModel is 门店商品信息新建 成功返回结果

type AlibabaWdkItemMerchantstoreskuCreateResult

type AlibabaWdkItemMerchantstoreskuCreateResult struct {
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorDesc
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaWdkItemMerchantstoreskuCreateResult 结构体

type AlibabaWdkItemMerchantstoreskuUpdateAPIRequest added in v1.2.0

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

AlibabaWdkItemMerchantstoreskuUpdateAPIRequest 门店商品信息修改 API请求 alibaba.wdk.item.merchantstoresku.update

门店商品信息修改

func NewAlibabaWdkItemMerchantstoreskuUpdateRequest

func NewAlibabaWdkItemMerchantstoreskuUpdateRequest() *AlibabaWdkItemMerchantstoreskuUpdateAPIRequest

NewAlibabaWdkItemMerchantstoreskuUpdateRequest 初始化AlibabaWdkItemMerchantstoreskuUpdateAPIRequest对象

func (AlibabaWdkItemMerchantstoreskuUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWdkItemMerchantstoreskuUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWdkItemMerchantstoreskuUpdateAPIRequest) GetParams added in v1.2.0

GetParams Params Getter

func (AlibabaWdkItemMerchantstoreskuUpdateAPIRequest) GetSkuCode added in v1.2.0

GetSkuCode SkuCode Getter

func (AlibabaWdkItemMerchantstoreskuUpdateAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (*AlibabaWdkItemMerchantstoreskuUpdateAPIRequest) SetParams added in v1.2.0

SetParams is Params Setter 修改参数,是个json字符串

func (*AlibabaWdkItemMerchantstoreskuUpdateAPIRequest) SetSkuCode added in v1.2.0

SetSkuCode is SkuCode Setter 商品编码

func (*AlibabaWdkItemMerchantstoreskuUpdateAPIRequest) SetStoreId added in v1.2.0

SetStoreId is StoreId Setter 门店ID

type AlibabaWdkItemMerchantstoreskuUpdateAPIResponse

type AlibabaWdkItemMerchantstoreskuUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaWdkItemMerchantstoreskuUpdateAPIResponseModel
}

AlibabaWdkItemMerchantstoreskuUpdateAPIResponse 门店商品信息修改 API返回值 alibaba.wdk.item.merchantstoresku.update

门店商品信息修改

type AlibabaWdkItemMerchantstoreskuUpdateAPIResponseModel added in v1.2.0

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

AlibabaWdkItemMerchantstoreskuUpdateAPIResponseModel is 门店商品信息修改 成功返回结果

type AlibabaWdkItemMerchantstoreskuUpdateResult

type AlibabaWdkItemMerchantstoreskuUpdateResult struct {
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorDesc
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaWdkItemMerchantstoreskuUpdateResult 结构体

type AlibabaWdkItemMorebarcodeOpsAPIRequest added in v1.2.0

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

AlibabaWdkItemMorebarcodeOpsAPIRequest 商品一品多码维护操作 API请求 alibaba.wdk.item.morebarcode.ops

商品一品多码维护操作

func NewAlibabaWdkItemMorebarcodeOpsRequest

func NewAlibabaWdkItemMorebarcodeOpsRequest() *AlibabaWdkItemMorebarcodeOpsAPIRequest

NewAlibabaWdkItemMorebarcodeOpsRequest 初始化AlibabaWdkItemMorebarcodeOpsAPIRequest对象

func (AlibabaWdkItemMorebarcodeOpsAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaWdkItemMorebarcodeOpsAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWdkItemMorebarcodeOpsAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWdkItemMorebarcodeOpsAPIRequest) GetUpdateMoreBarCodeRequestBean added in v1.2.0

func (r AlibabaWdkItemMorebarcodeOpsAPIRequest) GetUpdateMoreBarCodeRequestBean() *UpdateMoreBarCodeRequestBean

GetUpdateMoreBarCodeRequestBean UpdateMoreBarCodeRequestBean Getter

func (*AlibabaWdkItemMorebarcodeOpsAPIRequest) SetUpdateMoreBarCodeRequestBean added in v1.2.0

func (r *AlibabaWdkItemMorebarcodeOpsAPIRequest) SetUpdateMoreBarCodeRequestBean(_updateMoreBarCodeRequestBean *UpdateMoreBarCodeRequestBean) error

SetUpdateMoreBarCodeRequestBean is UpdateMoreBarCodeRequestBean Setter bean

type AlibabaWdkItemMorebarcodeOpsAPIResponse

type AlibabaWdkItemMorebarcodeOpsAPIResponse struct {
	model.CommonResponse
	AlibabaWdkItemMorebarcodeOpsAPIResponseModel
}

AlibabaWdkItemMorebarcodeOpsAPIResponse 商品一品多码维护操作 API返回值 alibaba.wdk.item.morebarcode.ops

商品一品多码维护操作

type AlibabaWdkItemMorebarcodeOpsAPIResponseModel added in v1.2.0

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

AlibabaWdkItemMorebarcodeOpsAPIResponseModel is 商品一品多码维护操作 成功返回结果

type AlibabaWdkItemMorebarcodeOpsResult

type AlibabaWdkItemMorebarcodeOpsResult struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorDesc
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaWdkItemMorebarcodeOpsResult 结构体

type AlibabaWdkItemStoreskuQueryAPIRequest added in v1.2.0

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

AlibabaWdkItemStoreskuQueryAPIRequest 门店商品信息查询 API请求 alibaba.wdk.item.storesku.query

门店商品信息查询

func NewAlibabaWdkItemStoreskuQueryRequest

func NewAlibabaWdkItemStoreskuQueryRequest() *AlibabaWdkItemStoreskuQueryAPIRequest

NewAlibabaWdkItemStoreskuQueryRequest 初始化AlibabaWdkItemStoreskuQueryAPIRequest对象

func (AlibabaWdkItemStoreskuQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaWdkItemStoreskuQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWdkItemStoreskuQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWdkItemStoreskuQueryAPIRequest) GetSkuCode added in v1.2.0

GetSkuCode SkuCode Getter

func (AlibabaWdkItemStoreskuQueryAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (*AlibabaWdkItemStoreskuQueryAPIRequest) SetSkuCode added in v1.2.0

func (r *AlibabaWdkItemStoreskuQueryAPIRequest) SetSkuCode(_skuCode string) error

SetSkuCode is SkuCode Setter 商品编码

func (*AlibabaWdkItemStoreskuQueryAPIRequest) SetStoreId added in v1.2.0

func (r *AlibabaWdkItemStoreskuQueryAPIRequest) SetStoreId(_storeId string) error

SetStoreId is StoreId Setter 门店ID

type AlibabaWdkItemStoreskuQueryAPIResponse

type AlibabaWdkItemStoreskuQueryAPIResponse struct {
	model.CommonResponse
	AlibabaWdkItemStoreskuQueryAPIResponseModel
}

AlibabaWdkItemStoreskuQueryAPIResponse 门店商品信息查询 API返回值 alibaba.wdk.item.storesku.query

门店商品信息查询

type AlibabaWdkItemStoreskuQueryAPIResponseModel added in v1.2.0

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

AlibabaWdkItemStoreskuQueryAPIResponseModel is 门店商品信息查询 成功返回结果

type AlibabaWdkItemStoreskuQueryResult

type AlibabaWdkItemStoreskuQueryResult struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorDesc
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// result
	Result string `json:"result,omitempty" xml:"result,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaWdkItemStoreskuQueryResult 结构体

type AlibabaWdkItemStoreskustatusUpdateAPIRequest added in v1.2.0

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

AlibabaWdkItemStoreskustatusUpdateAPIRequest 修改门店商品状态 API请求 alibaba.wdk.item.storeskustatus.update

五道口商品 修改门店商品状态

func NewAlibabaWdkItemStoreskustatusUpdateRequest

func NewAlibabaWdkItemStoreskustatusUpdateRequest() *AlibabaWdkItemStoreskustatusUpdateAPIRequest

NewAlibabaWdkItemStoreskustatusUpdateRequest 初始化AlibabaWdkItemStoreskustatusUpdateAPIRequest对象

func (AlibabaWdkItemStoreskustatusUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWdkItemStoreskustatusUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWdkItemStoreskustatusUpdateAPIRequest) GetBean added in v1.2.0

GetBean Bean Getter

func (*AlibabaWdkItemStoreskustatusUpdateAPIRequest) SetBean added in v1.2.0

SetBean is Bean Setter bean

type AlibabaWdkItemStoreskustatusUpdateAPIResponse

type AlibabaWdkItemStoreskustatusUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaWdkItemStoreskustatusUpdateAPIResponseModel
}

AlibabaWdkItemStoreskustatusUpdateAPIResponse 修改门店商品状态 API返回值 alibaba.wdk.item.storeskustatus.update

五道口商品 修改门店商品状态

type AlibabaWdkItemStoreskustatusUpdateAPIResponseModel added in v1.2.0

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

AlibabaWdkItemStoreskustatusUpdateAPIResponseModel is 修改门店商品状态 成功返回结果

type AlibabaWdkItemStoreskustatusUpdateResult

type AlibabaWdkItemStoreskustatusUpdateResult struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorDesc
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaWdkItemStoreskustatusUpdateResult 结构体

type AlibabaWdkPictureUploadAPIRequest added in v1.2.0

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

AlibabaWdkPictureUploadAPIRequest 图片上传接口 API请求 alibaba.wdk.picture.upload

上传图片

func NewAlibabaWdkPictureUploadRequest

func NewAlibabaWdkPictureUploadRequest() *AlibabaWdkPictureUploadAPIRequest

NewAlibabaWdkPictureUploadRequest 初始化AlibabaWdkPictureUploadAPIRequest对象

func (AlibabaWdkPictureUploadAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaWdkPictureUploadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaWdkPictureUploadAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaWdkPictureUploadAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaWdkPictureUploadAPIRequest) GetImg added in v1.2.0

GetImg Img Getter

func (AlibabaWdkPictureUploadAPIRequest) GetImgInputTitle added in v1.2.0

func (r AlibabaWdkPictureUploadAPIRequest) GetImgInputTitle() string

GetImgInputTitle ImgInputTitle Getter

func (AlibabaWdkPictureUploadAPIRequest) GetPictureCategoryId added in v1.2.0

func (r AlibabaWdkPictureUploadAPIRequest) GetPictureCategoryId() int64

GetPictureCategoryId PictureCategoryId Getter

func (AlibabaWdkPictureUploadAPIRequest) GetTitle added in v1.2.0

GetTitle Title Getter

func (*AlibabaWdkPictureUploadAPIRequest) SetImg added in v1.2.0

SetImg is Img Setter 图片二进制文件流,不能为空,允许png、jpg、gif图片格式,3M以内

func (*AlibabaWdkPictureUploadAPIRequest) SetImgInputTitle added in v1.2.0

func (r *AlibabaWdkPictureUploadAPIRequest) SetImgInputTitle(_imgInputTitle string) error

SetImgInputTitle is ImgInputTitle Setter 包括后缀名的图片标题,不能为空,如Bule.jpg,有些卖家希望图片上传后取图片文件的默认名

func (*AlibabaWdkPictureUploadAPIRequest) SetPictureCategoryId added in v1.2.0

func (r *AlibabaWdkPictureUploadAPIRequest) SetPictureCategoryId(_pictureCategoryId int64) error

SetPictureCategoryId is PictureCategoryId Setter 图片分类ID,设置具体某个分类ID或设置0上传到默认分类,只能传入一个分类

func (*AlibabaWdkPictureUploadAPIRequest) SetTitle added in v1.2.0

func (r *AlibabaWdkPictureUploadAPIRequest) SetTitle(_title string) error

SetTitle is Title Setter 图片标题,如果为空,传的图片标题就取去掉后缀名的image_input_title,超过50字符长度会截取50字符,重名会在标题末尾加"(1)";标题末尾已经有"(数字)"了,则数字加1

type AlibabaWdkPictureUploadAPIResponse

type AlibabaWdkPictureUploadAPIResponse struct {
	model.CommonResponse
	AlibabaWdkPictureUploadAPIResponseModel
}

AlibabaWdkPictureUploadAPIResponse 图片上传接口 API返回值 alibaba.wdk.picture.upload

上传图片

type AlibabaWdkPictureUploadAPIResponseModel added in v1.2.0

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

AlibabaWdkPictureUploadAPIResponseModel is 图片上传接口 成功返回结果

type AlibabaWdkPictureUploadApiResult

type AlibabaWdkPictureUploadApiResult struct {
	// 错误code
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误原因
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// model
	Model *PictureDo `json:"model,omitempty" xml:"model,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaWdkPictureUploadApiResult 结构体

type Barcodebolist

type Barcodebolist struct {
	// barcode
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// 规格
	SpuSpec string `json:"spu_spec,omitempty" xml:"spu_spec,omitempty"`
}

Barcodebolist 结构体

type MzPromotionDto

type MzPromotionDto struct {
	// 活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 买赠活动文案
	MzDisplayText string `json:"mz_display_text,omitempty" xml:"mz_display_text,omitempty"`
	// 活动开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 活动结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 活动ID
	ActId int64 `json:"act_id,omitempty" xml:"act_id,omitempty"`
}

MzPromotionDto 结构体

type PictureDo

type PictureDo struct {
	// 返回的是相对路劲
	PicturePath string `json:"picture_path,omitempty" xml:"picture_path,omitempty"`
	// 图片标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 图片状态,unfroze代表没有被冻结,froze代表被冻结,pass代表排查通过
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 图片是否删除的标记
	Deleted string `json:"deleted,omitempty" xml:"deleted,omitempty"`
	// 图片的创建时间
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 图片的修改时间
	Modified string `json:"modified,omitempty" xml:"modified,omitempty"`
	// 图片相素,格式:长x宽,如450x150
	Pixel string `json:"pixel,omitempty" xml:"pixel,omitempty"`
	// 完整的路劲
	FullUrl string `json:"full_url,omitempty" xml:"full_url,omitempty"`
	// 图片ID
	PictureId int64 `json:"picture_id,omitempty" xml:"picture_id,omitempty"`
	// 图片分类ID
	PictureCategoryId int64 `json:"picture_category_id,omitempty" xml:"picture_category_id,omitempty"`
	// 图片大小,bite单位
	Sizes int64 `json:"sizes,omitempty" xml:"sizes,omitempty"`
}

PictureDo 结构体

type PromotionInfoDto

type PromotionInfoDto struct {
	// 展示文案
	DisplayText string `json:"display_text,omitempty" xml:"display_text,omitempty"`
	// 优惠类型, 0:减钱,1:打折,2:一口价,3:组合优惠
	PromotionType string `json:"promotion_type,omitempty" xml:"promotion_type,omitempty"`
	// 创建时间
	CreateDateTime string `json:"create_date_time,omitempty" xml:"create_date_time,omitempty"`
	// 活动名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 活动开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 限购信息
	LimitInfo string `json:"limit_info,omitempty" xml:"limit_info,omitempty"`
	// 活动结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 优惠金额,单位为分
	DiscountFee int64 `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"`
	// 活动ID
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 活动类型, 1:单品活动,3:商品池活动
	ActivityType int64 `json:"activity_type,omitempty" xml:"activity_type,omitempty"`
}

PromotionInfoDto 结构体

type UpdateMoreBarCodeRequestBean

type UpdateMoreBarCodeRequestBean struct {
	// list
	BarCodeBoList []Barcodebolist `json:"bar_code_bo_list,omitempty" xml:"bar_code_bo_list>barcodebolist,omitempty"`
	// 机构编码
	OrgCode string `json:"org_code,omitempty" xml:"org_code,omitempty"`
	// 商品编码
	SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"`
}

UpdateMoreBarCodeRequestBean 结构体

type UpdateStoreSkuLifeStatusRequestBean

type UpdateStoreSkuLifeStatusRequestBean struct {
	// 机构编码
	OrgCode string `json:"org_code,omitempty" xml:"org_code,omitempty"`
	// 商品编码
	SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"`
	// 门店编码
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 商品状态
	LifeStatus string `json:"life_status,omitempty" xml:"life_status,omitempty"`
	// 渠道编码
	ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"`
}

UpdateStoreSkuLifeStatusRequestBean 结构体

Source Files

Jump to

Keyboard shortcuts

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