icbulogistics

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

ICBU-物流 model

https://open.taobao.com/API.htm?docId=47959&docType=2

Index

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"`
	// 国家
	Country *Country `json:"country,omitempty" xml:"country,omitempty"`
	// 地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 省份
	Province *Province `json:"province,omitempty" xml:"province,omitempty"`
	// 乡、镇名称
	Town *Town `json:"town,omitempty" xml:"town,omitempty"`
	// 地址2
	Address2 string `json:"address2,omitempty" xml:"address2,omitempty"`
	// 城市
	City *City `json:"city,omitempty" xml:"city,omitempty"`
	// 地区
	District *District `json:"district,omitempty" xml:"district,omitempty"`
}

Address

type AddressQueryDto

type AddressQueryDto struct {
	// 省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"`
	// 国家code
	CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"`
	// 查询关键词
	SearchText string `json:"search_text,omitempty" xml:"search_text,omitempty"`
}

AddressQueryDto

type AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest added in v1.2.0

type AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

四级地址库-市 API请求 alibaba.onetouch.logistics.express.address.city.list

四级地址库-市

func NewAlibabaOnetouchLogisticsExpressAddressCityListRequest

func NewAlibabaOnetouchLogisticsExpressAddressCityListRequest() *AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest

初始化AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest对象

func (AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest) GetParamQuery added in v1.2.0

ParamQuery Getter

func (*AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest) SetParamQuery added in v1.2.0

ParamQuery Setter 请求参数

type AlibabaOnetouchLogisticsExpressAddressCityListAPIResponse

type AlibabaOnetouchLogisticsExpressAddressCityListAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressAddressCityListAPIResponseModel
}

四级地址库-市 API返回值 alibaba.onetouch.logistics.express.address.city.list

四级地址库-市

type AlibabaOnetouchLogisticsExpressAddressCityListAPIResponseModel added in v1.2.0

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"`
}

四级地址库-市 成功返回结果

type AlibabaOnetouchLogisticsExpressAddressCityListResult

type AlibabaOnetouchLogisticsExpressAddressCityListResult struct {
	// 返回结果描述
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 列表对象
	Values []RegionEntity `json:"values,omitempty" xml:"values>region_entity,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 返回结果编码
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
}

AlibabaOnetouchLogisticsExpressAddressCityListResult

type AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest added in v1.2.0

type AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

四级地址库-区域 API请求 alibaba.onetouch.logistics.express.address.division.list

四级地址库-区

func NewAlibabaOnetouchLogisticsExpressAddressDivisionListRequest

func NewAlibabaOnetouchLogisticsExpressAddressDivisionListRequest() *AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest

初始化AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest对象

func (AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest) GetParamQuery added in v1.2.0

ParamQuery Getter

func (*AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest) SetParamQuery added in v1.2.0

ParamQuery Setter 请求参数

type AlibabaOnetouchLogisticsExpressAddressDivisionListAPIResponse

type AlibabaOnetouchLogisticsExpressAddressDivisionListAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressAddressDivisionListAPIResponseModel
}

四级地址库-区域 API返回值 alibaba.onetouch.logistics.express.address.division.list

四级地址库-区

type AlibabaOnetouchLogisticsExpressAddressDivisionListAPIResponseModel added in v1.2.0

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"`
}

四级地址库-区域 成功返回结果

type AlibabaOnetouchLogisticsExpressAddressDivisionListResult

type AlibabaOnetouchLogisticsExpressAddressDivisionListResult struct {
	// 返回结果描述
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 列表对象
	Values *RegionEntity `json:"values,omitempty" xml:"values,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 返回结果编码
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
}

AlibabaOnetouchLogisticsExpressAddressDivisionListResult

type AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest added in v1.2.0

type AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

四级地址库-省 API请求 alibaba.onetouch.logistics.express.address.province.list

四级地址库-省

func NewAlibabaOnetouchLogisticsExpressAddressProvinceListRequest

func NewAlibabaOnetouchLogisticsExpressAddressProvinceListRequest() *AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest

初始化AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest对象

func (AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest) GetParamQuery added in v1.2.0

ParamQuery Getter

func (*AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest) SetParamQuery added in v1.2.0

ParamQuery Setter 请求参数

type AlibabaOnetouchLogisticsExpressAddressProvinceListAPIResponse

type AlibabaOnetouchLogisticsExpressAddressProvinceListAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressAddressProvinceListAPIResponseModel
}

四级地址库-省 API返回值 alibaba.onetouch.logistics.express.address.province.list

四级地址库-省

type AlibabaOnetouchLogisticsExpressAddressProvinceListAPIResponseModel added in v1.2.0

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"`
}

四级地址库-省 成功返回结果

type AlibabaOnetouchLogisticsExpressAddressProvinceListResult

type AlibabaOnetouchLogisticsExpressAddressProvinceListResult struct {
	// 返回结果描述
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 列表对象
	Values []RegionEntity `json:"values,omitempty" xml:"values>region_entity,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 返回结果编码
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
}

AlibabaOnetouchLogisticsExpressAddressProvinceListResult

type AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest added in v1.2.0

type AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

四级地址库-街道 API请求 alibaba.onetouch.logistics.express.address.street.list

四级地址库-街道模糊查询

func NewAlibabaOnetouchLogisticsExpressAddressStreetListRequest

func NewAlibabaOnetouchLogisticsExpressAddressStreetListRequest() *AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest

初始化AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest对象

func (AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest) GetParamQuery added in v1.2.0

ParamQuery Getter

func (*AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest) SetParamQuery added in v1.2.0

ParamQuery Setter 请求参数

type AlibabaOnetouchLogisticsExpressAddressStreetListAPIResponse

type AlibabaOnetouchLogisticsExpressAddressStreetListAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressAddressStreetListAPIResponseModel
}

四级地址库-街道 API返回值 alibaba.onetouch.logistics.express.address.street.list

四级地址库-街道模糊查询

type AlibabaOnetouchLogisticsExpressAddressStreetListAPIResponseModel added in v1.2.0

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"`
}

四级地址库-街道 成功返回结果

type AlibabaOnetouchLogisticsExpressAddressStreetListResult

type AlibabaOnetouchLogisticsExpressAddressStreetListResult struct {
	// 返回结果描述
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 列表对象
	Values []RegionEntity `json:"values,omitempty" xml:"values>region_entity,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 返回结果编码
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
}

AlibabaOnetouchLogisticsExpressAddressStreetListResult

type AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest added in v1.2.0

type AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

计算快递运费&下单参数校验 API请求 alibaba.onetouch.logistics.express.charge.calculate

计算快递运费、下单参数校验

func NewAlibabaOnetouchLogisticsExpressChargeCalculateRequest

func NewAlibabaOnetouchLogisticsExpressChargeCalculateRequest() *AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest

初始化AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest对象

func (AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest) GetParamnQuery added in v1.2.0

ParamnQuery Getter

func (*AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest) SetParamnQuery added in v1.2.0

ParamnQuery Setter 请求参数对象

type AlibabaOnetouchLogisticsExpressChargeCalculateAPIResponse

type AlibabaOnetouchLogisticsExpressChargeCalculateAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressChargeCalculateAPIResponseModel
}

计算快递运费&下单参数校验 API返回值 alibaba.onetouch.logistics.express.charge.calculate

计算快递运费、下单参数校验

type AlibabaOnetouchLogisticsExpressChargeCalculateAPIResponseModel added in v1.2.0

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"`
}

计算快递运费&下单参数校验 成功返回结果

type AlibabaOnetouchLogisticsExpressChargeCalculateResult

type AlibabaOnetouchLogisticsExpressChargeCalculateResult struct {
	// 返回结果描述
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 结果对象
	Values *ExpressFreightDto `json:"values,omitempty" xml:"values,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 返回结果编码
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
}

AlibabaOnetouchLogisticsExpressChargeCalculateResult

type AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest added in v1.2.0

type AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

快递下单 API请求 alibaba.onetouch.logistics.express.logistics.order.create

快递下单

func NewAlibabaOnetouchLogisticsExpressLogisticsOrderCreateRequest

func NewAlibabaOnetouchLogisticsExpressLogisticsOrderCreateRequest() *AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest

初始化AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest对象

func (AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest) GetParamnQuery added in v1.2.0

ParamnQuery Getter

func (*AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest) SetParamnQuery added in v1.2.0

ParamnQuery Setter 请求参数对象

type AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIResponse

type AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIResponseModel
}

快递下单 API返回值 alibaba.onetouch.logistics.express.logistics.order.create

快递下单

type AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIResponseModel added in v1.2.0

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"`
}

快递下单 成功返回结果

type AlibabaOnetouchLogisticsExpressLogisticsOrderCreateResult

type AlibabaOnetouchLogisticsExpressLogisticsOrderCreateResult struct {
	// 返回结果描述
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 结果对象
	Values *ExpressFreightDto `json:"values,omitempty" xml:"values,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 返回结果编码
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
}

AlibabaOnetouchLogisticsExpressLogisticsOrderCreateResult

type AlibabaOnetouchLogisticsExpressLogisticsProductListAPIRequest added in v1.2.0

type AlibabaOnetouchLogisticsExpressLogisticsProductListAPIRequest struct {
	model.Params
}

查询物流运力列表 API请求 alibaba.onetouch.logistics.express.logistics.product.list

查询物流产品&揽收仓库列表

func NewAlibabaOnetouchLogisticsExpressLogisticsProductListRequest

func NewAlibabaOnetouchLogisticsExpressLogisticsProductListRequest() *AlibabaOnetouchLogisticsExpressLogisticsProductListAPIRequest

初始化AlibabaOnetouchLogisticsExpressLogisticsProductListAPIRequest对象

func (AlibabaOnetouchLogisticsExpressLogisticsProductListAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressLogisticsProductListAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

type AlibabaOnetouchLogisticsExpressLogisticsProductListAPIResponse

type AlibabaOnetouchLogisticsExpressLogisticsProductListAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressLogisticsProductListAPIResponseModel
}

查询物流运力列表 API返回值 alibaba.onetouch.logistics.express.logistics.product.list

查询物流产品&揽收仓库列表

type AlibabaOnetouchLogisticsExpressLogisticsProductListAPIResponseModel added in v1.2.0

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"`
}

查询物流运力列表 成功返回结果

type AlibabaOnetouchLogisticsExpressLogisticsProductListResult

type AlibabaOnetouchLogisticsExpressLogisticsProductListResult struct {
	// 错误信息提示
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 列表对象
	Values []LogisticsProductDto `json:"values,omitempty" xml:"values>logistics_product_dto,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误码
	ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"`
}

AlibabaOnetouchLogisticsExpressLogisticsProductListResult

type AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest added in v1.2.0

type AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

订单详细信息(面单及仓库信息) API请求 alibaba.onetouch.logistics.express.order.detail.get

订单详细信息(面单及仓库信息)

func NewAlibabaOnetouchLogisticsExpressOrderDetailGetRequest

func NewAlibabaOnetouchLogisticsExpressOrderDetailGetRequest() *AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest

初始化AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest对象

func (AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest) GetParamQuery added in v1.2.0

ParamQuery Getter

func (*AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest) SetParamQuery added in v1.2.0

ParamQuery Setter 请求参数

type AlibabaOnetouchLogisticsExpressOrderDetailGetAPIResponse

type AlibabaOnetouchLogisticsExpressOrderDetailGetAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressOrderDetailGetAPIResponseModel
}

订单详细信息(面单及仓库信息) API返回值 alibaba.onetouch.logistics.express.order.detail.get

订单详细信息(面单及仓库信息)

type AlibabaOnetouchLogisticsExpressOrderDetailGetAPIResponseModel added in v1.2.0

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"`
}

订单详细信息(面单及仓库信息) 成功返回结果

type AlibabaOnetouchLogisticsExpressOrderDetailGetResult

type AlibabaOnetouchLogisticsExpressOrderDetailGetResult struct {
	// 返回结果编码
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 结果数据
	Data *OrderDetailDto `json:"data,omitempty" xml:"data,omitempty"`
	// 返回结果描述
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
}

AlibabaOnetouchLogisticsExpressOrderDetailGetResult

type AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIRequest added in v1.2.0

type AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIRequest struct {
	model.Params
}

获取商品类型配置项 API请求 alibaba.onetouch.logistics.express.special.product.type.list

获取商品类型配置项

func NewAlibabaOnetouchLogisticsExpressSpecialProductTypeListRequest

func NewAlibabaOnetouchLogisticsExpressSpecialProductTypeListRequest() *AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIRequest

初始化AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIRequest对象

func (AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

type AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIResponse

type AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIResponseModel
}

获取商品类型配置项 API返回值 alibaba.onetouch.logistics.express.special.product.type.list

获取商品类型配置项

type AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIResponseModel added in v1.2.0

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"`
}

获取商品类型配置项 成功返回结果

type AlibabaOnetouchLogisticsExpressSpecialProductTypeListResult

type AlibabaOnetouchLogisticsExpressSpecialProductTypeListResult struct {
	// 返回结果描述
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 返回结果编码
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 列表对象
	Values []SpecialProductTypeDto `json:"values,omitempty" xml:"values>special_product_type_dto,omitempty"`
}

AlibabaOnetouchLogisticsExpressSpecialProductTypeListResult

type CargoList

type CargoList struct {
	// 单位
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
	// 海关编码
	Hscode string `json:"hscode,omitempty" xml:"hscode,omitempty"`
	// 货物数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,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"`
	// 商品特性列表对象
	ProductType []ProductType `json:"product_type,omitempty" xml:"product_type>product_type,omitempty"`
	// 材质
	Material string `json:"material,omitempty" xml:"material,omitempty"`
	// 用途
	Purpose string `json:"purpose,omitempty" xml:"purpose,omitempty"`
}

CargoList

type Children

type Children struct {
	// 商品类型code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 商品特性列表对象
	Children []LeafNode `json:"children,omitempty" xml:"children>leaf_node,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 {
	// 国家、省、市、详细地址信息
	Address *Address `json:"address,omitempty" xml:"address,omitempty"`
	// 联系方式(邮箱、电话号码、手机号码等)
	Contact *Contact `json:"contact,omitempty" xml:"contact,omitempty"`
	// 地址所有者邮箱(卖家维护收货地址, 值等于买家邮箱)
	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"`
}

ConsigneeAddress

type ConsignorAddress

type ConsignorAddress struct {
	// 国家、省、市、详细地址信息
	Address *Address `json:"address,omitempty" xml:"address,omitempty"`
	// 联系方式(邮箱、电话号码、手机号码等)
	Contact *Contact `json:"contact,omitempty" xml:"contact,omitempty"`
	// 联系人姓名
	ContactPerson string `json:"contact_person,omitempty" xml:"contact_person,omitempty"`
	// 公司中文名
	CompanyNameCn string `json:"company_name_cn,omitempty" xml:"company_name_cn,omitempty"`
}

ConsignorAddress

type Contact

type Contact struct {
	// 电话区码
	PhoneArea string `json:"phone_area,omitempty" xml:"phone_area,omitempty"`
	// 电话区号
	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"`
}

Contact

type ContactAddress

type ContactAddress struct {
	// 国家、省、市、详细地址信息
	Address *Address `json:"address,omitempty" xml:"address,omitempty"`
	// 联系人
	ContactPerson string `json:"contact_person,omitempty" xml:"contact_person,omitempty"`
	// 联系方式(邮箱、电话号码、手机号码等)
	Contact *Contact `json:"contact,omitempty" xml:"contact,omitempty"`
	// 公司名称
	CompanyNameCn string `json:"company_name_cn,omitempty" xml:"company_name_cn,omitempty"`
}

ContactAddress

type Country

type Country struct {
	// 地址代码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 地址id
	AreaId int64 `json:"area_id,omitempty" xml:"area_id,omitempty"`
	// 地址名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 未知
	PhoneCode string `json:"phone_code,omitempty" xml:"phone_code,omitempty"`
}

Country

type DeliverWarehouseExpressDto

type DeliverWarehouseExpressDto struct {
	// 国内快递公司code
	LogisticsCompany string `json:"logistics_company,omitempty" xml:"logistics_company,omitempty"`
	// 运单号
	TrackingNumbers []string `json:"tracking_numbers,omitempty" xml:"tracking_numbers>string,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"`
	// 地址代码
	AreaId string `json:"area_id,omitempty" xml:"area_id,omitempty"`
	// 地址名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

District

type Division

type Division struct {
	// 节点名称拼音
	Pinyin string `json:"pinyin,omitempty" xml:"pinyin,omitempty"`
	// 上级节点ID
	ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"`
	// 中文名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 层级
	Level int64 `json:"level,omitempty" xml:"level,omitempty"`
	// 节点id
	Id int64 `json:"id,omitempty" xml:"id,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"`
}

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"`
	// 仓库信息
	Warehouse *WarehouseDto `json:"warehouse,omitempty" xml:"warehouse,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"`
	// 上门揽收信息
	PickupInfo *PickupInfoDto `json:"pickup_info,omitempty" xml:"pickup_info,omitempty"`
}

ExpressFreightDto

type ExpressQuoteItemList

type ExpressQuoteItemList struct {
	// 费用编码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 价格信息
	SalesAmount *Money `json:"sales_amount,omitempty" xml:"sales_amount,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"`
}

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"`
	// 是否上门揽收
	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 {
	// 仓库信息
	Warehouse *WarehouseDto `json:"warehouse,omitempty" xml:"warehouse,omitempty"`
	// 条码Base64
	BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"`
	// 物流订单号
	OrderNumber string `json:"order_number,omitempty" xml:"order_number,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"`
	// 能否上门揽收
	CanPickup bool `json:"can_pickup,omitempty" xml:"can_pickup,omitempty"`
	// 上门揽收类型名称
	PickupTypeName string `json:"pickup_type_name,omitempty" xml:"pickup_type_name,omitempty"`
}

PickupInfoDto

type PlaceOrderDto added in v1.2.0

type PlaceOrderDto struct {
	// 产品编码
	ProductCode string `json:"product_code,omitempty" xml:"product_code,omitempty"`
	// 仓库编码
	WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"`
	// 1
	NeedPickup bool `json:"need_pickup,omitempty" xml:"need_pickup,omitempty"`
	// 货品信息
	CargoList []CargoList `json:"cargo_list,omitempty" xml:"cargo_list>cargo_list,omitempty"`
	// 包裹信息
	PackageList []PackageList `json:"package_list,omitempty" xml:"package_list>package_list,omitempty"`
	// 收货人地址
	ConsigneeAddress *ConsigneeAddress `json:"consignee_address,omitempty" xml:"consignee_address,omitempty"`
	// 发货人地址
	ConsignorAddress *ConsignorAddress `json:"consignor_address,omitempty" xml:"consignor_address,omitempty"`
	// 申报信息
	ExpressCustoms *ExpressCustomsDto `json:"express_customs,omitempty" xml:"express_customs,omitempty"`
	// 信保单ID
	TradeBizId string `json:"trade_biz_id,omitempty" xml:"trade_biz_id,omitempty"`
	// 发货批次ID
	SupplyChainBizId string `json:"supply_chain_biz_id,omitempty" xml:"supply_chain_biz_id,omitempty"`
	// 起始地邮编
	OriginZipCode string `json:"origin_zip_code,omitempty" xml:"origin_zip_code,omitempty"`
	// 目的地邮编
	DestinationZipCode string `json:"destination_zip_code,omitempty" xml:"destination_zip_code,omitempty"`
	// 交货到仓快递信息
	DeliverWarehouseExpress *DeliverWarehouseExpressDto `json:"deliver_warehouse_express,omitempty" xml:"deliver_warehouse_express,omitempty"`
	// 目的地国家
	DestinationCountryCode string `json:"destination_country_code,omitempty" xml:"destination_country_code,omitempty"`
	// 备用字段(上门揽收地址),目前按发货人地址
	PickupAddress *ContactAddress `json:"pickup_address,omitempty" xml:"pickup_address,omitempty"`
	// 备用字段(退货地址),目前按退货申请指定地址
	ReturnAddress *ContactAddress `json:"return_address,omitempty" xml:"return_address,omitempty"`
}

PlaceOrderDto

type ProductType

type ProductType struct {
	// 商品类型code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 商品特性列表对象
	Children []Children `json:"children,omitempty" xml:"children>children,omitempty"`
	// 商品类型
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

ProductType

type Province

type Province struct {
	// 地址代码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 地址代码
	AreaId string `json:"area_id,omitempty" xml:"area_id,omitempty"`
	// 地址名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

Province

type RegionEntity

type RegionEntity struct {
	// 节点ID
	AreaId int64 `json:"area_id,omitempty" xml:"area_id,omitempty"`
	// 节点名称拼音
	Pinyin string `json:"pinyin,omitempty" xml:"pinyin,omitempty"`
	// 上级节点ID
	ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"`
	// 中文名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 层级
	Level int64 `json:"level,omitempty" xml:"level,omitempty"`
	// 上级节点名称
	ParentName string `json:"parent_name,omitempty" xml:"parent_name,omitempty"`
	// 邮编
	Zip string `json:"zip,omitempty" xml:"zip,omitempty"`
	// id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 子节点列表
	Childrens []Division `json:"childrens,omitempty" xml:"childrens>division,omitempty"`
	// 地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
}

RegionEntity

type SpecialProductTypeDto added in v1.2.0

type SpecialProductTypeDto struct {
	// 商品类型code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 商品类型
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 列表对象
	Childrens []SpecialProductTypeDto `json:"childrens,omitempty" xml:"childrens>special_product_type_dto,omitempty"`
}

SpecialProductTypeDto

type Town

type Town struct {
	// 地址代码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 地址代码
	AreaId string `json:"area_id,omitempty" xml:"area_id,omitempty"`
	// 地址名字
	Name string `json:"name,omitempty" xml:"name,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

Jump to

Keyboard shortcuts

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