spu_getSpu_request

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MulanPSL-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 KeyPropertiesItem

type KeyPropertiesItem struct {
	// 属性ID
	PropertyId int64 `json:"property_id"`
	// 属性值
	PropertyValues []PropertyValuesItem `json:"property_values"`
}

type PropertyValuesItem

type PropertyValuesItem struct {
	// 属性值ID
	ValueId int64 `json:"value_id"`
	// 属性值
	ValueName string `json:"value_name"`
}

type SpuGetSpuParam

type SpuGetSpuParam struct {
	// 叶子类目ID
	CategoryLeafId int64 `json:"category_leaf_id"`
	// 关键属性
	KeyProperties []KeyPropertiesItem `json:"key_properties"`
	// SPU ID(传SPUID时,关键属性不用传,传关键属性时,SPU ID不用传,两个都传的情况下,会以SPU ID为准,查询SPU)
	SpuId int64 `json:"spu_id"`
}

type SpuGetSpuRequest

type SpuGetSpuRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *SpuGetSpuParam
}

func New

func New() *SpuGetSpuRequest

func (*SpuGetSpuRequest) Execute

func (c *SpuGetSpuRequest) Execute(accessToken *doudian_sdk.AccessToken) (*spu_getSpu_response.SpuGetSpuResponse, error)

func (*SpuGetSpuRequest) GetParamObject

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

func (*SpuGetSpuRequest) GetParams

func (c *SpuGetSpuRequest) GetParams() *SpuGetSpuParam

func (*SpuGetSpuRequest) GetUrlPath

func (c *SpuGetSpuRequest) GetUrlPath() string

Jump to

Keyboard shortcuts

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