product_detail_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 ProductDetailParam

type ProductDetailParam struct {
	// 商品ID,抖店系统生成,店铺下唯一;长度19位
	ProductId *string `json:"product_id"`
	// 外部商家编码,商家自定义字段
	OutProductId *string `json:"out_product_id"`
	// true:读取草稿数据;false:读取线上数据;不传默认为false
	ShowDraft *string `json:"show_draft"`
	// 门店ID,不建议小时达一期用
	StoreId int64 `json:"store_id"`
}

type ProductDetailRequest

type ProductDetailRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *ProductDetailParam
}

func New

func New() *ProductDetailRequest

func (*ProductDetailRequest) Execute

func (c *ProductDetailRequest) Execute(accessToken *doudian_sdk.AccessToken) (*product_detail_response.ProductDetailResponse, error)

func (*ProductDetailRequest) GetParamObject

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

func (*ProductDetailRequest) GetParams

func (c *ProductDetailRequest) GetParams() *ProductDetailParam

func (*ProductDetailRequest) GetUrlPath

func (c *ProductDetailRequest) GetUrlPath() string

Jump to

Keyboard shortcuts

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