icbushowcase

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaScbpShowcaseAddproductAPIRequest added in v1.2.0

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

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

批量添加商品到橱窗

func NewAlibabaScbpShowcaseAddproductRequest

func NewAlibabaScbpShowcaseAddproductRequest() *AlibabaScbpShowcaseAddproductAPIRequest

NewAlibabaScbpShowcaseAddproductRequest 初始化AlibabaScbpShowcaseAddproductAPIRequest对象

func (AlibabaScbpShowcaseAddproductAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaScbpShowcaseAddproductAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaScbpShowcaseAddproductAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaScbpShowcaseAddproductAPIRequest) GetProductIdList added in v1.2.0

func (r AlibabaScbpShowcaseAddproductAPIRequest) GetProductIdList() []int64

GetProductIdList ProductIdList Getter

func (*AlibabaScbpShowcaseAddproductAPIRequest) SetProductIdList added in v1.2.0

func (r *AlibabaScbpShowcaseAddproductAPIRequest) SetProductIdList(_productIdList []int64) error

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

type AlibabaScbpShowcaseAddproductAPIResponse

type AlibabaScbpShowcaseAddproductAPIResponse struct {
	model.CommonResponse
	AlibabaScbpShowcaseAddproductAPIResponseModel
}

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

批量添加商品到橱窗

type AlibabaScbpShowcaseAddproductAPIResponseModel added in v1.2.0

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.2.0

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

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

批量删除橱窗商品

func NewAlibabaScbpShowcaseDeleteproductRequest

func NewAlibabaScbpShowcaseDeleteproductRequest() *AlibabaScbpShowcaseDeleteproductAPIRequest

NewAlibabaScbpShowcaseDeleteproductRequest 初始化AlibabaScbpShowcaseDeleteproductAPIRequest对象

func (AlibabaScbpShowcaseDeleteproductAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaScbpShowcaseDeleteproductAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaScbpShowcaseDeleteproductAPIRequest) GetWindowIdList added in v1.2.0

func (r AlibabaScbpShowcaseDeleteproductAPIRequest) GetWindowIdList() []int64

GetWindowIdList WindowIdList Getter

func (*AlibabaScbpShowcaseDeleteproductAPIRequest) SetWindowIdList added in v1.2.0

func (r *AlibabaScbpShowcaseDeleteproductAPIRequest) SetWindowIdList(_windowIdList []int64) error

SetWindowIdList is WindowIdList Setter 橱窗idList

type AlibabaScbpShowcaseDeleteproductAPIResponse

type AlibabaScbpShowcaseDeleteproductAPIResponse struct {
	model.CommonResponse
	AlibabaScbpShowcaseDeleteproductAPIResponseModel
}

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

批量删除橱窗商品

type AlibabaScbpShowcaseDeleteproductAPIResponseModel added in v1.2.0

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.2.0

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

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

橱窗查询

func NewAlibabaScbpShowcaseListRequest

func NewAlibabaScbpShowcaseListRequest() *AlibabaScbpShowcaseListAPIRequest

NewAlibabaScbpShowcaseListRequest 初始化AlibabaScbpShowcaseListAPIRequest对象

func (AlibabaScbpShowcaseListAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaScbpShowcaseListAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaScbpShowcaseListAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaScbpShowcaseListAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaScbpShowcaseListAPIRequest) GetPerPageSize added in v1.2.0

func (r AlibabaScbpShowcaseListAPIRequest) GetPerPageSize() int64

GetPerPageSize PerPageSize Getter

func (AlibabaScbpShowcaseListAPIRequest) GetToPage added in v1.2.0

GetToPage ToPage Getter

func (*AlibabaScbpShowcaseListAPIRequest) SetPerPageSize added in v1.2.0

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

SetPerPageSize is PerPageSize Setter 每页展示个数

func (*AlibabaScbpShowcaseListAPIRequest) SetToPage added in v1.2.0

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

SetToPage is ToPage Setter 页码

type AlibabaScbpShowcaseListAPIResponse

type AlibabaScbpShowcaseListAPIResponse struct {
	model.CommonResponse
	AlibabaScbpShowcaseListAPIResponseModel
}

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

橱窗查询

type AlibabaScbpShowcaseListAPIResponseModel added in v1.2.0

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.2.0

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

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

橱窗顺序变更

func NewAlibabaScbpShowcaseSortRequest

func NewAlibabaScbpShowcaseSortRequest() *AlibabaScbpShowcaseSortAPIRequest

NewAlibabaScbpShowcaseSortRequest 初始化AlibabaScbpShowcaseSortAPIRequest对象

func (AlibabaScbpShowcaseSortAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaScbpShowcaseSortAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaScbpShowcaseSortAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaScbpShowcaseSortAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaScbpShowcaseSortAPIRequest) GetSourceOrder added in v1.2.0

func (r AlibabaScbpShowcaseSortAPIRequest) GetSourceOrder() int64

GetSourceOrder SourceOrder Getter

func (AlibabaScbpShowcaseSortAPIRequest) GetTargetOrder added in v1.2.0

func (r AlibabaScbpShowcaseSortAPIRequest) GetTargetOrder() int64

GetTargetOrder TargetOrder Getter

func (AlibabaScbpShowcaseSortAPIRequest) GetWindowId added in v1.2.0

func (r AlibabaScbpShowcaseSortAPIRequest) GetWindowId() int64

GetWindowId WindowId Getter

func (*AlibabaScbpShowcaseSortAPIRequest) SetSourceOrder added in v1.2.0

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

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

func (*AlibabaScbpShowcaseSortAPIRequest) SetTargetOrder added in v1.2.0

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

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

func (*AlibabaScbpShowcaseSortAPIRequest) SetWindowId added in v1.2.0

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

SetWindowId is WindowId Setter 要移动的橱窗id

type AlibabaScbpShowcaseSortAPIResponse

type AlibabaScbpShowcaseSortAPIResponse struct {
	model.CommonResponse
	AlibabaScbpShowcaseSortAPIResponseModel
}

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

橱窗顺序变更

type AlibabaScbpShowcaseSortAPIResponseModel added in v1.2.0

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.2.0

type AlibabaScbpShowcaseStatusAPIRequest struct {
	model.Params
}

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

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

func NewAlibabaScbpShowcaseStatusRequest

func NewAlibabaScbpShowcaseStatusRequest() *AlibabaScbpShowcaseStatusAPIRequest

NewAlibabaScbpShowcaseStatusRequest 初始化AlibabaScbpShowcaseStatusAPIRequest对象

func (AlibabaScbpShowcaseStatusAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaScbpShowcaseStatusAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaScbpShowcaseStatusAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

type AlibabaScbpShowcaseStatusAPIResponse

type AlibabaScbpShowcaseStatusAPIResponse struct {
	model.CommonResponse
	AlibabaScbpShowcaseStatusAPIResponseModel
}

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

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

type AlibabaScbpShowcaseStatusAPIResponseModel added in v1.2.0

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.2.0

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

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

替换橱窗商品

func NewAlibabaScbpShowcaseUpdateproductRequest

func NewAlibabaScbpShowcaseUpdateproductRequest() *AlibabaScbpShowcaseUpdateproductAPIRequest

NewAlibabaScbpShowcaseUpdateproductRequest 初始化AlibabaScbpShowcaseUpdateproductAPIRequest对象

func (AlibabaScbpShowcaseUpdateproductAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaScbpShowcaseUpdateproductAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaScbpShowcaseUpdateproductAPIRequest) GetNewProductId added in v1.2.0

GetNewProductId NewProductId Getter

func (AlibabaScbpShowcaseUpdateproductAPIRequest) GetWindowId added in v1.2.0

GetWindowId WindowId Getter

func (*AlibabaScbpShowcaseUpdateproductAPIRequest) SetNewProductId added in v1.2.0

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

SetNewProductId is NewProductId Setter 新的商品id

func (*AlibabaScbpShowcaseUpdateproductAPIRequest) SetWindowId added in v1.2.0

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

SetWindowId is WindowId Setter 橱窗id

type AlibabaScbpShowcaseUpdateproductAPIResponse

type AlibabaScbpShowcaseUpdateproductAPIResponse struct {
	model.CommonResponse
	AlibabaScbpShowcaseUpdateproductAPIResponseModel
}

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

替换橱窗商品

type AlibabaScbpShowcaseUpdateproductAPIResponseModel added in v1.2.0

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