Documentation ¶
Overview ¶
Package icbulogistics 包含ICBU-物流相关结构体
Index ¶
- type Address
- type AddressQueryDto
- type AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest
- func (r AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) GetApiMethodName() string
- func (r AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) GetParamQuery() *AddressQueryDto
- func (r AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) GetRawParams() model.Params
- func (r *AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) SetParamQuery(_paramQuery *AddressQueryDto) error
- type AlibabaonetouchlogisticsexpressaddresscitylistAPIResponse
- type AlibabaonetouchlogisticsexpressaddresscitylistAPIResponseModel
- type AlibabaonetouchlogisticsexpressaddresscitylistResult
- type AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest
- func (r AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) GetApiMethodName() string
- func (r AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) GetParamQuery() *AddressQueryDto
- func (r AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) GetRawParams() model.Params
- func (r *AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) SetParamQuery(_paramQuery *AddressQueryDto) error
- type AlibabaonetouchlogisticsexpressaddressdivisionlistAPIResponse
- type AlibabaonetouchlogisticsexpressaddressdivisionlistAPIResponseModel
- type AlibabaonetouchlogisticsexpressaddressdivisionlistResult
- type AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest
- func (r AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) GetApiMethodName() string
- func (r AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) GetParamQuery() *AddressQueryDto
- func (r AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) GetRawParams() model.Params
- func (r *AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) SetParamQuery(_paramQuery *AddressQueryDto) error
- type AlibabaonetouchlogisticsexpressaddressprovincelistAPIResponse
- type AlibabaonetouchlogisticsexpressaddressprovincelistAPIResponseModel
- type AlibabaonetouchlogisticsexpressaddressprovincelistResult
- type AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest
- func (r AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) GetApiMethodName() string
- func (r AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) GetParamQuery() *AddressQueryDto
- func (r AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) GetRawParams() model.Params
- func (r *AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) SetParamQuery(_paramQuery *AddressQueryDto) error
- type AlibabaonetouchlogisticsexpressaddressstreetlistAPIResponse
- type AlibabaonetouchlogisticsexpressaddressstreetlistAPIResponseModel
- type AlibabaonetouchlogisticsexpressaddressstreetlistResult
- type AlibabaonetouchlogisticsexpresschargecalculateAPIRequest
- func (r AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) GetApiMethodName() string
- func (r AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) GetParamnQuery() *PlaceOrderDto
- func (r AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) GetRawParams() model.Params
- func (r *AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) SetParamnQuery(_paramnQuery *PlaceOrderDto) error
- type AlibabaonetouchlogisticsexpresschargecalculateAPIResponse
- type AlibabaonetouchlogisticsexpresschargecalculateAPIResponseModel
- type AlibabaonetouchlogisticsexpresschargecalculateResult
- type AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest
- func (r AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) GetApiMethodName() string
- func (r AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) GetParamnQuery() *PlaceOrderDto
- func (r AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) GetRawParams() model.Params
- func (r *AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) SetParamnQuery(_paramnQuery *PlaceOrderDto) error
- type AlibabaonetouchlogisticsexpresslogisticsordercreateAPIResponse
- type AlibabaonetouchlogisticsexpresslogisticsordercreateAPIResponseModel
- type AlibabaonetouchlogisticsexpresslogisticsordercreateResult
- type AlibabaonetouchlogisticsexpresslogisticsproductlistAPIRequest
- type AlibabaonetouchlogisticsexpresslogisticsproductlistAPIResponse
- type AlibabaonetouchlogisticsexpresslogisticsproductlistAPIResponseModel
- type AlibabaonetouchlogisticsexpresslogisticsproductlistResult
- type AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest
- func (r AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) GetApiMethodName() string
- func (r AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) GetParamQuery() *LogisticsOrderQueryDto
- func (r AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) GetRawParams() model.Params
- func (r *AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) SetParamQuery(_paramQuery *LogisticsOrderQueryDto) error
- type AlibabaonetouchlogisticsexpressorderdetailgetAPIResponse
- type AlibabaonetouchlogisticsexpressorderdetailgetAPIResponseModel
- type AlibabaonetouchlogisticsexpressorderdetailgetResult
- type AlibabaonetouchlogisticsexpressspecialproducttypelistAPIRequest
- func (r AlibabaonetouchlogisticsexpressspecialproducttypelistAPIRequest) GetApiMethodName() string
- func (r AlibabaonetouchlogisticsexpressspecialproducttypelistAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaonetouchlogisticsexpressspecialproducttypelistAPIRequest) GetRawParams() model.Params
- type AlibabaonetouchlogisticsexpressspecialproducttypelistAPIResponse
- type AlibabaonetouchlogisticsexpressspecialproducttypelistAPIResponseModel
- type AlibabaonetouchlogisticsexpressspecialproducttypelistResult
- type CargoList
- type Children
- type City
- type ConsigneeAddress
- type ConsignorAddress
- type Contact
- type ContactAddress
- type Country
- type DeliverWarehouseExpressDto
- type District
- type Division
- type ExpressCustomsDto
- type ExpressFreightDto
- type ExpressQuoteItemList
- type LeafNode
- type LogisticsOrderQueryDto
- type LogisticsProductDto
- type Money
- type OrderDetailDto
- type PackageList
- type PickupInfoDto
- type PlaceOrderDto
- type ProductType
- type Province
- type RegionEntity
- type SpecialProductTypeDto
- type Town
- type WarehouseDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { // 邮编 Zip string `json:"zip,omitempty" xml:"zip,omitempty"` // 地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 地址2 Address2 string `json:"address2,omitempty" xml:"address2,omitempty"` // 国家 Country *Country `json:"country,omitempty" xml:"country,omitempty"` // 乡、镇名称 Town *Town `json:"town,omitempty" xml:"town,omitempty"` // 省份 Province *Province `json:"province,omitempty" xml:"province,omitempty"` // 城市 City *City `json:"city,omitempty" xml:"city,omitempty"` // 地区 District *District `json:"district,omitempty" xml:"district,omitempty"` }
Address 结构体
type AddressQueryDto ¶
type AddressQueryDto struct { // 国家code CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"` // 查询关键词 SearchText string `json:"search_text,omitempty" xml:"search_text,omitempty"` // 省ID ProvinceId int64 `json:"province_id,omitempty" xml:"province_id,omitempty"` // 城市id CityId int64 `json:"city_id,omitempty" xml:"city_id,omitempty"` // 是否包含子节点 WithChildren bool `json:"with_children,omitempty" xml:"with_children,omitempty"` }
AddressQueryDto 结构体
type AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest 四级地址库-市 API请求 alibaba.onetouch.logistics.express.address.city.list
四级地址库-市
func NewAlibabaonetouchlogisticsexpressaddresscitylistRequest ¶ added in v1.3.1
func NewAlibabaonetouchlogisticsexpressaddresscitylistRequest() *AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest
NewAlibabaonetouchlogisticsexpressaddresscitylistRequest 初始化AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest对象
func (AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) GetParamQuery ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) GetParamQuery() *AddressQueryDto
GetParamQuery ParamQuery Getter
func (AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) SetParamQuery ¶ added in v1.3.1
func (r *AlibabaonetouchlogisticsexpressaddresscitylistAPIRequest) SetParamQuery(_paramQuery *AddressQueryDto) error
SetParamQuery is ParamQuery Setter 请求参数
type AlibabaonetouchlogisticsexpressaddresscitylistAPIResponse ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddresscitylistAPIResponse struct { model.CommonResponse AlibabaonetouchlogisticsexpressaddresscitylistAPIResponseModel }
AlibabaonetouchlogisticsexpressaddresscitylistAPIResponse 四级地址库-市 API返回值 alibaba.onetouch.logistics.express.address.city.list
四级地址库-市
type AlibabaonetouchlogisticsexpressaddresscitylistAPIResponseModel ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddresscitylistAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_onetouch_logistics_express_address_city_list_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaonetouchlogisticsexpressaddresscitylistResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaonetouchlogisticsexpressaddresscitylistAPIResponseModel is 四级地址库-市 成功返回结果
type AlibabaonetouchlogisticsexpressaddresscitylistResult ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddresscitylistResult struct { // 列表对象 Values []RegionEntity `json:"values,omitempty" xml:"values>region_entity,omitempty"` // 返回结果描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 返回结果编码 ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaonetouchlogisticsexpressaddresscitylistResult 结构体
type AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest 四级地址库-区域 API请求 alibaba.onetouch.logistics.express.address.division.list
四级地址库-区
func NewAlibabaonetouchlogisticsexpressaddressdivisionlistRequest ¶ added in v1.3.1
func NewAlibabaonetouchlogisticsexpressaddressdivisionlistRequest() *AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest
NewAlibabaonetouchlogisticsexpressaddressdivisionlistRequest 初始化AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest对象
func (AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) GetParamQuery ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) GetParamQuery() *AddressQueryDto
GetParamQuery ParamQuery Getter
func (AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) SetParamQuery ¶ added in v1.3.1
func (r *AlibabaonetouchlogisticsexpressaddressdivisionlistAPIRequest) SetParamQuery(_paramQuery *AddressQueryDto) error
SetParamQuery is ParamQuery Setter 请求参数
type AlibabaonetouchlogisticsexpressaddressdivisionlistAPIResponse ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddressdivisionlistAPIResponse struct { model.CommonResponse AlibabaonetouchlogisticsexpressaddressdivisionlistAPIResponseModel }
AlibabaonetouchlogisticsexpressaddressdivisionlistAPIResponse 四级地址库-区域 API返回值 alibaba.onetouch.logistics.express.address.division.list
四级地址库-区
type AlibabaonetouchlogisticsexpressaddressdivisionlistAPIResponseModel ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddressdivisionlistAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_onetouch_logistics_express_address_division_list_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaonetouchlogisticsexpressaddressdivisionlistResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaonetouchlogisticsexpressaddressdivisionlistAPIResponseModel is 四级地址库-区域 成功返回结果
type AlibabaonetouchlogisticsexpressaddressdivisionlistResult ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddressdivisionlistResult struct { // 返回结果描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 列表对象 Values *RegionEntity `json:"values,omitempty" xml:"values,omitempty"` // 返回结果编码 ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaonetouchlogisticsexpressaddressdivisionlistResult 结构体
type AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest 四级地址库-省 API请求 alibaba.onetouch.logistics.express.address.province.list
四级地址库-省
func NewAlibabaonetouchlogisticsexpressaddressprovincelistRequest ¶ added in v1.3.1
func NewAlibabaonetouchlogisticsexpressaddressprovincelistRequest() *AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest
NewAlibabaonetouchlogisticsexpressaddressprovincelistRequest 初始化AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest对象
func (AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) GetParamQuery ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) GetParamQuery() *AddressQueryDto
GetParamQuery ParamQuery Getter
func (AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) SetParamQuery ¶ added in v1.3.1
func (r *AlibabaonetouchlogisticsexpressaddressprovincelistAPIRequest) SetParamQuery(_paramQuery *AddressQueryDto) error
SetParamQuery is ParamQuery Setter 请求参数
type AlibabaonetouchlogisticsexpressaddressprovincelistAPIResponse ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddressprovincelistAPIResponse struct { model.CommonResponse AlibabaonetouchlogisticsexpressaddressprovincelistAPIResponseModel }
AlibabaonetouchlogisticsexpressaddressprovincelistAPIResponse 四级地址库-省 API返回值 alibaba.onetouch.logistics.express.address.province.list
四级地址库-省
type AlibabaonetouchlogisticsexpressaddressprovincelistAPIResponseModel ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddressprovincelistAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_onetouch_logistics_express_address_province_list_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaonetouchlogisticsexpressaddressprovincelistResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaonetouchlogisticsexpressaddressprovincelistAPIResponseModel is 四级地址库-省 成功返回结果
type AlibabaonetouchlogisticsexpressaddressprovincelistResult ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddressprovincelistResult struct { // 列表对象 Values []RegionEntity `json:"values,omitempty" xml:"values>region_entity,omitempty"` // 返回结果描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 返回结果编码 ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaonetouchlogisticsexpressaddressprovincelistResult 结构体
type AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest 四级地址库-街道 API请求 alibaba.onetouch.logistics.express.address.street.list
四级地址库-街道模糊查询
func NewAlibabaonetouchlogisticsexpressaddressstreetlistRequest ¶ added in v1.3.1
func NewAlibabaonetouchlogisticsexpressaddressstreetlistRequest() *AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest
NewAlibabaonetouchlogisticsexpressaddressstreetlistRequest 初始化AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest对象
func (AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) GetParamQuery ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) GetParamQuery() *AddressQueryDto
GetParamQuery ParamQuery Getter
func (AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) SetParamQuery ¶ added in v1.3.1
func (r *AlibabaonetouchlogisticsexpressaddressstreetlistAPIRequest) SetParamQuery(_paramQuery *AddressQueryDto) error
SetParamQuery is ParamQuery Setter 请求参数
type AlibabaonetouchlogisticsexpressaddressstreetlistAPIResponse ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddressstreetlistAPIResponse struct { model.CommonResponse AlibabaonetouchlogisticsexpressaddressstreetlistAPIResponseModel }
AlibabaonetouchlogisticsexpressaddressstreetlistAPIResponse 四级地址库-街道 API返回值 alibaba.onetouch.logistics.express.address.street.list
四级地址库-街道模糊查询
type AlibabaonetouchlogisticsexpressaddressstreetlistAPIResponseModel ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddressstreetlistAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_onetouch_logistics_express_address_street_list_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaonetouchlogisticsexpressaddressstreetlistResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaonetouchlogisticsexpressaddressstreetlistAPIResponseModel is 四级地址库-街道 成功返回结果
type AlibabaonetouchlogisticsexpressaddressstreetlistResult ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressaddressstreetlistResult struct { // 列表对象 Values []RegionEntity `json:"values,omitempty" xml:"values>region_entity,omitempty"` // 返回结果描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 返回结果编码 ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaonetouchlogisticsexpressaddressstreetlistResult 结构体
type AlibabaonetouchlogisticsexpresschargecalculateAPIRequest ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpresschargecalculateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaonetouchlogisticsexpresschargecalculateAPIRequest 计算快递运费&下单参数校验 API请求 alibaba.onetouch.logistics.express.charge.calculate
计算快递运费、下单参数校验
func NewAlibabaonetouchlogisticsexpresschargecalculateRequest ¶ added in v1.3.1
func NewAlibabaonetouchlogisticsexpresschargecalculateRequest() *AlibabaonetouchlogisticsexpresschargecalculateAPIRequest
NewAlibabaonetouchlogisticsexpresschargecalculateRequest 初始化AlibabaonetouchlogisticsexpresschargecalculateAPIRequest对象
func (AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) GetParamnQuery ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) GetParamnQuery() *PlaceOrderDto
GetParamnQuery ParamnQuery Getter
func (AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) SetParamnQuery ¶ added in v1.3.1
func (r *AlibabaonetouchlogisticsexpresschargecalculateAPIRequest) SetParamnQuery(_paramnQuery *PlaceOrderDto) error
SetParamnQuery is ParamnQuery Setter 请求参数对象
type AlibabaonetouchlogisticsexpresschargecalculateAPIResponse ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpresschargecalculateAPIResponse struct { model.CommonResponse AlibabaonetouchlogisticsexpresschargecalculateAPIResponseModel }
AlibabaonetouchlogisticsexpresschargecalculateAPIResponse 计算快递运费&下单参数校验 API返回值 alibaba.onetouch.logistics.express.charge.calculate
计算快递运费、下单参数校验
type AlibabaonetouchlogisticsexpresschargecalculateAPIResponseModel ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpresschargecalculateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_onetouch_logistics_express_charge_calculate_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaonetouchlogisticsexpresschargecalculateResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaonetouchlogisticsexpresschargecalculateAPIResponseModel is 计算快递运费&下单参数校验 成功返回结果
type AlibabaonetouchlogisticsexpresschargecalculateResult ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpresschargecalculateResult struct { // 返回结果描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 结果对象 Values *ExpressFreightDto `json:"values,omitempty" xml:"values,omitempty"` // 返回结果编码 ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaonetouchlogisticsexpresschargecalculateResult 结构体
type AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest 快递下单 API请求 alibaba.onetouch.logistics.express.logistics.order.create
快递下单
func NewAlibabaonetouchlogisticsexpresslogisticsordercreateRequest ¶ added in v1.3.1
func NewAlibabaonetouchlogisticsexpresslogisticsordercreateRequest() *AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest
NewAlibabaonetouchlogisticsexpresslogisticsordercreateRequest 初始化AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest对象
func (AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) GetParamnQuery ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) GetParamnQuery() *PlaceOrderDto
GetParamnQuery ParamnQuery Getter
func (AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) SetParamnQuery ¶ added in v1.3.1
func (r *AlibabaonetouchlogisticsexpresslogisticsordercreateAPIRequest) SetParamnQuery(_paramnQuery *PlaceOrderDto) error
SetParamnQuery is ParamnQuery Setter 请求参数对象
type AlibabaonetouchlogisticsexpresslogisticsordercreateAPIResponse ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpresslogisticsordercreateAPIResponse struct { model.CommonResponse AlibabaonetouchlogisticsexpresslogisticsordercreateAPIResponseModel }
AlibabaonetouchlogisticsexpresslogisticsordercreateAPIResponse 快递下单 API返回值 alibaba.onetouch.logistics.express.logistics.order.create
快递下单
type AlibabaonetouchlogisticsexpresslogisticsordercreateAPIResponseModel ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpresslogisticsordercreateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_onetouch_logistics_express_logistics_order_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaonetouchlogisticsexpresslogisticsordercreateResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaonetouchlogisticsexpresslogisticsordercreateAPIResponseModel is 快递下单 成功返回结果
type AlibabaonetouchlogisticsexpresslogisticsordercreateResult ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpresslogisticsordercreateResult struct { // 返回结果描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 结果对象 Values *ExpressFreightDto `json:"values,omitempty" xml:"values,omitempty"` // 返回结果编码 ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaonetouchlogisticsexpresslogisticsordercreateResult 结构体
type AlibabaonetouchlogisticsexpresslogisticsproductlistAPIRequest ¶ added in v1.3.1
AlibabaonetouchlogisticsexpresslogisticsproductlistAPIRequest 查询物流运力列表 API请求 alibaba.onetouch.logistics.express.logistics.product.list
查询物流产品&揽收仓库列表
func NewAlibabaonetouchlogisticsexpresslogisticsproductlistRequest ¶ added in v1.3.1
func NewAlibabaonetouchlogisticsexpresslogisticsproductlistRequest() *AlibabaonetouchlogisticsexpresslogisticsproductlistAPIRequest
NewAlibabaonetouchlogisticsexpresslogisticsproductlistRequest 初始化AlibabaonetouchlogisticsexpresslogisticsproductlistAPIRequest对象
func (AlibabaonetouchlogisticsexpresslogisticsproductlistAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpresslogisticsproductlistAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaonetouchlogisticsexpresslogisticsproductlistAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpresslogisticsproductlistAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaonetouchlogisticsexpresslogisticsproductlistAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpresslogisticsproductlistAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type AlibabaonetouchlogisticsexpresslogisticsproductlistAPIResponse ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpresslogisticsproductlistAPIResponse struct { model.CommonResponse AlibabaonetouchlogisticsexpresslogisticsproductlistAPIResponseModel }
AlibabaonetouchlogisticsexpresslogisticsproductlistAPIResponse 查询物流运力列表 API返回值 alibaba.onetouch.logistics.express.logistics.product.list
查询物流产品&揽收仓库列表
type AlibabaonetouchlogisticsexpresslogisticsproductlistAPIResponseModel ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpresslogisticsproductlistAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_onetouch_logistics_express_logistics_product_list_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *AlibabaonetouchlogisticsexpresslogisticsproductlistResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaonetouchlogisticsexpresslogisticsproductlistAPIResponseModel is 查询物流运力列表 成功返回结果
type AlibabaonetouchlogisticsexpresslogisticsproductlistResult ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpresslogisticsproductlistResult struct { // 列表对象 Values []LogisticsProductDto `json:"values,omitempty" xml:"values>logistics_product_dto,omitempty"` // 错误信息提示 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaonetouchlogisticsexpresslogisticsproductlistResult 结构体
type AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest 订单详细信息(面单及仓库信息) API请求 alibaba.onetouch.logistics.express.order.detail.get
订单详细信息(面单及仓库信息)
func NewAlibabaonetouchlogisticsexpressorderdetailgetRequest ¶ added in v1.3.1
func NewAlibabaonetouchlogisticsexpressorderdetailgetRequest() *AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest
NewAlibabaonetouchlogisticsexpressorderdetailgetRequest 初始化AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest对象
func (AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) GetParamQuery ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) GetParamQuery() *LogisticsOrderQueryDto
GetParamQuery ParamQuery Getter
func (AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) SetParamQuery ¶ added in v1.3.1
func (r *AlibabaonetouchlogisticsexpressorderdetailgetAPIRequest) SetParamQuery(_paramQuery *LogisticsOrderQueryDto) error
SetParamQuery is ParamQuery Setter 请求参数
type AlibabaonetouchlogisticsexpressorderdetailgetAPIResponse ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressorderdetailgetAPIResponse struct { model.CommonResponse AlibabaonetouchlogisticsexpressorderdetailgetAPIResponseModel }
AlibabaonetouchlogisticsexpressorderdetailgetAPIResponse 订单详细信息(面单及仓库信息) API返回值 alibaba.onetouch.logistics.express.order.detail.get
订单详细信息(面单及仓库信息)
type AlibabaonetouchlogisticsexpressorderdetailgetAPIResponseModel ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressorderdetailgetAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_onetouch_logistics_express_order_detail_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaonetouchlogisticsexpressorderdetailgetResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaonetouchlogisticsexpressorderdetailgetAPIResponseModel is 订单详细信息(面单及仓库信息) 成功返回结果
type AlibabaonetouchlogisticsexpressorderdetailgetResult ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressorderdetailgetResult struct { // 返回结果描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 返回结果编码 ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"` // 结果数据 Data *OrderDetailDto `json:"data,omitempty" xml:"data,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaonetouchlogisticsexpressorderdetailgetResult 结构体
type AlibabaonetouchlogisticsexpressspecialproducttypelistAPIRequest ¶ added in v1.3.1
AlibabaonetouchlogisticsexpressspecialproducttypelistAPIRequest 获取商品类型配置项 API请求 alibaba.onetouch.logistics.express.special.product.type.list
获取商品类型配置项
func NewAlibabaonetouchlogisticsexpressspecialproducttypelistRequest ¶ added in v1.3.1
func NewAlibabaonetouchlogisticsexpressspecialproducttypelistRequest() *AlibabaonetouchlogisticsexpressspecialproducttypelistAPIRequest
NewAlibabaonetouchlogisticsexpressspecialproducttypelistRequest 初始化AlibabaonetouchlogisticsexpressspecialproducttypelistAPIRequest对象
func (AlibabaonetouchlogisticsexpressspecialproducttypelistAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressspecialproducttypelistAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaonetouchlogisticsexpressspecialproducttypelistAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressspecialproducttypelistAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaonetouchlogisticsexpressspecialproducttypelistAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaonetouchlogisticsexpressspecialproducttypelistAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type AlibabaonetouchlogisticsexpressspecialproducttypelistAPIResponse ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressspecialproducttypelistAPIResponse struct { model.CommonResponse AlibabaonetouchlogisticsexpressspecialproducttypelistAPIResponseModel }
AlibabaonetouchlogisticsexpressspecialproducttypelistAPIResponse 获取商品类型配置项 API返回值 alibaba.onetouch.logistics.express.special.product.type.list
获取商品类型配置项
type AlibabaonetouchlogisticsexpressspecialproducttypelistAPIResponseModel ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressspecialproducttypelistAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_onetouch_logistics_express_special_product_type_list_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlibabaonetouchlogisticsexpressspecialproducttypelistResult `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaonetouchlogisticsexpressspecialproducttypelistAPIResponseModel is 获取商品类型配置项 成功返回结果
type AlibabaonetouchlogisticsexpressspecialproducttypelistResult ¶ added in v1.3.1
type AlibabaonetouchlogisticsexpressspecialproducttypelistResult struct { // 列表对象 Values []SpecialProductTypeDto `json:"values,omitempty" xml:"values>special_product_type_dto,omitempty"` // 返回结果描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 返回结果编码 ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaonetouchlogisticsexpressspecialproducttypelistResult 结构体
type CargoList ¶
type CargoList struct { // 商品特性列表对象 ProductType []ProductType `json:"product_type,omitempty" xml:"product_type>product_type,omitempty"` // 单位 Unit string `json:"unit,omitempty" xml:"unit,omitempty"` // 海关编码 Hscode string `json:"hscode,omitempty" xml:"hscode,omitempty"` // 1 DeclarationValue string `json:"declaration_value,omitempty" xml:"declaration_value,omitempty"` // 货物单价 Price string `json:"price,omitempty" xml:"price,omitempty"` // 货物中文名 NameCn string `json:"name_cn,omitempty" xml:"name_cn,omitempty"` // 1 Currency string `json:"currency,omitempty" xml:"currency,omitempty"` // 货物英文名 NameEn string `json:"name_en,omitempty" xml:"name_en,omitempty"` // 材质 Material string `json:"material,omitempty" xml:"material,omitempty"` // 用途 Purpose string `json:"purpose,omitempty" xml:"purpose,omitempty"` // 货物数量 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` }
CargoList 结构体
type Children ¶
type Children struct { // 商品特性列表对象 Children []LeafNode `json:"children,omitempty" xml:"children>leaf_node,omitempty"` // 商品类型code Code string `json:"code,omitempty" xml:"code,omitempty"` // 商品类型 Name string `json:"name,omitempty" xml:"name,omitempty"` }
Children 结构体
type City ¶
type City struct { // 地址代码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 地址名字 Name string `json:"name,omitempty" xml:"name,omitempty"` // 地址id AreaId int64 `json:"area_id,omitempty" xml:"area_id,omitempty"` }
City 结构体
type ConsigneeAddress ¶
type ConsigneeAddress struct { // 地址所有者邮箱(卖家维护收货地址, 值等于买家邮箱) AddressEmail string `json:"address_email,omitempty" xml:"address_email,omitempty"` // 公司英文名 CompanyNameEn string `json:"company_name_en,omitempty" xml:"company_name_en,omitempty"` // 联系人姓名 ContactPerson string `json:"contact_person,omitempty" xml:"contact_person,omitempty"` // 地址类型 Type string `json:"type,omitempty" xml:"type,omitempty"` // 公司中文名 CompanyNameCn string `json:"company_name_cn,omitempty" xml:"company_name_cn,omitempty"` // 国家、省、市、详细地址信息 Address *Address `json:"address,omitempty" xml:"address,omitempty"` // 联系方式(邮箱、电话号码、手机号码等) Contact *Contact `json:"contact,omitempty" xml:"contact,omitempty"` }
ConsigneeAddress 结构体
type ConsignorAddress ¶
type ConsignorAddress struct { // 联系人姓名 ContactPerson string `json:"contact_person,omitempty" xml:"contact_person,omitempty"` // 公司中文名 CompanyNameCn string `json:"company_name_cn,omitempty" xml:"company_name_cn,omitempty"` // 国家、省、市、详细地址信息 Address *Address `json:"address,omitempty" xml:"address,omitempty"` // 联系方式(邮箱、电话号码、手机号码等) Contact *Contact `json:"contact,omitempty" xml:"contact,omitempty"` }
ConsignorAddress 结构体
type Contact ¶
type Contact struct { // 电话区号 PhoneCode string `json:"phone_code,omitempty" xml:"phone_code,omitempty"` // 手机号码 MobileNo string `json:"mobile_no,omitempty" xml:"mobile_no,omitempty"` // 邮箱 Email string `json:"email,omitempty" xml:"email,omitempty"` // 电话区码 PhoneArea string `json:"phone_area,omitempty" xml:"phone_area,omitempty"` }
Contact 结构体
type ContactAddress ¶
type ContactAddress struct { // 联系人 ContactPerson string `json:"contact_person,omitempty" xml:"contact_person,omitempty"` // 公司名称 CompanyNameCn string `json:"company_name_cn,omitempty" xml:"company_name_cn,omitempty"` // 国家、省、市、详细地址信息 Address *Address `json:"address,omitempty" xml:"address,omitempty"` // 联系方式(邮箱、电话号码、手机号码等) Contact *Contact `json:"contact,omitempty" xml:"contact,omitempty"` }
ContactAddress 结构体
type Country ¶
type Country struct { // 地址代码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 地址名字 Name string `json:"name,omitempty" xml:"name,omitempty"` // 未知 PhoneCode string `json:"phone_code,omitempty" xml:"phone_code,omitempty"` // 地址id AreaId int64 `json:"area_id,omitempty" xml:"area_id,omitempty"` }
Country 结构体
type DeliverWarehouseExpressDto ¶
type DeliverWarehouseExpressDto struct { // 运单号 TrackingNumbers []string `json:"tracking_numbers,omitempty" xml:"tracking_numbers>string,omitempty"` // 国内快递公司code LogisticsCompany string `json:"logistics_company,omitempty" xml:"logistics_company,omitempty"` // 包裹数量 PackageQuantity string `json:"package_quantity,omitempty" xml:"package_quantity,omitempty"` }
DeliverWarehouseExpressDto 结构体
type District ¶
type District struct { // 地址代码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 地址名字 Name string `json:"name,omitempty" xml:"name,omitempty"` // 地址代码 AreaId string `json:"area_id,omitempty" xml:"area_id,omitempty"` }
District 结构体
type Division ¶
type Division struct { // 节点名称拼音 Pinyin string `json:"pinyin,omitempty" xml:"pinyin,omitempty"` // 中文名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 节点id Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 上级节点ID ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"` // 层级 Level int64 `json:"level,omitempty" xml:"level,omitempty"` }
Division 结构体
type ExpressCustomsDto ¶
type ExpressCustomsDto struct { // 申报金额 DeclarationAmount string `json:"declaration_amount,omitempty" xml:"declaration_amount,omitempty"` // 是否正式报关 NeedCustomsClearance string `json:"need_customs_clearance,omitempty" xml:"need_customs_clearance,omitempty"` // 报关币种,出口发货中心默认USD DeclarationCurrency string `json:"declaration_currency,omitempty" xml:"declaration_currency,omitempty"` // 增值税类型,枚举取值:VAT、IOSS、VOEC VatType string `json:"vat_type,omitempty" xml:"vat_type,omitempty"` // 增值税税号 VatNumber string `json:"vat_number,omitempty" xml:"vat_number,omitempty"` // 纳税人识别号 TaxpayerId string `json:"taxpayer_id,omitempty" xml:"taxpayer_id,omitempty"` // 欧盟EORI EoriNumber string `json:"eori_number,omitempty" xml:"eori_number,omitempty"` }
ExpressCustomsDto 结构体
type ExpressFreightDto ¶ added in v1.2.0
type ExpressFreightDto struct { // 费用项列表 ExpressQuoteItemList []ExpressQuoteItemList `json:"express_quote_item_list,omitempty" xml:"express_quote_item_list>express_quote_item_list,omitempty"` // 销售总价 SalesAmount string `json:"sales_amount,omitempty" xml:"sales_amount,omitempty"` // 折扣总价 DiscountAmount string `json:"discount_amount,omitempty" xml:"discount_amount,omitempty"` // (废弃为空!!面单通过alibaba.onetouch.logistics.express.order.detail.get获取)原条码PDF Base64编码 BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"` // 物流订单号 OrderNumber string `json:"order_number,omitempty" xml:"order_number,omitempty"` // 仓库信息 Warehouse *WarehouseDto `json:"warehouse,omitempty" xml:"warehouse,omitempty"` // 上门揽收信息 PickupInfo *PickupInfoDto `json:"pickup_info,omitempty" xml:"pickup_info,omitempty"` }
ExpressFreightDto 结构体
type ExpressQuoteItemList ¶
type ExpressQuoteItemList struct { // 费用编码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 费用名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 费用描述 ChargeDesc string `json:"charge_desc,omitempty" xml:"charge_desc,omitempty"` // 币种 Currency string `json:"currency,omitempty" xml:"currency,omitempty"` // 费用类型 Type string `json:"type,omitempty" xml:"type,omitempty"` // 数量 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 价格信息 SalesAmount *Money `json:"sales_amount,omitempty" xml:"sales_amount,omitempty"` }
ExpressQuoteItemList 结构体
type LeafNode ¶
type LeafNode struct { // 商品类型code Code string `json:"code,omitempty" xml:"code,omitempty"` // 商品类型 Name string `json:"name,omitempty" xml:"name,omitempty"` }
LeafNode 结构体
type LogisticsOrderQueryDto ¶
type LogisticsOrderQueryDto struct { // 物流单号 OrderNumber string `json:"order_number,omitempty" xml:"order_number,omitempty"` }
LogisticsOrderQueryDto 结构体
type LogisticsProductDto ¶
type LogisticsProductDto struct { // 仓库名称 WarehouseName string `json:"warehouse_name,omitempty" xml:"warehouse_name,omitempty"` // 仓库编码 WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"` // 产品名称 ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"` // 产品编码 ProductCode string `json:"product_code,omitempty" xml:"product_code,omitempty"` // 时效类型 DeliveryType string `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"` // 是否上门揽收 Pickup bool `json:"pickup,omitempty" xml:"pickup,omitempty"` }
LogisticsProductDto 结构体
type Money ¶
type Money struct { // 金额 Amount string `json:"amount,omitempty" xml:"amount,omitempty"` // 币种 Currency string `json:"currency,omitempty" xml:"currency,omitempty"` }
Money 结构体
type OrderDetailDto ¶
type OrderDetailDto struct { // 条码Base64 BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"` // 物流订单号 OrderNumber string `json:"order_number,omitempty" xml:"order_number,omitempty"` // 仓库信息 Warehouse *WarehouseDto `json:"warehouse,omitempty" xml:"warehouse,omitempty"` // 上门揽收信息 PickupInfo *PickupInfoDto `json:"pickup_info,omitempty" xml:"pickup_info,omitempty"` }
OrderDetailDto 结构体
type PackageList ¶
type PackageList struct { // 数量 Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"` // 长 Length string `json:"length,omitempty" xml:"length,omitempty"` // 宽 Width string `json:"width,omitempty" xml:"width,omitempty"` // 重量 Weight string `json:"weight,omitempty" xml:"weight,omitempty"` // 包装类型 Type string `json:"type,omitempty" xml:"type,omitempty"` // 高 Height string `json:"height,omitempty" xml:"height,omitempty"` }
PackageList 结构体
type PickupInfoDto ¶
type PickupInfoDto struct { // 备用字段(上门揽收服务商),目前为空 ServiceProvider string `json:"service_provider,omitempty" xml:"service_provider,omitempty"` // 上门揽收类型,warehouse_free_pickup:仓库免费上门揽收,warehouse_paid_pickup:仓库收费上门揽收,provider_paid_pickup:服务商收费上门揽收 PickupType string `json:"pickup_type,omitempty" xml:"pickup_type,omitempty"` // 上门揽收类型名称 PickupTypeName string `json:"pickup_type_name,omitempty" xml:"pickup_type_name,omitempty"` // 能否上门揽收 CanPickup bool `json:"can_pickup,omitempty" xml:"can_pickup,omitempty"` }
PickupInfoDto 结构体
type PlaceOrderDto ¶ added in v1.2.0
type PlaceOrderDto struct { // 货品信息 CargoList []CargoList `json:"cargo_list,omitempty" xml:"cargo_list>cargo_list,omitempty"` // 包裹信息 PackageList []PackageList `json:"package_list,omitempty" xml:"package_list>package_list,omitempty"` // 起始地邮编 OriginZipCode string `json:"origin_zip_code,omitempty" xml:"origin_zip_code,omitempty"` // 目的地国家 DestinationCountryCode string `json:"destination_country_code,omitempty" xml:"destination_country_code,omitempty"` // 仓库编码 WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"` // 产品编码 ProductCode string `json:"product_code,omitempty" xml:"product_code,omitempty"` // 目的地邮编 DestinationZipCode string `json:"destination_zip_code,omitempty" xml:"destination_zip_code,omitempty"` // 发货批次ID SupplyChainBizId string `json:"supply_chain_biz_id,omitempty" xml:"supply_chain_biz_id,omitempty"` // 交易单号(例如阿里国际站的信保单ID),注意此字段不为空时,trade_platform字段必填(默认为ICBU) TradeBizId string `json:"trade_biz_id,omitempty" xml:"trade_biz_id,omitempty"` // 跨境电商平台代码:ICBU(阿里巴巴国际站)、ALIEXPRESS(速卖通)、AMAZON(亚马逊)等 TradePlatform string `json:"trade_platform,omitempty" xml:"trade_platform,omitempty"` // 交货到仓快递信息 DeliverWarehouseExpress *DeliverWarehouseExpressDto `json:"deliver_warehouse_express,omitempty" xml:"deliver_warehouse_express,omitempty"` // 发货人地址 ConsignorAddress *ConsignorAddress `json:"consignor_address,omitempty" xml:"consignor_address,omitempty"` // 申报信息 ExpressCustoms *ExpressCustomsDto `json:"express_customs,omitempty" xml:"express_customs,omitempty"` // 收货人地址 ConsigneeAddress *ConsigneeAddress `json:"consignee_address,omitempty" xml:"consignee_address,omitempty"` // 备用字段(上门揽收地址),目前按发货人地址 PickupAddress *ContactAddress `json:"pickup_address,omitempty" xml:"pickup_address,omitempty"` // 备用字段(退货地址),目前按退货申请指定地址 ReturnAddress *ContactAddress `json:"return_address,omitempty" xml:"return_address,omitempty"` // 1 NeedPickup bool `json:"need_pickup,omitempty" xml:"need_pickup,omitempty"` }
PlaceOrderDto 结构体
type ProductType ¶
type ProductType struct { // 商品特性列表对象 Children []Children `json:"children,omitempty" xml:"children>children,omitempty"` // 商品类型code Code string `json:"code,omitempty" xml:"code,omitempty"` // 商品类型 Name string `json:"name,omitempty" xml:"name,omitempty"` }
ProductType 结构体
type Province ¶
type Province struct { // 地址代码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 地址名字 Name string `json:"name,omitempty" xml:"name,omitempty"` // 地址id AreaId int64 `json:"area_id,omitempty" xml:"area_id,omitempty"` }
Province 结构体
type RegionEntity ¶
type RegionEntity struct { // 子节点列表 Childrens []Division `json:"childrens,omitempty" xml:"childrens>division,omitempty"` // 节点名称拼音 Pinyin string `json:"pinyin,omitempty" xml:"pinyin,omitempty"` // 中文名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 上级节点名称 ParentName string `json:"parent_name,omitempty" xml:"parent_name,omitempty"` // 邮编 Zip string `json:"zip,omitempty" xml:"zip,omitempty"` // 地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 节点ID AreaId int64 `json:"area_id,omitempty" xml:"area_id,omitempty"` // 上级节点ID ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"` // 层级 Level int64 `json:"level,omitempty" xml:"level,omitempty"` // id Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
RegionEntity 结构体
type SpecialProductTypeDto ¶ added in v1.2.0
type SpecialProductTypeDto struct { // 列表对象 Childrens []SpecialProductTypeDto `json:"childrens,omitempty" xml:"childrens>special_product_type_dto,omitempty"` // 商品类型code Code string `json:"code,omitempty" xml:"code,omitempty"` // 商品类型 Name string `json:"name,omitempty" xml:"name,omitempty"` }
SpecialProductTypeDto 结构体
type Town ¶
type Town struct { // 地址代码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 地址名字 Name string `json:"name,omitempty" xml:"name,omitempty"` // 地址id AreaId int64 `json:"area_id,omitempty" xml:"area_id,omitempty"` }
Town 结构体
type WarehouseDto ¶
type WarehouseDto struct { // 仓库地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 仓库名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 仓库编码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 联系人 ContactPerson string `json:"contact_person,omitempty" xml:"contact_person,omitempty"` // 联系人电话 ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"` // 工作时间 WorkingTime string `json:"working_time,omitempty" xml:"working_time,omitempty"` // 邮编 PostCode string `json:"post_code,omitempty" xml:"post_code,omitempty"` // 备注 Description string `json:"description,omitempty" xml:"description,omitempty"` }
WarehouseDto 结构体
Source Files ¶
- Address.go
- AddressQueryDto.go
- AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest.go
- AlibabaOnetouchLogisticsExpressAddressCityListAPIResponse.go
- AlibabaOnetouchLogisticsExpressAddressCityListResult.go
- AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest.go
- AlibabaOnetouchLogisticsExpressAddressDivisionListAPIResponse.go
- AlibabaOnetouchLogisticsExpressAddressDivisionListResult.go
- AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest.go
- AlibabaOnetouchLogisticsExpressAddressProvinceListAPIResponse.go
- AlibabaOnetouchLogisticsExpressAddressProvinceListResult.go
- AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest.go
- AlibabaOnetouchLogisticsExpressAddressStreetListAPIResponse.go
- AlibabaOnetouchLogisticsExpressAddressStreetListResult.go
- AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest.go
- AlibabaOnetouchLogisticsExpressChargeCalculateAPIResponse.go
- AlibabaOnetouchLogisticsExpressChargeCalculateResult.go
- AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest.go
- AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIResponse.go
- AlibabaOnetouchLogisticsExpressLogisticsOrderCreateResult.go
- AlibabaOnetouchLogisticsExpressLogisticsProductListAPIRequest.go
- AlibabaOnetouchLogisticsExpressLogisticsProductListAPIResponse.go
- AlibabaOnetouchLogisticsExpressLogisticsProductListResult.go
- AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest.go
- AlibabaOnetouchLogisticsExpressOrderDetailGetAPIResponse.go
- AlibabaOnetouchLogisticsExpressOrderDetailGetResult.go
- AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIRequest.go
- AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIResponse.go
- AlibabaOnetouchLogisticsExpressSpecialProductTypeListResult.go
- CargoList.go
- Children.go
- City.go
- ConsigneeAddress.go
- ConsignorAddress.go
- Contact.go
- ContactAddress.go
- Country.go
- DeliverWarehouseExpressDto.go
- District.go
- Division.go
- ExpressCustomsDto.go
- ExpressFreightDto.go
- ExpressQuoteItemList.go
- LeafNode.go
- LogisticsOrderQueryDto.go
- LogisticsProductDto.go
- Money.go
- OrderDetailDto.go
- PackageList.go
- PickupInfoDto.go
- PlaceOrderDto.go
- ProductType.go
- Province.go
- RegionEntity.go
- SpecialProductTypeDto.go
- Town.go
- WarehouseDto.go
- doc.go