perfect

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=53988&docType=2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaPerfectPerformanceItemQueryAPIRequest added in v1.2.0

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

商品完美履约信息查询 API请求 alibaba.perfect.performance.item.query

同城零售商品完美履约信息查询

func NewAlibabaPerfectPerformanceItemQueryRequest

func NewAlibabaPerfectPerformanceItemQueryRequest() *AlibabaPerfectPerformanceItemQueryAPIRequest

初始化AlibabaPerfectPerformanceItemQueryAPIRequest对象

func (AlibabaPerfectPerformanceItemQueryAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaPerfectPerformanceItemQueryAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaPerfectPerformanceItemQueryAPIRequest) GetItemPerfectPerformanceQueryReq added in v1.2.0

ItemPerfectPerformanceQueryReq Getter

func (*AlibabaPerfectPerformanceItemQueryAPIRequest) SetItemPerfectPerformanceQueryReq added in v1.2.0

func (r *AlibabaPerfectPerformanceItemQueryAPIRequest) SetItemPerfectPerformanceQueryReq(_itemPerfectPerformanceQueryReq *ItemPerfectPerformanceQueryReq) error

ItemPerfectPerformanceQueryReq Setter 查询入参

type AlibabaPerfectPerformanceItemQueryAPIResponse

type AlibabaPerfectPerformanceItemQueryAPIResponse struct {
	model.CommonResponse
	AlibabaPerfectPerformanceItemQueryAPIResponseModel
}

商品完美履约信息查询 API返回值 alibaba.perfect.performance.item.query

同城零售商品完美履约信息查询

type AlibabaPerfectPerformanceItemQueryAPIResponseModel added in v1.2.0

type AlibabaPerfectPerformanceItemQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_perfect_performance_item_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的数据实体
	Data *ItemPerfectPerformanceQueryResp `json:"data,omitempty" xml:"data,omitempty"`
}

商品完美履约信息查询 成功返回结果

type AlibabaPerfectPerformanceLocalitemEditAPIRequest added in v1.2.0

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

同城购定制发品编辑 API请求 alibaba.perfect.performance.localitem.edit

同城购业务定制化发品接口,同城购业务线专用

func NewAlibabaPerfectPerformanceLocalitemEditRequest

func NewAlibabaPerfectPerformanceLocalitemEditRequest() *AlibabaPerfectPerformanceLocalitemEditAPIRequest

初始化AlibabaPerfectPerformanceLocalitemEditAPIRequest对象

func (AlibabaPerfectPerformanceLocalitemEditAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaPerfectPerformanceLocalitemEditAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaPerfectPerformanceLocalitemEditAPIRequest) GetParamPerfectPerformanceItemPublishReq added in v1.2.0

func (r AlibabaPerfectPerformanceLocalitemEditAPIRequest) GetParamPerfectPerformanceItemPublishReq() *PerfectPerformanceItemPublishReq

ParamPerfectPerformanceItemPublishReq Getter

func (*AlibabaPerfectPerformanceLocalitemEditAPIRequest) SetParamPerfectPerformanceItemPublishReq added in v1.2.0

func (r *AlibabaPerfectPerformanceLocalitemEditAPIRequest) SetParamPerfectPerformanceItemPublishReq(_paramPerfectPerformanceItemPublishReq *PerfectPerformanceItemPublishReq) error

ParamPerfectPerformanceItemPublishReq Setter 请求参数

type AlibabaPerfectPerformanceLocalitemEditAPIResponse

type AlibabaPerfectPerformanceLocalitemEditAPIResponse struct {
	model.CommonResponse
	AlibabaPerfectPerformanceLocalitemEditAPIResponseModel
}

同城购定制发品编辑 API返回值 alibaba.perfect.performance.localitem.edit

同城购业务定制化发品接口,同城购业务线专用

type AlibabaPerfectPerformanceLocalitemEditAPIResponseModel added in v1.2.0

type AlibabaPerfectPerformanceLocalitemEditAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_perfect_performance_localitem_edit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回包装类
	Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"`
}

同城购定制发品编辑 成功返回结果

type AlibabaPerfectPerformanceLocalitemPublishAPIRequest added in v1.2.0

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

同城购定制化发品 API请求 alibaba.perfect.performance.localitem.publish

同城购业务定制化发品接口,同城购业务线专用

func NewAlibabaPerfectPerformanceLocalitemPublishRequest

func NewAlibabaPerfectPerformanceLocalitemPublishRequest() *AlibabaPerfectPerformanceLocalitemPublishAPIRequest

初始化AlibabaPerfectPerformanceLocalitemPublishAPIRequest对象

func (AlibabaPerfectPerformanceLocalitemPublishAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaPerfectPerformanceLocalitemPublishAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaPerfectPerformanceLocalitemPublishAPIRequest) GetParamPerfectPerformanceItemPublishReq added in v1.2.0

func (r AlibabaPerfectPerformanceLocalitemPublishAPIRequest) GetParamPerfectPerformanceItemPublishReq() *PerfectPerformanceItemPublishReq

ParamPerfectPerformanceItemPublishReq Getter

func (*AlibabaPerfectPerformanceLocalitemPublishAPIRequest) SetParamPerfectPerformanceItemPublishReq added in v1.2.0

func (r *AlibabaPerfectPerformanceLocalitemPublishAPIRequest) SetParamPerfectPerformanceItemPublishReq(_paramPerfectPerformanceItemPublishReq *PerfectPerformanceItemPublishReq) error

ParamPerfectPerformanceItemPublishReq Setter 请求参数

type AlibabaPerfectPerformanceLocalitemPublishAPIResponse

type AlibabaPerfectPerformanceLocalitemPublishAPIResponse struct {
	model.CommonResponse
	AlibabaPerfectPerformanceLocalitemPublishAPIResponseModel
}

同城购定制化发品 API返回值 alibaba.perfect.performance.localitem.publish

同城购业务定制化发品接口,同城购业务线专用

type AlibabaPerfectPerformanceLocalitemPublishAPIResponseModel added in v1.2.0

type AlibabaPerfectPerformanceLocalitemPublishAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_perfect_performance_localitem_publish_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回包装类
	Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"`
}

同城购定制化发品 成功返回结果

type BaseResult

type BaseResult struct {
	// 返回的执行状态吗
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 返回的数据实体
	Data *PerfectPerformanceItemPublishResp `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 是否执行成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

BaseResult

type ItemPerfectPerformanceQueryReq

type ItemPerfectPerformanceQueryReq struct {
	// 天猫商品id
	ItemTmallId string `json:"item_tmall_id,omitempty" xml:"item_tmall_id,omitempty"`
}

ItemPerfectPerformanceQueryReq

type ItemPerfectPerformanceQueryResp

type ItemPerfectPerformanceQueryResp struct {
	// 是否完美履约商品
	IsTcItem bool `json:"is_tc_item,omitempty" xml:"is_tc_item,omitempty"`
	// 商家商品id
	ItemOuterId string `json:"item_outer_id,omitempty" xml:"item_outer_id,omitempty"`
	// 天猫商品id
	ItemTmallId string `json:"item_tmall_id,omitempty" xml:"item_tmall_id,omitempty"`
	// 完美履约门店列表
	TcStoreList []TcStoreList `json:"tc_store_list,omitempty" xml:"tc_store_list>tc_store_list,omitempty"`
}

ItemPerfectPerformanceQueryResp

type PerfectItemBaseInfoDto

type PerfectItemBaseInfoDto struct {
	// 商品条码
	ItemBarcode string `json:"item_barcode,omitempty" xml:"item_barcode,omitempty"`
	// 商品外部编码
	ItemOuterId string `json:"item_outer_id,omitempty" xml:"item_outer_id,omitempty"`
	// 商品吊牌价
	ItemPretium string `json:"item_pretium,omitempty" xml:"item_pretium,omitempty"`
	// 商品价格
	ItemPrice string `json:"item_price,omitempty" xml:"item_price,omitempty"`
	// 商品数量
	ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"`
	// 商品体积
	ItemSize string `json:"item_size,omitempty" xml:"item_size,omitempty"`
	// 商品重量
	ItemWeight string `json:"item_weight,omitempty" xml:"item_weight,omitempty"`
	// 销售渠道
	SaleChannelKey string `json:"sale_channel_key,omitempty" xml:"sale_channel_key,omitempty"`
}

PerfectItemBaseInfoDto

type PerfectItemDescribeInfoDto

type PerfectItemDescribeInfoDto struct {
	// 详情描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 商品图片
	ItemPictures []string `json:"item_pictures,omitempty" xml:"item_pictures>string,omitempty"`
	// 商品标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
}

PerfectItemDescribeInfoDto

type PerfectItemLogisticsInfoDto

type PerfectItemLogisticsInfoDto struct {
	// 城市编码,默认北京
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 运费模板ID
	PostageTemplateCode string `json:"postage_template_code,omitempty" xml:"postage_template_code,omitempty"`
	// 省份编码,默认北京
	ProvinceCode string `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// 门店库ID
	StoreGroupCode string `json:"store_group_code,omitempty" xml:"store_group_code,omitempty"`
}

PerfectItemLogisticsInfoDto

type PerfectItemProductInfoDto

type PerfectItemProductInfoDto struct {
	// 品牌ID
	BrandCode string `json:"brand_code,omitempty" xml:"brand_code,omitempty"`
	// 叶子类目ID
	CategoryCode string `json:"category_code,omitempty" xml:"category_code,omitempty"`
	// 货号
	ProductCode string `json:"product_code,omitempty" xml:"product_code,omitempty"`
}

PerfectItemProductInfoDto

type PerfectItemSkuInfoDto

type PerfectItemSkuInfoDto struct {
	// sku销售属性
	SaleProperties []PerfectSalePropertyDto `json:"sale_properties,omitempty" xml:"sale_properties>perfect_sale_property_dto,omitempty"`
	// sku关联货品
	ScProductInfo *PerfectScProductInfoDto `json:"sc_product_info,omitempty" xml:"sc_product_info,omitempty"`
	// sku条码
	SkuBarcode string `json:"sku_barcode,omitempty" xml:"sku_barcode,omitempty"`
	// sku外部编码
	SkuOuterId string `json:"sku_outer_id,omitempty" xml:"sku_outer_id,omitempty"`
	// sku吊牌价
	SkuPretium string `json:"sku_pretium,omitempty" xml:"sku_pretium,omitempty"`
	// sku价格
	SkuPrice string `json:"sku_price,omitempty" xml:"sku_price,omitempty"`
	// sku数量
	SkuQuantity int64 `json:"sku_quantity,omitempty" xml:"sku_quantity,omitempty"`
}

PerfectItemSkuInfoDto

type PerfectItemTradeInfoDto

type PerfectItemTradeInfoDto struct {
	// 是否提供发票
	HasInvoice bool `json:"has_invoice,omitempty" xml:"has_invoice,omitempty"`
	// 是否支持退换货承诺
	SellPromise bool `json:"sell_promise,omitempty" xml:"sell_promise,omitempty"`
	// 是否拍下减库存
	SubStockAtBuy bool `json:"sub_stock_at_buy,omitempty" xml:"sub_stock_at_buy,omitempty"`
	// 是否支持7天无理由
	Support7Day bool `json:"support7_day,omitempty" xml:"support7_day,omitempty"`
	// 是否保修
	Warrant bool `json:"warrant,omitempty" xml:"warrant,omitempty"`
}

PerfectItemTradeInfoDto

type PerfectPerformanceItemPublishReq

type PerfectPerformanceItemPublishReq struct {
	// 商品描述信息
	DescribeInfo *PerfectItemDescribeInfoDto `json:"describe_info,omitempty" xml:"describe_info,omitempty"`
	// 商品基本信息
	ItemBaseInfo *PerfectItemBaseInfoDto `json:"item_base_info,omitempty" xml:"item_base_info,omitempty"`
	// 商品sku列表
	ItemSkuInfos []PerfectItemSkuInfoDto `json:"item_sku_infos,omitempty" xml:"item_sku_infos>perfect_item_sku_info_dto,omitempty"`
	// 商品交易信息
	ItemTradeInfo *PerfectItemTradeInfoDto `json:"item_trade_info,omitempty" xml:"item_trade_info,omitempty"`
	// 商品物流信息
	LogisticsInfo *PerfectItemLogisticsInfoDto `json:"logistics_info,omitempty" xml:"logistics_info,omitempty"`
	// 产品信息
	ProductInfo *PerfectItemProductInfoDto `json:"product_info,omitempty" xml:"product_info,omitempty"`
	// 商品编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
}

PerfectPerformanceItemPublishReq

type PerfectPerformanceItemPublishResp

type PerfectPerformanceItemPublishResp struct {
	// 商品编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
}

PerfectPerformanceItemPublishResp

type PerfectSalePropertyDto

type PerfectSalePropertyDto struct {
	// 属性key
	SalePropertyKey string `json:"sale_property_key,omitempty" xml:"sale_property_key,omitempty"`
	// 自定义属性值
	SalePropertyValue string `json:"sale_property_value,omitempty" xml:"sale_property_value,omitempty"`
}

PerfectSalePropertyDto

type PerfectScProductInfoDto

type PerfectScProductInfoDto struct {
	// 货品编码
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 货品ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
}

PerfectScProductInfoDto

type TcStoreList

type TcStoreList struct {
	// 门店名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 门店id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

TcStoreList

Jump to

Keyboard shortcuts

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