logistics_registerPackageRoute_request

package
v1.0.2 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 Address

type Address struct {
	// 省
	Province *Province `json:"province"`
	// 市
	City *City `json:"city"`
	// 区
	Town *Town `json:"town"`
	// 街道
	Street *Street `json:"street"`
	// 详细地址
	Detail string `json:"detail"`
}

type CargoListItem

type CargoListItem struct {
	// 名称
	Name string `json:"name"`
	// 质量
	Quantity int32 `json:"quantity"`
	// 体积
	Volume int32 `json:"volume"`
	// 总重
	TotalWeight int32 `json:"total_weight"`
	// 净重
	TotalNetWeight int32 `json:"total_net_weight"`
	// 单位
	Unit string `json:"unit"`
}

type City

type City struct {
	// 市
	Name string `json:"name"`
	// code
	Code string `json:"code"`
}

type Contact

type Contact struct {
	// 姓名
	Name string `json:"name"`
	// 手机号
	Phone string `json:"phone"`
	// 邮箱
	Email string `json:"email"`
}

type LogisticsRegisterPackageRouteParam

type LogisticsRegisterPackageRouteParam struct {
	// 物流商
	Express string `json:"express"`
	// 运单号
	TrackNo string `json:"track_no"`
	// 外部单据id
	OuterOrderId string `json:"outer_order_id"`
	// 外部子单据id
	OuterSubOrderId string `json:"outer_sub_order_id"`
	// 回调url
	CallbackUrl string `json:"callback_url"`
	// 收件人
	Receiver *Receiver `json:"receiver"`
	// 寄件人
	Sender *Sender `json:"sender"`
	// 货品列表
	CargoList []CargoListItem `json:"cargo_list"`
	// 拓展
	Extend map[string]string `json:"extend"`
}

type LogisticsRegisterPackageRouteRequest

type LogisticsRegisterPackageRouteRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *LogisticsRegisterPackageRouteParam
}

func (*LogisticsRegisterPackageRouteRequest) Execute

func (c *LogisticsRegisterPackageRouteRequest) Execute(accessToken *doudian_sdk.AccessToken) (*logistics_registerPackageRoute_response.LogisticsRegisterPackageRouteResponse, error)

func (*LogisticsRegisterPackageRouteRequest) GetParamObject

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

func (*LogisticsRegisterPackageRouteRequest) GetParams

func (*LogisticsRegisterPackageRouteRequest) GetUrlPath

type Province

type Province struct {
	// 省
	Name string `json:"name"`
	// code
	Code string `json:"code"`
}

type Receiver

type Receiver struct {
	// 联系人
	Contact *Contact `json:"contact"`
	// 地址
	Address *Address `json:"address"`
}

type Sender

type Sender struct {
	// 联系人
	Contact *Contact `json:"contact"`
	// 地址
	Address *Address `json:"address"`
}

type Street

type Street struct {
	// 街道
	Name string `json:"name"`
	// code
	Code string `json:"code"`
}

type Town

type Town struct {
	// 区
	Name string `json:"name"`
	// code
	Code string `json:"code"`
}

Jump to

Keyboard shortcuts

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