logistics_getOutRange_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 DeliveryReq

type DeliveryReq struct {
	// 是否接受仅镇中心派送  目前仅支持德邦
	IsCenterDelivery *bool `json:"is_center_delivery"`
	// 是否接受合伙人自提,目前仅支持德邦
	IsPickupSelf *bool `json:"is_pickup_self"`
}

type LogisticsGetOutRangeParam

type LogisticsGetOutRangeParam struct {
	// 快递公司编码
	LogisticsCode string `json:"logistics_code"`
	// 发货地址
	SenderAddress *SenderAddress `json:"sender_address"`
	// 收件地址
	ReceiverAddress *ReceiverAddress `json:"receiver_address"`
	// 类型(0-揽派合一;1-揽收区域;2-派送区域) 0:取senderAddress, receiverAddress值 1:取senderAddress值 2:取receiverAddress值
	Type int16 `json:"type"`
	// 增值服务 目前只支持德邦
	ServiceList []ServiceListItem `json:"service_list"`
	// 产品类型 目前只支持德邦
	ProductType *string `json:"product_type"`
	// 投递要求 目前只支持德邦
	DeliveryReq *DeliveryReq `json:"delivery_req"`
}

type LogisticsGetOutRangeRequest

type LogisticsGetOutRangeRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *LogisticsGetOutRangeParam
}

func (*LogisticsGetOutRangeRequest) Execute

func (c *LogisticsGetOutRangeRequest) Execute(accessToken *doudian_sdk.AccessToken) (*logistics_getOutRange_response.LogisticsGetOutRangeResponse, error)

func (*LogisticsGetOutRangeRequest) GetParamObject

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

func (*LogisticsGetOutRangeRequest) GetParams

func (*LogisticsGetOutRangeRequest) GetUrlPath

func (c *LogisticsGetOutRangeRequest) GetUrlPath() string

type ReceiverAddress

type ReceiverAddress struct {
	// CHN
	CountryCode string `json:"country_code"`
	// 省份名称
	ProvinceName string `json:"province_name"`
	// 城市名称
	CityName string `json:"city_name"`
	// 区名称
	DistrictName string `json:"district_name"`
	// 街道名称
	StreetName *string `json:"street_name"`
	// 详细地址,支持密文
	DetailAddress string `json:"detail_address"`
}

type SenderAddress

type SenderAddress struct {
	// CHN
	CountryCode string `json:"country_code"`
	// 省份名称
	ProvinceName string `json:"province_name"`
	// 城市名称
	CityName string `json:"city_name"`
	// 区名称
	DistrictName string `json:"district_name"`
	// 街道名称
	StreetName *string `json:"street_name"`
	// 详细地址
	DetailAddress string `json:"detail_address"`
}

type ServiceListItem

type ServiceListItem struct {
	// code
	ServiceCode *string `json:"service_code"`
	// value
	ServiceValue *string `json:"service_value"`
}

Jump to

Keyboard shortcuts

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