spu_addShopSpu_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 PropertyInfosItem

type PropertyInfosItem struct {
	// 属性id
	PropertyId int64 `json:"property_id"`
	// 属性值id,可输入类型的属性valueId为0
	ValueId int64 `json:"value_id"`
	// 父属性值id
	ParentValueId *int64 `json:"parent_value_id"`
	// 属性层级
	Level *int64 `json:"level"`
	// 属性值名称,非可输入类型时不用传
	ValueName *string `json:"value_name"`
}

type SpuAddShopSpuParam

type SpuAddShopSpuParam struct {
	// spuName
	SpuName string `json:"spu_name"`
	// 产品唯一标识,没有填写空字符串
	UpcCode *string `json:"upc_code"`
	// 类目id
	CategoryId int64 `json:"category_id"`
	// 品牌id
	BrandId int64 `json:"brand_id"`
	// 属性信息
	PropertyInfos []PropertyInfosItem `json:"property_infos"`
}

type SpuAddShopSpuRequest

type SpuAddShopSpuRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *SpuAddShopSpuParam
}

func New

func New() *SpuAddShopSpuRequest

func (*SpuAddShopSpuRequest) Execute

func (c *SpuAddShopSpuRequest) Execute(accessToken *doudian_sdk.AccessToken) (*spu_addShopSpu_response.SpuAddShopSpuResponse, error)

func (*SpuAddShopSpuRequest) GetParamObject

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

func (*SpuAddShopSpuRequest) GetParams

func (c *SpuAddShopSpuRequest) GetParams() *SpuAddShopSpuParam

func (*SpuAddShopSpuRequest) GetUrlPath

func (c *SpuAddShopSpuRequest) GetUrlPath() string

Jump to

Keyboard shortcuts

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