Documentation ¶
Index ¶
- type Address
- type Contact
- type ItemsItem
- type LogisticsUpdateOrderParam
- type LogisticsUpdateOrderRequest
- func (c *LogisticsUpdateOrderRequest) Execute(accessToken *doudian_sdk.AccessToken) (*logistics_updateOrder_response.LogisticsUpdateOrderResponse, error)
- func (c *LogisticsUpdateOrderRequest) GetParamObject() interface{}
- func (c *LogisticsUpdateOrderRequest) GetParams() *LogisticsUpdateOrderParam
- func (c *LogisticsUpdateOrderRequest) GetUrlPath() string
- type ReceiverInfo
- type SenderInfo
- type Warehouse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { // 国家编码(默认CHN,目前只有国内业务) CountryCode string `json:"country_code"` // 省名称 ProvinceName string `json:"province_name"` // 市名称 CityName string `json:"city_name"` // 区/县名称 DistrictName string `json:"district_name"` // 街道名称。街道名称(street_name)和街道code(street_code),若传入时,需要一起传入。 StreetName string `json:"street_name"` // 剩余详细地址,支持密文 DetailAddress string `json:"detail_address"` // 省code编码 ProvinceCode string `json:"province_code"` // 市code编码 CityCode string `json:"city_code"` // 区code编码 DistrictCode string `json:"district_code"` // 街道code编码 StreetCode string `json:"street_code"` }
type ItemsItem ¶
type ItemsItem struct { // 商品名称 ItemName string `json:"item_name"` // 商品规格 ItemSpecs string `json:"item_specs"` // 商品数量 ItemCount int32 `json:"item_count"` // 单件商品体积(cm3) ItemVolume int32 `json:"item_volume"` // 单件商品重量(g) ItemWeight int32 `json:"item_weight"` // 单件总净重量(g) ItemNetWeight int32 `json:"item_net_weight"` }
type LogisticsUpdateOrderParam ¶
type LogisticsUpdateOrderParam struct { // 寄件人信息 SenderInfo *SenderInfo `json:"sender_info"` // 收件人信息 ReceiverInfo *ReceiverInfo `json:"receiver_info"` // 物流服务商编码 LogisticsCode string `json:"logistics_code"` // 运单号 TrackNo string `json:"track_no"` // 商品明细列表 Items []ItemsItem `json:"items"` // 备注 Remark string `json:"remark"` // 备用扩展字段 Extra string `json:"extra"` // 实际使用取号服务店铺user_id UserId int64 `json:"user_id"` // 总体积 货物的总体积或长,宽,高 ;整数 单位cm Volume string `json:"volume"` // /总重量 ;整数 用于与快递商有计抛信任协议的商家)单位克 Weight int64 `json:"weight"` // 仓、门店、总对总发货 Warehouse *Warehouse `json:"warehouse"` }
type LogisticsUpdateOrderRequest ¶
type LogisticsUpdateOrderRequest struct { doudian_sdk.BaseDoudianOpApiRequest Param *LogisticsUpdateOrderParam }
func New ¶
func New() *LogisticsUpdateOrderRequest
func (*LogisticsUpdateOrderRequest) Execute ¶
func (c *LogisticsUpdateOrderRequest) Execute(accessToken *doudian_sdk.AccessToken) (*logistics_updateOrder_response.LogisticsUpdateOrderResponse, error)
func (*LogisticsUpdateOrderRequest) GetParamObject ¶
func (c *LogisticsUpdateOrderRequest) GetParamObject() interface{}
func (*LogisticsUpdateOrderRequest) GetParams ¶
func (c *LogisticsUpdateOrderRequest) GetParams() *LogisticsUpdateOrderParam
func (*LogisticsUpdateOrderRequest) GetUrlPath ¶
func (c *LogisticsUpdateOrderRequest) GetUrlPath() string
type ReceiverInfo ¶
type SenderInfo ¶
type SenderInfo struct { // 寄件人联系信息 Contact *Contact `json:"contact"` }
Click to show internal directories.
Click to hide internal directories.