Documentation ¶
Index ¶
- type Address
- type CargoListItem
- type City
- type Contact
- type LogisticsRegisterPackageRouteParam
- type LogisticsRegisterPackageRouteRequest
- func (c *LogisticsRegisterPackageRouteRequest) Execute(accessToken *doudian_sdk.AccessToken) (*logistics_registerPackageRoute_response.LogisticsRegisterPackageRouteResponse, ...)
- func (c *LogisticsRegisterPackageRouteRequest) GetParamObject() interface{}
- func (c *LogisticsRegisterPackageRouteRequest) GetParams() *LogisticsRegisterPackageRouteParam
- func (c *LogisticsRegisterPackageRouteRequest) GetUrlPath() string
- type Province
- type Receiver
- type Sender
- type Street
- type Town
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CargoListItem ¶
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 New ¶
func New() *LogisticsRegisterPackageRouteRequest
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 (c *LogisticsRegisterPackageRouteRequest) GetParams() *LogisticsRegisterPackageRouteParam
func (*LogisticsRegisterPackageRouteRequest) GetUrlPath ¶
func (c *LogisticsRegisterPackageRouteRequest) GetUrlPath() string
Click to show internal directories.
Click to hide internal directories.