icbushowcase

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package icbushowcase 包含ICBU-橱相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabascbpshowcaseaddproductAPIRequest added in v1.3.1

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

AlibabascbpshowcaseaddproductAPIRequest 批量添加橱窗商品 API请求 alibaba.scbp.showcase.addproduct

批量添加商品到橱窗

func NewAlibabascbpshowcaseaddproductRequest added in v1.3.1

func NewAlibabascbpshowcaseaddproductRequest() *AlibabascbpshowcaseaddproductAPIRequest

NewAlibabascbpshowcaseaddproductRequest 初始化AlibabascbpshowcaseaddproductAPIRequest对象

func (AlibabascbpshowcaseaddproductAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabascbpshowcaseaddproductAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabascbpshowcaseaddproductAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabascbpshowcaseaddproductAPIRequest) GetProductIdList added in v1.3.1

func (r AlibabascbpshowcaseaddproductAPIRequest) GetProductIdList() []string

GetProductIdList ProductIdList Getter

func (AlibabascbpshowcaseaddproductAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabascbpshowcaseaddproductAPIRequest) SetProductIdList added in v1.3.1

func (r *AlibabascbpshowcaseaddproductAPIRequest) SetProductIdList(_productIdList []string) error

SetProductIdList is ProductIdList Setter 需要添加的产品ids

type AlibabascbpshowcaseaddproductAPIResponse added in v1.3.1

type AlibabascbpshowcaseaddproductAPIResponse struct {
	model.CommonResponse
	AlibabascbpshowcaseaddproductAPIResponseModel
}

AlibabascbpshowcaseaddproductAPIResponse 批量添加橱窗商品 API返回值 alibaba.scbp.showcase.addproduct

批量添加商品到橱窗

type AlibabascbpshowcaseaddproductAPIResponseModel added in v1.3.1

type AlibabascbpshowcaseaddproductAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_scbp_showcase_addproduct_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否添加成功
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabascbpshowcaseaddproductAPIResponseModel is 批量添加橱窗商品 成功返回结果

type AlibabascbpshowcasedeleteproductAPIRequest added in v1.3.1

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

AlibabascbpshowcasedeleteproductAPIRequest 批量删除橱窗商品 API请求 alibaba.scbp.showcase.deleteproduct

批量删除橱窗商品

func NewAlibabascbpshowcasedeleteproductRequest added in v1.3.1

func NewAlibabascbpshowcasedeleteproductRequest() *AlibabascbpshowcasedeleteproductAPIRequest

NewAlibabascbpshowcasedeleteproductRequest 初始化AlibabascbpshowcasedeleteproductAPIRequest对象

func (AlibabascbpshowcasedeleteproductAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabascbpshowcasedeleteproductAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabascbpshowcasedeleteproductAPIRequest) GetRawParams added in v1.3.1

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

func (AlibabascbpshowcasedeleteproductAPIRequest) GetWindowIdList added in v1.3.1

func (r AlibabascbpshowcasedeleteproductAPIRequest) GetWindowIdList() []string

GetWindowIdList WindowIdList Getter

func (*AlibabascbpshowcasedeleteproductAPIRequest) SetWindowIdList added in v1.3.1

func (r *AlibabascbpshowcasedeleteproductAPIRequest) SetWindowIdList(_windowIdList []string) error

SetWindowIdList is WindowIdList Setter 橱窗idList

type AlibabascbpshowcasedeleteproductAPIResponse added in v1.3.1

type AlibabascbpshowcasedeleteproductAPIResponse struct {
	model.CommonResponse
	AlibabascbpshowcasedeleteproductAPIResponseModel
}

AlibabascbpshowcasedeleteproductAPIResponse 批量删除橱窗商品 API返回值 alibaba.scbp.showcase.deleteproduct

批量删除橱窗商品

type AlibabascbpshowcasedeleteproductAPIResponseModel added in v1.3.1

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

AlibabascbpshowcasedeleteproductAPIResponseModel is 批量删除橱窗商品 成功返回结果

type AlibabascbpshowcaselistAPIRequest added in v1.3.1

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

AlibabascbpshowcaselistAPIRequest 橱窗查询 API请求 alibaba.scbp.showcase.list

橱窗查询

func NewAlibabascbpshowcaselistRequest added in v1.3.1

func NewAlibabascbpshowcaselistRequest() *AlibabascbpshowcaselistAPIRequest

NewAlibabascbpshowcaselistRequest 初始化AlibabascbpshowcaselistAPIRequest对象

func (AlibabascbpshowcaselistAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabascbpshowcaselistAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabascbpshowcaselistAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabascbpshowcaselistAPIRequest) GetPerPageSize added in v1.3.1

func (r AlibabascbpshowcaselistAPIRequest) GetPerPageSize() int64

GetPerPageSize PerPageSize Getter

func (AlibabascbpshowcaselistAPIRequest) GetRawParams added in v1.3.1

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

func (AlibabascbpshowcaselistAPIRequest) GetToPage added in v1.3.1

GetToPage ToPage Getter

func (*AlibabascbpshowcaselistAPIRequest) SetPerPageSize added in v1.3.1

func (r *AlibabascbpshowcaselistAPIRequest) SetPerPageSize(_perPageSize int64) error

SetPerPageSize is PerPageSize Setter 每页展示个数

func (*AlibabascbpshowcaselistAPIRequest) SetToPage added in v1.3.1

func (r *AlibabascbpshowcaselistAPIRequest) SetToPage(_toPage int64) error

SetToPage is ToPage Setter 页码

type AlibabascbpshowcaselistAPIResponse added in v1.3.1

type AlibabascbpshowcaselistAPIResponse struct {
	model.CommonResponse
	AlibabascbpshowcaselistAPIResponseModel
}

AlibabascbpshowcaselistAPIResponse 橱窗查询 API返回值 alibaba.scbp.showcase.list

橱窗查询

type AlibabascbpshowcaselistAPIResponseModel added in v1.3.1

type AlibabascbpshowcaselistAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_scbp_showcase_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Results []Showcase `json:"results,omitempty" xml:"results>showcase,omitempty"`
}

AlibabascbpshowcaselistAPIResponseModel is 橱窗查询 成功返回结果

type AlibabascbpshowcasesortAPIRequest added in v1.3.1

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

AlibabascbpshowcasesortAPIRequest 橱窗顺序变更 API请求 alibaba.scbp.showcase.sort

橱窗顺序变更

func NewAlibabascbpshowcasesortRequest added in v1.3.1

func NewAlibabascbpshowcasesortRequest() *AlibabascbpshowcasesortAPIRequest

NewAlibabascbpshowcasesortRequest 初始化AlibabascbpshowcasesortAPIRequest对象

func (AlibabascbpshowcasesortAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabascbpshowcasesortAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabascbpshowcasesortAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabascbpshowcasesortAPIRequest) GetRawParams added in v1.3.1

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

func (AlibabascbpshowcasesortAPIRequest) GetSourceOrder added in v1.3.1

func (r AlibabascbpshowcasesortAPIRequest) GetSourceOrder() int64

GetSourceOrder SourceOrder Getter

func (AlibabascbpshowcasesortAPIRequest) GetTargetOrder added in v1.3.1

func (r AlibabascbpshowcasesortAPIRequest) GetTargetOrder() int64

GetTargetOrder TargetOrder Getter

func (AlibabascbpshowcasesortAPIRequest) GetWindowId added in v1.3.1

func (r AlibabascbpshowcasesortAPIRequest) GetWindowId() int64

GetWindowId WindowId Getter

func (*AlibabascbpshowcasesortAPIRequest) SetSourceOrder added in v1.3.1

func (r *AlibabascbpshowcasesortAPIRequest) SetSourceOrder(_sourceOrder int64) error

SetSourceOrder is SourceOrder Setter 当前位置(从1开始)

func (*AlibabascbpshowcasesortAPIRequest) SetTargetOrder added in v1.3.1

func (r *AlibabascbpshowcasesortAPIRequest) SetTargetOrder(_targetOrder int64) error

SetTargetOrder is TargetOrder Setter 目标位置(从1开始)

func (*AlibabascbpshowcasesortAPIRequest) SetWindowId added in v1.3.1

func (r *AlibabascbpshowcasesortAPIRequest) SetWindowId(_windowId int64) error

SetWindowId is WindowId Setter 要移动的橱窗id

type AlibabascbpshowcasesortAPIResponse added in v1.3.1

type AlibabascbpshowcasesortAPIResponse struct {
	model.CommonResponse
	AlibabascbpshowcasesortAPIResponseModel
}

AlibabascbpshowcasesortAPIResponse 橱窗顺序变更 API返回值 alibaba.scbp.showcase.sort

橱窗顺序变更

type AlibabascbpshowcasesortAPIResponseModel added in v1.3.1

type AlibabascbpshowcasesortAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_scbp_showcase_sort_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否更新成功
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabascbpshowcasesortAPIResponseModel is 橱窗顺序变更 成功返回结果

type AlibabascbpshowcasestatusAPIRequest added in v1.3.1

type AlibabascbpshowcasestatusAPIRequest struct {
	model.Params
}

AlibabascbpshowcasestatusAPIRequest 橱窗状态 API请求 alibaba.scbp.showcase.status

查询橱窗状态,如总数、可用数量

func NewAlibabascbpshowcasestatusRequest added in v1.3.1

func NewAlibabascbpshowcasestatusRequest() *AlibabascbpshowcasestatusAPIRequest

NewAlibabascbpshowcasestatusRequest 初始化AlibabascbpshowcasestatusAPIRequest对象

func (AlibabascbpshowcasestatusAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabascbpshowcasestatusAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabascbpshowcasestatusAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabascbpshowcasestatusAPIRequest) GetRawParams added in v1.3.1

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

type AlibabascbpshowcasestatusAPIResponse added in v1.3.1

type AlibabascbpshowcasestatusAPIResponse struct {
	model.CommonResponse
	AlibabascbpshowcasestatusAPIResponseModel
}

AlibabascbpshowcasestatusAPIResponse 橱窗状态 API返回值 alibaba.scbp.showcase.status

查询橱窗状态,如总数、可用数量

type AlibabascbpshowcasestatusAPIResponseModel added in v1.3.1

type AlibabascbpshowcasestatusAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_scbp_showcase_status_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 全部橱窗数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 当前已用的橱窗数
	CurrentCount int64 `json:"current_count,omitempty" xml:"current_count,omitempty"`
}

AlibabascbpshowcasestatusAPIResponseModel is 橱窗状态 成功返回结果

type AlibabascbpshowcaseupdateproductAPIRequest added in v1.3.1

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

AlibabascbpshowcaseupdateproductAPIRequest 替换橱窗商品 API请求 alibaba.scbp.showcase.updateproduct

替换橱窗商品

func NewAlibabascbpshowcaseupdateproductRequest added in v1.3.1

func NewAlibabascbpshowcaseupdateproductRequest() *AlibabascbpshowcaseupdateproductAPIRequest

NewAlibabascbpshowcaseupdateproductRequest 初始化AlibabascbpshowcaseupdateproductAPIRequest对象

func (AlibabascbpshowcaseupdateproductAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabascbpshowcaseupdateproductAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabascbpshowcaseupdateproductAPIRequest) GetNewProductId added in v1.3.1

GetNewProductId NewProductId Getter

func (AlibabascbpshowcaseupdateproductAPIRequest) GetRawParams added in v1.3.1

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

func (AlibabascbpshowcaseupdateproductAPIRequest) GetWindowId added in v1.3.1

GetWindowId WindowId Getter

func (*AlibabascbpshowcaseupdateproductAPIRequest) SetNewProductId added in v1.3.1

func (r *AlibabascbpshowcaseupdateproductAPIRequest) SetNewProductId(_newProductId int64) error

SetNewProductId is NewProductId Setter 新的商品id

func (*AlibabascbpshowcaseupdateproductAPIRequest) SetWindowId added in v1.3.1

func (r *AlibabascbpshowcaseupdateproductAPIRequest) SetWindowId(_windowId int64) error

SetWindowId is WindowId Setter 橱窗id

type AlibabascbpshowcaseupdateproductAPIResponse added in v1.3.1

type AlibabascbpshowcaseupdateproductAPIResponse struct {
	model.CommonResponse
	AlibabascbpshowcaseupdateproductAPIResponseModel
}

AlibabascbpshowcaseupdateproductAPIResponse 替换橱窗商品 API返回值 alibaba.scbp.showcase.updateproduct

替换橱窗商品

type AlibabascbpshowcaseupdateproductAPIResponseModel added in v1.3.1

type AlibabascbpshowcaseupdateproductAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_scbp_showcase_updateproduct_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否修改成功
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabascbpshowcaseupdateproductAPIResponseModel is 替换橱窗商品 成功返回结果

type Showcase

type Showcase struct {
	// 产品描述
	Subject string `json:"subject,omitempty" xml:"subject,omitempty"`
	// 产品主图
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 橱窗id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 产品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// valid
	Valid bool `json:"valid,omitempty" xml:"valid,omitempty"`
}

Showcase 结构体

Jump to

Keyboard shortcuts

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