warehouse_createV2_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 Warehouse

type Warehouse struct {
	// 仓的地址编码
	WarehouseLocation *WarehouseLocation `json:"warehouse_location"`
	// 仓的地址详情
	AddressDetail string `json:"address_detail"`
}

type WarehouseCreateV2Param

type WarehouseCreateV2Param struct {
	// 仓相关信息
	Warehouse *Warehouse `json:"warehouse"`
	// 外部仓ID
	OutWarehouseId string `json:"out_warehouse_id"`
	// 仓名称
	Name string `json:"name"`
	// 仓介绍
	Intro string `json:"intro"`
}

type WarehouseCreateV2Request

type WarehouseCreateV2Request struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *WarehouseCreateV2Param
}

func New

func (*WarehouseCreateV2Request) Execute

func (c *WarehouseCreateV2Request) Execute(accessToken *doudian_sdk.AccessToken) (*warehouse_createV2_response.WarehouseCreateV2Response, error)

func (*WarehouseCreateV2Request) GetParamObject

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

func (*WarehouseCreateV2Request) GetParams

func (*WarehouseCreateV2Request) GetUrlPath

func (c *WarehouseCreateV2Request) GetUrlPath() string

type WarehouseLocation

type WarehouseLocation struct {
	// 地址1级编码
	AddressId1 int64 `json:"address_id1"`
	// 地址2级编码
	AddressId2 int64 `json:"address_id2"`
	// 地址3级编码
	AddressId3 int64 `json:"address_id3"`
	// 地址4级编码
	AddressId4 int64 `json:"address_id4"`
}

Jump to

Keyboard shortcuts

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