warehouse_createBatch_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 OutWarehouseListItem

type OutWarehouseListItem struct {
	// 外部仓库ID,一个店铺下,同一个外部ID只能创建一个仓库
	OutWarehouseId string `json:"out_warehouse_id"`
	// 仓库名称
	Name string `json:"name"`
	// 仓库介绍
	Intro string `json:"intro"`
	// 仓地址详细地址,苹果门店店铺、超市小时达店铺建仓必传
	AddressDetail *string `json:"address_detail"`
	// 仓地址编码  苹果门店店铺、超市小时达店铺建仓必传
	WarehouseLocation *WarehouseLocation `json:"warehouse_location"`
}

type WarehouseCreateBatchParam

type WarehouseCreateBatchParam struct {
	// 外部仓信息列表
	OutWarehouseList []OutWarehouseListItem `json:"out_warehouse_list"`
}

type WarehouseCreateBatchRequest

type WarehouseCreateBatchRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *WarehouseCreateBatchParam
}

func (*WarehouseCreateBatchRequest) Execute

func (c *WarehouseCreateBatchRequest) Execute(accessToken *doudian_sdk.AccessToken) (*warehouse_createBatch_response.WarehouseCreateBatchResponse, error)

func (*WarehouseCreateBatchRequest) GetParamObject

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

func (*WarehouseCreateBatchRequest) GetParams

func (*WarehouseCreateBatchRequest) GetUrlPath

func (c *WarehouseCreateBatchRequest) GetUrlPath() string

type WarehouseLocation

type WarehouseLocation struct {
	// 省地址编码
	AddressId1 *int64 `json:"address_id1"`
	// 市地址编码
	AddressId2 *int64 `json:"address_id2"`
	// 区地址编码
	AddressId3 *int64 `json:"address_id3"`
	// 街道地址编码
	AddressId4 *int64 `json:"address_id4"`
}

Jump to

Keyboard shortcuts

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