Documentation ¶
Overview ¶
Package perfect 包含同城零售全渠道相关结构体
Index ¶
- type AlibabaPerfectPerformanceItemQueryAPIRequest
- func (r AlibabaPerfectPerformanceItemQueryAPIRequest) GetApiMethodName() string
- func (r AlibabaPerfectPerformanceItemQueryAPIRequest) GetApiParams() url.Values
- func (r AlibabaPerfectPerformanceItemQueryAPIRequest) GetItemPerfectPerformanceQueryReq() *ItemPerfectPerformanceQueryReq
- func (r *AlibabaPerfectPerformanceItemQueryAPIRequest) SetItemPerfectPerformanceQueryReq(_itemPerfectPerformanceQueryReq *ItemPerfectPerformanceQueryReq) error
- type AlibabaPerfectPerformanceItemQueryAPIResponse
- type AlibabaPerfectPerformanceItemQueryAPIResponseModel
- type AlibabaPerfectPerformanceLocalitemEditAPIRequest
- func (r AlibabaPerfectPerformanceLocalitemEditAPIRequest) GetApiMethodName() string
- func (r AlibabaPerfectPerformanceLocalitemEditAPIRequest) GetApiParams() url.Values
- func (r AlibabaPerfectPerformanceLocalitemEditAPIRequest) GetParamPerfectPerformanceItemPublishReq() *PerfectPerformanceItemPublishReq
- func (r *AlibabaPerfectPerformanceLocalitemEditAPIRequest) SetParamPerfectPerformanceItemPublishReq(_paramPerfectPerformanceItemPublishReq *PerfectPerformanceItemPublishReq) error
- type AlibabaPerfectPerformanceLocalitemEditAPIResponse
- type AlibabaPerfectPerformanceLocalitemEditAPIResponseModel
- type AlibabaPerfectPerformanceLocalitemPublishAPIRequest
- func (r AlibabaPerfectPerformanceLocalitemPublishAPIRequest) GetApiMethodName() string
- func (r AlibabaPerfectPerformanceLocalitemPublishAPIRequest) GetApiParams() url.Values
- func (r AlibabaPerfectPerformanceLocalitemPublishAPIRequest) GetParamPerfectPerformanceItemPublishReq() *PerfectPerformanceItemPublishReq
- func (r *AlibabaPerfectPerformanceLocalitemPublishAPIRequest) SetParamPerfectPerformanceItemPublishReq(_paramPerfectPerformanceItemPublishReq *PerfectPerformanceItemPublishReq) error
- type AlibabaPerfectPerformanceLocalitemPublishAPIResponse
- type AlibabaPerfectPerformanceLocalitemPublishAPIResponseModel
- type BaseResult
- type ItemPerfectPerformanceQueryReq
- type ItemPerfectPerformanceQueryResp
- type PerfectItemBaseInfoDto
- type PerfectItemDescribeInfoDto
- type PerfectItemLogisticsInfoDto
- type PerfectItemProductInfoDto
- type PerfectItemSkuInfoDto
- type PerfectItemTradeInfoDto
- type PerfectPerformanceItemPublishReq
- type PerfectPerformanceItemPublishResp
- type PerfectSalePropertyDto
- type PerfectScProductInfoDto
- type TcStoreList
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 }
AlibabaPerfectPerformanceItemQueryAPIRequest 商品完美履约信息查询 API请求 alibaba.perfect.performance.item.query
同城零售商品完美履约信息查询
func NewAlibabaPerfectPerformanceItemQueryRequest ¶
func NewAlibabaPerfectPerformanceItemQueryRequest() *AlibabaPerfectPerformanceItemQueryAPIRequest
NewAlibabaPerfectPerformanceItemQueryRequest 初始化AlibabaPerfectPerformanceItemQueryAPIRequest对象
func (AlibabaPerfectPerformanceItemQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaPerfectPerformanceItemQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaPerfectPerformanceItemQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaPerfectPerformanceItemQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaPerfectPerformanceItemQueryAPIRequest) GetItemPerfectPerformanceQueryReq ¶ added in v1.2.0
func (r AlibabaPerfectPerformanceItemQueryAPIRequest) GetItemPerfectPerformanceQueryReq() *ItemPerfectPerformanceQueryReq
GetItemPerfectPerformanceQueryReq ItemPerfectPerformanceQueryReq Getter
func (*AlibabaPerfectPerformanceItemQueryAPIRequest) SetItemPerfectPerformanceQueryReq ¶ added in v1.2.0
func (r *AlibabaPerfectPerformanceItemQueryAPIRequest) SetItemPerfectPerformanceQueryReq(_itemPerfectPerformanceQueryReq *ItemPerfectPerformanceQueryReq) error
SetItemPerfectPerformanceQueryReq is ItemPerfectPerformanceQueryReq Setter 查询入参
type AlibabaPerfectPerformanceItemQueryAPIResponse ¶
type AlibabaPerfectPerformanceItemQueryAPIResponse struct { model.CommonResponse AlibabaPerfectPerformanceItemQueryAPIResponseModel }
AlibabaPerfectPerformanceItemQueryAPIResponse 商品完美履约信息查询 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"` }
AlibabaPerfectPerformanceItemQueryAPIResponseModel is 商品完美履约信息查询 成功返回结果
type AlibabaPerfectPerformanceLocalitemEditAPIRequest ¶ added in v1.2.0
type AlibabaPerfectPerformanceLocalitemEditAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaPerfectPerformanceLocalitemEditAPIRequest 同城购定制发品编辑 API请求 alibaba.perfect.performance.localitem.edit
同城购业务定制化发品接口,同城购业务线专用
func NewAlibabaPerfectPerformanceLocalitemEditRequest ¶
func NewAlibabaPerfectPerformanceLocalitemEditRequest() *AlibabaPerfectPerformanceLocalitemEditAPIRequest
NewAlibabaPerfectPerformanceLocalitemEditRequest 初始化AlibabaPerfectPerformanceLocalitemEditAPIRequest对象
func (AlibabaPerfectPerformanceLocalitemEditAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaPerfectPerformanceLocalitemEditAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaPerfectPerformanceLocalitemEditAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaPerfectPerformanceLocalitemEditAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaPerfectPerformanceLocalitemEditAPIRequest) GetParamPerfectPerformanceItemPublishReq ¶ added in v1.2.0
func (r AlibabaPerfectPerformanceLocalitemEditAPIRequest) GetParamPerfectPerformanceItemPublishReq() *PerfectPerformanceItemPublishReq
GetParamPerfectPerformanceItemPublishReq ParamPerfectPerformanceItemPublishReq Getter
func (*AlibabaPerfectPerformanceLocalitemEditAPIRequest) SetParamPerfectPerformanceItemPublishReq ¶ added in v1.2.0
func (r *AlibabaPerfectPerformanceLocalitemEditAPIRequest) SetParamPerfectPerformanceItemPublishReq(_paramPerfectPerformanceItemPublishReq *PerfectPerformanceItemPublishReq) error
SetParamPerfectPerformanceItemPublishReq is ParamPerfectPerformanceItemPublishReq Setter 请求参数
type AlibabaPerfectPerformanceLocalitemEditAPIResponse ¶
type AlibabaPerfectPerformanceLocalitemEditAPIResponse struct { model.CommonResponse AlibabaPerfectPerformanceLocalitemEditAPIResponseModel }
AlibabaPerfectPerformanceLocalitemEditAPIResponse 同城购定制发品编辑 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"` }
AlibabaPerfectPerformanceLocalitemEditAPIResponseModel is 同城购定制发品编辑 成功返回结果
type AlibabaPerfectPerformanceLocalitemPublishAPIRequest ¶ added in v1.2.0
type AlibabaPerfectPerformanceLocalitemPublishAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaPerfectPerformanceLocalitemPublishAPIRequest 同城购定制化发品 API请求 alibaba.perfect.performance.localitem.publish
同城购业务定制化发品接口,同城购业务线专用
func NewAlibabaPerfectPerformanceLocalitemPublishRequest ¶
func NewAlibabaPerfectPerformanceLocalitemPublishRequest() *AlibabaPerfectPerformanceLocalitemPublishAPIRequest
NewAlibabaPerfectPerformanceLocalitemPublishRequest 初始化AlibabaPerfectPerformanceLocalitemPublishAPIRequest对象
func (AlibabaPerfectPerformanceLocalitemPublishAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaPerfectPerformanceLocalitemPublishAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaPerfectPerformanceLocalitemPublishAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaPerfectPerformanceLocalitemPublishAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaPerfectPerformanceLocalitemPublishAPIRequest) GetParamPerfectPerformanceItemPublishReq ¶ added in v1.2.0
func (r AlibabaPerfectPerformanceLocalitemPublishAPIRequest) GetParamPerfectPerformanceItemPublishReq() *PerfectPerformanceItemPublishReq
GetParamPerfectPerformanceItemPublishReq ParamPerfectPerformanceItemPublishReq Getter
func (*AlibabaPerfectPerformanceLocalitemPublishAPIRequest) SetParamPerfectPerformanceItemPublishReq ¶ added in v1.2.0
func (r *AlibabaPerfectPerformanceLocalitemPublishAPIRequest) SetParamPerfectPerformanceItemPublishReq(_paramPerfectPerformanceItemPublishReq *PerfectPerformanceItemPublishReq) error
SetParamPerfectPerformanceItemPublishReq is ParamPerfectPerformanceItemPublishReq Setter 请求参数
type AlibabaPerfectPerformanceLocalitemPublishAPIResponse ¶
type AlibabaPerfectPerformanceLocalitemPublishAPIResponse struct { model.CommonResponse AlibabaPerfectPerformanceLocalitemPublishAPIResponseModel }
AlibabaPerfectPerformanceLocalitemPublishAPIResponse 同城购定制化发品 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"` }
AlibabaPerfectPerformanceLocalitemPublishAPIResponseModel is 同城购定制化发品 成功返回结果
type BaseResult ¶
type BaseResult struct { // 返回的执行状态吗 Code string `json:"code,omitempty" xml:"code,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回的数据实体 Data *PerfectPerformanceItemPublishResp `json:"data,omitempty" xml:"data,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 { // 完美履约门店列表 TcStoreList []TcStoreList `json:"tc_store_list,omitempty" xml:"tc_store_list>tc_store_list,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"` // 是否完美履约商品 IsTcItem bool `json:"is_tc_item,omitempty" xml:"is_tc_item,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"` // 商品体积 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"` // 商品数量 ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"` }
PerfectItemBaseInfoDto 结构体
type PerfectItemDescribeInfoDto ¶
type PerfectItemDescribeInfoDto struct { // 商品图片 ItemPictures []string `json:"item_pictures,omitempty" xml:"item_pictures>string,omitempty"` // 详情描述 Description string `json:"description,omitempty" xml:"description,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条码 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关联货品 ScProductInfo *PerfectScProductInfoDto `json:"sc_product_info,omitempty" xml:"sc_product_info,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 { // 商品sku列表 ItemSkuInfos []PerfectItemSkuInfoDto `json:"item_sku_infos,omitempty" xml:"item_sku_infos>perfect_item_sku_info_dto,omitempty"` // 商品编码 ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"` // 商品描述信息 DescribeInfo *PerfectItemDescribeInfoDto `json:"describe_info,omitempty" xml:"describe_info,omitempty"` // 商品基本信息 ItemBaseInfo *PerfectItemBaseInfoDto `json:"item_base_info,omitempty" xml:"item_base_info,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"` }
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 结构体
Source Files ¶
- AlibabaPerfectPerformanceItemQueryAPIRequest.go
- AlibabaPerfectPerformanceItemQueryAPIResponse.go
- AlibabaPerfectPerformanceLocalitemEditAPIRequest.go
- AlibabaPerfectPerformanceLocalitemEditAPIResponse.go
- AlibabaPerfectPerformanceLocalitemPublishAPIRequest.go
- AlibabaPerfectPerformanceLocalitemPublishAPIResponse.go
- BaseResult.go
- ItemPerfectPerformanceQueryReq.go
- ItemPerfectPerformanceQueryResp.go
- PerfectItemBaseInfoDto.go
- PerfectItemDescribeInfoDto.go
- PerfectItemLogisticsInfoDto.go
- PerfectItemProductInfoDto.go
- PerfectItemSkuInfoDto.go
- PerfectItemTradeInfoDto.go
- PerfectPerformanceItemPublishReq.go
- PerfectPerformanceItemPublishResp.go
- PerfectSalePropertyDto.go
- PerfectScProductInfoDto.go
- TcStoreList.go
- doc.go