icbulogistics

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package icbulogistics 包含ICBU-物流相关结构体

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

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"`
	// 地址
	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.2.0

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

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

四级地址库-市

func NewAlibabaOnetouchLogisticsExpressAddressCityListRequest

func NewAlibabaOnetouchLogisticsExpressAddressCityListRequest() *AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest

NewAlibabaOnetouchLogisticsExpressAddressCityListRequest 初始化AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest对象

func (AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest) GetParamQuery added in v1.2.0

GetParamQuery ParamQuery Getter

func (AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaOnetouchLogisticsExpressAddressCityListAPIRequest) SetParamQuery added in v1.2.0

SetParamQuery is ParamQuery Setter 请求参数

type AlibabaOnetouchLogisticsExpressAddressCityListAPIResponse

type AlibabaOnetouchLogisticsExpressAddressCityListAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressAddressCityListAPIResponseModel
}

AlibabaOnetouchLogisticsExpressAddressCityListAPIResponse 四级地址库-市 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"`
}

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

type AlibabaOnetouchLogisticsExpressAddressCityListResult

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.2.0

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

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

四级地址库-区

func NewAlibabaOnetouchLogisticsExpressAddressDivisionListRequest

func NewAlibabaOnetouchLogisticsExpressAddressDivisionListRequest() *AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest

NewAlibabaOnetouchLogisticsExpressAddressDivisionListRequest 初始化AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest对象

func (AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest) GetParamQuery added in v1.2.0

GetParamQuery ParamQuery Getter

func (AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaOnetouchLogisticsExpressAddressDivisionListAPIRequest) SetParamQuery added in v1.2.0

SetParamQuery is ParamQuery Setter 请求参数

type AlibabaOnetouchLogisticsExpressAddressDivisionListAPIResponse

type AlibabaOnetouchLogisticsExpressAddressDivisionListAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressAddressDivisionListAPIResponseModel
}

AlibabaOnetouchLogisticsExpressAddressDivisionListAPIResponse 四级地址库-区域 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"`
}

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

type AlibabaOnetouchLogisticsExpressAddressDivisionListResult

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.2.0

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

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

四级地址库-省

func NewAlibabaOnetouchLogisticsExpressAddressProvinceListRequest

func NewAlibabaOnetouchLogisticsExpressAddressProvinceListRequest() *AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest

NewAlibabaOnetouchLogisticsExpressAddressProvinceListRequest 初始化AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest对象

func (AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest) GetParamQuery added in v1.2.0

GetParamQuery ParamQuery Getter

func (AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaOnetouchLogisticsExpressAddressProvinceListAPIRequest) SetParamQuery added in v1.2.0

SetParamQuery is ParamQuery Setter 请求参数

type AlibabaOnetouchLogisticsExpressAddressProvinceListAPIResponse

type AlibabaOnetouchLogisticsExpressAddressProvinceListAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressAddressProvinceListAPIResponseModel
}

AlibabaOnetouchLogisticsExpressAddressProvinceListAPIResponse 四级地址库-省 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"`
}

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

type AlibabaOnetouchLogisticsExpressAddressProvinceListResult

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.2.0

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

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

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

func NewAlibabaOnetouchLogisticsExpressAddressStreetListRequest

func NewAlibabaOnetouchLogisticsExpressAddressStreetListRequest() *AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest

NewAlibabaOnetouchLogisticsExpressAddressStreetListRequest 初始化AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest对象

func (AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest) GetParamQuery added in v1.2.0

GetParamQuery ParamQuery Getter

func (AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaOnetouchLogisticsExpressAddressStreetListAPIRequest) SetParamQuery added in v1.2.0

SetParamQuery is ParamQuery Setter 请求参数

type AlibabaOnetouchLogisticsExpressAddressStreetListAPIResponse

type AlibabaOnetouchLogisticsExpressAddressStreetListAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressAddressStreetListAPIResponseModel
}

AlibabaOnetouchLogisticsExpressAddressStreetListAPIResponse 四级地址库-街道 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"`
}

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

type AlibabaOnetouchLogisticsExpressAddressStreetListResult

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.2.0

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

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

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

func NewAlibabaOnetouchLogisticsExpressChargeCalculateRequest

func NewAlibabaOnetouchLogisticsExpressChargeCalculateRequest() *AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest

NewAlibabaOnetouchLogisticsExpressChargeCalculateRequest 初始化AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest对象

func (AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest) GetParamnQuery added in v1.2.0

GetParamnQuery ParamnQuery Getter

func (AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaOnetouchLogisticsExpressChargeCalculateAPIRequest) SetParamnQuery added in v1.2.0

SetParamnQuery is ParamnQuery Setter 请求参数对象

type AlibabaOnetouchLogisticsExpressChargeCalculateAPIResponse

type AlibabaOnetouchLogisticsExpressChargeCalculateAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressChargeCalculateAPIResponseModel
}

AlibabaOnetouchLogisticsExpressChargeCalculateAPIResponse 计算快递运费&下单参数校验 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"`
}

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

type AlibabaOnetouchLogisticsExpressChargeCalculateResult

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.2.0

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

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

快递下单

func NewAlibabaOnetouchLogisticsExpressLogisticsOrderCreateRequest

func NewAlibabaOnetouchLogisticsExpressLogisticsOrderCreateRequest() *AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest

NewAlibabaOnetouchLogisticsExpressLogisticsOrderCreateRequest 初始化AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest对象

func (AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest) GetParamnQuery added in v1.2.0

GetParamnQuery ParamnQuery Getter

func (AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIRequest) SetParamnQuery added in v1.2.0

SetParamnQuery is ParamnQuery Setter 请求参数对象

type AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIResponse

type AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIResponseModel
}

AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIResponse 快递下单 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"`
}

AlibabaOnetouchLogisticsExpressLogisticsOrderCreateAPIResponseModel is 快递下单 成功返回结果

type AlibabaOnetouchLogisticsExpressLogisticsOrderCreateResult

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.2.0

type AlibabaOnetouchLogisticsExpressLogisticsProductListAPIRequest struct {
	model.Params
}

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

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

func NewAlibabaOnetouchLogisticsExpressLogisticsProductListRequest

func NewAlibabaOnetouchLogisticsExpressLogisticsProductListRequest() *AlibabaOnetouchLogisticsExpressLogisticsProductListAPIRequest

NewAlibabaOnetouchLogisticsExpressLogisticsProductListRequest 初始化AlibabaOnetouchLogisticsExpressLogisticsProductListAPIRequest对象

func (AlibabaOnetouchLogisticsExpressLogisticsProductListAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressLogisticsProductListAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressLogisticsProductListAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

type AlibabaOnetouchLogisticsExpressLogisticsProductListAPIResponse

type AlibabaOnetouchLogisticsExpressLogisticsProductListAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressLogisticsProductListAPIResponseModel
}

AlibabaOnetouchLogisticsExpressLogisticsProductListAPIResponse 查询物流运力列表 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"`
}

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

type AlibabaOnetouchLogisticsExpressLogisticsProductListResult

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.2.0

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

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

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

func NewAlibabaOnetouchLogisticsExpressOrderDetailGetRequest

func NewAlibabaOnetouchLogisticsExpressOrderDetailGetRequest() *AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest

NewAlibabaOnetouchLogisticsExpressOrderDetailGetRequest 初始化AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest对象

func (AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest) GetParamQuery added in v1.2.0

GetParamQuery ParamQuery Getter

func (AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaOnetouchLogisticsExpressOrderDetailGetAPIRequest) SetParamQuery added in v1.2.0

SetParamQuery is ParamQuery Setter 请求参数

type AlibabaOnetouchLogisticsExpressOrderDetailGetAPIResponse

type AlibabaOnetouchLogisticsExpressOrderDetailGetAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressOrderDetailGetAPIResponseModel
}

AlibabaOnetouchLogisticsExpressOrderDetailGetAPIResponse 订单详细信息(面单及仓库信息) 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"`
}

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

type AlibabaOnetouchLogisticsExpressOrderDetailGetResult

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.2.0

type AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIRequest struct {
	model.Params
}

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

获取商品类型配置项

func NewAlibabaOnetouchLogisticsExpressSpecialProductTypeListRequest

func NewAlibabaOnetouchLogisticsExpressSpecialProductTypeListRequest() *AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIRequest

NewAlibabaOnetouchLogisticsExpressSpecialProductTypeListRequest 初始化AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIRequest对象

func (AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

type AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIResponse

type AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIResponse struct {
	model.CommonResponse
	AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIResponseModel
}

AlibabaOnetouchLogisticsExpressSpecialProductTypeListAPIResponse 获取商品类型配置项 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"`
}

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

type AlibabaOnetouchLogisticsExpressSpecialProductTypeListResult

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

Jump to

Keyboard shortcuts

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