Documentation
¶
Index ¶
- type DeliveryReq
- type LogisticsGetOutRangeParam
- type LogisticsGetOutRangeRequest
- func (c *LogisticsGetOutRangeRequest) Execute(accessToken *doudian_sdk.AccessToken) (*logistics_getOutRange_response.LogisticsGetOutRangeResponse, error)
- func (c *LogisticsGetOutRangeRequest) GetParamObject() interface{}
- func (c *LogisticsGetOutRangeRequest) GetParams() *LogisticsGetOutRangeParam
- func (c *LogisticsGetOutRangeRequest) GetUrlPath() string
- type ReceiverAddress
- type SenderAddress
- type ServiceListItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeliveryReq ¶
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 New ¶
func New() *LogisticsGetOutRangeRequest
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 (c *LogisticsGetOutRangeRequest) GetParams() *LogisticsGetOutRangeParam
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 ¶
Click to show internal directories.
Click to hide internal directories.