product_del_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 ProductDelParam

type ProductDelParam struct {
	// 商品ID
	ProductId *int64 `json:"product_id"`
	// 外部商品ID
	OutProductId *int64 `json:"out_product_id"`
	// 是否彻底删除
	DeleteForever *bool `json:"delete_forever"`
	// 门店ID,不建议小时达一期用
	StoreId int64 `json:"store_id"`
}

type ProductDelRequest

type ProductDelRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *ProductDelParam
}

func New

func New() *ProductDelRequest

func (*ProductDelRequest) Execute

func (c *ProductDelRequest) Execute(accessToken *doudian_sdk.AccessToken) (*product_del_response.ProductDelResponse, error)

func (*ProductDelRequest) GetParamObject

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

func (*ProductDelRequest) GetParams

func (c *ProductDelRequest) GetParams() *ProductDelParam

func (*ProductDelRequest) GetUrlPath

func (c *ProductDelRequest) GetUrlPath() string

Jump to

Keyboard shortcuts

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