brand_list_request

package
v1.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrandListParam

type BrandListParam struct {
	// (已停止使用)类目列表
	Categories []int64 `json:"categories"`
	// (已停止使用)起始位
	Offset *int64 `json:"offset"`
	// (已停止使用)单次最大条数
	Size *int64 `json:"size"`
	// (已停止使用)排序顺序,默认为倒排 0:降序, 1:升序
	Sort *int32 `json:"sort"`
	// (已停止使用)品牌状态 1:审核中, 2:审核通过, 3:审核拒绝
	Status *int32 `json:"status"`
	// (已停止使用)是否返回完全的品牌信息
	FullBrandInfo *bool `json:"full_brand_info"`
	// (推荐使用,必填)类目id
	CategoryId *int64 `json:"category_id"`
	// 品牌前缀(中文或者英文),适用于不需要品牌资质的场景,根据前缀搜索品牌
	Query *string `json:"query"`
	// (选填)品牌ids,传了品牌ids默认直接拿品牌id搜索并返回结果(放在brand_list里),不会使用其他入参
	BrandIds []int64 `json:"brand_ids"`
}

type BrandListRequest

type BrandListRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *BrandListParam
}

func New

func New() *BrandListRequest

func (*BrandListRequest) Execute

func (c *BrandListRequest) Execute(accessToken *doudian_sdk.AccessToken) (*brand_list_response.BrandListResponse, error)

func (*BrandListRequest) GetParamObject

func (c *BrandListRequest) GetParamObject() interface{}

func (*BrandListRequest) GetParams

func (c *BrandListRequest) GetParams() *BrandListParam

func (*BrandListRequest) GetUrlPath

func (c *BrandListRequest) GetUrlPath() string

Jump to

Keyboard shortcuts

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