logistic

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 logistic 包含物流API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AELogisticsOrderDto added in v1.2.5

type AELogisticsOrderDto struct {
	// Shipment order id created. AE will save relationship with logistics provider's shipment order_id
	LogisticsOrderId string `json:"logistics_order_id,omitempty" xml:"logistics_order_id,omitempty"`
}

AELogisticsOrderDto 结构体

type AELogisticsShippingMethodDto added in v1.2.5

type AELogisticsShippingMethodDto struct {
	// Logistics provider Id of the shipping order such as 1-Cainiao, 2-Pegaki, 3-Frenet, 4-Delivery Hub, etc.
	LogisticsChannelId string `json:"logistics_channel_id,omitempty" xml:"logistics_channel_id,omitempty"`
	// Logistics provider of the shipping order such as Cainiao, Pegaki, Frenet, Delivery Hub, etc.
	LogisticsChannelName string `json:"logistics_channel_name,omitempty" xml:"logistics_channel_name,omitempty"`
	// shipping method id of Logistics service such as Loggi Express, Correios Sedex, etc.
	DeliveryMethodId string `json:"delivery_method_id,omitempty" xml:"delivery_method_id,omitempty"`
	// Devlivery provider type such as express/standard, pac/sedex.
	DeliveryMethodName string `json:"delivery_method_name,omitempty" xml:"delivery_method_name,omitempty"`
	// Delivery provider name
	DeliveryProviderName string `json:"delivery_provider_name,omitempty" xml:"delivery_provider_name,omitempty"`
	// estimated shipping cost based on dimension and weight of a parcel
	DeliveryCost int64 `json:"delivery_cost,omitempty" xml:"delivery_cost,omitempty"`
	// delivery time on working days
	DeliveryEstimateDays int64 `json:"delivery_estimate_days,omitempty" xml:"delivery_estimate_days,omitempty"`
}

AELogisticsShippingMethodDto 结构体

type AddressDto

type AddressDto struct {
	// first name of receiver
	FirstName string `json:"first_name,omitempty" xml:"first_name,omitempty"`
	// last name of receiver
	LastName string `json:"last_name,omitempty" xml:"last_name,omitempty"`
	// receiver's city
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// receiver's federal_tax_id
	FederalTaxId string `json:"federal_tax_id,omitempty" xml:"federal_tax_id,omitempty"`
	// receiver's country
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// zip code of ship to place
	ZipCode string `json:"zip_code,omitempty" xml:"zip_code,omitempty"`
	// receiver's State
	State string `json:"state,omitempty" xml:"state,omitempty"`
	// receiver's district and street
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// receiver's street number
	AddressNumber string `json:"address_number,omitempty" xml:"address_number,omitempty"`
	// email of receiver
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// cell phone of receiver
	CellPhone string `json:"cell_phone,omitempty" xml:"cell_phone,omitempty"`
	// shipping additional
	Additional string `json:"additional,omitempty" xml:"additional,omitempty"`
	// 镇/街道
	TownName string `json:"town_name,omitempty" xml:"town_name,omitempty"`
	// 详细地址
	AddressDetail string `json:"address_detail,omitempty" xml:"address_detail,omitempty"`
	// 市
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 区
	AreaName string `json:"area_name,omitempty" xml:"area_name,omitempty"`
	// 省
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 区级地址
	County string `json:"county,omitempty" xml:"county,omitempty"`
	// 省级地址
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 街道地址
	Town string `json:"town,omitempty" xml:"town,omitempty"`
	// 详细地址
	DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"`
}

AddressDto 结构体

type AddressResult

type AddressResult struct {
	// 修改日期时间
	ModifyDate string `json:"modify_date,omitempty" xml:"modify_date,omitempty"`
	// 联系人姓名
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 省
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 区、县
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 详细街道地址,不需要重复填写省/市/区
	Addr string `json:"addr,omitempty" xml:"addr,omitempty"`
	// 地区邮政编码
	ZipCode string `json:"zip_code,omitempty" xml:"zip_code,omitempty"`
	// 电话号码,手机与电话必需有一个
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 手机号码,手机与电话必需有一个 <br/>手机号码不能超过20位
	MobilePhone string `json:"mobile_phone,omitempty" xml:"mobile_phone,omitempty"`
	// 公司名称,
	SellerCompany string `json:"seller_company,omitempty" xml:"seller_company,omitempty"`
	// 备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 地址库ID
	ContactId int64 `json:"contact_id,omitempty" xml:"contact_id,omitempty"`
	// 区域ID
	AreaId int64 `json:"area_id,omitempty" xml:"area_id,omitempty"`
	// 是否默认发货地址
	SendDef bool `json:"send_def,omitempty" xml:"send_def,omitempty"`
	// 是否默认取货地址
	GetDef bool `json:"get_def,omitempty" xml:"get_def,omitempty"`
	// 是否默认退货地址
	CancelDef bool `json:"cancel_def,omitempty" xml:"cancel_def,omitempty"`
}

AddressResult 结构体

type AddressTopDto added in v1.2.5

type AddressTopDto struct {
	// first name of sender
	FirstName string `json:"first_name,omitempty" xml:"first_name,omitempty"`
	// last name of sender
	LastName string `json:"last_name,omitempty" xml:"last_name,omitempty"`
	// sender's country
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// zip code of ship from place
	ZipCode string `json:"zip_code,omitempty" xml:"zip_code,omitempty"`
	// sender's district and street
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// federal tax id(cnpj)
	FederalTaxId string `json:"federal_tax_id,omitempty" xml:"federal_tax_id,omitempty"`
	// sender's city
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// sender's street number
	AddressNumber string `json:"address_number,omitempty" xml:"address_number,omitempty"`
	// cell phone of sender
	Cellphone string `json:"cellphone,omitempty" xml:"cellphone,omitempty"`
	// sender's State
	State string `json:"state,omitempty" xml:"state,omitempty"`
	// email of sender
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// shipping additional
	Additional string `json:"additional,omitempty" xml:"additional,omitempty"`
}

AddressTopDto 结构体

type Addressdtos added in v1.2.5

type Addressdtos struct {
	// sender address
	Sender *AeopWlDeclareAddressDto `json:"sender,omitempty" xml:"sender,omitempty"`
	// pickup address
	Pickup *AeopWlDeclareAddressDto `json:"pickup,omitempty" xml:"pickup,omitempty"`
	// receiver address
	Receiver *AeopWlDeclareAddressDto `json:"receiver,omitempty" xml:"receiver,omitempty"`
	// refund address
	Refund *AeopWlDeclareAddressDto `json:"refund,omitempty" xml:"refund,omitempty"`
}

Addressdtos 结构体

type AeopWlCreateWarehouseOrderResultDto added in v1.2.5

type AeopWlCreateWarehouseOrderResultDto struct {
	// 创建时错误信息
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// 国际运单号
	IntlTrackingNo string `json:"intl_tracking_no,omitempty" xml:"intl_tracking_no,omitempty"`
	// 订单来源
	TradeOrderFrom string `json:"trade_order_from,omitempty" xml:"trade_order_from,omitempty"`
	// 创建时错误码(1表示无错误)
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 外部订单号
	OutOrderId int64 `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"`
	// 交易订单号
	TradeOrderId int64 `json:"trade_order_id,omitempty" xml:"trade_order_id,omitempty"`
	// 物流订单号
	WarehouseOrderId int64 `json:"warehouse_order_id,omitempty" xml:"warehouse_order_id,omitempty"`
	// 创建订单是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AeopWlCreateWarehouseOrderResultDto 结构体

type AeopWlDeclareAddressDto added in v1.2.5

type AeopWlDeclareAddressDto struct {
	// 电话
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 传真
	Fax string `json:"fax,omitempty" xml:"fax,omitempty"`
	// 类型
	MemberType string `json:"member_type,omitempty" xml:"member_type,omitempty"`
	// 旺旺
	TrademanageId string `json:"trademanage_id,omitempty" xml:"trademanage_id,omitempty"`
	// 街道
	Street string `json:"street,omitempty" xml:"street,omitempty"`
	// 国家
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 区
	County string `json:"county,omitempty" xml:"county,omitempty"`
	// 邮箱
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 省份
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 详细地址
	StreetAddress string `json:"street_address,omitempty" xml:"street_address,omitempty"`
	// 电话
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 邮编
	PostCode string `json:"post_code,omitempty" xml:"post_code,omitempty"`
	// 仓Code
	FromWarehouseCode string `json:"from_warehouse_code,omitempty" xml:"from_warehouse_code,omitempty"`
	// 卖家后台地址id,用来获取卖家详细地址信息,传入值为Long型;传入addressId后,其余字段值无效。
	AddressId int64 `json:"address_id,omitempty" xml:"address_id,omitempty"`
}

AeopWlDeclareAddressDto 结构体

type AeopWlDeclareProductForTopDto added in v1.2.5

type AeopWlDeclareProductForTopDto struct {
	// 类目中文名称
	CategoryCnDesc string `json:"category_cn_desc,omitempty" xml:"category_cn_desc,omitempty"`
	// 类目英文名称
	CategoryEnDesc string `json:"category_en_desc,omitempty" xml:"category_en_desc,omitempty"`
	// 海关编码
	HsCode string `json:"hs_code,omitempty" xml:"hs_code,omitempty"`
	// 产品申报金额
	ProductDeclareAmount string `json:"product_declare_amount,omitempty" xml:"product_declare_amount,omitempty"`
	// 产品重量
	ProductWeight string `json:"product_weight,omitempty" xml:"product_weight,omitempty"`
	// scItem code
	ScItemCode string `json:"sc_item_code,omitempty" xml:"sc_item_code,omitempty"`
	// scItem name
	ScItemName string `json:"sc_item_name,omitempty" xml:"sc_item_name,omitempty"`
	// sku code
	SkuCode string `json:"sku_code,omitempty" xml:"sku_code,omitempty"`
	// sku value
	SkuValue string `json:"sku_value,omitempty" xml:"sku_value,omitempty"`
	// 商品ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 产品数量
	ProductNum int64 `json:"product_num,omitempty" xml:"product_num,omitempty"`
	// scItem id
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// 交易子单号
	ChildOrderId int64 `json:"child_order_id,omitempty" xml:"child_order_id,omitempty"`
	// 判断是否属于非液体化妆品
	AneroidMarkup bool `json:"aneroid_markup,omitempty" xml:"aneroid_markup,omitempty"`
	// 是否易碎
	Breakable bool `json:"breakable,omitempty" xml:"breakable,omitempty"`
	// 是否包含电池
	ContainsBattery bool `json:"contains_battery,omitempty" xml:"contains_battery,omitempty"`
	// 是否纯电池
	OnlyBattery bool `json:"only_battery,omitempty" xml:"only_battery,omitempty"`
	// 是否特货
	ContainsSpecialGoods bool `json:"contains_special_goods,omitempty" xml:"contains_special_goods,omitempty"`
}

AeopWlDeclareProductForTopDto 结构体

type AlibabaAlinkMessageHistoryActionAPIRequest

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

AlibabaAlinkMessageHistoryActionAPIRequest 操作历史消息 API请求 alibaba.alink.message.history.action

阿里智能操作历史消息

func NewAlibabaAlinkMessageHistoryActionRequest

func NewAlibabaAlinkMessageHistoryActionRequest() *AlibabaAlinkMessageHistoryActionAPIRequest

NewAlibabaAlinkMessageHistoryActionRequest 初始化AlibabaAlinkMessageHistoryActionAPIRequest对象

func (AlibabaAlinkMessageHistoryActionAPIRequest) GetAction

GetAction Action Getter

func (AlibabaAlinkMessageHistoryActionAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlinkMessageHistoryActionAPIRequest) GetApiParams

func (r AlibabaAlinkMessageHistoryActionAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlinkMessageHistoryActionAPIRequest) GetIndex

GetIndex Index Getter

func (AlibabaAlinkMessageHistoryActionAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaAlinkMessageHistoryActionAPIRequest) SetAction

SetAction is Action Setter 删除:delete,已读:read

func (*AlibabaAlinkMessageHistoryActionAPIRequest) SetIndex

SetIndex is Index Setter 消息id

type AlibabaAlinkMessageHistoryActionAPIResponse

type AlibabaAlinkMessageHistoryActionAPIResponse struct {
	model.CommonResponse
	AlibabaAlinkMessageHistoryActionAPIResponseModel
}

AlibabaAlinkMessageHistoryActionAPIResponse 操作历史消息 API返回值 alibaba.alink.message.history.action

阿里智能操作历史消息

type AlibabaAlinkMessageHistoryActionAPIResponseModel

type AlibabaAlinkMessageHistoryActionAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alink_message_history_action_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *TopServiceResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAlinkMessageHistoryActionAPIResponseModel is 操作历史消息 成功返回结果

type AlibabaAscpLogisticsCpGetAPIRequest added in v1.2.9

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

AlibabaAscpLogisticsCpGetAPIRequest 快递公司资源列表查询接口 API请求 alibaba.ascp.logistics.cp.get

快递公司资源列表查询接口

func NewAlibabaAscpLogisticsCpGetRequest added in v1.2.9

func NewAlibabaAscpLogisticsCpGetRequest() *AlibabaAscpLogisticsCpGetAPIRequest

NewAlibabaAscpLogisticsCpGetRequest 初始化AlibabaAscpLogisticsCpGetAPIRequest对象

func (AlibabaAscpLogisticsCpGetAPIRequest) GetApiMethodName added in v1.2.9

func (r AlibabaAscpLogisticsCpGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpLogisticsCpGetAPIRequest) GetApiParams added in v1.2.9

func (r AlibabaAscpLogisticsCpGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpLogisticsCpGetAPIRequest) GetLogisticsResourceRequest added in v1.2.9

func (r AlibabaAscpLogisticsCpGetAPIRequest) GetLogisticsResourceRequest() *LogisticsResourceRequest

GetLogisticsResourceRequest LogisticsResourceRequest Getter

func (AlibabaAscpLogisticsCpGetAPIRequest) GetRawParams added in v1.2.9

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

func (*AlibabaAscpLogisticsCpGetAPIRequest) SetLogisticsResourceRequest added in v1.2.9

func (r *AlibabaAscpLogisticsCpGetAPIRequest) SetLogisticsResourceRequest(_logisticsResourceRequest *LogisticsResourceRequest) error

SetLogisticsResourceRequest is LogisticsResourceRequest Setter 请求体

type AlibabaAscpLogisticsCpGetAPIResponse added in v1.2.9

type AlibabaAscpLogisticsCpGetAPIResponse struct {
	model.CommonResponse
	AlibabaAscpLogisticsCpGetAPIResponseModel
}

AlibabaAscpLogisticsCpGetAPIResponse 快递公司资源列表查询接口 API返回值 alibaba.ascp.logistics.cp.get

快递公司资源列表查询接口

type AlibabaAscpLogisticsCpGetAPIResponseModel added in v1.2.9

type AlibabaAscpLogisticsCpGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_logistics_cp_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值
	Result *ResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAscpLogisticsCpGetAPIResponseModel is 快递公司资源列表查询接口 成功返回结果

type AlibabaEleFengniaoCancelMerchantAPIRequest

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

AlibabaEleFengniaoCancelMerchantAPIRequest 商户取消 API请求 alibaba.ele.fengniao.cancel.merchant

商户取消配送

func NewAlibabaEleFengniaoCancelMerchantRequest

func NewAlibabaEleFengniaoCancelMerchantRequest() *AlibabaEleFengniaoCancelMerchantAPIRequest

NewAlibabaEleFengniaoCancelMerchantRequest 初始化AlibabaEleFengniaoCancelMerchantAPIRequest对象

func (AlibabaEleFengniaoCancelMerchantAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleFengniaoCancelMerchantAPIRequest) GetApiParams

func (r AlibabaEleFengniaoCancelMerchantAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleFengniaoCancelMerchantAPIRequest) GetParam

GetParam Param Getter

func (AlibabaEleFengniaoCancelMerchantAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaEleFengniaoCancelMerchantAPIRequest) SetParam

SetParam is Param Setter 参数param

type AlibabaEleFengniaoCancelMerchantAPIResponse

type AlibabaEleFengniaoCancelMerchantAPIResponse struct {
	model.CommonResponse
	AlibabaEleFengniaoCancelMerchantAPIResponseModel
}

AlibabaEleFengniaoCancelMerchantAPIResponse 商户取消 API返回值 alibaba.ele.fengniao.cancel.merchant

商户取消配送

type AlibabaEleFengniaoCancelMerchantAPIResponseModel

type AlibabaEleFengniaoCancelMerchantAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_fengniao_cancel_merchant_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

AlibabaEleFengniaoCancelMerchantAPIResponseModel is 商户取消 成功返回结果

type AlibabaEleFengniaoCarrierCapacityQueryAPIRequest

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

AlibabaEleFengniaoCarrierCapacityQueryAPIRequest 按照门店查询骑手运力状态查询 API请求 alibaba.ele.fengniao.carrier.capacity.query

提供给大润发,用于按照站点纬度查询大润发每个配送站的实时上班骑手数、到店骑手数、活跃骑手数量

func NewAlibabaEleFengniaoCarrierCapacityQueryRequest

func NewAlibabaEleFengniaoCarrierCapacityQueryRequest() *AlibabaEleFengniaoCarrierCapacityQueryAPIRequest

NewAlibabaEleFengniaoCarrierCapacityQueryRequest 初始化AlibabaEleFengniaoCarrierCapacityQueryAPIRequest对象

func (AlibabaEleFengniaoCarrierCapacityQueryAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleFengniaoCarrierCapacityQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleFengniaoCarrierCapacityQueryAPIRequest) GetParam

GetParam Param Getter

func (AlibabaEleFengniaoCarrierCapacityQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaEleFengniaoCarrierCapacityQueryAPIRequest) SetParam

SetParam is Param Setter 系统自动生成

type AlibabaEleFengniaoCarrierCapacityQueryAPIResponse

type AlibabaEleFengniaoCarrierCapacityQueryAPIResponse struct {
	model.CommonResponse
	AlibabaEleFengniaoCarrierCapacityQueryAPIResponseModel
}

AlibabaEleFengniaoCarrierCapacityQueryAPIResponse 按照门店查询骑手运力状态查询 API返回值 alibaba.ele.fengniao.carrier.capacity.query

提供给大润发,用于按照站点纬度查询大润发每个配送站的实时上班骑手数、到店骑手数、活跃骑手数量

type AlibabaEleFengniaoCarrierCapacityQueryAPIResponseModel

type AlibabaEleFengniaoCarrierCapacityQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_fengniao_carrier_capacity_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Results []Capacities `json:"results,omitempty" xml:"results>capacities,omitempty"`
}

AlibabaEleFengniaoCarrierCapacityQueryAPIResponseModel is 按照门店查询骑手运力状态查询 成功返回结果

type AlibabaEleFengniaoCarrierdriverLocationAPIRequest

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

AlibabaEleFengniaoCarrierdriverLocationAPIRequest 查询骑手当前位置 API请求 alibaba.ele.fengniao.carrierdriver.location

查询骑手当前位置

func NewAlibabaEleFengniaoCarrierdriverLocationRequest

func NewAlibabaEleFengniaoCarrierdriverLocationRequest() *AlibabaEleFengniaoCarrierdriverLocationAPIRequest

NewAlibabaEleFengniaoCarrierdriverLocationRequest 初始化AlibabaEleFengniaoCarrierdriverLocationAPIRequest对象

func (AlibabaEleFengniaoCarrierdriverLocationAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleFengniaoCarrierdriverLocationAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleFengniaoCarrierdriverLocationAPIRequest) GetAppId

GetAppId AppId Getter

func (AlibabaEleFengniaoCarrierdriverLocationAPIRequest) GetPartnerOrderCode

GetPartnerOrderCode PartnerOrderCode Getter

func (AlibabaEleFengniaoCarrierdriverLocationAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaEleFengniaoCarrierdriverLocationAPIRequest) SetAppId

SetAppId is AppId Setter appid

func (*AlibabaEleFengniaoCarrierdriverLocationAPIRequest) SetPartnerOrderCode

func (r *AlibabaEleFengniaoCarrierdriverLocationAPIRequest) SetPartnerOrderCode(_partnerOrderCode string) error

SetPartnerOrderCode is PartnerOrderCode Setter 外部订单号

type AlibabaEleFengniaoCarrierdriverLocationAPIResponse

type AlibabaEleFengniaoCarrierdriverLocationAPIResponse struct {
	model.CommonResponse
	AlibabaEleFengniaoCarrierdriverLocationAPIResponseModel
}

AlibabaEleFengniaoCarrierdriverLocationAPIResponse 查询骑手当前位置 API返回值 alibaba.ele.fengniao.carrierdriver.location

查询骑手当前位置

type AlibabaEleFengniaoCarrierdriverLocationAPIResponseModel

type AlibabaEleFengniaoCarrierdriverLocationAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_fengniao_carrierdriver_location_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 骑手电话
	CarrierDriverPhone string `json:"carrier_driver_phone,omitempty" xml:"carrier_driver_phone,omitempty"`
	// 骑手姓名
	CarrierDriverName string `json:"carrier_driver_name,omitempty" xml:"carrier_driver_name,omitempty"`
	// location
	Location *Location `json:"location,omitempty" xml:"location,omitempty"`
	// 运单状态
	State int64 `json:"state,omitempty" xml:"state,omitempty"`
	// 运单状态变化时间点
	OccurredAt int64 `json:"occurred_at,omitempty" xml:"occurred_at,omitempty"`
}

AlibabaEleFengniaoCarrierdriverLocationAPIResponseModel is 查询骑手当前位置 成功返回结果

type AlibabaEleFengniaoChainstoreContractCancelAPIRequest

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

AlibabaEleFengniaoChainstoreContractCancelAPIRequest 门店解约接口 API请求 alibaba.ele.fengniao.chainstore.contract.cancel

调用成功后,门店和蜂鸟解除物流合同,不能再使用此门店推单

func NewAlibabaEleFengniaoChainstoreContractCancelRequest

func NewAlibabaEleFengniaoChainstoreContractCancelRequest() *AlibabaEleFengniaoChainstoreContractCancelAPIRequest

NewAlibabaEleFengniaoChainstoreContractCancelRequest 初始化AlibabaEleFengniaoChainstoreContractCancelAPIRequest对象

func (AlibabaEleFengniaoChainstoreContractCancelAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleFengniaoChainstoreContractCancelAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleFengniaoChainstoreContractCancelAPIRequest) GetParam

GetParam Param Getter

func (AlibabaEleFengniaoChainstoreContractCancelAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaEleFengniaoChainstoreContractCancelAPIRequest) SetParam

SetParam is Param Setter 系统自动生成

type AlibabaEleFengniaoChainstoreContractCancelAPIResponse

type AlibabaEleFengniaoChainstoreContractCancelAPIResponse struct {
	model.CommonResponse
	AlibabaEleFengniaoChainstoreContractCancelAPIResponseModel
}

AlibabaEleFengniaoChainstoreContractCancelAPIResponse 门店解约接口 API返回值 alibaba.ele.fengniao.chainstore.contract.cancel

调用成功后,门店和蜂鸟解除物流合同,不能再使用此门店推单

type AlibabaEleFengniaoChainstoreContractCancelAPIResponseModel

type AlibabaEleFengniaoChainstoreContractCancelAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_fengniao_chainstore_contract_cancel_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msg
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

AlibabaEleFengniaoChainstoreContractCancelAPIResponseModel is 门店解约接口 成功返回结果

type AlibabaEleFengniaoChainstoreContractCancelData

type AlibabaEleFengniaoChainstoreContractCancelData struct {
	// 门店code
	ChainstoreCodes []string `json:"chainstore_codes,omitempty" xml:"chainstore_codes>string,omitempty"`
	// appid
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 商户code
	MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"`
}

AlibabaEleFengniaoChainstoreContractCancelData 结构体

type AlibabaEleFengniaoChainstoreContractChangeAPIRequest

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

AlibabaEleFengniaoChainstoreContractChangeAPIRequest 门店改签合同接口 API请求 alibaba.ele.fengniao.chainstore.contract.change

通过调用接口,门店改签物流服务包

func NewAlibabaEleFengniaoChainstoreContractChangeRequest

func NewAlibabaEleFengniaoChainstoreContractChangeRequest() *AlibabaEleFengniaoChainstoreContractChangeAPIRequest

NewAlibabaEleFengniaoChainstoreContractChangeRequest 初始化AlibabaEleFengniaoChainstoreContractChangeAPIRequest对象

func (AlibabaEleFengniaoChainstoreContractChangeAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleFengniaoChainstoreContractChangeAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleFengniaoChainstoreContractChangeAPIRequest) GetParam

GetParam Param Getter

func (AlibabaEleFengniaoChainstoreContractChangeAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaEleFengniaoChainstoreContractChangeAPIRequest) SetParam

SetParam is Param Setter 系统自动生成

type AlibabaEleFengniaoChainstoreContractChangeAPIResponse

type AlibabaEleFengniaoChainstoreContractChangeAPIResponse struct {
	model.CommonResponse
	AlibabaEleFengniaoChainstoreContractChangeAPIResponseModel
}

AlibabaEleFengniaoChainstoreContractChangeAPIResponse 门店改签合同接口 API返回值 alibaba.ele.fengniao.chainstore.contract.change

通过调用接口,门店改签物流服务包

type AlibabaEleFengniaoChainstoreContractChangeAPIResponseModel

type AlibabaEleFengniaoChainstoreContractChangeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_fengniao_chainstore_contract_change_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msg
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

AlibabaEleFengniaoChainstoreContractChangeAPIResponseModel is 门店改签合同接口 成功返回结果

type AlibabaEleFengniaoChainstoreRangesAPIRequest

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

AlibabaEleFengniaoChainstoreRangesAPIRequest 蜂鸟查询门店配送范围接口 API请求 alibaba.ele.fengniao.chainstore.ranges

蜂鸟查询门店配送范围接口

func NewAlibabaEleFengniaoChainstoreRangesRequest

func NewAlibabaEleFengniaoChainstoreRangesRequest() *AlibabaEleFengniaoChainstoreRangesAPIRequest

NewAlibabaEleFengniaoChainstoreRangesRequest 初始化AlibabaEleFengniaoChainstoreRangesAPIRequest对象

func (AlibabaEleFengniaoChainstoreRangesAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleFengniaoChainstoreRangesAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleFengniaoChainstoreRangesAPIRequest) GetAppId

GetAppId AppId Getter

func (AlibabaEleFengniaoChainstoreRangesAPIRequest) GetChainstoreCode

GetChainstoreCode ChainstoreCode Getter

func (AlibabaEleFengniaoChainstoreRangesAPIRequest) GetMerchantCode

GetMerchantCode MerchantCode Getter

func (AlibabaEleFengniaoChainstoreRangesAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaEleFengniaoChainstoreRangesAPIRequest) SetAppId

SetAppId is AppId Setter appId

func (*AlibabaEleFengniaoChainstoreRangesAPIRequest) SetChainstoreCode

func (r *AlibabaEleFengniaoChainstoreRangesAPIRequest) SetChainstoreCode(_chainstoreCode string) error

SetChainstoreCode is ChainstoreCode Setter 门店code

func (*AlibabaEleFengniaoChainstoreRangesAPIRequest) SetMerchantCode

func (r *AlibabaEleFengniaoChainstoreRangesAPIRequest) SetMerchantCode(_merchantCode string) error

SetMerchantCode is MerchantCode Setter 商户code

type AlibabaEleFengniaoChainstoreRangesAPIResponse

type AlibabaEleFengniaoChainstoreRangesAPIResponse struct {
	model.CommonResponse
	AlibabaEleFengniaoChainstoreRangesAPIResponseModel
}

AlibabaEleFengniaoChainstoreRangesAPIResponse 蜂鸟查询门店配送范围接口 API返回值 alibaba.ele.fengniao.chainstore.ranges

蜂鸟查询门店配送范围接口

type AlibabaEleFengniaoChainstoreRangesAPIResponseModel

type AlibabaEleFengniaoChainstoreRangesAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_fengniao_chainstore_ranges_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值
	RangeList []AlibabaEleFengniaoChainstoreRangesResult `json:"range_list,omitempty" xml:"range_list>alibaba_ele_fengniao_chainstore_ranges_result,omitempty"`
}

AlibabaEleFengniaoChainstoreRangesAPIResponseModel is 蜂鸟查询门店配送范围接口 成功返回结果

type AlibabaEleFengniaoChainstoreRangesResult

type AlibabaEleFengniaoChainstoreRangesResult struct {
	// ranges
	Ranges []Range `json:"ranges,omitempty" xml:"ranges>range,omitempty"`
	// 到达圈标识
	RangeId int64 `json:"range_id,omitempty" xml:"range_id,omitempty"`
	// 配送圈类型 1-日间 2- 晚上  3-全天
	RangeType int64 `json:"range_type,omitempty" xml:"range_type,omitempty"`
}

AlibabaEleFengniaoChainstoreRangesResult 结构体

type AlibabaEleFengniaoChainstoreUpdateAPIRequest

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

AlibabaEleFengniaoChainstoreUpdateAPIRequest 修改门店信息接口 API请求 alibaba.ele.fengniao.chainstore.update

修改门店的经纬度,文本地址,电话,门店名

func NewAlibabaEleFengniaoChainstoreUpdateRequest

func NewAlibabaEleFengniaoChainstoreUpdateRequest() *AlibabaEleFengniaoChainstoreUpdateAPIRequest

NewAlibabaEleFengniaoChainstoreUpdateRequest 初始化AlibabaEleFengniaoChainstoreUpdateAPIRequest对象

func (AlibabaEleFengniaoChainstoreUpdateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleFengniaoChainstoreUpdateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleFengniaoChainstoreUpdateAPIRequest) GetParam

GetParam Param Getter

func (AlibabaEleFengniaoChainstoreUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaEleFengniaoChainstoreUpdateAPIRequest) SetParam

SetParam is Param Setter 入参

type AlibabaEleFengniaoChainstoreUpdateAPIResponse

type AlibabaEleFengniaoChainstoreUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaEleFengniaoChainstoreUpdateAPIResponseModel
}

AlibabaEleFengniaoChainstoreUpdateAPIResponse 修改门店信息接口 API返回值 alibaba.ele.fengniao.chainstore.update

修改门店的经纬度,文本地址,电话,门店名

type AlibabaEleFengniaoChainstoreUpdateAPIResponseModel

type AlibabaEleFengniaoChainstoreUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_fengniao_chainstore_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

AlibabaEleFengniaoChainstoreUpdateAPIResponseModel is 修改门店信息接口 成功返回结果

type AlibabaEleFengniaoMerchantContractCancelAPIRequest

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

AlibabaEleFengniaoMerchantContractCancelAPIRequest 蜂鸟商户解约接口 API请求 alibaba.ele.fengniao.merchant.contract.cancel

通过调用此接口,商家及商家下的所有门店解除蜂鸟物流服务

func NewAlibabaEleFengniaoMerchantContractCancelRequest

func NewAlibabaEleFengniaoMerchantContractCancelRequest() *AlibabaEleFengniaoMerchantContractCancelAPIRequest

NewAlibabaEleFengniaoMerchantContractCancelRequest 初始化AlibabaEleFengniaoMerchantContractCancelAPIRequest对象

func (AlibabaEleFengniaoMerchantContractCancelAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleFengniaoMerchantContractCancelAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleFengniaoMerchantContractCancelAPIRequest) GetParam

GetParam Param Getter

func (AlibabaEleFengniaoMerchantContractCancelAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaEleFengniaoMerchantContractCancelAPIRequest) SetParam

SetParam is Param Setter 系统自动生成

type AlibabaEleFengniaoMerchantContractCancelAPIResponse

type AlibabaEleFengniaoMerchantContractCancelAPIResponse struct {
	model.CommonResponse
	AlibabaEleFengniaoMerchantContractCancelAPIResponseModel
}

AlibabaEleFengniaoMerchantContractCancelAPIResponse 蜂鸟商户解约接口 API返回值 alibaba.ele.fengniao.merchant.contract.cancel

通过调用此接口,商家及商家下的所有门店解除蜂鸟物流服务

type AlibabaEleFengniaoMerchantContractCancelAPIResponseModel

type AlibabaEleFengniaoMerchantContractCancelAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_fengniao_merchant_contract_cancel_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

AlibabaEleFengniaoMerchantContractCancelAPIResponseModel is 蜂鸟商户解约接口 成功返回结果

type AlibabaEleFengniaoOrderPushAPIRequest

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

AlibabaEleFengniaoOrderPushAPIRequest 推送订单 API请求 alibaba.ele.fengniao.order.push

推送淘宝订单至蜂鸟开放平台配送

func NewAlibabaEleFengniaoOrderPushRequest

func NewAlibabaEleFengniaoOrderPushRequest() *AlibabaEleFengniaoOrderPushAPIRequest

NewAlibabaEleFengniaoOrderPushRequest 初始化AlibabaEleFengniaoOrderPushAPIRequest对象

func (AlibabaEleFengniaoOrderPushAPIRequest) GetApiMethodName

func (r AlibabaEleFengniaoOrderPushAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleFengniaoOrderPushAPIRequest) GetApiParams

func (r AlibabaEleFengniaoOrderPushAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleFengniaoOrderPushAPIRequest) GetParam

GetParam Param Getter

func (AlibabaEleFengniaoOrderPushAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaEleFengniaoOrderPushAPIRequest) SetParam

func (r *AlibabaEleFengniaoOrderPushAPIRequest) SetParam(_param *Param) error

SetParam is Param Setter 参数param

type AlibabaEleFengniaoOrderPushAPIResponse

type AlibabaEleFengniaoOrderPushAPIResponse struct {
	model.CommonResponse
	AlibabaEleFengniaoOrderPushAPIResponseModel
}

AlibabaEleFengniaoOrderPushAPIResponse 推送订单 API返回值 alibaba.ele.fengniao.order.push

推送淘宝订单至蜂鸟开放平台配送

type AlibabaEleFengniaoOrderPushAPIResponseModel

type AlibabaEleFengniaoOrderPushAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_fengniao_order_push_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// msg
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

AlibabaEleFengniaoOrderPushAPIResponseModel is 推送订单 成功返回结果

type AlibabaEleFengniaoOrderQueryAPIRequest

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

AlibabaEleFengniaoOrderQueryAPIRequest 查询订单基本信息 API请求 alibaba.ele.fengniao.order.query

查询订单基本信息

func NewAlibabaEleFengniaoOrderQueryRequest

func NewAlibabaEleFengniaoOrderQueryRequest() *AlibabaEleFengniaoOrderQueryAPIRequest

NewAlibabaEleFengniaoOrderQueryRequest 初始化AlibabaEleFengniaoOrderQueryAPIRequest对象

func (AlibabaEleFengniaoOrderQueryAPIRequest) GetApiMethodName

func (r AlibabaEleFengniaoOrderQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleFengniaoOrderQueryAPIRequest) GetApiParams

func (r AlibabaEleFengniaoOrderQueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleFengniaoOrderQueryAPIRequest) GetParam

GetParam Param Getter

func (AlibabaEleFengniaoOrderQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaEleFengniaoOrderQueryAPIRequest) SetParam

func (r *AlibabaEleFengniaoOrderQueryAPIRequest) SetParam(_param *Param) error

SetParam is Param Setter 参数

type AlibabaEleFengniaoOrderQueryAPIResponse

type AlibabaEleFengniaoOrderQueryAPIResponse struct {
	model.CommonResponse
	AlibabaEleFengniaoOrderQueryAPIResponseModel
}

AlibabaEleFengniaoOrderQueryAPIResponse 查询订单基本信息 API返回值 alibaba.ele.fengniao.order.query

查询订单基本信息

type AlibabaEleFengniaoOrderQueryAPIResponseModel

type AlibabaEleFengniaoOrderQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_fengniao_order_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// kvs
	Kvs []Kvs `json:"kvs,omitempty" xml:"kvs>kvs,omitempty"`
	// 收件人经度
	ReceiverLongitude string `json:"receiver_longitude,omitempty" xml:"receiver_longitude,omitempty"`
	// 寄件人纬度
	TransportLatitude string `json:"transport_latitude,omitempty" xml:"transport_latitude,omitempty"`
	// 寄件人经度
	TransportLongitude string `json:"transport_longitude,omitempty" xml:"transport_longitude,omitempty"`
	// 收件人纬度
	ReceiverLatitude string `json:"receiver_latitude,omitempty" xml:"receiver_latitude,omitempty"`
	// 订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

AlibabaEleFengniaoOrderQueryAPIResponseModel is 查询订单基本信息 成功返回结果

type AlibabaEleFengniaoServicePackageQueryAPIRequest

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

AlibabaEleFengniaoServicePackageQueryAPIRequest 预采购服务包查询接口 API请求 alibaba.ele.fengniao.service.package.query

查询门店所在经纬度可用服务包的接口

func NewAlibabaEleFengniaoServicePackageQueryRequest

func NewAlibabaEleFengniaoServicePackageQueryRequest() *AlibabaEleFengniaoServicePackageQueryAPIRequest

NewAlibabaEleFengniaoServicePackageQueryRequest 初始化AlibabaEleFengniaoServicePackageQueryAPIRequest对象

func (AlibabaEleFengniaoServicePackageQueryAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleFengniaoServicePackageQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleFengniaoServicePackageQueryAPIRequest) GetParam

GetParam Param Getter

func (AlibabaEleFengniaoServicePackageQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaEleFengniaoServicePackageQueryAPIRequest) SetParam

SetParam is Param Setter 入参

type AlibabaEleFengniaoServicePackageQueryAPIResponse

type AlibabaEleFengniaoServicePackageQueryAPIResponse struct {
	model.CommonResponse
	AlibabaEleFengniaoServicePackageQueryAPIResponseModel
}

AlibabaEleFengniaoServicePackageQueryAPIResponse 预采购服务包查询接口 API返回值 alibaba.ele.fengniao.service.package.query

查询门店所在经纬度可用服务包的接口

type AlibabaEleFengniaoServicePackageQueryAPIResponseModel

type AlibabaEleFengniaoServicePackageQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_fengniao_service_package_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// servicePackages
	ServicePackages []AlibabaEleFengniaoServicePackageQueryResult `json:"service_packages,omitempty" xml:"service_packages>alibaba_ele_fengniao_service_package_query_result,omitempty"`
}

AlibabaEleFengniaoServicePackageQueryAPIResponseModel is 预采购服务包查询接口 成功返回结果

type AlibabaEleFengniaoServicePackageQueryResult

type AlibabaEleFengniaoServicePackageQueryResult struct {
	// servicePackageCodes
	ServicePackageCodes []ServicePackage `json:"service_package_codes,omitempty" xml:"service_package_codes>service_package,omitempty"`
	// 门店code
	ChainstoreCode string `json:"chainstore_code,omitempty" xml:"chainstore_code,omitempty"`
}

AlibabaEleFengniaoServicePackageQueryResult 结构体

type AlibabaEleFengniaoShippingorderEventAPIRequest

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

AlibabaEleFengniaoShippingorderEventAPIRequest 查询运单事件信息 API请求 alibaba.ele.fengniao.shippingorder.event

查询运单事件信息

func NewAlibabaEleFengniaoShippingorderEventRequest

func NewAlibabaEleFengniaoShippingorderEventRequest() *AlibabaEleFengniaoShippingorderEventAPIRequest

NewAlibabaEleFengniaoShippingorderEventRequest 初始化AlibabaEleFengniaoShippingorderEventAPIRequest对象

func (AlibabaEleFengniaoShippingorderEventAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleFengniaoShippingorderEventAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleFengniaoShippingorderEventAPIRequest) GetAppId

GetAppId AppId Getter

func (AlibabaEleFengniaoShippingorderEventAPIRequest) GetPartnerOrderCode

GetPartnerOrderCode PartnerOrderCode Getter

func (AlibabaEleFengniaoShippingorderEventAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaEleFengniaoShippingorderEventAPIRequest) SetAppId

SetAppId is AppId Setter appid

func (*AlibabaEleFengniaoShippingorderEventAPIRequest) SetPartnerOrderCode

func (r *AlibabaEleFengniaoShippingorderEventAPIRequest) SetPartnerOrderCode(_partnerOrderCode string) error

SetPartnerOrderCode is PartnerOrderCode Setter 外部订单号

type AlibabaEleFengniaoShippingorderEventAPIResponse

type AlibabaEleFengniaoShippingorderEventAPIResponse struct {
	model.CommonResponse
	AlibabaEleFengniaoShippingorderEventAPIResponseModel
}

AlibabaEleFengniaoShippingorderEventAPIResponse 查询运单事件信息 API返回值 alibaba.ele.fengniao.shippingorder.event

查询运单事件信息

type AlibabaEleFengniaoShippingorderEventAPIResponseModel

type AlibabaEleFengniaoShippingorderEventAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_fengniao_shippingorder_event_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// shippingOrderEvents
	ShippingOrderEvents []ShippingOrderEvent `json:"shipping_order_events,omitempty" xml:"shipping_order_events>shipping_order_event,omitempty"`
	// MERCHANT_CANCEL:商家取消,DELIVERY_TIMEOUT:配送超时,系统标记异常
	ShippingRemarkCode string `json:"shipping_remark_code,omitempty" xml:"shipping_remark_code,omitempty"`
	// 终态时间
	FinishAt int64 `json:"finish_at,omitempty" xml:"finish_at,omitempty"`
	// 骑手预计送达时间
	PredictDeliveryAt int64 `json:"predict_delivery_at,omitempty" xml:"predict_delivery_at,omitempty"`
}

AlibabaEleFengniaoShippingorderEventAPIResponseModel is 查询运单事件信息 成功返回结果

type AlibabaEleFengniaoTradeUpdateAPIRequest

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

AlibabaEleFengniaoTradeUpdateAPIRequest 更新蜂鸟扣费状态 API请求 alibaba.ele.fengniao.trade.update

汇金扣费成功后,回调该接口更新扣费状态

func NewAlibabaEleFengniaoTradeUpdateRequest

func NewAlibabaEleFengniaoTradeUpdateRequest() *AlibabaEleFengniaoTradeUpdateAPIRequest

NewAlibabaEleFengniaoTradeUpdateRequest 初始化AlibabaEleFengniaoTradeUpdateAPIRequest对象

func (AlibabaEleFengniaoTradeUpdateAPIRequest) GetApiMethodName

func (r AlibabaEleFengniaoTradeUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleFengniaoTradeUpdateAPIRequest) GetApiParams

func (r AlibabaEleFengniaoTradeUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleFengniaoTradeUpdateAPIRequest) GetParam

GetParam Param Getter

func (AlibabaEleFengniaoTradeUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaEleFengniaoTradeUpdateAPIRequest) SetParam

SetParam is Param Setter param 参数

type AlibabaEleFengniaoTradeUpdateAPIResponse

type AlibabaEleFengniaoTradeUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaEleFengniaoTradeUpdateAPIResponseModel
}

AlibabaEleFengniaoTradeUpdateAPIResponse 更新蜂鸟扣费状态 API返回值 alibaba.ele.fengniao.trade.update

汇金扣费成功后,回调该接口更新扣费状态

type AlibabaEleFengniaoTradeUpdateAPIResponseModel

type AlibabaEleFengniaoTradeUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_fengniao_trade_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 无此交易记录
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 1:成功 0:失败
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

AlibabaEleFengniaoTradeUpdateAPIResponseModel is 更新蜂鸟扣费状态 成功返回结果

type AlibabaTclsFulfillQaOrderCreateAPIRequest

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

AlibabaTclsFulfillQaOrderCreateAPIRequest 创单接口 API请求 alibaba.tcls.fulfill.qa.order.create

根据历史测试履约单号,复制一个同样镜像的履约单号并下发给大润发仓(api实现已经限制了测试数据)

func NewAlibabaTclsFulfillQaOrderCreateRequest

func NewAlibabaTclsFulfillQaOrderCreateRequest() *AlibabaTclsFulfillQaOrderCreateAPIRequest

NewAlibabaTclsFulfillQaOrderCreateRequest 初始化AlibabaTclsFulfillQaOrderCreateAPIRequest对象

func (AlibabaTclsFulfillQaOrderCreateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaTclsFulfillQaOrderCreateAPIRequest) GetApiParams

func (r AlibabaTclsFulfillQaOrderCreateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaTclsFulfillQaOrderCreateAPIRequest) GetCreator

GetCreator Creator Getter

func (AlibabaTclsFulfillQaOrderCreateAPIRequest) GetFulfillOrderId

func (r AlibabaTclsFulfillQaOrderCreateAPIRequest) GetFulfillOrderId() string

GetFulfillOrderId FulfillOrderId Getter

func (AlibabaTclsFulfillQaOrderCreateAPIRequest) GetJobNo

GetJobNo JobNo Getter

func (AlibabaTclsFulfillQaOrderCreateAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaTclsFulfillQaOrderCreateAPIRequest) GetTargetIp

GetTargetIp TargetIp Getter

func (*AlibabaTclsFulfillQaOrderCreateAPIRequest) SetCreator

func (r *AlibabaTclsFulfillQaOrderCreateAPIRequest) SetCreator(_creator string) error

SetCreator is Creator Setter 执行人姓名

func (*AlibabaTclsFulfillQaOrderCreateAPIRequest) SetFulfillOrderId

func (r *AlibabaTclsFulfillQaOrderCreateAPIRequest) SetFulfillOrderId(_fulfillOrderId string) error

SetFulfillOrderId is FulfillOrderId Setter 原始履约单号

func (*AlibabaTclsFulfillQaOrderCreateAPIRequest) SetJobNo

SetJobNo is JobNo Setter 执行人工号

func (*AlibabaTclsFulfillQaOrderCreateAPIRequest) SetTargetIp

func (r *AlibabaTclsFulfillQaOrderCreateAPIRequest) SetTargetIp(_targetIp string) error

SetTargetIp is TargetIp Setter 目标ip

type AlibabaTclsFulfillQaOrderCreateAPIResponse

type AlibabaTclsFulfillQaOrderCreateAPIResponse struct {
	model.CommonResponse
	AlibabaTclsFulfillQaOrderCreateAPIResponseModel
}

AlibabaTclsFulfillQaOrderCreateAPIResponse 创单接口 API返回值 alibaba.tcls.fulfill.qa.order.create

根据历史测试履约单号,复制一个同样镜像的履约单号并下发给大润发仓(api实现已经限制了测试数据)

type AlibabaTclsFulfillQaOrderCreateAPIResponseModel

type AlibabaTclsFulfillQaOrderCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_tcls_fulfill_qa_order_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 鹰眼id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 返回素材id
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息
	RtErrorMsg string `json:"rt_error_msg,omitempty" xml:"rt_error_msg,omitempty"`
	// 错误码
	RtErrorCode int64 `json:"rt_error_code,omitempty" xml:"rt_error_code,omitempty"`
	// 是否成功
	RtSuccess bool `json:"rt_success,omitempty" xml:"rt_success,omitempty"`
}

AlibabaTclsFulfillQaOrderCreateAPIResponseModel is 创单接口 成功返回结果

type AliexpressLocalLogisticLabelPrintAPIRequest added in v1.2.5

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

AliexpressLocalLogisticLabelPrintAPIRequest 物流打印面单 API请求 aliexpress.local.logistic.label.print

物流打印面单

func NewAliexpressLocalLogisticLabelPrintRequest added in v1.2.5

func NewAliexpressLocalLogisticLabelPrintRequest() *AliexpressLocalLogisticLabelPrintAPIRequest

NewAliexpressLocalLogisticLabelPrintRequest 初始化AliexpressLocalLogisticLabelPrintAPIRequest对象

func (AliexpressLocalLogisticLabelPrintAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressLocalLogisticLabelPrintAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressLocalLogisticLabelPrintAPIRequest) GetParam1 added in v1.2.5

GetParam1 Param1 Getter

func (AliexpressLocalLogisticLabelPrintAPIRequest) GetRawParams added in v1.2.8

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

func (*AliexpressLocalLogisticLabelPrintAPIRequest) SetParam1 added in v1.2.5

SetParam1 is Param1 Setter 打印面单入参

type AliexpressLocalLogisticLabelPrintAPIResponse added in v1.2.5

type AliexpressLocalLogisticLabelPrintAPIResponse struct {
	model.CommonResponse
	AliexpressLocalLogisticLabelPrintAPIResponseModel
}

AliexpressLocalLogisticLabelPrintAPIResponse 物流打印面单 API返回值 aliexpress.local.logistic.label.print

物流打印面单

type AliexpressLocalLogisticLabelPrintAPIResponseModel added in v1.2.5

type AliexpressLocalLogisticLabelPrintAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_local_logistic_label_print_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	ErrorResultMessage string `json:"error_result_message,omitempty" xml:"error_result_message,omitempty"`
	// 错误码
	ErrorResultCode string `json:"error_result_code,omitempty" xml:"error_result_code,omitempty"`
	// 出参对象
	Data *LabelDto `json:"data,omitempty" xml:"data,omitempty"`
	// 接口调用状态
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AliexpressLocalLogisticLabelPrintAPIResponseModel is 物流打印面单 成功返回结果

type AliexpressLocalLogisticsLabelPrintAPIRequest added in v1.2.5

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

AliexpressLocalLogisticsLabelPrintAPIRequest print label API请求 aliexpress.local.logistics.label.print

print label

func NewAliexpressLocalLogisticsLabelPrintRequest added in v1.2.5

func NewAliexpressLocalLogisticsLabelPrintRequest() *AliexpressLocalLogisticsLabelPrintAPIRequest

NewAliexpressLocalLogisticsLabelPrintRequest 初始化AliexpressLocalLogisticsLabelPrintAPIRequest对象

func (AliexpressLocalLogisticsLabelPrintAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressLocalLogisticsLabelPrintAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressLocalLogisticsLabelPrintAPIRequest) GetParam1 added in v1.2.5

GetParam1 Param1 Getter

func (AliexpressLocalLogisticsLabelPrintAPIRequest) GetRawParams added in v1.2.8

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

func (*AliexpressLocalLogisticsLabelPrintAPIRequest) SetParam1 added in v1.2.5

SetParam1 is Param1 Setter param

type AliexpressLocalLogisticsLabelPrintAPIResponse added in v1.2.5

type AliexpressLocalLogisticsLabelPrintAPIResponse struct {
	model.CommonResponse
	AliexpressLocalLogisticsLabelPrintAPIResponseModel
}

AliexpressLocalLogisticsLabelPrintAPIResponse print label API返回值 aliexpress.local.logistics.label.print

print label

type AliexpressLocalLogisticsLabelPrintAPIResponseModel added in v1.2.5

type AliexpressLocalLogisticsLabelPrintAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_local_logistics_label_print_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// error message
	ErrorResultMessage string `json:"error_result_message,omitempty" xml:"error_result_message,omitempty"`
	// error code
	ErrorResultCode string `json:"error_result_code,omitempty" xml:"error_result_code,omitempty"`
	// data
	Data *LabelDto `json:"data,omitempty" xml:"data,omitempty"`
	// is success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AliexpressLocalLogisticsLabelPrintAPIResponseModel is print label 成功返回结果

type AliexpressLocalLogisticsOrderCreateAPIRequest added in v1.2.5

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

AliexpressLocalLogisticsOrderCreateAPIRequest create logistics order API请求 aliexpress.local.logistics.order.create

create logistics order

func NewAliexpressLocalLogisticsOrderCreateRequest added in v1.2.5

func NewAliexpressLocalLogisticsOrderCreateRequest() *AliexpressLocalLogisticsOrderCreateAPIRequest

NewAliexpressLocalLogisticsOrderCreateRequest 初始化AliexpressLocalLogisticsOrderCreateAPIRequest对象

func (AliexpressLocalLogisticsOrderCreateAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressLocalLogisticsOrderCreateAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressLocalLogisticsOrderCreateAPIRequest) GetParam1 added in v1.2.5

GetParam1 Param1 Getter

func (AliexpressLocalLogisticsOrderCreateAPIRequest) GetRawParams added in v1.2.8

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

func (*AliexpressLocalLogisticsOrderCreateAPIRequest) SetParam1 added in v1.2.5

SetParam1 is Param1 Setter create logistics order's param

type AliexpressLocalLogisticsOrderCreateAPIResponse added in v1.2.5

type AliexpressLocalLogisticsOrderCreateAPIResponse struct {
	model.CommonResponse
	AliexpressLocalLogisticsOrderCreateAPIResponseModel
}

AliexpressLocalLogisticsOrderCreateAPIResponse create logistics order API返回值 aliexpress.local.logistics.order.create

create logistics order

type AliexpressLocalLogisticsOrderCreateAPIResponseModel added in v1.2.5

type AliexpressLocalLogisticsOrderCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_local_logistics_order_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// error message
	ErrorResultMessage string `json:"error_result_message,omitempty" xml:"error_result_message,omitempty"`
	// error code
	ErrorResultCode string `json:"error_result_code,omitempty" xml:"error_result_code,omitempty"`
	// response info
	Data *AELogisticsOrderDto `json:"data,omitempty" xml:"data,omitempty"`
	// interface status
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AliexpressLocalLogisticsOrderCreateAPIResponseModel is create logistics order 成功返回结果

type AliexpressLocalLogisticsOrderInfoQueryAPIRequest added in v1.2.5

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

AliexpressLocalLogisticsOrderInfoQueryAPIRequest query order details API请求 aliexpress.local.logistics.order.info.query

query order details

func NewAliexpressLocalLogisticsOrderInfoQueryRequest added in v1.2.5

func NewAliexpressLocalLogisticsOrderInfoQueryRequest() *AliexpressLocalLogisticsOrderInfoQueryAPIRequest

NewAliexpressLocalLogisticsOrderInfoQueryRequest 初始化AliexpressLocalLogisticsOrderInfoQueryAPIRequest对象

func (AliexpressLocalLogisticsOrderInfoQueryAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressLocalLogisticsOrderInfoQueryAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressLocalLogisticsOrderInfoQueryAPIRequest) GetParam1 added in v1.2.5

GetParam1 Param1 Getter

func (AliexpressLocalLogisticsOrderInfoQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AliexpressLocalLogisticsOrderInfoQueryAPIRequest) SetParam1 added in v1.2.5

SetParam1 is Param1 Setter param1

type AliexpressLocalLogisticsOrderInfoQueryAPIResponse added in v1.2.5

type AliexpressLocalLogisticsOrderInfoQueryAPIResponse struct {
	model.CommonResponse
	AliexpressLocalLogisticsOrderInfoQueryAPIResponseModel
}

AliexpressLocalLogisticsOrderInfoQueryAPIResponse query order details API返回值 aliexpress.local.logistics.order.info.query

query order details

type AliexpressLocalLogisticsOrderInfoQueryAPIResponseModel added in v1.2.5

type AliexpressLocalLogisticsOrderInfoQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_local_logistics_order_info_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// error_result_message
	ErrorResultMessage string `json:"error_result_message,omitempty" xml:"error_result_message,omitempty"`
	// error_result_code
	ErrorResultCode string `json:"error_result_code,omitempty" xml:"error_result_code,omitempty"`
	// data
	Data *OrderDto `json:"data,omitempty" xml:"data,omitempty"`
	// is_success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AliexpressLocalLogisticsOrderInfoQueryAPIResponseModel is query order details 成功返回结果

type AliexpressLocalLogisticsReportShippedAPIRequest added in v1.2.5

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

AliexpressLocalLogisticsReportShippedAPIRequest report as shipped API请求 aliexpress.local.logistics.report.shipped

report as shipped

func NewAliexpressLocalLogisticsReportShippedRequest added in v1.2.5

func NewAliexpressLocalLogisticsReportShippedRequest() *AliexpressLocalLogisticsReportShippedAPIRequest

NewAliexpressLocalLogisticsReportShippedRequest 初始化AliexpressLocalLogisticsReportShippedAPIRequest对象

func (AliexpressLocalLogisticsReportShippedAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressLocalLogisticsReportShippedAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressLocalLogisticsReportShippedAPIRequest) GetParam1 added in v1.2.5

GetParam1 Param1 Getter

func (AliexpressLocalLogisticsReportShippedAPIRequest) GetRawParams added in v1.2.8

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

func (*AliexpressLocalLogisticsReportShippedAPIRequest) SetParam1 added in v1.2.5

SetParam1 is Param1 Setter param

type AliexpressLocalLogisticsReportShippedAPIResponse added in v1.2.5

type AliexpressLocalLogisticsReportShippedAPIResponse struct {
	model.CommonResponse
	AliexpressLocalLogisticsReportShippedAPIResponseModel
}

AliexpressLocalLogisticsReportShippedAPIResponse report as shipped API返回值 aliexpress.local.logistics.report.shipped

report as shipped

type AliexpressLocalLogisticsReportShippedAPIResponseModel added in v1.2.5

type AliexpressLocalLogisticsReportShippedAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_local_logistics_report_shipped_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// response info
	Data []ReportShippedDto `json:"data,omitempty" xml:"data>report_shipped_dto,omitempty"`
	// error message
	ErrorResultMessage string `json:"error_result_message,omitempty" xml:"error_result_message,omitempty"`
	// error code
	ErrorResultCode string `json:"error_result_code,omitempty" xml:"error_result_code,omitempty"`
	// is success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AliexpressLocalLogisticsReportShippedAPIResponseModel is report as shipped 成功返回结果

type AliexpressLocalLogisticsShippingMethodQueryAPIRequest added in v1.2.5

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

AliexpressLocalLogisticsShippingMethodQueryAPIRequest query shipping method API请求 aliexpress.local.logistics.shipping.method.query

query shipping method

func NewAliexpressLocalLogisticsShippingMethodQueryRequest added in v1.2.5

func NewAliexpressLocalLogisticsShippingMethodQueryRequest() *AliexpressLocalLogisticsShippingMethodQueryAPIRequest

NewAliexpressLocalLogisticsShippingMethodQueryRequest 初始化AliexpressLocalLogisticsShippingMethodQueryAPIRequest对象

func (AliexpressLocalLogisticsShippingMethodQueryAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressLocalLogisticsShippingMethodQueryAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressLocalLogisticsShippingMethodQueryAPIRequest) GetParam1 added in v1.2.5

GetParam1 Param1 Getter

func (AliexpressLocalLogisticsShippingMethodQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AliexpressLocalLogisticsShippingMethodQueryAPIRequest) SetParam1 added in v1.2.5

SetParam1 is Param1 Setter method query object

type AliexpressLocalLogisticsShippingMethodQueryAPIResponse added in v1.2.5

type AliexpressLocalLogisticsShippingMethodQueryAPIResponse struct {
	model.CommonResponse
	AliexpressLocalLogisticsShippingMethodQueryAPIResponseModel
}

AliexpressLocalLogisticsShippingMethodQueryAPIResponse query shipping method API返回值 aliexpress.local.logistics.shipping.method.query

query shipping method

type AliexpressLocalLogisticsShippingMethodQueryAPIResponseModel added in v1.2.5

type AliexpressLocalLogisticsShippingMethodQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_local_logistics_shipping_method_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// is success
	IsSuccess string `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// error message
	ErrorResultMessage string `json:"error_result_message,omitempty" xml:"error_result_message,omitempty"`
	// error code
	ErrorResultCode string `json:"error_result_code,omitempty" xml:"error_result_code,omitempty"`
	// method data
	Data *QueryShippingMethodResponseDto `json:"data,omitempty" xml:"data,omitempty"`
}

AliexpressLocalLogisticsShippingMethodQueryAPIResponseModel is query shipping method 成功返回结果

type AliexpressLogisticsCreatewarehouseorderAPIRequest added in v1.2.5

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

AliexpressLogisticsCreatewarehouseorderAPIRequest 创建线上物流订单 API请求 aliexpress.logistics.createwarehouseorder

创建线上发货物流订单

func NewAliexpressLogisticsCreatewarehouseorderRequest added in v1.2.5

func NewAliexpressLogisticsCreatewarehouseorderRequest() *AliexpressLogisticsCreatewarehouseorderAPIRequest

NewAliexpressLogisticsCreatewarehouseorderRequest 初始化AliexpressLogisticsCreatewarehouseorderAPIRequest对象

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetAddressDTOs added in v1.2.5

GetAddressDTOs AddressDTOs Getter

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetDeclareProductDTOs added in v1.2.5

GetDeclareProductDTOs DeclareProductDTOs Getter

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetDomesticLogisticsCompany added in v1.2.5

func (r AliexpressLogisticsCreatewarehouseorderAPIRequest) GetDomesticLogisticsCompany() string

GetDomesticLogisticsCompany DomesticLogisticsCompany Getter

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetDomesticLogisticsCompanyId added in v1.2.5

func (r AliexpressLogisticsCreatewarehouseorderAPIRequest) GetDomesticLogisticsCompanyId() int64

GetDomesticLogisticsCompanyId DomesticLogisticsCompanyId Getter

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetDomesticTrackingNo added in v1.2.5

GetDomesticTrackingNo DomesticTrackingNo Getter

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetInsuranceCoverage added in v1.2.5

func (r AliexpressLogisticsCreatewarehouseorderAPIRequest) GetInsuranceCoverage() *Money

GetInsuranceCoverage InsuranceCoverage Getter

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetInvoiceNumber added in v1.2.5

GetInvoiceNumber InvoiceNumber Getter

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetIsAgreeUpgradeReverseParcelInsure added in v1.2.5

func (r AliexpressLogisticsCreatewarehouseorderAPIRequest) GetIsAgreeUpgradeReverseParcelInsure() bool

GetIsAgreeUpgradeReverseParcelInsure IsAgreeUpgradeReverseParcelInsure Getter

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetPackageNum added in v1.2.5

GetPackageNum PackageNum Getter

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetRawParams added in v1.2.8

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

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetTopUserKey added in v1.2.5

GetTopUserKey TopUserKey Getter

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetTradeOrderFrom added in v1.2.5

GetTradeOrderFrom TradeOrderFrom Getter

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetTradeOrderId added in v1.2.5

GetTradeOrderId TradeOrderId Getter

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetUndeliverableDecision added in v1.2.5

func (r AliexpressLogisticsCreatewarehouseorderAPIRequest) GetUndeliverableDecision() int64

GetUndeliverableDecision UndeliverableDecision Getter

func (AliexpressLogisticsCreatewarehouseorderAPIRequest) GetWarehouseCarrierService added in v1.2.5

func (r AliexpressLogisticsCreatewarehouseorderAPIRequest) GetWarehouseCarrierService() string

GetWarehouseCarrierService WarehouseCarrierService Getter

func (*AliexpressLogisticsCreatewarehouseorderAPIRequest) SetAddressDTOs added in v1.2.5

func (r *AliexpressLogisticsCreatewarehouseorderAPIRequest) SetAddressDTOs(_addressDTOs *Addressdtos) error

SetAddressDTOs is AddressDTOs Setter addresses

func (*AliexpressLogisticsCreatewarehouseorderAPIRequest) SetDeclareProductDTOs added in v1.2.5

func (r *AliexpressLogisticsCreatewarehouseorderAPIRequest) SetDeclareProductDTOs(_declareProductDTOs []AeopWlDeclareProductForTopDto) error

SetDeclareProductDTOs is DeclareProductDTOs Setter 申报产品信息,列表类型,以json格式来表达。{productId为产品ID(必填,如为礼品,则设置为0);categoryCnDesc为申报中文名称(必填,长度1-20);categoryEnDesc为申报英文名称(必填,长度1-60);productNum产品件数(必填1-999);productDeclareAmount为产品申报金额(必填,0.01-10000.00);productWeight为产品申报重量(必填0.001-2.000);isContainsBattery为是否包含锂电池(必填0/1);scItemId为仓储发货属性代码(团购订单,仓储发货必填,物流服务为RUSTON 哈尔滨备货仓 HRB_WLB_RUSTONHEB,属性代码对应AE商品的sku属性一级,暂时没有提供接口查询属性代码,可以在仓储管理--库存管理页面查看,例如: 团购产品的sku属性White对应属性代码 40414943126);skuValue为属性名称(团购订单,仓储发货必填,例如:White);hsCode为产品海关编码,获取相关数据请至:http://www.customs.gov.cn/Tabid/67737/Default.aspx};isAneroidMarkup为是否含非液体化妆品(必填,填0代表不含非液体化妆品;填1代表含非液体化妆品;默认为0);isOnlyBattery为是否含纯电池产品(必填,填0代表不含纯电池产品;填1代表含纯电池产品;默认为0);

func (*AliexpressLogisticsCreatewarehouseorderAPIRequest) SetDomesticLogisticsCompany added in v1.2.5

func (r *AliexpressLogisticsCreatewarehouseorderAPIRequest) SetDomesticLogisticsCompany(_domesticLogisticsCompany string) error

SetDomesticLogisticsCompany is DomesticLogisticsCompany Setter 国内快递公司名称,物流公司Id为-1时,必填

func (*AliexpressLogisticsCreatewarehouseorderAPIRequest) SetDomesticLogisticsCompanyId added in v1.2.5

func (r *AliexpressLogisticsCreatewarehouseorderAPIRequest) SetDomesticLogisticsCompanyId(_domesticLogisticsCompanyId int64) error

SetDomesticLogisticsCompanyId is DomesticLogisticsCompanyId Setter 国内快递ID(物流公司是other时,ID为-1)

func (*AliexpressLogisticsCreatewarehouseorderAPIRequest) SetDomesticTrackingNo added in v1.2.5

func (r *AliexpressLogisticsCreatewarehouseorderAPIRequest) SetDomesticTrackingNo(_domesticTrackingNo string) error

SetDomesticTrackingNo is DomesticTrackingNo Setter 国内快递运单号,长度1-32

func (*AliexpressLogisticsCreatewarehouseorderAPIRequest) SetInsuranceCoverage added in v1.2.5

func (r *AliexpressLogisticsCreatewarehouseorderAPIRequest) SetInsuranceCoverage(_insuranceCoverage *Money) error

SetInsuranceCoverage is InsuranceCoverage Setter 包裹保额

func (*AliexpressLogisticsCreatewarehouseorderAPIRequest) SetInvoiceNumber added in v1.2.5

func (r *AliexpressLogisticsCreatewarehouseorderAPIRequest) SetInvoiceNumber(_invoiceNumber string) error

SetInvoiceNumber is InvoiceNumber Setter 发票号(可空)

func (*AliexpressLogisticsCreatewarehouseorderAPIRequest) SetIsAgreeUpgradeReverseParcelInsure added in v1.2.5

func (r *AliexpressLogisticsCreatewarehouseorderAPIRequest) SetIsAgreeUpgradeReverseParcelInsure(_isAgreeUpgradeReverseParcelInsure bool) error

SetIsAgreeUpgradeReverseParcelInsure is IsAgreeUpgradeReverseParcelInsure Setter 是否同意升级逆向高货值保险

func (*AliexpressLogisticsCreatewarehouseorderAPIRequest) SetPackageNum added in v1.2.5

func (r *AliexpressLogisticsCreatewarehouseorderAPIRequest) SetPackageNum(_packageNum int64) error

SetPackageNum is PackageNum Setter 包裹数量: 创建国家小包订单时非必填,创建国家快递订单时必填

func (*AliexpressLogisticsCreatewarehouseorderAPIRequest) SetTopUserKey added in v1.2.5

func (r *AliexpressLogisticsCreatewarehouseorderAPIRequest) SetTopUserKey(_topUserKey string) error

SetTopUserKey is TopUserKey Setter ISV用户唯一标识,一般为userId,最大长度为16个字符

func (*AliexpressLogisticsCreatewarehouseorderAPIRequest) SetTradeOrderFrom added in v1.2.5

func (r *AliexpressLogisticsCreatewarehouseorderAPIRequest) SetTradeOrderFrom(_tradeOrderFrom string) error

SetTradeOrderFrom is TradeOrderFrom Setter 订单来源

func (*AliexpressLogisticsCreatewarehouseorderAPIRequest) SetTradeOrderId added in v1.2.5

func (r *AliexpressLogisticsCreatewarehouseorderAPIRequest) SetTradeOrderId(_tradeOrderId int64) error

SetTradeOrderId is TradeOrderId Setter 交易订单号

func (*AliexpressLogisticsCreatewarehouseorderAPIRequest) SetUndeliverableDecision added in v1.2.5

func (r *AliexpressLogisticsCreatewarehouseorderAPIRequest) SetUndeliverableDecision(_undeliverableDecision int64) error

SetUndeliverableDecision is UndeliverableDecision Setter 不可达处理(退回:0/销毁:1) 。详情请参考:http://bbs.seller.aliexpress.com/bbs/read.php?tid=514111

func (*AliexpressLogisticsCreatewarehouseorderAPIRequest) SetWarehouseCarrierService added in v1.2.5

func (r *AliexpressLogisticsCreatewarehouseorderAPIRequest) SetWarehouseCarrierService(_warehouseCarrierService string) error

SetWarehouseCarrierService is WarehouseCarrierService Setter ”根据订单号获取线上发货物流方案“API获取用户选择的实际发货物流服务(物流服务key,即仓库服务名称)例如:HRB_WLB_ZTOGZ是 中俄航空 Ruston广州仓库; HRB_WLB_RUSTONHEB为哈尔滨备货仓暂不支持,该渠道请做忽略。

type AliexpressLogisticsCreatewarehouseorderAPIResponse added in v1.2.5

type AliexpressLogisticsCreatewarehouseorderAPIResponse struct {
	model.CommonResponse
	AliexpressLogisticsCreatewarehouseorderAPIResponseModel
}

AliexpressLogisticsCreatewarehouseorderAPIResponse 创建线上物流订单 API返回值 aliexpress.logistics.createwarehouseorder

创建线上发货物流订单

type AliexpressLogisticsCreatewarehouseorderAPIResponseModel added in v1.2.5

type AliexpressLogisticsCreatewarehouseorderAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_logistics_createwarehouseorder_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AeopWlCreateWarehouseOrderResultDto `json:"result,omitempty" xml:"result,omitempty"`
	// 调用是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

AliexpressLogisticsCreatewarehouseorderAPIResponseModel is 创建线上物流订单 成功返回结果

type BaseResultDto

type BaseResultDto struct {
	// 请求错误信息
	OneErrorInfo *ErrorInfo `json:"one_error_info,omitempty" xml:"one_error_info,omitempty"`
	// 返回信息
	Module *ReachableServiceWaybillForTopResponseDto `json:"module,omitempty" xml:"module,omitempty"`
	// 请求是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

BaseResultDto 结构体

type CainiaoCbossWorkplatformBiztypeQuerybyidAPIRequest

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

CainiaoCbossWorkplatformBiztypeQuerybyidAPIRequest 菜鸟工单平台根据业务类型id查询业务类型详细信息 API请求 cainiao.cboss.workplatform.biztype.querybyid

菜鸟工单平台根据业务类型id查询业务类型详细信息。 目前调用者ISV

func NewCainiaoCbossWorkplatformBiztypeQuerybyidRequest

func NewCainiaoCbossWorkplatformBiztypeQuerybyidRequest() *CainiaoCbossWorkplatformBiztypeQuerybyidAPIRequest

NewCainiaoCbossWorkplatformBiztypeQuerybyidRequest 初始化CainiaoCbossWorkplatformBiztypeQuerybyidAPIRequest对象

func (CainiaoCbossWorkplatformBiztypeQuerybyidAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoCbossWorkplatformBiztypeQuerybyidAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoCbossWorkplatformBiztypeQuerybyidAPIRequest) GetBizTypeId

GetBizTypeId BizTypeId Getter

func (CainiaoCbossWorkplatformBiztypeQuerybyidAPIRequest) GetRawParams added in v1.2.8

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

func (*CainiaoCbossWorkplatformBiztypeQuerybyidAPIRequest) SetBizTypeId

SetBizTypeId is BizTypeId Setter 业务类型id

type CainiaoCbossWorkplatformBiztypeQuerybyidAPIResponse

type CainiaoCbossWorkplatformBiztypeQuerybyidAPIResponse struct {
	model.CommonResponse
	CainiaoCbossWorkplatformBiztypeQuerybyidAPIResponseModel
}

CainiaoCbossWorkplatformBiztypeQuerybyidAPIResponse 菜鸟工单平台根据业务类型id查询业务类型详细信息 API返回值 cainiao.cboss.workplatform.biztype.querybyid

菜鸟工单平台根据业务类型id查询业务类型详细信息。 目前调用者ISV

type CainiaoCbossWorkplatformBiztypeQuerybyidAPIResponseModel

type CainiaoCbossWorkplatformBiztypeQuerybyidAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_cboss_workplatform_biztype_querybyid_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *CainiaoCbossWorkplatformBiztypeQuerybyidResult `json:"result,omitempty" xml:"result,omitempty"`
}

CainiaoCbossWorkplatformBiztypeQuerybyidAPIResponseModel is 菜鸟工单平台根据业务类型id查询业务类型详细信息 成功返回结果

type CainiaoCbossWorkplatformBiztypeQuerybyidResult

type CainiaoCbossWorkplatformBiztypeQuerybyidResult struct {
	// bizTypeJson
	BizTypeJson string `json:"biz_type_json,omitempty" xml:"biz_type_json,omitempty"`
	// errorCode
	ResErrorCode string `json:"res_error_code,omitempty" xml:"res_error_code,omitempty"`
	// errorMsg
	ResErrorMsg string `json:"res_error_msg,omitempty" xml:"res_error_msg,omitempty"`
	// success
	ResSuccess bool `json:"res_success,omitempty" xml:"res_success,omitempty"`
}

CainiaoCbossWorkplatformBiztypeQuerybyidResult 结构体

type CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIRequest

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

CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIRequest 根据交易单号判断是否为菜鸟发货订单 API请求 cainiao.cboss.workplatform.logistics.iscainiaoorder

根据交易单号判断是否为菜鸟发货订单

func NewCainiaoCbossWorkplatformLogisticsIscainiaoorderRequest

func NewCainiaoCbossWorkplatformLogisticsIscainiaoorderRequest() *CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIRequest

NewCainiaoCbossWorkplatformLogisticsIscainiaoorderRequest 初始化CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIRequest对象

func (CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIRequest) GetRawParams added in v1.2.8

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

func (CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIRequest) GetTradeId

GetTradeId TradeId Getter

func (*CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIRequest) SetTradeId

SetTradeId is TradeId Setter 交易单号

type CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIResponse

type CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIResponse struct {
	model.CommonResponse
	CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIResponseModel
}

CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIResponse 根据交易单号判断是否为菜鸟发货订单 API返回值 cainiao.cboss.workplatform.logistics.iscainiaoorder

根据交易单号判断是否为菜鸟发货订单

type CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIResponseModel

type CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_cboss_workplatform_logistics_iscainiaoorder_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// errorCode
	ResErrorCode string `json:"res_error_code,omitempty" xml:"res_error_code,omitempty"`
	// errorMsg
	ResErrorMsg string `json:"res_error_msg,omitempty" xml:"res_error_msg,omitempty"`
	// isCainiaoOrder
	IsCainiaoOrder bool `json:"is_cainiao_order,omitempty" xml:"is_cainiao_order,omitempty"`
	// success
	ResSuccess bool `json:"res_success,omitempty" xml:"res_success,omitempty"`
}

CainiaoCbossWorkplatformLogisticsIscainiaoorderAPIResponseModel is 根据交易单号判断是否为菜鸟发货订单 成功返回结果

type CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest

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

CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest CP配送物流时效预测 API请求 cainiao.data.logistics.cp.delivery.aging.predict

时效和服务预期是商家发货时比较关注的信息,也是选择快递公司的一个重要参考(除去长期合作合同因素)。所以,在商家发货时给商家提供线路时效预估能帮助商家选择更好的快递公司,且对消费者来说也能整体提升体验。

日常时效是数值字符串 大促时效是数值区间字符串 方式1: 输入:发货省、市、区、详细地址,收货省、市、区、街道、详细地址,快递公司ID 输出:预估时效(小时数)

func NewCainiaoDataLogisticsCpDeliveryAgingPredictRequest

func NewCainiaoDataLogisticsCpDeliveryAgingPredictRequest() *CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest

NewCainiaoDataLogisticsCpDeliveryAgingPredictRequest 初始化CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest对象

func (CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) GetCpId

GetCpId CpId Getter

func (CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) GetRawParams added in v1.2.8

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

func (CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) GetRecAddr

GetRecAddr RecAddr Getter

func (CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) GetRecCityName

GetRecCityName RecCityName Getter

func (CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) GetRecCountyName

GetRecCountyName RecCountyName Getter

func (CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) GetRecProvName

GetRecProvName RecProvName Getter

func (CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) GetRecTownName

GetRecTownName RecTownName Getter

func (CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) GetSendAddr

GetSendAddr SendAddr Getter

func (CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) GetSendCityName

GetSendCityName SendCityName Getter

func (CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) GetSendCountyName

GetSendCountyName SendCountyName Getter

func (CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) GetSendProvName

GetSendProvName SendProvName Getter

func (*CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetCpId

SetCpId is CpId Setter 物流公司id

func (*CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetRecAddr

SetRecAddr is RecAddr Setter 自己输入的详细收货地址

func (*CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetRecCityName

func (r *CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetRecCityName(_recCityName string) error

SetRecCityName is RecCityName Setter 收货城市

func (*CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetRecCountyName

func (r *CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetRecCountyName(_recCountyName string) error

SetRecCountyName is RecCountyName Setter 收货区

func (*CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetRecProvName

func (r *CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetRecProvName(_recProvName string) error

SetRecProvName is RecProvName Setter 收货省

func (*CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetRecTownName

func (r *CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetRecTownName(_recTownName string) error

SetRecTownName is RecTownName Setter 第四级,一般是收货街道

func (*CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetSendAddr

SetSendAddr is SendAddr Setter 自己输入的详细发货地址

func (*CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetSendCityName

func (r *CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetSendCityName(_sendCityName string) error

SetSendCityName is SendCityName Setter 发货城市

func (*CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetSendCountyName

func (r *CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetSendCountyName(_sendCountyName string) error

SetSendCountyName is SendCountyName Setter 发货区

func (*CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetSendProvName

func (r *CainiaoDataLogisticsCpDeliveryAgingPredictAPIRequest) SetSendProvName(_sendProvName string) error

SetSendProvName is SendProvName Setter 发货省

type CainiaoDataLogisticsCpDeliveryAgingPredictAPIResponse

type CainiaoDataLogisticsCpDeliveryAgingPredictAPIResponse struct {
	model.CommonResponse
	CainiaoDataLogisticsCpDeliveryAgingPredictAPIResponseModel
}

CainiaoDataLogisticsCpDeliveryAgingPredictAPIResponse CP配送物流时效预测 API返回值 cainiao.data.logistics.cp.delivery.aging.predict

时效和服务预期是商家发货时比较关注的信息,也是选择快递公司的一个重要参考(除去长期合作合同因素)。所以,在商家发货时给商家提供线路时效预估能帮助商家选择更好的快递公司,且对消费者来说也能整体提升体验。

日常时效是数值字符串 大促时效是数值区间字符串 方式1: 输入:发货省、市、区、详细地址,收货省、市、区、街道、详细地址,快递公司ID 输出:预估时效(小时数)

type CainiaoDataLogisticsCpDeliveryAgingPredictAPIResponseModel

type CainiaoDataLogisticsCpDeliveryAgingPredictAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_data_logistics_cp_delivery_aging_predict_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回数据值
	Data *DeliveryTimingDto `json:"data,omitempty" xml:"data,omitempty"`
}

CainiaoDataLogisticsCpDeliveryAgingPredictAPIResponseModel is CP配送物流时效预测 成功返回结果

type CainiaoDataLogisticsDeliveryAgingPredictAPIRequest

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

CainiaoDataLogisticsDeliveryAgingPredictAPIRequest 配送物流时效预测 API请求 cainiao.data.logistics.delivery.aging.predict

时效和服务预期是商家发货时比较关注的信息,也是选择快递公司的一个重要参考(除去长期合作合同因素)。所以,在商家发货时给商家提供线路时效预估能帮助商家选择更好的快递公司,且对消费者来说也能整体提升体验。

日常,展示具体的预测时效数值

大促期间,展示预测的时效区间

func NewCainiaoDataLogisticsDeliveryAgingPredictRequest

func NewCainiaoDataLogisticsDeliveryAgingPredictRequest() *CainiaoDataLogisticsDeliveryAgingPredictAPIRequest

NewCainiaoDataLogisticsDeliveryAgingPredictRequest 初始化CainiaoDataLogisticsDeliveryAgingPredictAPIRequest对象

func (CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) GetRawParams added in v1.2.8

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

func (CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) GetRecAddr

GetRecAddr RecAddr Getter

func (CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) GetRecCityName

GetRecCityName RecCityName Getter

func (CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) GetRecCountyName

GetRecCountyName RecCountyName Getter

func (CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) GetRecProvName

GetRecProvName RecProvName Getter

func (CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) GetRecTownName

GetRecTownName RecTownName Getter

func (CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) GetSendAddr

GetSendAddr SendAddr Getter

func (CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) GetSendCityName

GetSendCityName SendCityName Getter

func (CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) GetSendCountyName

GetSendCountyName SendCountyName Getter

func (CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) GetSendProvName

GetSendProvName SendProvName Getter

func (*CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetRecAddr

SetRecAddr is RecAddr Setter 收货详细地址

func (*CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetRecCityName

func (r *CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetRecCityName(_recCityName string) error

SetRecCityName is RecCityName Setter 收货市

func (*CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetRecCountyName

func (r *CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetRecCountyName(_recCountyName string) error

SetRecCountyName is RecCountyName Setter 收货区

func (*CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetRecProvName

func (r *CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetRecProvName(_recProvName string) error

SetRecProvName is RecProvName Setter 收货省

func (*CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetRecTownName

func (r *CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetRecTownName(_recTownName string) error

SetRecTownName is RecTownName Setter 收货街道

func (*CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetSendAddr

SetSendAddr is SendAddr Setter 发货详细地址

func (*CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetSendCityName

func (r *CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetSendCityName(_sendCityName string) error

SetSendCityName is SendCityName Setter 发货城市

func (*CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetSendCountyName

func (r *CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetSendCountyName(_sendCountyName string) error

SetSendCountyName is SendCountyName Setter 发货区

func (*CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetSendProvName

func (r *CainiaoDataLogisticsDeliveryAgingPredictAPIRequest) SetSendProvName(_sendProvName string) error

SetSendProvName is SendProvName Setter 发货省

type CainiaoDataLogisticsDeliveryAgingPredictAPIResponse

type CainiaoDataLogisticsDeliveryAgingPredictAPIResponse struct {
	model.CommonResponse
	CainiaoDataLogisticsDeliveryAgingPredictAPIResponseModel
}

CainiaoDataLogisticsDeliveryAgingPredictAPIResponse 配送物流时效预测 API返回值 cainiao.data.logistics.delivery.aging.predict

时效和服务预期是商家发货时比较关注的信息,也是选择快递公司的一个重要参考(除去长期合作合同因素)。所以,在商家发货时给商家提供线路时效预估能帮助商家选择更好的快递公司,且对消费者来说也能整体提升体验。

日常,展示具体的预测时效数值

大促期间,展示预测的时效区间

type CainiaoDataLogisticsDeliveryAgingPredictAPIResponseModel

type CainiaoDataLogisticsDeliveryAgingPredictAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_data_logistics_delivery_aging_predict_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 列表类型返回
	Datas []CainiaoDataLogisticsDeliveryAgingPredictData `json:"datas,omitempty" xml:"datas>cainiao_data_logistics_delivery_aging_predict_data,omitempty"`
}

CainiaoDataLogisticsDeliveryAgingPredictAPIResponseModel is 配送物流时效预测 成功返回结果

type CainiaoDataLogisticsDeliveryAgingPredictData

type CainiaoDataLogisticsDeliveryAgingPredictData struct {
	// 快递公司id
	CompanyId string `json:"company_id,omitempty" xml:"company_id,omitempty"`
	// 配送时效。字符串,ISV拿到直接展示,不要做处理
	DeliveryPeriod string `json:"delivery_period,omitempty" xml:"delivery_period,omitempty"`
}

CainiaoDataLogisticsDeliveryAgingPredictData 结构体

type CainiaoMemberCourierCpresignAPIRequest

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

CainiaoMemberCourierCpresignAPIRequest cp清理离职用户信息 API请求 cainiao.member.courier.cpresign

CP清理内部离职的用户信息

func NewCainiaoMemberCourierCpresignRequest

func NewCainiaoMemberCourierCpresignRequest() *CainiaoMemberCourierCpresignAPIRequest

NewCainiaoMemberCourierCpresignRequest 初始化CainiaoMemberCourierCpresignAPIRequest对象

func (CainiaoMemberCourierCpresignAPIRequest) GetAccountId

GetAccountId AccountId Getter

func (CainiaoMemberCourierCpresignAPIRequest) GetApiMethodName

func (r CainiaoMemberCourierCpresignAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoMemberCourierCpresignAPIRequest) GetApiParams

func (r CainiaoMemberCourierCpresignAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoMemberCourierCpresignAPIRequest) GetRawParams added in v1.2.8

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

func (*CainiaoMemberCourierCpresignAPIRequest) SetAccountId

func (r *CainiaoMemberCourierCpresignAPIRequest) SetAccountId(_accountId int64) error

SetAccountId is AccountId Setter 菜鸟用户id

type CainiaoMemberCourierCpresignAPIResponse

type CainiaoMemberCourierCpresignAPIResponse struct {
	model.CommonResponse
	CainiaoMemberCourierCpresignAPIResponseModel
}

CainiaoMemberCourierCpresignAPIResponse cp清理离职用户信息 API返回值 cainiao.member.courier.cpresign

CP清理内部离职的用户信息

type CainiaoMemberCourierCpresignAPIResponseModel

type CainiaoMemberCourierCpresignAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_member_courier_cpresign_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 具体错误信息
	StatusMessage string `json:"status_message,omitempty" xml:"status_message,omitempty"`
	// 错误编码
	StatusCode string `json:"status_code,omitempty" xml:"status_code,omitempty"`
	// 业务处理是否成功
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

CainiaoMemberCourierCpresignAPIResponseModel is cp清理离职用户信息 成功返回结果

type CainiaoReachableBatchjudgeAPIRequest

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

CainiaoReachableBatchjudgeAPIRequest 是否派送可达判定批量查询接口 API请求 cainiao.reachable.batchjudge

提供给商家在发货之前做截单处理,输入物流商编码和收发货地址进行可达判定,目前支持国内主流的物流服务商, 支持快运和快递两种类型

func NewCainiaoReachableBatchjudgeRequest

func NewCainiaoReachableBatchjudgeRequest() *CainiaoReachableBatchjudgeAPIRequest

NewCainiaoReachableBatchjudgeRequest 初始化CainiaoReachableBatchjudgeAPIRequest对象

func (CainiaoReachableBatchjudgeAPIRequest) GetAddressType

func (r CainiaoReachableBatchjudgeAPIRequest) GetAddressType() int64

GetAddressType AddressType Getter

func (CainiaoReachableBatchjudgeAPIRequest) GetApiMethodName

func (r CainiaoReachableBatchjudgeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoReachableBatchjudgeAPIRequest) GetApiParams

func (r CainiaoReachableBatchjudgeAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoReachableBatchjudgeAPIRequest) GetClientInfo

GetClientInfo ClientInfo Getter

func (CainiaoReachableBatchjudgeAPIRequest) GetData

GetData Data Getter

func (CainiaoReachableBatchjudgeAPIRequest) GetRawParams added in v1.2.8

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

func (*CainiaoReachableBatchjudgeAPIRequest) SetAddressType

func (r *CainiaoReachableBatchjudgeAPIRequest) SetAddressType(_addressType int64) error

SetAddressType is AddressType Setter 1:快递 2:快运

func (*CainiaoReachableBatchjudgeAPIRequest) SetClientInfo

func (r *CainiaoReachableBatchjudgeAPIRequest) SetClientInfo(_clientInfo *ClientInfoDto) error

SetClientInfo is ClientInfo Setter 调用方对象

func (*CainiaoReachableBatchjudgeAPIRequest) SetData

SetData is Data Setter 收发信息

type CainiaoReachableBatchjudgeAPIResponse

type CainiaoReachableBatchjudgeAPIResponse struct {
	model.CommonResponse
	CainiaoReachableBatchjudgeAPIResponseModel
}

CainiaoReachableBatchjudgeAPIResponse 是否派送可达判定批量查询接口 API返回值 cainiao.reachable.batchjudge

提供给商家在发货之前做截单处理,输入物流商编码和收发货地址进行可达判定,目前支持国内主流的物流服务商, 支持快运和快递两种类型

type CainiaoReachableBatchjudgeAPIResponseModel

type CainiaoReachableBatchjudgeAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_reachable_batchjudge_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *BaseResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

CainiaoReachableBatchjudgeAPIResponseModel is 是否派送可达判定批量查询接口 成功返回结果

type CainiaoWaybillCloudprintNetprintBindAPIRequest added in v1.2.5

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

CainiaoWaybillCloudprintNetprintBindAPIRequest 网络打印机绑定 API请求 cainiao.waybill.cloudprint.netprint.bind

绑定打印机接口

func NewCainiaoWaybillCloudprintNetprintBindRequest added in v1.2.5

func NewCainiaoWaybillCloudprintNetprintBindRequest() *CainiaoWaybillCloudprintNetprintBindAPIRequest

NewCainiaoWaybillCloudprintNetprintBindRequest 初始化CainiaoWaybillCloudprintNetprintBindAPIRequest对象

func (CainiaoWaybillCloudprintNetprintBindAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoWaybillCloudprintNetprintBindAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoWaybillCloudprintNetprintBindAPIRequest) GetParams added in v1.2.5

GetParams Params Getter

func (CainiaoWaybillCloudprintNetprintBindAPIRequest) GetRawParams added in v1.2.8

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

func (*CainiaoWaybillCloudprintNetprintBindAPIRequest) SetParams added in v1.2.5

SetParams is Params Setter req

type CainiaoWaybillCloudprintNetprintBindAPIResponse added in v1.2.5

type CainiaoWaybillCloudprintNetprintBindAPIResponse struct {
	model.CommonResponse
	CainiaoWaybillCloudprintNetprintBindAPIResponseModel
}

CainiaoWaybillCloudprintNetprintBindAPIResponse 网络打印机绑定 API返回值 cainiao.waybill.cloudprint.netprint.bind

绑定打印机接口

type CainiaoWaybillCloudprintNetprintBindAPIResponseModel added in v1.2.5

type CainiaoWaybillCloudprintNetprintBindAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_waybill_cloudprint_netprint_bind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值
	Result *IsvResult `json:"result,omitempty" xml:"result,omitempty"`
}

CainiaoWaybillCloudprintNetprintBindAPIResponseModel is 网络打印机绑定 成功返回结果

type CainiaoWaybillCloudprintNetprintVerifycodeAPIRequest added in v1.2.5

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

CainiaoWaybillCloudprintNetprintVerifycodeAPIRequest 打印验证码 API请求 cainiao.waybill.cloudprint.netprint.verifycode

打印获取验证码

func NewCainiaoWaybillCloudprintNetprintVerifycodeRequest added in v1.2.5

func NewCainiaoWaybillCloudprintNetprintVerifycodeRequest() *CainiaoWaybillCloudprintNetprintVerifycodeAPIRequest

NewCainiaoWaybillCloudprintNetprintVerifycodeRequest 初始化CainiaoWaybillCloudprintNetprintVerifycodeAPIRequest对象

func (CainiaoWaybillCloudprintNetprintVerifycodeAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoWaybillCloudprintNetprintVerifycodeAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoWaybillCloudprintNetprintVerifycodeAPIRequest) GetPrinter added in v1.2.5

GetPrinter Printer Getter

func (CainiaoWaybillCloudprintNetprintVerifycodeAPIRequest) GetRawParams added in v1.2.8

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

func (*CainiaoWaybillCloudprintNetprintVerifycodeAPIRequest) SetPrinter added in v1.2.5

SetPrinter is Printer Setter 请求

type CainiaoWaybillCloudprintNetprintVerifycodeAPIResponse added in v1.2.5

type CainiaoWaybillCloudprintNetprintVerifycodeAPIResponse struct {
	model.CommonResponse
	CainiaoWaybillCloudprintNetprintVerifycodeAPIResponseModel
}

CainiaoWaybillCloudprintNetprintVerifycodeAPIResponse 打印验证码 API返回值 cainiao.waybill.cloudprint.netprint.verifycode

打印获取验证码

type CainiaoWaybillCloudprintNetprintVerifycodeAPIResponseModel added in v1.2.5

type CainiaoWaybillCloudprintNetprintVerifycodeAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_waybill_cloudprint_netprint_verifycode_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值
	Result *IsvResult `json:"result,omitempty" xml:"result,omitempty"`
}

CainiaoWaybillCloudprintNetprintVerifycodeAPIResponseModel is 打印验证码 成功返回结果

type Capacities

type Capacities struct {
	// 门店编码,对应大润发deliveryDockCode
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 配送中骑手
	DeliveryKnightAmount int64 `json:"delivery_knight_amount,omitempty" xml:"delivery_knight_amount,omitempty"`
	// 小休骑手
	RestKnightAmount int64 `json:"rest_knight_amount,omitempty" xml:"rest_knight_amount,omitempty"`
	// 活跃骑手
	ActiveKnightAmount int64 `json:"active_knight_amount,omitempty" xml:"active_knight_amount,omitempty"`
	// 下班骑手
	OffWorkKnightAmount int64 `json:"off_work_knight_amount,omitempty" xml:"off_work_knight_amount,omitempty"`
	// 到店骑手
	ArrivalKnightAmount int64 `json:"arrival_knight_amount,omitempty" xml:"arrival_knight_amount,omitempty"`
	// 归途	骑手
	BackKnightAmount int64 `json:"back_knight_amount,omitempty" xml:"back_knight_amount,omitempty"`
	// 上班骑手数
	WorkKnightAmount int64 `json:"work_knight_amount,omitempty" xml:"work_knight_amount,omitempty"`
}

Capacities 结构体

type ChainStore

type ChainStore struct {
	// 门店code
	ChainstoreCode string `json:"chainstore_code,omitempty" xml:"chainstore_code,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
}

ChainStore 结构体

type ClientInfoDto

type ClientInfoDto struct {
	// 调用时自定义描述信息
	Description string `json:"description,omitempty" xml:"description,omitempty"`
}

ClientInfoDto 结构体

type CloudPrinterBindRequest added in v1.2.5

type CloudPrinterBindRequest struct {
	// 打印机 mac 地址
	Uid string `json:"uid,omitempty" xml:"uid,omitempty"`
	//  验证码
	VerifyCode string `json:"verify_code,omitempty" xml:"verify_code,omitempty"`
}

CloudPrinterBindRequest 结构体

type CloudPrinterVerifyCodeRequest added in v1.2.5

type CloudPrinterVerifyCodeRequest struct {
	//  打印机 id
	Uid string `json:"uid,omitempty" xml:"uid,omitempty"`
}

CloudPrinterVerifyCodeRequest 结构体

type CommodityInfo added in v1.2.5

type CommodityInfo struct {
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品数量
	GoodsQuantity int64 `json:"goods_quantity,omitempty" xml:"goods_quantity,omitempty"`
}

CommodityInfo 结构体

type CreateOrderRequestTopDto added in v1.2.5

type CreateOrderRequestTopDto struct {
	// products info
	Products []ProductTopDto `json:"products,omitempty" xml:"products>product_top_dto,omitempty"`
	// Logistics provider Id of the shipping order such as 1-Cainiao, 2-Pegaki, 3-Frenet, 4-Delivery Hub, etc.
	LogisticsChannelId string `json:"logistics_channel_id,omitempty" xml:"logistics_channel_id,omitempty"`
	// Input delivery_cost in logistics method query API. If no value returned, then input 1
	ProviderShippingCosts string `json:"provider_shipping_costs,omitempty" xml:"provider_shipping_costs,omitempty"`
	// Find it in responses of shipping method query API
	QueryId string `json:"query_id,omitempty" xml:"query_id,omitempty"`
	// sender address
	SenderAddress *AddressTopDto `json:"sender_address,omitempty" xml:"sender_address,omitempty"`
	// parcel info
	Parcel *ParcelTopDto `json:"parcel,omitempty" xml:"parcel,omitempty"`
	// Delivery option id selected by a sender
	DeliveryMethodId int64 `json:"delivery_method_id,omitempty" xml:"delivery_method_id,omitempty"`
	// It's sales order id and a 16-digit number. There will be mapping between trade order and shipment order
	TradeOrderId int64 `json:"trade_order_id,omitempty" xml:"trade_order_id,omitempty"`
	// receiver address
	ReceiptAddress *AddressTopDto `json:"receipt_address,omitempty" xml:"receipt_address,omitempty"`
	// invoice info
	Invoice *InvoiceTopDto `json:"invoice,omitempty" xml:"invoice,omitempty"`
}

CreateOrderRequestTopDto 结构体

type CutOffDeliveryProcessRequest added in v1.2.9

type CutOffDeliveryProcessRequest struct {
	// 面单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 业务单号
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 配拦截发起时间
	InterceptTime string `json:"intercept_time,omitempty" xml:"intercept_time,omitempty"`
	// 配拦截发起原因
	InterceptReason string `json:"intercept_reason,omitempty" xml:"intercept_reason,omitempty"`
	// 快递公司编码
	TmsCpCode string `json:"tms_cp_code,omitempty" xml:"tms_cp_code,omitempty"`
}

CutOffDeliveryProcessRequest 结构体

type DeliveryTimingDto

type DeliveryTimingDto struct {
	// 预估时效,这部分ISV直接展示,不要做改动,ISP会变文案和时效展示
	DeliveryPeriod string `json:"delivery_period,omitempty" xml:"delivery_period,omitempty"`
}

DeliveryTimingDto 结构体

type ErrorInfo

type ErrorInfo struct {
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
}

ErrorInfo 结构体

type ExpressModifyAppointTopRequestDto

type ExpressModifyAppointTopRequestDto struct {
	// 子交易单号
	SubTradeIds []string `json:"sub_trade_ids,omitempty" xml:"sub_trade_ids>string,omitempty"`
	// 应到达日期
	ScDate string `json:"sc_date,omitempty" xml:"sc_date,omitempty"`
	// 交易号
	TradeId string `json:"trade_id,omitempty" xml:"trade_id,omitempty"`
	// 收货人电话
	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`
	// 改约日期
	OsDate string `json:"os_date,omitempty" xml:"os_date,omitempty"`
	// 收货人姓名
	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`
	// 扩展字段
	Feature string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 外部订单号
	OutOrderCode string `json:"out_order_code,omitempty" xml:"out_order_code,omitempty"`
	// 收货人地址
	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`
	// 卖家Id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
}

ExpressModifyAppointTopRequestDto 结构体

type ExpressModifyAppointTopResponseDto

type ExpressModifyAppointTopResponseDto struct {
	// 订单号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 是否执行成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ExpressModifyAppointTopResponseDto 结构体

type ExtensionTopDto added in v1.2.5

type ExtensionTopDto struct {
	// Whether a seller has added invoice to transaction order. If a seller doesn't provide invoice, Correios will be the only available shipment option. This is mainly to remind sellers of adding invoice before shipment
	InvoiceAdded bool `json:"invoice_added,omitempty" xml:"invoice_added,omitempty"`
}

ExtensionTopDto 结构体

type FindOrderRequestTopDto added in v1.2.5

type FindOrderRequestTopDto struct {
	// Shipment order id created. AE will save relationship with logistics provider's shipment order_id
	LogisticsOrderId string `json:"logistics_order_id,omitempty" xml:"logistics_order_id,omitempty"`
}

FindOrderRequestTopDto 结构体

type GoodsItem

type GoodsItem struct {
	// 货品ID
	GoodsId string `json:"goods_id,omitempty" xml:"goods_id,omitempty"`
	// 子订单编号
	Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"`
	// 货品数量
	Num int64 `json:"num,omitempty" xml:"num,omitempty"`
}

GoodsItem 结构体

type InvoiceDto added in v1.2.5

type InvoiceDto struct {
	// 3-digit number
	InvoiceSeries string `json:"invoice_series,omitempty" xml:"invoice_series,omitempty"`
	// 9-digit number
	InvoiceNumber string `json:"invoice_number,omitempty" xml:"invoice_number,omitempty"`
	// date of inovice issued
	InvoiceDate string `json:"invoice_date,omitempty" xml:"invoice_date,omitempty"`
	// value of invoice
	InvoiceTotalValue string `json:"invoice_total_value,omitempty" xml:"invoice_total_value,omitempty"`
	// 44-digit number
	InvoiceKey string `json:"invoice_key,omitempty" xml:"invoice_key,omitempty"`
}

InvoiceDto 结构体

type InvoiceTopDto added in v1.2.5

type InvoiceTopDto struct {
	// 3-digit number
	InvoiceSeries string `json:"invoice_series,omitempty" xml:"invoice_series,omitempty"`
	// 44-digit number
	InvoiceKey string `json:"invoice_key,omitempty" xml:"invoice_key,omitempty"`
	// 9-digit number
	InvoiceNumber string `json:"invoice_number,omitempty" xml:"invoice_number,omitempty"`
	// value of invoice
	InvoiceTotalValue string `json:"invoice_total_value,omitempty" xml:"invoice_total_value,omitempty"`
	// date of inovice issued
	InvoiceDate string `json:"invoice_date,omitempty" xml:"invoice_date,omitempty"`
}

InvoiceTopDto 结构体

type IsvResult added in v1.2.5

type IsvResult struct {
	// 共享码
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 错误码
	ServerErrorCode string `json:"server_error_code,omitempty" xml:"server_error_code,omitempty"`
	// 描述
	Describe string `json:"describe,omitempty" xml:"describe,omitempty"`
}

IsvResult 结构体

type Kvs

type Kvs struct {
	// value
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// key
	Key string `json:"key,omitempty" xml:"key,omitempty"`
	// index
	IndexId int64 `json:"index_id,omitempty" xml:"index_id,omitempty"`
}

Kvs 结构体

type LabelDto added in v1.2.5

type LabelDto struct {
	// 物流订单号
	LogisticsOrderId string `json:"logistics_order_id,omitempty" xml:"logistics_order_id,omitempty"`
	// 面单链接
	LabelUrl string `json:"label_url,omitempty" xml:"label_url,omitempty"`
}

LabelDto 结构体

type Location

type Location struct {
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
}

Location 结构体

type LogisticsNoticeDto added in v1.2.5

type LogisticsNoticeDto struct {
	// 商品信息
	CommodityInfos []CommodityInfo `json:"commodity_infos,omitempty" xml:"commodity_infos>commodity_info,omitempty"`
	// 运单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 快递公司编码
	TpCode string `json:"tp_code,omitempty" xml:"tp_code,omitempty"`
	// 导入类型(1-订单拆包;2-赠品;3-补发;99-以上类型都不是可填写99)
	ImportType int64 `json:"import_type,omitempty" xml:"import_type,omitempty"`
	// 主交易单号
	ParentOrderId int64 `json:"parent_order_id,omitempty" xml:"parent_order_id,omitempty"`
}

LogisticsNoticeDto 结构体

type LogisticsResourceDto added in v1.2.9

type LogisticsResourceDto struct {
	// 运单号校验正则表达式
	RegMailNo string `json:"reg_mail_no,omitempty" xml:"reg_mail_no,omitempty"`
	// 快递资源编码
	ResourceCode string `json:"resource_code,omitempty" xml:"resource_code,omitempty"`
	// 快递资源名称
	ResourceName string `json:"resource_name,omitempty" xml:"resource_name,omitempty"`
	// 快递公司id
	CompanyId int64 `json:"company_id,omitempty" xml:"company_id,omitempty"`
}

LogisticsResourceDto 结构体

type LogisticsResourceRequest added in v1.2.9

type LogisticsResourceRequest struct {
	// 可选值:offline(自己联系发货),online(在线下单),all(自己联系+在线下单)instant(同城配送).
	OrderMode string `json:"order_mode,omitempty" xml:"order_mode,omitempty"`
}

LogisticsResourceRequest 结构体

type LogisticsResult

type LogisticsResult struct {
	// 错误编码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 失败消息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 数据
	Data *Pagination `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

LogisticsResult 结构体

type Money added in v1.2.5

type Money struct {
	// 币种三字码
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 分
	Cent int64 `json:"cent,omitempty" xml:"cent,omitempty"`
}

Money 结构体

type NotifyCutOffDeliveryProcessStatusRequest added in v1.2.9

type NotifyCutOffDeliveryProcessStatusRequest struct {
	// 快递单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 业务单号
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 拦截状态,1拦截成功,2拦截失败,3拦截取消
	InterceptStatus string `json:"intercept_status,omitempty" xml:"intercept_status,omitempty"`
	// 快递公司
	TmsCpCode string `json:"tms_cp_code,omitempty" xml:"tms_cp_code,omitempty"`
	// 拦截失败、拦截取消原因
	InterceptStatusMessage string `json:"intercept_status_message,omitempty" xml:"intercept_status_message,omitempty"`
}

NotifyCutOffDeliveryProcessStatusRequest 结构体

type OrderDto added in v1.2.5

type OrderDto struct {
	// products
	Products []ProductDto `json:"products,omitempty" xml:"products>product_dto,omitempty"`
	// Shipment order id created. AE will save relationship with logistics provider's shipment order_id
	LogisticsOrderId string `json:"logistics_order_id,omitempty" xml:"logistics_order_id,omitempty"`
	// Logistics provider Id of the shipping order such as 1-Cainiao, 2-Pegaki, 3-Frenet, 4-Delivery Hub, etc.
	LogisticsChannelOrderId string `json:"logistics_channel_order_id,omitempty" xml:"logistics_channel_order_id,omitempty"`
	// tracking code
	TrackingCode string `json:"tracking_code,omitempty" xml:"tracking_code,omitempty"`
	// Delivery option id selected by a sender
	ShippingMethodId string `json:"shipping_method_id,omitempty" xml:"shipping_method_id,omitempty"`
	// Logistics provider Id of the shipping order such as 1-Cainiao, 2-Pegaki, 3-Frenet, 4-Delivery Hub, etc.
	LogisticsChannelId string `json:"logistics_channel_id,omitempty" xml:"logistics_channel_id,omitempty"`
	// status of logistics order,1-NEW 2-CREATED 3-SHIPPED 4-IN TRANSIT 5-DELIVERY FAILURE 6-DELIVERED 7-CANCELLED 8-UNKNOWN
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// tracking url for senders to check status
	TrackingUrl string `json:"tracking_url,omitempty" xml:"tracking_url,omitempty"`
	// logistics channel name
	LogisticsChannelName string `json:"logistics_channel_name,omitempty" xml:"logistics_channel_name,omitempty"`
	// parcel
	Parcel *ParcelDto `json:"parcel,omitempty" xml:"parcel,omitempty"`
	// It's sales order id and a 16-digit number. There will be mapping between trade order and shipment order
	TradeOrderId int64 `json:"trade_order_id,omitempty" xml:"trade_order_id,omitempty"`
	// receiver
	ReceiptAddress *AddressDto `json:"receipt_address,omitempty" xml:"receipt_address,omitempty"`
	// sender
	SenderAddress *AddressDto `json:"sender_address,omitempty" xml:"sender_address,omitempty"`
	// invoice
	Invoice *InvoiceDto `json:"invoice,omitempty" xml:"invoice,omitempty"`
}

OrderDto 结构体

type OrderWarehouseRouteGetItem

type OrderWarehouseRouteGetItem struct {
	// 仓库编码 当订单路由到菜鸟仓发货时输出菜鸟仓编码。等待路由仓或由商家仓发货的订单,此内容为空。
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 订单路由状态 状态值: WAIT_ROUTE 待路由仓 ROUTE_TO_CN 路由到菜鸟仓发货 ROUTE_TO_ERP 路由到商家仓发货。 STOP_ROUTE 终止分仓,如订单已取消时,不再发货。 注:待路由仓状态表示未做路由,不确定由哪个仓库发货,可与5分钟后再次查询
	RoutStatus string `json:"rout_status,omitempty" xml:"rout_status,omitempty"`
	// 菜鸟订单编码 当订单路由到菜鸟仓发货时,生成此单号。等待路由仓或由商家仓发货的订单,此单号为空。格式LBX+数字
	CnOrderCode string `json:"cn_order_code,omitempty" xml:"cn_order_code,omitempty"`
	// ERP订单明细编码或者子交易单号
	OrderItemId string `json:"order_item_id,omitempty" xml:"order_item_id,omitempty"`
	// 通知仓库此订单明细的商品应发数量
	ItemQty int64 `json:"item_qty,omitempty" xml:"item_qty,omitempty"`
}

OrderWarehouseRouteGetItem 结构体

type OrderWarehouseRouteGetItems

type OrderWarehouseRouteGetItems struct {
	// 商品信息
	Item *OrderWarehouseRouteGetItem `json:"item,omitempty" xml:"item,omitempty"`
}

OrderWarehouseRouteGetItems 结构体

type PageQueryWarehouseResourceRelationByFromRequest

type PageQueryWarehouseResourceRelationByFromRequest struct {
	// from资源外部编码,与from_resource_code二选一
	FromOrgResourceCode string `json:"from_org_resource_code,omitempty" xml:"from_org_resource_code,omitempty"`
	// from资源编码,与from_org_resource_code二选一
	FromResourceCode string `json:"from_resource_code,omitempty" xml:"from_resource_code,omitempty"`
	// from资源类型
	FromResourceType string `json:"from_resource_type,omitempty" xml:"from_resource_type,omitempty"`
	// 网络编码
	NetworkCode string `json:"network_code,omitempty" xml:"network_code,omitempty"`
	// 分页,1开始
	PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"`
	// 分页,上限50
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

PageQueryWarehouseResourceRelationByFromRequest 结构体

type Pagination

type Pagination struct {
	// 数据列表
	Results []ResourceGroupDto `json:"results,omitempty" xml:"results>resource_group_dto,omitempty"`
	// from外部资源编码
	FromOrgResourceCode string `json:"from_org_resource_code,omitempty" xml:"from_org_resource_code,omitempty"`
	// from资源来源
	FromOrgSource string `json:"from_org_source,omitempty" xml:"from_org_source,omitempty"`
	// from资源编码
	FromResourceCode string `json:"from_resource_code,omitempty" xml:"from_resource_code,omitempty"`
	// from资源名称
	FromResourceName string `json:"from_resource_name,omitempty" xml:"from_resource_name,omitempty"`
	// from资源类型
	FromResourceType string `json:"from_resource_type,omitempty" xml:"from_resource_type,omitempty"`
	// 商家
	MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"`
	// 网络编码
	NetworkCode string `json:"network_code,omitempty" xml:"network_code,omitempty"`
	// 关系类型
	RelationType string `json:"relation_type,omitempty" xml:"relation_type,omitempty"`
	// to资源外部编码
	ToOrgResourceCode string `json:"to_org_resource_code,omitempty" xml:"to_org_resource_code,omitempty"`
	// to资源来源
	ToOrgSource string `json:"to_org_source,omitempty" xml:"to_org_source,omitempty"`
	// to资源编码
	ToResourceCode string `json:"to_resource_code,omitempty" xml:"to_resource_code,omitempty"`
	// to资源名称
	ToResourceName string `json:"to_resource_name,omitempty" xml:"to_resource_name,omitempty"`
	// to资源类型
	ToResourceType string `json:"to_resource_type,omitempty" xml:"to_resource_type,omitempty"`
	// 总数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
}

Pagination 结构体

type Param

type Param struct {
	// 门店编码,对应大润发deliveryDockCode
	StoreCodes []string `json:"store_codes,omitempty" xml:"store_codes>string,omitempty"`
	// 门店列表
	Chainstores []ChainStore `json:"chainstores,omitempty" xml:"chainstores>chain_store,omitempty"`
	// appId
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 外部订单号
	PartnerOrderCode string `json:"partner_order_code,omitempty" xml:"partner_order_code,omitempty"`
	// 渠道code
	ChannelId string `json:"channel_id,omitempty" xml:"channel_id,omitempty"`
	// 取消原因描述
	OrderCancelDesc string `json:"order_cancel_desc,omitempty" xml:"order_cancel_desc,omitempty"`
	// 服务包code
	ServicePackageCode string `json:"service_package_code,omitempty" xml:"service_package_code,omitempty"`
	// 商户code
	MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"`
	// 门店code
	ChainstoreCode string `json:"chainstore_code,omitempty" xml:"chainstore_code,omitempty"`
	// 文本地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 门店名字
	ChainStoreName string `json:"chain_store_name,omitempty" xml:"chain_store_name,omitempty"`
	// 门店code
	ChainStoreCode string `json:"chain_store_code,omitempty" xml:"chain_store_code,omitempty"`
	// 联系手机
	ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 错误详情
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 取消code
	OrderCancelCode int64 `json:"order_cancel_code,omitempty" xml:"order_cancel_code,omitempty"`
	// 取消原因code  1:用户取消
	OrderCancelReasonCode int64 `json:"order_cancel_reason_code,omitempty" xml:"order_cancel_reason_code,omitempty"`
	// 经纬度来源。1-腾讯,2-百度,3-高德
	PositionSource int64 `json:"position_source,omitempty" xml:"position_source,omitempty"`
	// 交易唯一id,汇金outBizId
	TradeId int64 `json:"trade_id,omitempty" xml:"trade_id,omitempty"`
	// 汇金唯一id
	HjTradeNo int64 `json:"hj_trade_no,omitempty" xml:"hj_trade_no,omitempty"`
	// 汇金扣拥状态
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

Param 结构体

type ParcelDto added in v1.2.5

type ParcelDto struct {
	// Type: ENVELOPE, BOX, BAG, TUBE, PALLET
	ParcelTypeCode string `json:"parcel_type_code,omitempty" xml:"parcel_type_code,omitempty"`
	// Width of the parcel in the shipment order. Default unit: centimeters
	Width string `json:"width,omitempty" xml:"width,omitempty"`
	// Length of the parcel in the shipment order. Default unit: centimeters
	Length string `json:"length,omitempty" xml:"length,omitempty"`
	// Actual gross weight of the parcel instead of the weight of the product, nor the added weight of the invoice volumes.  Default unit: kilograms
	Weight string `json:"weight,omitempty" xml:"weight,omitempty"`
	// Height of the parcel in the shipment order. Default unit: centimeters
	Height string `json:"height,omitempty" xml:"height,omitempty"`
	// price of all SKUs in the parcel
	ProductTotalPrice string `json:"product_total_price,omitempty" xml:"product_total_price,omitempty"`
	// Parcel type including ENVELOPE, BOX, BAG, TUBE, PALLET and you should input it when creating a shipment order
	ParcelType string `json:"parcel_type,omitempty" xml:"parcel_type,omitempty"`
	// number of the parcel and there's only one parcel
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

ParcelDto 结构体

type ParcelTopDto added in v1.2.5

type ParcelTopDto struct {
	// Type: ENVELOPE, BOX, BAG, TUBE, PALLET
	ParcelTypeCode string `json:"parcel_type_code,omitempty" xml:"parcel_type_code,omitempty"`
	// Length of the parcel in the shipment order. Default unit: centimeters
	Length string `json:"length,omitempty" xml:"length,omitempty"`
	// Width of the parcel in the shipment order. Default unit: centimeters
	Width string `json:"width,omitempty" xml:"width,omitempty"`
	// Actual gross weight of the parcel instead of the weight of the product, nor the added weight of the invoice volumes.  Default unit: kilograms
	Weight string `json:"weight,omitempty" xml:"weight,omitempty"`
	// Height of the parcel in the shipment order. Default unit: centimeters
	Height string `json:"height,omitempty" xml:"height,omitempty"`
	// number of the parcel and there's only one parcel
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

ParcelTopDto 结构体

type PrintLabelRequestDto added in v1.2.5

type PrintLabelRequestDto struct {
	// 物流订单号
	LogisticsOrderId string `json:"logistics_order_id,omitempty" xml:"logistics_order_id,omitempty"`
}

PrintLabelRequestDto 结构体

type ProductDto added in v1.2.5

type ProductDto struct {
	// Total weight of a SKU in its original packaging. Default unit: kilograms
	Weight string `json:"weight,omitempty" xml:"weight,omitempty"`
	// Actual dimension of a sku in its original packaging. Default unit: centimeters
	Length string `json:"length,omitempty" xml:"length,omitempty"`
	// Actual dimension of a sku in its original packaging. Default unit: centimeters
	Width string `json:"width,omitempty" xml:"width,omitempty"`
	// Actual dimension of a sku in its original packaging. Default unit: centimeters
	Height string `json:"height,omitempty" xml:"height,omitempty"`
	// Price of product
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// AE sku_id to identify a unit of sku
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// Quantity of a sku in the order. It's used to calculate the total number of products in a parcel
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

ProductDto 结构体

type ProductTopDto added in v1.2.5

type ProductTopDto struct {
	// price
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// Actual dimension of a sku in its original packaging. Default unit: centimeters
	Length string `json:"length,omitempty" xml:"length,omitempty"`
	// Actual dimension of a sku in its original packaging. Default unit: centimeters
	Width string `json:"width,omitempty" xml:"width,omitempty"`
	// Total weight of a SKU in its original packaging. Default unit: kilograms
	Weight string `json:"weight,omitempty" xml:"weight,omitempty"`
	// Actual dimension of a sku in its original packaging. Default unit: centimeters
	Height string `json:"height,omitempty" xml:"height,omitempty"`
	// AE sku_id to identify a unit of sku
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// Quantity of a sku in the order. It's used to calculate the total number of products in a parcel
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

ProductTopDto 结构体

type QueryShippingMethodRequestTopDto added in v1.2.5

type QueryShippingMethodRequestTopDto struct {
	// product list
	Products []ProductTopDto `json:"products,omitempty" xml:"products>product_top_dto,omitempty"`
	// It's sales order id and a 16-digit number To confirm logistics service provider in the order such as Cainiao, Pegaki, Frenet, Delivery Hub, etc.
	TradeOrderId int64 `json:"trade_order_id,omitempty" xml:"trade_order_id,omitempty"`
	// origin address
	SenderAddress *AddressTopDto `json:"sender_address,omitempty" xml:"sender_address,omitempty"`
	// extension
	Extension *ExtensionTopDto `json:"extension,omitempty" xml:"extension,omitempty"`
	// destination address
	ReceiptAddress *AddressTopDto `json:"receipt_address,omitempty" xml:"receipt_address,omitempty"`
}

QueryShippingMethodRequestTopDto 结构体

type QueryShippingMethodResponseDto added in v1.2.5

type QueryShippingMethodResponseDto struct {
	// delivery option list
	DeliveryOptions []AELogisticsShippingMethodDto `json:"delivery_options,omitempty" xml:"delivery_options>ae_logistics_shipping_method_dto,omitempty"`
	// query id, if the value is not empty, please fill it in create order api
	QueryId string `json:"query_id,omitempty" xml:"query_id,omitempty"`
	// parcel
	Parcel *ParcelDto `json:"parcel,omitempty" xml:"parcel,omitempty"`
}

QueryShippingMethodResponseDto 结构体

type Range

type Range struct {
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
}

Range 结构体

type ReachableAddressAndServiceDto

type ReachableAddressAndServiceDto struct {
	// 服务列表,每一项必须为json的string格式,快运必填,快递为空则默认为'标准快递'
	ServiceCodeList []string `json:"service_code_list,omitempty" xml:"service_code_list>string,omitempty"`
	// 每条收发地址的key,用户自定义,每次请求多个地址不能重复
	ObjectId string `json:"object_id,omitempty" xml:"object_id,omitempty"`
	// 淘宝开放地址ID
	Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"`
	// C2M&1688开放地址ID
	Caid string `json:"caid,omitempty" xml:"caid,omitempty"`
	// 收货地址
	ReceiveAddress *ReceiveAddress `json:"receive_address,omitempty" xml:"receive_address,omitempty"`
	// 发货地址
	SendAddress *AddressDto `json:"send_address,omitempty" xml:"send_address,omitempty"`
	// 订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

ReachableAddressAndServiceDto 结构体

type ReachableDto

type ReachableDto struct {
	// 阻断原因
	InterruptReason string `json:"interrupt_reason,omitempty" xml:"interrupt_reason,omitempty"`
	// 是否阻断 true:阻断  false:可达
	InterruptApplyWaybillCode bool `json:"interrupt_apply_waybill_code,omitempty" xml:"interrupt_apply_waybill_code,omitempty"`
}

ReachableDto 结构体

type ReachableServiceWaybillForTopResponseDto

type ReachableServiceWaybillForTopResponseDto struct {
	// 结果列表
	ResultList []ReachableServiceWaybillResponseDto `json:"result_list,omitempty" xml:"result_list>reachable_service_waybill_response_dto,omitempty"`
}

ReachableServiceWaybillForTopResponseDto 结构体

type ReachableServiceWaybillResponseDto

type ReachableServiceWaybillResponseDto struct {
	// 与入参地址列表中单项objectId对应
	ObjectId string `json:"object_id,omitempty" xml:"object_id,omitempty"`
	// 单个结果是否异常
	ErrorInfo *ErrorInfo `json:"error_info,omitempty" xml:"error_info,omitempty"`
	// 可达信息
	Module *ReachableDto `json:"module,omitempty" xml:"module,omitempty"`
	// 单个结果是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ReachableServiceWaybillResponseDto 结构体

type ReceiveAddress

type ReceiveAddress struct {
	// 镇/街道
	TownName string `json:"town_name,omitempty" xml:"town_name,omitempty"`
	// 详细地址
	AddressDetail string `json:"address_detail,omitempty" xml:"address_detail,omitempty"`
	// 市
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 区
	AreaName string `json:"area_name,omitempty" xml:"area_name,omitempty"`
	// 省
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
}

ReceiveAddress 结构体

type ReportShippedDto added in v1.2.5

type ReportShippedDto struct {
	// shipment order id
	LogisticsOrderId string `json:"logistics_order_id,omitempty" xml:"logistics_order_id,omitempty"`
	// type of report dispatch
	ShippedType string `json:"shipped_type,omitempty" xml:"shipped_type,omitempty"`
}

ReportShippedDto 结构体

type ReportShippedRequestDto added in v1.2.5

type ReportShippedRequestDto struct {
	// report shipped list
	ReportShippedList []ReportShippedDto `json:"report_shipped_list,omitempty" xml:"report_shipped_list>report_shipped_dto,omitempty"`
}

ReportShippedRequestDto 结构体

type ResourceGroupDto

type ResourceGroupDto struct {
	// 区块编码
	AreaCode string `json:"area_code,omitempty" xml:"area_code,omitempty"`
	// 区块名称
	AreaName string `json:"area_name,omitempty" xml:"area_name,omitempty"`
	// 网格仓外部编码
	FromOrgResourceCode string `json:"from_org_resource_code,omitempty" xml:"from_org_resource_code,omitempty"`
	// from资源来源
	FromOrgSource string `json:"from_org_source,omitempty" xml:"from_org_source,omitempty"`
	// 网格仓编码
	FromResourceCode string `json:"from_resource_code,omitempty" xml:"from_resource_code,omitempty"`
	// from资源名称
	FromResourceName string `json:"from_resource_name,omitempty" xml:"from_resource_name,omitempty"`
	// from资源类型
	FromResourceType string `json:"from_resource_type,omitempty" xml:"from_resource_type,omitempty"`
	// 商家
	MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"`
	// 网络编码
	NetworkCode string `json:"network_code,omitempty" xml:"network_code,omitempty"`
	// 自提点地址
	PickupPointAddress string `json:"pickup_point_address,omitempty" xml:"pickup_point_address,omitempty"`
	// 自提点外部编码
	ToOrgResourceCode string `json:"to_org_resource_code,omitempty" xml:"to_org_resource_code,omitempty"`
	// 自提点来源
	ToOrgSource string `json:"to_org_source,omitempty" xml:"to_org_source,omitempty"`
	// 自提点编码
	ToResourceCode string `json:"to_resource_code,omitempty" xml:"to_resource_code,omitempty"`
	// to资源编码(自提点)
	ToResourceName string `json:"to_resource_name,omitempty" xml:"to_resource_name,omitempty"`
	// to资源类型
	ToResourceType string `json:"to_resource_type,omitempty" xml:"to_resource_type,omitempty"`
	// 是否测试
	IsTest int64 `json:"is_test,omitempty" xml:"is_test,omitempty"`
}

ResourceGroupDto 结构体

type ResourceGroupPageQueryRequest

type ResourceGroupPageQueryRequest struct {
	// 自提点编码
	GroupResourceCodeList []string `json:"group_resource_code_list,omitempty" xml:"group_resource_code_list>string,omitempty"`
	// 区块编码
	AreaCode string `json:"area_code,omitempty" xml:"area_code,omitempty"`
	// 网格仓外部编码
	FromOrgResourceCode string `json:"from_org_resource_code,omitempty" xml:"from_org_resource_code,omitempty"`
	// 网格仓编码
	FromResourceCode string `json:"from_resource_code,omitempty" xml:"from_resource_code,omitempty"`
	// from资源类型
	FromResourceType string `json:"from_resource_type,omitempty" xml:"from_resource_type,omitempty"`
	// 网络名称
	NetworkCode string `json:"network_code,omitempty" xml:"network_code,omitempty"`
	// 页码,1开始
	PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"`
	// 页面大小,上限50
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

ResourceGroupPageQueryRequest 结构体

type ResultDto added in v1.2.9

type ResultDto struct {
	// 快递公司资源列表
	ResourceList []LogisticsResourceDto `json:"resource_list,omitempty" xml:"resource_list>logistics_resource_dto,omitempty"`
	// 错误信息
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ResultDto 结构体

type Resultdata added in v1.2.5

type Resultdata struct {
	// 主交易单号
	ParentOrderId int64 `json:"parent_order_id,omitempty" xml:"parent_order_id,omitempty"`
}

Resultdata 结构体

type ReverseEventInfoDto

type ReverseEventInfoDto struct {
	// 销退单ID
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 扩展字段
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 值
	Value string `json:"value,omitempty" xml:"value,omitempty"`
	// 类型(1=销退单状态变更)
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

ReverseEventInfoDto 结构体

type RoutingReachableBatchRequestDto

type RoutingReachableBatchRequestDto struct {
	// 收发地址和服务列表
	AddressAndServiceList []ReachableAddressAndServiceDto `json:"address_and_service_list,omitempty" xml:"address_and_service_list>reachable_address_and_service_dto,omitempty"`
	// 快递公司code
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 发件揽收网点
	SendBranchCode string `json:"send_branch_code,omitempty" xml:"send_branch_code,omitempty"`
}

RoutingReachableBatchRequestDto 结构体

type SendResendLogisticsMsgDto

type SendResendLogisticsMsgDto struct {
	// 该运单所包含的货品列表
	GoodsItemList []GoodsItem `json:"goods_item_list,omitempty" xml:"goods_item_list>goods_item,omitempty"`
	// 运单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 描述
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 发货单唯一标识
	BizId string `json:"biz_id,omitempty" xml:"biz_id,omitempty"`
	// 物流公司名称
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 平台补发单唯一标识
	SourceId string `json:"source_id,omitempty" xml:"source_id,omitempty"`
	// 成功发货的发货单运单号,菜鸟为LP单号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 运单状态(-1=废单,1=已下发)
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 主订单
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
}

SendResendLogisticsMsgDto 结构体

type ServicePackage

type ServicePackage struct {
	// 服务包code
	ServicePackageCode string `json:"service_package_code,omitempty" xml:"service_package_code,omitempty"`
}

ServicePackage 结构体

type Shipping

type Shipping struct {
	// 返回发货是否成功。
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

Shipping 结构体

type ShippingOrderEvent

type ShippingOrderEvent struct {
	// 运单状态,0:运单创建,10:配送商接单,20:骑手接单,80:骑手到店,30:骑手取餐,40:已完成,90:配送失败
	ShippingState int64 `json:"shipping_state,omitempty" xml:"shipping_state,omitempty"`
	// 状态变更时间
	OccurredAt int64 `json:"occurred_at,omitempty" xml:"occurred_at,omitempty"`
}

ShippingOrderEvent 结构体

type SingleResultDto

type SingleResultDto struct {
	// 错误描述
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// 调用码
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 业务返回结果
	Result *ExpressModifyAppointTopResponseDto `json:"result,omitempty" xml:"result,omitempty"`
	// 是否需要重试
	IsRetry bool `json:"is_retry,omitempty" xml:"is_retry,omitempty"`
	// 是否幂等
	IsIdempotent bool `json:"is_idempotent,omitempty" xml:"is_idempotent,omitempty"`
	// 是否调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

SingleResultDto 结构体

type TaobaoLogisticsAddressAddAPIRequest

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

TaobaoLogisticsAddressAddAPIRequest 卖家地址库新增接口 API请求 taobao.logistics.address.add

通过此接口新增卖家地址库,卖家最多可添加5条地址库,新增第一条卖家地址,将会自动设为默认地址库

func NewTaobaoLogisticsAddressAddRequest

func NewTaobaoLogisticsAddressAddRequest() *TaobaoLogisticsAddressAddAPIRequest

NewTaobaoLogisticsAddressAddRequest 初始化TaobaoLogisticsAddressAddAPIRequest对象

func (TaobaoLogisticsAddressAddAPIRequest) GetAddr

GetAddr Addr Getter

func (TaobaoLogisticsAddressAddAPIRequest) GetApiMethodName

func (r TaobaoLogisticsAddressAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsAddressAddAPIRequest) GetApiParams

func (r TaobaoLogisticsAddressAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsAddressAddAPIRequest) GetCancelDef

func (r TaobaoLogisticsAddressAddAPIRequest) GetCancelDef() bool

GetCancelDef CancelDef Getter

func (TaobaoLogisticsAddressAddAPIRequest) GetCity

GetCity City Getter

func (TaobaoLogisticsAddressAddAPIRequest) GetContactName

func (r TaobaoLogisticsAddressAddAPIRequest) GetContactName() string

GetContactName ContactName Getter

func (TaobaoLogisticsAddressAddAPIRequest) GetCountry

GetCountry Country Getter

func (TaobaoLogisticsAddressAddAPIRequest) GetGetDef

GetGetDef GetDef Getter

func (TaobaoLogisticsAddressAddAPIRequest) GetMemo

GetMemo Memo Getter

func (TaobaoLogisticsAddressAddAPIRequest) GetMobilePhone

func (r TaobaoLogisticsAddressAddAPIRequest) GetMobilePhone() string

GetMobilePhone MobilePhone Getter

func (TaobaoLogisticsAddressAddAPIRequest) GetPhone

GetPhone Phone Getter

func (TaobaoLogisticsAddressAddAPIRequest) GetProvince

GetProvince Province Getter

func (TaobaoLogisticsAddressAddAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoLogisticsAddressAddAPIRequest) GetSellerCompany

func (r TaobaoLogisticsAddressAddAPIRequest) GetSellerCompany() string

GetSellerCompany SellerCompany Getter

func (TaobaoLogisticsAddressAddAPIRequest) GetZipCode

GetZipCode ZipCode Getter

func (*TaobaoLogisticsAddressAddAPIRequest) SetAddr

SetAddr is Addr Setter 详细街道地址,不需要重复填写省/市/区

func (*TaobaoLogisticsAddressAddAPIRequest) SetCancelDef

func (r *TaobaoLogisticsAddressAddAPIRequest) SetCancelDef(_cancelDef bool) error

SetCancelDef is CancelDef Setter 默认退货地址。<br><br/><font color='red'>选择此项(true),将当前地址设为默认退货地址,撤消原默认退货地址</font>

func (*TaobaoLogisticsAddressAddAPIRequest) SetCity

SetCity is City Setter 所在市

func (*TaobaoLogisticsAddressAddAPIRequest) SetContactName

func (r *TaobaoLogisticsAddressAddAPIRequest) SetContactName(_contactName string) error

SetContactName is ContactName Setter 联系人姓名 <font color='red'>长度不可超过20个字节</font>

func (*TaobaoLogisticsAddressAddAPIRequest) SetCountry

func (r *TaobaoLogisticsAddressAddAPIRequest) SetCountry(_country string) error

SetCountry is Country Setter 区、县<br/><br><font color='red'>如果所在地区是海外的可以为空,否则为必参</font>

func (*TaobaoLogisticsAddressAddAPIRequest) SetGetDef

func (r *TaobaoLogisticsAddressAddAPIRequest) SetGetDef(_getDef bool) error

SetGetDef is GetDef Setter 默认取货地址。<br><br/><font color='red'>选择此项(true),将当前地址设为默认取货地址,撤消原默认取货地址</font>

func (*TaobaoLogisticsAddressAddAPIRequest) SetMemo

SetMemo is Memo Setter 备注,<br><font color='red'>备注不能超过256字节</font>

func (*TaobaoLogisticsAddressAddAPIRequest) SetMobilePhone

func (r *TaobaoLogisticsAddressAddAPIRequest) SetMobilePhone(_mobilePhone string) error

SetMobilePhone is MobilePhone Setter 手机号码,手机与电话必需有一个<br/><br><font color='red'>手机号码不能超过20位</font>

func (*TaobaoLogisticsAddressAddAPIRequest) SetPhone

func (r *TaobaoLogisticsAddressAddAPIRequest) SetPhone(_phone string) error

SetPhone is Phone Setter 电话号码,手机与电话必需有一个

func (*TaobaoLogisticsAddressAddAPIRequest) SetProvince

func (r *TaobaoLogisticsAddressAddAPIRequest) SetProvince(_province string) error

SetProvince is Province Setter 所在省

func (*TaobaoLogisticsAddressAddAPIRequest) SetSellerCompany

func (r *TaobaoLogisticsAddressAddAPIRequest) SetSellerCompany(_sellerCompany string) error

SetSellerCompany is SellerCompany Setter 公司名称,<br><font color="red">公司名称长能不能超过20字节</font>

func (*TaobaoLogisticsAddressAddAPIRequest) SetZipCode

func (r *TaobaoLogisticsAddressAddAPIRequest) SetZipCode(_zipCode string) error

SetZipCode is ZipCode Setter 地区邮政编码<br/><br><font color='red'>如果所在地区是海外的可以为空,否则为必参</font>

type TaobaoLogisticsAddressAddAPIResponse

type TaobaoLogisticsAddressAddAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsAddressAddAPIResponseModel
}

TaobaoLogisticsAddressAddAPIResponse 卖家地址库新增接口 API返回值 taobao.logistics.address.add

通过此接口新增卖家地址库,卖家最多可添加5条地址库,新增第一条卖家地址,将会自动设为默认地址库

type TaobaoLogisticsAddressAddAPIResponseModel

type TaobaoLogisticsAddressAddAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_address_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 只返回修改日期modify_date
	AddressResult *AddressResult `json:"address_result,omitempty" xml:"address_result,omitempty"`
}

TaobaoLogisticsAddressAddAPIResponseModel is 卖家地址库新增接口 成功返回结果

type TaobaoLogisticsAddressModifyAPIRequest

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

TaobaoLogisticsAddressModifyAPIRequest 卖家地址库修改 API请求 taobao.logistics.address.modify

卖家地址库修改

func NewTaobaoLogisticsAddressModifyRequest

func NewTaobaoLogisticsAddressModifyRequest() *TaobaoLogisticsAddressModifyAPIRequest

NewTaobaoLogisticsAddressModifyRequest 初始化TaobaoLogisticsAddressModifyAPIRequest对象

func (TaobaoLogisticsAddressModifyAPIRequest) GetAddr

GetAddr Addr Getter

func (TaobaoLogisticsAddressModifyAPIRequest) GetApiMethodName

func (r TaobaoLogisticsAddressModifyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsAddressModifyAPIRequest) GetApiParams

func (r TaobaoLogisticsAddressModifyAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsAddressModifyAPIRequest) GetCancelDef

GetCancelDef CancelDef Getter

func (TaobaoLogisticsAddressModifyAPIRequest) GetCity

GetCity City Getter

func (TaobaoLogisticsAddressModifyAPIRequest) GetContactId

GetContactId ContactId Getter

func (TaobaoLogisticsAddressModifyAPIRequest) GetContactName

GetContactName ContactName Getter

func (TaobaoLogisticsAddressModifyAPIRequest) GetCountry

GetCountry Country Getter

func (TaobaoLogisticsAddressModifyAPIRequest) GetGetDef

GetGetDef GetDef Getter

func (TaobaoLogisticsAddressModifyAPIRequest) GetMemo

GetMemo Memo Getter

func (TaobaoLogisticsAddressModifyAPIRequest) GetMobilePhone

GetMobilePhone MobilePhone Getter

func (TaobaoLogisticsAddressModifyAPIRequest) GetPhone

GetPhone Phone Getter

func (TaobaoLogisticsAddressModifyAPIRequest) GetProvince

GetProvince Province Getter

func (TaobaoLogisticsAddressModifyAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoLogisticsAddressModifyAPIRequest) GetSellerCompany

func (r TaobaoLogisticsAddressModifyAPIRequest) GetSellerCompany() string

GetSellerCompany SellerCompany Getter

func (TaobaoLogisticsAddressModifyAPIRequest) GetZipCode

GetZipCode ZipCode Getter

func (*TaobaoLogisticsAddressModifyAPIRequest) SetAddr

SetAddr is Addr Setter 详细街道地址,不需要重复填写省/市/区

func (*TaobaoLogisticsAddressModifyAPIRequest) SetCancelDef

func (r *TaobaoLogisticsAddressModifyAPIRequest) SetCancelDef(_cancelDef bool) error

SetCancelDef is CancelDef Setter 默认退货地址。<br><br/><font color='red'>选择此项(true),将当前地址设为默认退货地址,撤消原默认退货地址</font>

func (*TaobaoLogisticsAddressModifyAPIRequest) SetCity

SetCity is City Setter 所在市

func (*TaobaoLogisticsAddressModifyAPIRequest) SetContactId

func (r *TaobaoLogisticsAddressModifyAPIRequest) SetContactId(_contactId int64) error

SetContactId is ContactId Setter 地址库ID

func (*TaobaoLogisticsAddressModifyAPIRequest) SetContactName

func (r *TaobaoLogisticsAddressModifyAPIRequest) SetContactName(_contactName string) error

SetContactName is ContactName Setter 联系人姓名<br/><font color='red'>长度不可超过20个字节</font>

func (*TaobaoLogisticsAddressModifyAPIRequest) SetCountry

func (r *TaobaoLogisticsAddressModifyAPIRequest) SetCountry(_country string) error

SetCountry is Country Setter 区、县<br/><br><font color='red'>如果所在地区是海外的可以为空,否则为必参</font>

func (*TaobaoLogisticsAddressModifyAPIRequest) SetGetDef

func (r *TaobaoLogisticsAddressModifyAPIRequest) SetGetDef(_getDef bool) error

SetGetDef is GetDef Setter 默认取货地址。<br><br/><font color='red'>选择此项(true),将当前地址设为默认取货地址,撤消原默认取货地址</font>

func (*TaobaoLogisticsAddressModifyAPIRequest) SetMemo

SetMemo is Memo Setter 备注,<br><font color='red'>备注不能超过256字节</font>

func (*TaobaoLogisticsAddressModifyAPIRequest) SetMobilePhone

func (r *TaobaoLogisticsAddressModifyAPIRequest) SetMobilePhone(_mobilePhone string) error

SetMobilePhone is MobilePhone Setter 手机号码,手机与电话必需有一个 <br><font color='red'>手机号码不能超过20位</font>

func (*TaobaoLogisticsAddressModifyAPIRequest) SetPhone

SetPhone is Phone Setter 电话号码,手机与电话必需有一个

func (*TaobaoLogisticsAddressModifyAPIRequest) SetProvince

func (r *TaobaoLogisticsAddressModifyAPIRequest) SetProvince(_province string) error

SetProvince is Province Setter 所在省

func (*TaobaoLogisticsAddressModifyAPIRequest) SetSellerCompany

func (r *TaobaoLogisticsAddressModifyAPIRequest) SetSellerCompany(_sellerCompany string) error

SetSellerCompany is SellerCompany Setter 公司名称,<br/><br><font color='red'>公司名称长能不能超过20字节</font>

func (*TaobaoLogisticsAddressModifyAPIRequest) SetZipCode

func (r *TaobaoLogisticsAddressModifyAPIRequest) SetZipCode(_zipCode string) error

SetZipCode is ZipCode Setter 地区邮政编码<br/><br><font color='red'>如果所在地区是海外的可以为空,否则为必参</font>

type TaobaoLogisticsAddressModifyAPIResponse

type TaobaoLogisticsAddressModifyAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsAddressModifyAPIResponseModel
}

TaobaoLogisticsAddressModifyAPIResponse 卖家地址库修改 API返回值 taobao.logistics.address.modify

卖家地址库修改

type TaobaoLogisticsAddressModifyAPIResponseModel

type TaobaoLogisticsAddressModifyAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_address_modify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 只返回修改时间modify_date
	AddressResult *AddressResult `json:"address_result,omitempty" xml:"address_result,omitempty"`
}

TaobaoLogisticsAddressModifyAPIResponseModel is 卖家地址库修改 成功返回结果

type TaobaoLogisticsAddressRemoveAPIRequest

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

TaobaoLogisticsAddressRemoveAPIRequest 删除卖家地址库 API请求 taobao.logistics.address.remove

用此接口删除卖家地址库

func NewTaobaoLogisticsAddressRemoveRequest

func NewTaobaoLogisticsAddressRemoveRequest() *TaobaoLogisticsAddressRemoveAPIRequest

NewTaobaoLogisticsAddressRemoveRequest 初始化TaobaoLogisticsAddressRemoveAPIRequest对象

func (TaobaoLogisticsAddressRemoveAPIRequest) GetApiMethodName

func (r TaobaoLogisticsAddressRemoveAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsAddressRemoveAPIRequest) GetApiParams

func (r TaobaoLogisticsAddressRemoveAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsAddressRemoveAPIRequest) GetContactId

GetContactId ContactId Getter

func (TaobaoLogisticsAddressRemoveAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoLogisticsAddressRemoveAPIRequest) SetContactId

func (r *TaobaoLogisticsAddressRemoveAPIRequest) SetContactId(_contactId int64) error

SetContactId is ContactId Setter 地址库ID

type TaobaoLogisticsAddressRemoveAPIResponse

type TaobaoLogisticsAddressRemoveAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsAddressRemoveAPIResponseModel
}

TaobaoLogisticsAddressRemoveAPIResponse 删除卖家地址库 API返回值 taobao.logistics.address.remove

用此接口删除卖家地址库

type TaobaoLogisticsAddressRemoveAPIResponseModel

type TaobaoLogisticsAddressRemoveAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_address_remove_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 只返回修改日期modify_date
	AddressResult *AddressResult `json:"address_result,omitempty" xml:"address_result,omitempty"`
}

TaobaoLogisticsAddressRemoveAPIResponseModel is 删除卖家地址库 成功返回结果

type TaobaoLogisticsAddressSearchAPIRequest

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

TaobaoLogisticsAddressSearchAPIRequest 查询卖家地址库 API请求 taobao.logistics.address.search

通过此接口查询卖家地址库,

func NewTaobaoLogisticsAddressSearchRequest

func NewTaobaoLogisticsAddressSearchRequest() *TaobaoLogisticsAddressSearchAPIRequest

NewTaobaoLogisticsAddressSearchRequest 初始化TaobaoLogisticsAddressSearchAPIRequest对象

func (TaobaoLogisticsAddressSearchAPIRequest) GetApiMethodName

func (r TaobaoLogisticsAddressSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsAddressSearchAPIRequest) GetApiParams

func (r TaobaoLogisticsAddressSearchAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsAddressSearchAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoLogisticsAddressSearchAPIRequest) GetRdef

GetRdef Rdef Getter

func (*TaobaoLogisticsAddressSearchAPIRequest) SetRdef

SetRdef is Rdef Setter 可选,参数列表如下:<br><font color='red'>no_def:查询非默认地址<br>get_def:查询默认取货地址,也即对应卖家后台地址库中发货地址(send_def暂不起作用)<br>cancel_def:查询默认退货地址<br>缺省此参数时,查询所有当前用户的地址库</font>

type TaobaoLogisticsAddressSearchAPIResponse

type TaobaoLogisticsAddressSearchAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsAddressSearchAPIResponseModel
}

TaobaoLogisticsAddressSearchAPIResponse 查询卖家地址库 API返回值 taobao.logistics.address.search

通过此接口查询卖家地址库,

type TaobaoLogisticsAddressSearchAPIResponseModel

type TaobaoLogisticsAddressSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_address_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 一组地址库数据,
	Addresses []AddressResult `json:"addresses,omitempty" xml:"addresses>address_result,omitempty"`
}

TaobaoLogisticsAddressSearchAPIResponseModel is 查询卖家地址库 成功返回结果

type TaobaoLogisticsConsignResendAPIRequest

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

TaobaoLogisticsConsignResendAPIRequest 修改物流公司和运单号 API请求 taobao.logistics.consign.resend

支持卖家发货后修改运单号;支持在线下单和自己联系两种发货方式;使用条件:<br> 1、必须是已发货订单,自己联系发货的必须50天内才可修改;在线下单的,必须下单后物流公司未揽收成功前才可修改; 2、自己联系只能切换为自己联系的公司,在线下单也只能切换为在线下单的物流公司。

func NewTaobaoLogisticsConsignResendRequest

func NewTaobaoLogisticsConsignResendRequest() *TaobaoLogisticsConsignResendAPIRequest

NewTaobaoLogisticsConsignResendRequest 初始化TaobaoLogisticsConsignResendAPIRequest对象

func (TaobaoLogisticsConsignResendAPIRequest) GetApiMethodName

func (r TaobaoLogisticsConsignResendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsConsignResendAPIRequest) GetApiParams

func (r TaobaoLogisticsConsignResendAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsConsignResendAPIRequest) GetCompanyCode

GetCompanyCode CompanyCode Getter

func (TaobaoLogisticsConsignResendAPIRequest) GetFeature

GetFeature Feature Getter

func (TaobaoLogisticsConsignResendAPIRequest) GetIsSplit

GetIsSplit IsSplit Getter

func (TaobaoLogisticsConsignResendAPIRequest) GetOutSid

GetOutSid OutSid Getter

func (TaobaoLogisticsConsignResendAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoLogisticsConsignResendAPIRequest) GetSellerIp

GetSellerIp SellerIp Getter

func (TaobaoLogisticsConsignResendAPIRequest) GetSubTid

GetSubTid SubTid Getter

func (TaobaoLogisticsConsignResendAPIRequest) GetTid

GetTid Tid Getter

func (*TaobaoLogisticsConsignResendAPIRequest) SetCompanyCode

func (r *TaobaoLogisticsConsignResendAPIRequest) SetCompanyCode(_companyCode string) error

SetCompanyCode is CompanyCode Setter 物流公司代码.如"POST"代表中国邮政,"ZJS"代表宅急送。调用 taobao.logistics.companies.get 获取。<br><font color='red'>如果是货到付款订单,选择的物流公司必须支持货到付款发货方式</font>

func (*TaobaoLogisticsConsignResendAPIRequest) SetFeature

func (r *TaobaoLogisticsConsignResendAPIRequest) SetFeature(_feature string) error

SetFeature is Feature Setter feature参数格式<br>范例: identCode=tid1:识别码1,识别码2|tid2:识别码3;machineCode=tid3:3C机器号A,3C机器号B<br>identCode为识别码的KEY,machineCode为3C的KEY,多个key之间用”;”分隔<br>“tid1:识别码1,识别码2|tid2:识别码3”为identCode对应的value。"|"不同商品间的分隔符。<br>例1商品和2商品,之间就用"|"分开。<br>TID就是商品代表的子订单号,对应taobao.trade.fullinfo.get 接口获得的oid字段。(通过OID可以唯一定位到当前商品上)<br>":"TID和具体传入参数间的分隔符。冒号前表示TID,之后代表该商品的参数属性。<br>"," 属性间分隔符。(对应商品数量,当存在一个商品的数量超过1个时,用逗号分开)。<br>具体:当订单中A商品的数量为2个,其中手机串号分别为"12345","67890"。<br>参数格式:identCode=TIDA:12345,67890。TIDA对应了A宝贝,冒号后用逗号分隔的"12345","67890".说明本订单A宝贝的数量为2,值分别为"12345","67890"。<br>当存在"|"时,就说明订单中存在多个商品,商品间用"|"分隔了开来。|"之后的内容含义同上。

func (*TaobaoLogisticsConsignResendAPIRequest) SetIsSplit

func (r *TaobaoLogisticsConsignResendAPIRequest) SetIsSplit(_isSplit int64) error

SetIsSplit is IsSplit Setter 表明是否是拆单,默认值0,1表示拆单

func (*TaobaoLogisticsConsignResendAPIRequest) SetOutSid

func (r *TaobaoLogisticsConsignResendAPIRequest) SetOutSid(_outSid string) error

SetOutSid is OutSid Setter 运单号.具体一个物流公司的真实运单号码。淘宝官方物流会校验,请谨慎传入;

func (*TaobaoLogisticsConsignResendAPIRequest) SetSellerIp

func (r *TaobaoLogisticsConsignResendAPIRequest) SetSellerIp(_sellerIp string) error

SetSellerIp is SellerIp Setter 商家的IP地址

func (*TaobaoLogisticsConsignResendAPIRequest) SetSubTid

func (r *TaobaoLogisticsConsignResendAPIRequest) SetSubTid(_subTid []int64) error

SetSubTid is SubTid Setter 拆单子订单列表,对应的数据是:子订单号列表。可以不传,但是如果传了则必须符合传递的规则。子订单必须是操作的物流订单的子订单的真子集!

func (*TaobaoLogisticsConsignResendAPIRequest) SetTid

SetTid is Tid Setter 淘宝交易ID

type TaobaoLogisticsConsignResendAPIResponse

type TaobaoLogisticsConsignResendAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsConsignResendAPIResponseModel
}

TaobaoLogisticsConsignResendAPIResponse 修改物流公司和运单号 API返回值 taobao.logistics.consign.resend

支持卖家发货后修改运单号;支持在线下单和自己联系两种发货方式;使用条件:<br> 1、必须是已发货订单,自己联系发货的必须50天内才可修改;在线下单的,必须下单后物流公司未揽收成功前才可修改; 2、自己联系只能切换为自己联系的公司,在线下单也只能切换为在线下单的物流公司。

type TaobaoLogisticsConsignResendAPIResponseModel

type TaobaoLogisticsConsignResendAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_consign_resend_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回发货是否成功is_success
	Shipping *Shipping `json:"shipping,omitempty" xml:"shipping,omitempty"`
}

TaobaoLogisticsConsignResendAPIResponseModel is 修改物流公司和运单号 成功返回结果

type TaobaoLogisticsErpDeliveryCutAPIRequest added in v1.2.9

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

TaobaoLogisticsErpDeliveryCutAPIRequest ERP发起配拦截 API请求 taobao.logistics.erp.delivery.cut

ERP发起配拦截

func NewTaobaoLogisticsErpDeliveryCutRequest added in v1.2.9

func NewTaobaoLogisticsErpDeliveryCutRequest() *TaobaoLogisticsErpDeliveryCutAPIRequest

NewTaobaoLogisticsErpDeliveryCutRequest 初始化TaobaoLogisticsErpDeliveryCutAPIRequest对象

func (TaobaoLogisticsErpDeliveryCutAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoLogisticsErpDeliveryCutAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsErpDeliveryCutAPIRequest) GetApiParams added in v1.2.9

func (r TaobaoLogisticsErpDeliveryCutAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsErpDeliveryCutAPIRequest) GetCutOffDeliveryProcessRequest added in v1.2.9

func (r TaobaoLogisticsErpDeliveryCutAPIRequest) GetCutOffDeliveryProcessRequest() *CutOffDeliveryProcessRequest

GetCutOffDeliveryProcessRequest CutOffDeliveryProcessRequest Getter

func (TaobaoLogisticsErpDeliveryCutAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoLogisticsErpDeliveryCutAPIRequest) SetCutOffDeliveryProcessRequest added in v1.2.9

func (r *TaobaoLogisticsErpDeliveryCutAPIRequest) SetCutOffDeliveryProcessRequest(_cutOffDeliveryProcessRequest *CutOffDeliveryProcessRequest) error

SetCutOffDeliveryProcessRequest is CutOffDeliveryProcessRequest Setter 请求

type TaobaoLogisticsErpDeliveryCutAPIResponse added in v1.2.9

type TaobaoLogisticsErpDeliveryCutAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsErpDeliveryCutAPIResponseModel
}

TaobaoLogisticsErpDeliveryCutAPIResponse ERP发起配拦截 API返回值 taobao.logistics.erp.delivery.cut

ERP发起配拦截

type TaobaoLogisticsErpDeliveryCutAPIResponseModel added in v1.2.9

type TaobaoLogisticsErpDeliveryCutAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_erp_delivery_cut_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	BizErrorMessage string `json:"biz_error_message,omitempty" xml:"biz_error_message,omitempty"`
	// 错误信息
	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 是否成功
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
	// 是否需要重试
	Retry bool `json:"retry,omitempty" xml:"retry,omitempty"`
}

TaobaoLogisticsErpDeliveryCutAPIResponseModel is ERP发起配拦截 成功返回结果

type TaobaoLogisticsExpressCollectSyncAPIRequest added in v1.2.9

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

TaobaoLogisticsExpressCollectSyncAPIRequest 服饰逆向揽收信息同步 API请求 taobao.logistics.express.collect.sync

服饰逆向揽收信息同步

func NewTaobaoLogisticsExpressCollectSyncRequest added in v1.2.9

func NewTaobaoLogisticsExpressCollectSyncRequest() *TaobaoLogisticsExpressCollectSyncAPIRequest

NewTaobaoLogisticsExpressCollectSyncRequest 初始化TaobaoLogisticsExpressCollectSyncAPIRequest对象

func (TaobaoLogisticsExpressCollectSyncAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsExpressCollectSyncAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsExpressCollectSyncAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoLogisticsExpressCollectSyncAPIRequest) GetTmsCollectRequest added in v1.2.9

GetTmsCollectRequest TmsCollectRequest Getter

func (*TaobaoLogisticsExpressCollectSyncAPIRequest) SetTmsCollectRequest added in v1.2.9

func (r *TaobaoLogisticsExpressCollectSyncAPIRequest) SetTmsCollectRequest(_tmsCollectRequest *TmsCollectRequest) error

SetTmsCollectRequest is TmsCollectRequest Setter 揽收参数

type TaobaoLogisticsExpressCollectSyncAPIResponse added in v1.2.9

type TaobaoLogisticsExpressCollectSyncAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsExpressCollectSyncAPIResponseModel
}

TaobaoLogisticsExpressCollectSyncAPIResponse 服饰逆向揽收信息同步 API返回值 taobao.logistics.express.collect.sync

服饰逆向揽收信息同步

type TaobaoLogisticsExpressCollectSyncAPIResponseModel added in v1.2.9

type TaobaoLogisticsExpressCollectSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_express_collect_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码描述
	BizErrorMessage string `json:"biz_error_message,omitempty" xml:"biz_error_message,omitempty"`
	// 错误码标识
	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 返回值
	Data *TmsCollectResponse `json:"data,omitempty" xml:"data,omitempty"`
	// 校验成功或者异常
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
	// 是否可重试
	Retry bool `json:"retry,omitempty" xml:"retry,omitempty"`
}

TaobaoLogisticsExpressCollectSyncAPIResponseModel is 服饰逆向揽收信息同步 成功返回结果

type TaobaoLogisticsExpressCourierSyncAPIRequest added in v1.2.9

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

TaobaoLogisticsExpressCourierSyncAPIRequest 快递公司同步小件员信息 API请求 taobao.logistics.express.courier.sync

快递公司同步小件员信息

func NewTaobaoLogisticsExpressCourierSyncRequest added in v1.2.9

func NewTaobaoLogisticsExpressCourierSyncRequest() *TaobaoLogisticsExpressCourierSyncAPIRequest

NewTaobaoLogisticsExpressCourierSyncRequest 初始化TaobaoLogisticsExpressCourierSyncAPIRequest对象

func (TaobaoLogisticsExpressCourierSyncAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsExpressCourierSyncAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsExpressCourierSyncAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoLogisticsExpressCourierSyncAPIRequest) GetTmsCourierRequest added in v1.2.9

GetTmsCourierRequest TmsCourierRequest Getter

func (*TaobaoLogisticsExpressCourierSyncAPIRequest) SetTmsCourierRequest added in v1.2.9

func (r *TaobaoLogisticsExpressCourierSyncAPIRequest) SetTmsCourierRequest(_tmsCourierRequest *TmsCourierRequest) error

SetTmsCourierRequest is TmsCourierRequest Setter 小件员信息

type TaobaoLogisticsExpressCourierSyncAPIResponse added in v1.2.9

type TaobaoLogisticsExpressCourierSyncAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsExpressCourierSyncAPIResponseModel
}

TaobaoLogisticsExpressCourierSyncAPIResponse 快递公司同步小件员信息 API返回值 taobao.logistics.express.courier.sync

快递公司同步小件员信息

type TaobaoLogisticsExpressCourierSyncAPIResponseModel added in v1.2.9

type TaobaoLogisticsExpressCourierSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_express_courier_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码描述
	BizErrorMessage string `json:"biz_error_message,omitempty" xml:"biz_error_message,omitempty"`
	// 错误码标识
	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 校验成功或者异常
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
	// 是否可重试
	Retry bool `json:"retry,omitempty" xml:"retry,omitempty"`
}

TaobaoLogisticsExpressCourierSyncAPIResponseModel is 快递公司同步小件员信息 成功返回结果

type TaobaoLogisticsExpressDeliveryCutNotifyAPIRequest added in v1.2.9

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

TaobaoLogisticsExpressDeliveryCutNotifyAPIRequest TMS配拦截结果回告 API请求 taobao.logistics.express.delivery.cut.notify

TMS配拦截结果回告

func NewTaobaoLogisticsExpressDeliveryCutNotifyRequest added in v1.2.9

func NewTaobaoLogisticsExpressDeliveryCutNotifyRequest() *TaobaoLogisticsExpressDeliveryCutNotifyAPIRequest

NewTaobaoLogisticsExpressDeliveryCutNotifyRequest 初始化TaobaoLogisticsExpressDeliveryCutNotifyAPIRequest对象

func (TaobaoLogisticsExpressDeliveryCutNotifyAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsExpressDeliveryCutNotifyAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsExpressDeliveryCutNotifyAPIRequest) GetNotifyCutOffDeliveryProcessStatusRequest added in v1.2.9

GetNotifyCutOffDeliveryProcessStatusRequest NotifyCutOffDeliveryProcessStatusRequest Getter

func (TaobaoLogisticsExpressDeliveryCutNotifyAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoLogisticsExpressDeliveryCutNotifyAPIRequest) SetNotifyCutOffDeliveryProcessStatusRequest added in v1.2.9

func (r *TaobaoLogisticsExpressDeliveryCutNotifyAPIRequest) SetNotifyCutOffDeliveryProcessStatusRequest(_notifyCutOffDeliveryProcessStatusRequest *NotifyCutOffDeliveryProcessStatusRequest) error

SetNotifyCutOffDeliveryProcessStatusRequest is NotifyCutOffDeliveryProcessStatusRequest Setter 请求

type TaobaoLogisticsExpressDeliveryCutNotifyAPIResponse added in v1.2.9

type TaobaoLogisticsExpressDeliveryCutNotifyAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsExpressDeliveryCutNotifyAPIResponseModel
}

TaobaoLogisticsExpressDeliveryCutNotifyAPIResponse TMS配拦截结果回告 API返回值 taobao.logistics.express.delivery.cut.notify

TMS配拦截结果回告

type TaobaoLogisticsExpressDeliveryCutNotifyAPIResponseModel added in v1.2.9

type TaobaoLogisticsExpressDeliveryCutNotifyAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_express_delivery_cut_notify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	BizErrorMessage string `json:"biz_error_message,omitempty" xml:"biz_error_message,omitempty"`
	// 是否成功
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
	// 错误编码
	BizErrorCode bool `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 是否支持重试
	Retry bool `json:"retry,omitempty" xml:"retry,omitempty"`
}

TaobaoLogisticsExpressDeliveryCutNotifyAPIResponseModel is TMS配拦截结果回告 成功返回结果

type TaobaoLogisticsExpressModifyAppointAPIRequest

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

TaobaoLogisticsExpressModifyAppointAPIRequest 快递改约api API请求 taobao.logistics.express.modify.appoint

商家通过此api操作修改物流单,交易单的收货人地址、收货人联系方式、预约配送日期

func NewTaobaoLogisticsExpressModifyAppointRequest

func NewTaobaoLogisticsExpressModifyAppointRequest() *TaobaoLogisticsExpressModifyAppointAPIRequest

NewTaobaoLogisticsExpressModifyAppointRequest 初始化TaobaoLogisticsExpressModifyAppointAPIRequest对象

func (TaobaoLogisticsExpressModifyAppointAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsExpressModifyAppointAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsExpressModifyAppointAPIRequest) GetExpressModifyAppointTopRequest

GetExpressModifyAppointTopRequest ExpressModifyAppointTopRequest Getter

func (TaobaoLogisticsExpressModifyAppointAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoLogisticsExpressModifyAppointAPIRequest) SetExpressModifyAppointTopRequest

func (r *TaobaoLogisticsExpressModifyAppointAPIRequest) SetExpressModifyAppointTopRequest(_expressModifyAppointTopRequest *ExpressModifyAppointTopRequestDto) error

SetExpressModifyAppointTopRequest is ExpressModifyAppointTopRequest Setter 改约请求对象

type TaobaoLogisticsExpressModifyAppointAPIResponse

type TaobaoLogisticsExpressModifyAppointAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsExpressModifyAppointAPIResponseModel
}

TaobaoLogisticsExpressModifyAppointAPIResponse 快递改约api API返回值 taobao.logistics.express.modify.appoint

商家通过此api操作修改物流单,交易单的收货人地址、收货人联系方式、预约配送日期

type TaobaoLogisticsExpressModifyAppointAPIResponseModel

type TaobaoLogisticsExpressModifyAppointAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_express_modify_appoint_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用结果
	Result *SingleResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoLogisticsExpressModifyAppointAPIResponseModel is 快递改约api 成功返回结果

type TaobaoLogisticsExpressOrderPayTmsQueryAPIRequest added in v1.2.9

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

TaobaoLogisticsExpressOrderPayTmsQueryAPIRequest 上门取退运费支付状态查询接口 API请求 taobao.logistics.express.order.pay.tms.query

上门取退运费支付状态查询接口

func NewTaobaoLogisticsExpressOrderPayTmsQueryRequest added in v1.2.9

func NewTaobaoLogisticsExpressOrderPayTmsQueryRequest() *TaobaoLogisticsExpressOrderPayTmsQueryAPIRequest

NewTaobaoLogisticsExpressOrderPayTmsQueryRequest 初始化TaobaoLogisticsExpressOrderPayTmsQueryAPIRequest对象

func (TaobaoLogisticsExpressOrderPayTmsQueryAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsExpressOrderPayTmsQueryAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsExpressOrderPayTmsQueryAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoLogisticsExpressOrderPayTmsQueryAPIRequest) GetTms2MscPayQueryRequest added in v1.2.9

GetTms2MscPayQueryRequest Tms2MscPayQueryRequest Getter

func (*TaobaoLogisticsExpressOrderPayTmsQueryAPIRequest) SetTms2MscPayQueryRequest added in v1.2.9

func (r *TaobaoLogisticsExpressOrderPayTmsQueryAPIRequest) SetTms2MscPayQueryRequest(_tms2MscPayQueryRequest *Tms2MscPayQueryRequest) error

SetTms2MscPayQueryRequest is Tms2MscPayQueryRequest Setter 查询入参

type TaobaoLogisticsExpressOrderPayTmsQueryAPIResponse added in v1.2.9

type TaobaoLogisticsExpressOrderPayTmsQueryAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsExpressOrderPayTmsQueryAPIResponseModel
}

TaobaoLogisticsExpressOrderPayTmsQueryAPIResponse 上门取退运费支付状态查询接口 API返回值 taobao.logistics.express.order.pay.tms.query

上门取退运费支付状态查询接口

type TaobaoLogisticsExpressOrderPayTmsQueryAPIResponseModel added in v1.2.9

type TaobaoLogisticsExpressOrderPayTmsQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_express_order_pay_tms_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	BizErrorMessage string `json:"biz_error_message,omitempty" xml:"biz_error_message,omitempty"`
	// 错误码
	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 业务处理结果
	Data *Tms2MscPayQueryResponse `json:"data,omitempty" xml:"data,omitempty"`
	// 是否可重试
	Retry bool `json:"retry,omitempty" xml:"retry,omitempty"`
	// 是	系统成功失败 true|false
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
}

TaobaoLogisticsExpressOrderPayTmsQueryAPIResponseModel is 上门取退运费支付状态查询接口 成功返回结果

type TaobaoLogisticsExpressOrderTmsCancelAPIRequest added in v1.2.9

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

TaobaoLogisticsExpressOrderTmsCancelAPIRequest 服务商上门取退时间取消接口 API请求 taobao.logistics.express.order.tms.cancel

服务商上门取退时间取消接口

func NewTaobaoLogisticsExpressOrderTmsCancelRequest added in v1.2.9

func NewTaobaoLogisticsExpressOrderTmsCancelRequest() *TaobaoLogisticsExpressOrderTmsCancelAPIRequest

NewTaobaoLogisticsExpressOrderTmsCancelRequest 初始化TaobaoLogisticsExpressOrderTmsCancelAPIRequest对象

func (TaobaoLogisticsExpressOrderTmsCancelAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsExpressOrderTmsCancelAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsExpressOrderTmsCancelAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoLogisticsExpressOrderTmsCancelAPIRequest) GetTmsToMscCancelOrderRequest added in v1.2.9

GetTmsToMscCancelOrderRequest TmsToMscCancelOrderRequest Getter

func (*TaobaoLogisticsExpressOrderTmsCancelAPIRequest) SetTmsToMscCancelOrderRequest added in v1.2.9

func (r *TaobaoLogisticsExpressOrderTmsCancelAPIRequest) SetTmsToMscCancelOrderRequest(_tmsToMscCancelOrderRequest *Tms2MscCancelOrderRequest) error

SetTmsToMscCancelOrderRequest is TmsToMscCancelOrderRequest Setter tms取消参数

type TaobaoLogisticsExpressOrderTmsCancelAPIResponse added in v1.2.9

type TaobaoLogisticsExpressOrderTmsCancelAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsExpressOrderTmsCancelAPIResponseModel
}

TaobaoLogisticsExpressOrderTmsCancelAPIResponse 服务商上门取退时间取消接口 API返回值 taobao.logistics.express.order.tms.cancel

服务商上门取退时间取消接口

type TaobaoLogisticsExpressOrderTmsCancelAPIResponseModel added in v1.2.9

type TaobaoLogisticsExpressOrderTmsCancelAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_express_order_tms_cancel_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应信息
	BizErrorMessage string `json:"biz_error_message,omitempty" xml:"biz_error_message,omitempty"`
	// 响应码
	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 系统成功失败
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
	// 是否可重试
	Retry bool `json:"retry,omitempty" xml:"retry,omitempty"`
}

TaobaoLogisticsExpressOrderTmsCancelAPIResponseModel is 服务商上门取退时间取消接口 成功返回结果

type TaobaoLogisticsExpressOrderTmsUpdateAPIRequest added in v1.2.9

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

TaobaoLogisticsExpressOrderTmsUpdateAPIRequest 服务商修改上门取退时间接口 API请求 taobao.logistics.express.order.tms.update

服务商修改上门取退时间接口

func NewTaobaoLogisticsExpressOrderTmsUpdateRequest added in v1.2.9

func NewTaobaoLogisticsExpressOrderTmsUpdateRequest() *TaobaoLogisticsExpressOrderTmsUpdateAPIRequest

NewTaobaoLogisticsExpressOrderTmsUpdateRequest 初始化TaobaoLogisticsExpressOrderTmsUpdateAPIRequest对象

func (TaobaoLogisticsExpressOrderTmsUpdateAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsExpressOrderTmsUpdateAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsExpressOrderTmsUpdateAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoLogisticsExpressOrderTmsUpdateAPIRequest) GetTmsToMscUpdateOrderRequest added in v1.2.9

GetTmsToMscUpdateOrderRequest TmsToMscUpdateOrderRequest Getter

func (*TaobaoLogisticsExpressOrderTmsUpdateAPIRequest) SetTmsToMscUpdateOrderRequest added in v1.2.9

func (r *TaobaoLogisticsExpressOrderTmsUpdateAPIRequest) SetTmsToMscUpdateOrderRequest(_tmsToMscUpdateOrderRequest *Tms2MscUpdateOrderRequest) error

SetTmsToMscUpdateOrderRequest is TmsToMscUpdateOrderRequest Setter tms更新参数

type TaobaoLogisticsExpressOrderTmsUpdateAPIResponse added in v1.2.9

type TaobaoLogisticsExpressOrderTmsUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsExpressOrderTmsUpdateAPIResponseModel
}

TaobaoLogisticsExpressOrderTmsUpdateAPIResponse 服务商修改上门取退时间接口 API返回值 taobao.logistics.express.order.tms.update

服务商修改上门取退时间接口

type TaobaoLogisticsExpressOrderTmsUpdateAPIResponseModel added in v1.2.9

type TaobaoLogisticsExpressOrderTmsUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_express_order_tms_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应信息
	BizErrorMessage string `json:"biz_error_message,omitempty" xml:"biz_error_message,omitempty"`
	// 响应码
	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 系统成功失败
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
	// 是否可重试
	Retry bool `json:"retry,omitempty" xml:"retry,omitempty"`
}

TaobaoLogisticsExpressOrderTmsUpdateAPIResponseModel is 服务商修改上门取退时间接口 成功返回结果

type TaobaoLogisticsExpressPackageweightSyncAPIRequest added in v1.2.9

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

TaobaoLogisticsExpressPackageweightSyncAPIRequest TMS包裹重量回传 API请求 taobao.logistics.express.packageweight.sync

TMS包裹重量回传

func NewTaobaoLogisticsExpressPackageweightSyncRequest added in v1.2.9

func NewTaobaoLogisticsExpressPackageweightSyncRequest() *TaobaoLogisticsExpressPackageweightSyncAPIRequest

NewTaobaoLogisticsExpressPackageweightSyncRequest 初始化TaobaoLogisticsExpressPackageweightSyncAPIRequest对象

func (TaobaoLogisticsExpressPackageweightSyncAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsExpressPackageweightSyncAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsExpressPackageweightSyncAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoLogisticsExpressPackageweightSyncAPIRequest) GetTmsPackageWeightRequest added in v1.2.9

GetTmsPackageWeightRequest TmsPackageWeightRequest Getter

func (*TaobaoLogisticsExpressPackageweightSyncAPIRequest) SetTmsPackageWeightRequest added in v1.2.9

func (r *TaobaoLogisticsExpressPackageweightSyncAPIRequest) SetTmsPackageWeightRequest(_tmsPackageWeightRequest *TmsPackageWeightRequest) error

SetTmsPackageWeightRequest is TmsPackageWeightRequest Setter 包裹重量信息

type TaobaoLogisticsExpressPackageweightSyncAPIResponse added in v1.2.9

type TaobaoLogisticsExpressPackageweightSyncAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsExpressPackageweightSyncAPIResponseModel
}

TaobaoLogisticsExpressPackageweightSyncAPIResponse TMS包裹重量回传 API返回值 taobao.logistics.express.packageweight.sync

TMS包裹重量回传

type TaobaoLogisticsExpressPackageweightSyncAPIResponseModel added in v1.2.9

type TaobaoLogisticsExpressPackageweightSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_express_packageweight_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码描述
	BizErrorMessage string `json:"biz_error_message,omitempty" xml:"biz_error_message,omitempty"`
	// 错误码标识
	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 校验成功或者异常
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
	// 是否可重试
	Retry bool `json:"retry,omitempty" xml:"retry,omitempty"`
}

TaobaoLogisticsExpressPackageweightSyncAPIResponseModel is TMS包裹重量回传 成功返回结果

type TaobaoLogisticsExpressPickcodeCheckAPIRequest added in v1.2.9

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

TaobaoLogisticsExpressPickcodeCheckAPIRequest 快递公司取货码校验 API请求 taobao.logistics.express.pickcode.check

快递公司取货码校验

func NewTaobaoLogisticsExpressPickcodeCheckRequest added in v1.2.9

func NewTaobaoLogisticsExpressPickcodeCheckRequest() *TaobaoLogisticsExpressPickcodeCheckAPIRequest

NewTaobaoLogisticsExpressPickcodeCheckRequest 初始化TaobaoLogisticsExpressPickcodeCheckAPIRequest对象

func (TaobaoLogisticsExpressPickcodeCheckAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsExpressPickcodeCheckAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsExpressPickcodeCheckAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoLogisticsExpressPickcodeCheckAPIRequest) GetTmsPickCodeRequest added in v1.2.9

GetTmsPickCodeRequest TmsPickCodeRequest Getter

func (*TaobaoLogisticsExpressPickcodeCheckAPIRequest) SetTmsPickCodeRequest added in v1.2.9

func (r *TaobaoLogisticsExpressPickcodeCheckAPIRequest) SetTmsPickCodeRequest(_tmsPickCodeRequest *TmsPickCodeRequest) error

SetTmsPickCodeRequest is TmsPickCodeRequest Setter 取件码校验参数

type TaobaoLogisticsExpressPickcodeCheckAPIResponse added in v1.2.9

type TaobaoLogisticsExpressPickcodeCheckAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsExpressPickcodeCheckAPIResponseModel
}

TaobaoLogisticsExpressPickcodeCheckAPIResponse 快递公司取货码校验 API返回值 taobao.logistics.express.pickcode.check

快递公司取货码校验

type TaobaoLogisticsExpressPickcodeCheckAPIResponseModel added in v1.2.9

type TaobaoLogisticsExpressPickcodeCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_express_pickcode_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码描述
	BizErrorMessage string `json:"biz_error_message,omitempty" xml:"biz_error_message,omitempty"`
	// 错误码标识
	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 校验成功或者异常
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
	// 是否可重试
	Retry bool `json:"retry,omitempty" xml:"retry,omitempty"`
}

TaobaoLogisticsExpressPickcodeCheckAPIResponseModel is 快递公司取货码校验 成功返回结果

type TaobaoLogisticsExpressServiceSyncAPIRequest added in v1.2.9

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

TaobaoLogisticsExpressServiceSyncAPIRequest 服务信息回告接口 API请求 taobao.logistics.express.service.sync

服务信息回告接口

func NewTaobaoLogisticsExpressServiceSyncRequest added in v1.2.9

func NewTaobaoLogisticsExpressServiceSyncRequest() *TaobaoLogisticsExpressServiceSyncAPIRequest

NewTaobaoLogisticsExpressServiceSyncRequest 初始化TaobaoLogisticsExpressServiceSyncAPIRequest对象

func (TaobaoLogisticsExpressServiceSyncAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsExpressServiceSyncAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsExpressServiceSyncAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoLogisticsExpressServiceSyncAPIRequest) GetTmsServiceSyncRequest added in v1.2.9

GetTmsServiceSyncRequest TmsServiceSyncRequest Getter

func (*TaobaoLogisticsExpressServiceSyncAPIRequest) SetTmsServiceSyncRequest added in v1.2.9

func (r *TaobaoLogisticsExpressServiceSyncAPIRequest) SetTmsServiceSyncRequest(_tmsServiceSyncRequest *TmsServiceSyncRequest) error

SetTmsServiceSyncRequest is TmsServiceSyncRequest Setter 参数信息

type TaobaoLogisticsExpressServiceSyncAPIResponse added in v1.2.9

type TaobaoLogisticsExpressServiceSyncAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsExpressServiceSyncAPIResponseModel
}

TaobaoLogisticsExpressServiceSyncAPIResponse 服务信息回告接口 API返回值 taobao.logistics.express.service.sync

服务信息回告接口

type TaobaoLogisticsExpressServiceSyncAPIResponseModel added in v1.2.9

type TaobaoLogisticsExpressServiceSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_express_service_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码描述
	BizErrorMessage string `json:"biz_error_message,omitempty" xml:"biz_error_message,omitempty"`
	// 校验成功或者异常
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
	// 错误码标识
	BizErrorCode bool `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 是否可重试
	Retry bool `json:"retry,omitempty" xml:"retry,omitempty"`
}

TaobaoLogisticsExpressServiceSyncAPIResponseModel is 服务信息回告接口 成功返回结果

type TaobaoLogisticsOfflineSendAPIRequest

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

TaobaoLogisticsOfflineSendAPIRequest 自己联系物流(线下物流)发货 API请求 taobao.logistics.offline.send

用户调用该接口可实现自己联系发货(线下物流),使用该接口发货,交易订单状态会直接变成卖家已发货。不支持货到付款、在线下单类型的订单。

func NewTaobaoLogisticsOfflineSendRequest

func NewTaobaoLogisticsOfflineSendRequest() *TaobaoLogisticsOfflineSendAPIRequest

NewTaobaoLogisticsOfflineSendRequest 初始化TaobaoLogisticsOfflineSendAPIRequest对象

func (TaobaoLogisticsOfflineSendAPIRequest) GetApiMethodName

func (r TaobaoLogisticsOfflineSendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsOfflineSendAPIRequest) GetApiParams

func (r TaobaoLogisticsOfflineSendAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsOfflineSendAPIRequest) GetCancelId

GetCancelId CancelId Getter

func (TaobaoLogisticsOfflineSendAPIRequest) GetCompanyCode

func (r TaobaoLogisticsOfflineSendAPIRequest) GetCompanyCode() string

GetCompanyCode CompanyCode Getter

func (TaobaoLogisticsOfflineSendAPIRequest) GetFeature

GetFeature Feature Getter

func (TaobaoLogisticsOfflineSendAPIRequest) GetIsSplit

GetIsSplit IsSplit Getter

func (TaobaoLogisticsOfflineSendAPIRequest) GetOutSid

GetOutSid OutSid Getter

func (TaobaoLogisticsOfflineSendAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoLogisticsOfflineSendAPIRequest) GetSellerIp

GetSellerIp SellerIp Getter

func (TaobaoLogisticsOfflineSendAPIRequest) GetSenderId

GetSenderId SenderId Getter

func (TaobaoLogisticsOfflineSendAPIRequest) GetSubTid

GetSubTid SubTid Getter

func (TaobaoLogisticsOfflineSendAPIRequest) GetTid

GetTid Tid Getter

func (*TaobaoLogisticsOfflineSendAPIRequest) SetCancelId

func (r *TaobaoLogisticsOfflineSendAPIRequest) SetCancelId(_cancelId int64) error

SetCancelId is CancelId Setter 卖家联系人地址库ID,可以通过taobao.logistics.address.search接口查询到地址库ID。 如果为空,取的卖家的默认退货地址

func (*TaobaoLogisticsOfflineSendAPIRequest) SetCompanyCode

func (r *TaobaoLogisticsOfflineSendAPIRequest) SetCompanyCode(_companyCode string) error

SetCompanyCode is CompanyCode Setter 物流公司代码.如"POST"就代表中国邮政,"ZJS"就代表宅急送.调用 taobao.logistics.companies.get 获取。

func (*TaobaoLogisticsOfflineSendAPIRequest) SetFeature

func (r *TaobaoLogisticsOfflineSendAPIRequest) SetFeature(_feature string) error

SetFeature is Feature Setter feature参数格式 范例: identCode=tid1:识别码1,识别码2|tid2:识别码3;machineCode=tid3:3C机器号A,3C机器号B identCode为识别码的KEY,machineCode为3C的KEY,多个key之间用”;”分隔 “tid1:识别码1,识别码2|tid2:识别码3”为identCode对应的value。 "|"不同商品间的分隔符。 例1商品和2商品,之间就用"|"分开。 TID就是商品代表的子订单号,对应taobao.trade.fullinfo.get 接口获得的oid字段。(通过OID可以唯一定位到当前商品上) ":"TID和具体传入参数间的分隔符。冒号前表示TID,之后代表该商品的参数属性。 "," 属性间分隔符。(对应商品数量,当存在一个商品的数量超过1个时,用逗号分开)。 具体:当订单中A商品的数量为2个,其中手机串号分别为"12345","67890"。 参数格式:identCode=TIDA:12345,67890。 TIDA对应了A宝贝,冒号后用逗号分隔的"12345","67890".说明本订单A宝贝的数量为2,值分别为"12345","67890"。 当存在"|"时,就说明订单中存在多个商品,商品间用"|"分隔了开来。|"之后的内容含义同上。retailStoreId=12345,发货门店ID或仓信息。retailStoreType=STORE: 发货门店类别,STORE表示门店,WAREHOUSE表示电商仓。对于全渠道订单回传的商家,retailStoreId和retailStoreType字段为必填字段。

func (*TaobaoLogisticsOfflineSendAPIRequest) SetIsSplit

func (r *TaobaoLogisticsOfflineSendAPIRequest) SetIsSplit(_isSplit int64) error

SetIsSplit is IsSplit Setter 表明是否是拆单,默认值0,1表示拆单

func (*TaobaoLogisticsOfflineSendAPIRequest) SetOutSid

func (r *TaobaoLogisticsOfflineSendAPIRequest) SetOutSid(_outSid string) error

SetOutSid is OutSid Setter 运单号.具体一个物流公司的真实运单号码。淘宝官方物流会校验,请谨慎传入;

func (*TaobaoLogisticsOfflineSendAPIRequest) SetSellerIp

func (r *TaobaoLogisticsOfflineSendAPIRequest) SetSellerIp(_sellerIp string) error

SetSellerIp is SellerIp Setter 商家的IP地址

func (*TaobaoLogisticsOfflineSendAPIRequest) SetSenderId

func (r *TaobaoLogisticsOfflineSendAPIRequest) SetSenderId(_senderId int64) error

SetSenderId is SenderId Setter 卖家联系人地址库ID,可以通过taobao.logistics.address.search接口查询到地址库ID。如果为空,取的卖家的默认取货地址

func (*TaobaoLogisticsOfflineSendAPIRequest) SetSubTid

func (r *TaobaoLogisticsOfflineSendAPIRequest) SetSubTid(_subTid []int64) error

SetSubTid is SubTid Setter 需要拆单发货的子订单集合,针对的是一笔交易下有多个子订单需要分开发货的场景;1次可传人多个子订单号,子订单间用逗号隔开;为空表示不做拆单发货。

func (*TaobaoLogisticsOfflineSendAPIRequest) SetTid

SetTid is Tid Setter 淘宝交易ID

type TaobaoLogisticsOfflineSendAPIResponse

type TaobaoLogisticsOfflineSendAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsOfflineSendAPIResponseModel
}

TaobaoLogisticsOfflineSendAPIResponse 自己联系物流(线下物流)发货 API返回值 taobao.logistics.offline.send

用户调用该接口可实现自己联系发货(线下物流),使用该接口发货,交易订单状态会直接变成卖家已发货。不支持货到付款、在线下单类型的订单。

type TaobaoLogisticsOfflineSendAPIResponseModel

type TaobaoLogisticsOfflineSendAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_offline_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 自己联系的调用结果
	Shipping *Shipping `json:"shipping,omitempty" xml:"shipping,omitempty"`
}

TaobaoLogisticsOfflineSendAPIResponseModel is 自己联系物流(线下物流)发货 成功返回结果

type TaobaoLogisticsWmsGoodsInfoSyncAPIRequest added in v1.2.9

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

TaobaoLogisticsWmsGoodsInfoSyncAPIRequest WMS回传货品长宽高图片等信息 API请求 taobao.logistics.wms.goods.info.sync

WMS回传货品长宽高图片等信息

func NewTaobaoLogisticsWmsGoodsInfoSyncRequest added in v1.2.9

func NewTaobaoLogisticsWmsGoodsInfoSyncRequest() *TaobaoLogisticsWmsGoodsInfoSyncAPIRequest

NewTaobaoLogisticsWmsGoodsInfoSyncRequest 初始化TaobaoLogisticsWmsGoodsInfoSyncAPIRequest对象

func (TaobaoLogisticsWmsGoodsInfoSyncAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsWmsGoodsInfoSyncAPIRequest) GetApiParams added in v1.2.9

func (r TaobaoLogisticsWmsGoodsInfoSyncAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsWmsGoodsInfoSyncAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoLogisticsWmsGoodsInfoSyncAPIRequest) GetWmsGoodsInfoSyncRequest added in v1.2.9

GetWmsGoodsInfoSyncRequest WmsGoodsInfoSyncRequest Getter

func (*TaobaoLogisticsWmsGoodsInfoSyncAPIRequest) SetWmsGoodsInfoSyncRequest added in v1.2.9

func (r *TaobaoLogisticsWmsGoodsInfoSyncAPIRequest) SetWmsGoodsInfoSyncRequest(_wmsGoodsInfoSyncRequest *WmsGoodsInfoSyncRequest) error

SetWmsGoodsInfoSyncRequest is WmsGoodsInfoSyncRequest Setter 请求

type TaobaoLogisticsWmsGoodsInfoSyncAPIResponse added in v1.2.9

type TaobaoLogisticsWmsGoodsInfoSyncAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsWmsGoodsInfoSyncAPIResponseModel
}

TaobaoLogisticsWmsGoodsInfoSyncAPIResponse WMS回传货品长宽高图片等信息 API返回值 taobao.logistics.wms.goods.info.sync

WMS回传货品长宽高图片等信息

type TaobaoLogisticsWmsGoodsInfoSyncAPIResponseModel added in v1.2.9

type TaobaoLogisticsWmsGoodsInfoSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_wms_goods_info_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	BizErrorMessage string `json:"biz_error_message,omitempty" xml:"biz_error_message,omitempty"`
	// 错误编码
	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 是否成功
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
	// 是否支持重试
	Retry bool `json:"retry,omitempty" xml:"retry,omitempty"`
}

TaobaoLogisticsWmsGoodsInfoSyncAPIResponseModel is WMS回传货品长宽高图片等信息 成功返回结果

type TaobaoLogisticsWmsOrderMaterialSyncAPIRequest added in v1.2.9

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

TaobaoLogisticsWmsOrderMaterialSyncAPIRequest 仓服务商订单包材耗材信息同步 API请求 taobao.logistics.wms.order.material.sync

仓服务商订单包材耗材信息同步

func NewTaobaoLogisticsWmsOrderMaterialSyncRequest added in v1.2.9

func NewTaobaoLogisticsWmsOrderMaterialSyncRequest() *TaobaoLogisticsWmsOrderMaterialSyncAPIRequest

NewTaobaoLogisticsWmsOrderMaterialSyncRequest 初始化TaobaoLogisticsWmsOrderMaterialSyncAPIRequest对象

func (TaobaoLogisticsWmsOrderMaterialSyncAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLogisticsWmsOrderMaterialSyncAPIRequest) GetApiParams added in v1.2.9

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLogisticsWmsOrderMaterialSyncAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoLogisticsWmsOrderMaterialSyncAPIRequest) GetWmsMaterialRequest added in v1.2.9

GetWmsMaterialRequest WmsMaterialRequest Getter

func (*TaobaoLogisticsWmsOrderMaterialSyncAPIRequest) SetWmsMaterialRequest added in v1.2.9

func (r *TaobaoLogisticsWmsOrderMaterialSyncAPIRequest) SetWmsMaterialRequest(_wmsMaterialRequest *WmsMaterialRequest) error

SetWmsMaterialRequest is WmsMaterialRequest Setter 包材耗材信息

type TaobaoLogisticsWmsOrderMaterialSyncAPIResponse added in v1.2.9

type TaobaoLogisticsWmsOrderMaterialSyncAPIResponse struct {
	model.CommonResponse
	TaobaoLogisticsWmsOrderMaterialSyncAPIResponseModel
}

TaobaoLogisticsWmsOrderMaterialSyncAPIResponse 仓服务商订单包材耗材信息同步 API返回值 taobao.logistics.wms.order.material.sync

仓服务商订单包材耗材信息同步

type TaobaoLogisticsWmsOrderMaterialSyncAPIResponseModel added in v1.2.9

type TaobaoLogisticsWmsOrderMaterialSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"logistics_wms_order_material_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码描述
	BizErrorMessage string `json:"biz_error_message,omitempty" xml:"biz_error_message,omitempty"`
	// 错误码标识
	BizErrorCode string `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 校验成功或者异常
	Suc bool `json:"suc,omitempty" xml:"suc,omitempty"`
	// 是否可重试
	Retry bool `json:"retry,omitempty" xml:"retry,omitempty"`
}

TaobaoLogisticsWmsOrderMaterialSyncAPIResponseModel is 仓服务商订单包材耗材信息同步 成功返回结果

type TaobaoNextoneLogisticsSignUpdateAPIRequest

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

TaobaoNextoneLogisticsSignUpdateAPIRequest AG物流签收状态写接口 API请求 taobao.nextone.logistics.sign.update

商家上传退货的签收状态给AG

func NewTaobaoNextoneLogisticsSignUpdateRequest

func NewTaobaoNextoneLogisticsSignUpdateRequest() *TaobaoNextoneLogisticsSignUpdateAPIRequest

NewTaobaoNextoneLogisticsSignUpdateRequest 初始化TaobaoNextoneLogisticsSignUpdateAPIRequest对象

func (TaobaoNextoneLogisticsSignUpdateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoNextoneLogisticsSignUpdateAPIRequest) GetApiParams

func (r TaobaoNextoneLogisticsSignUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoNextoneLogisticsSignUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoNextoneLogisticsSignUpdateAPIRequest) GetRefundId

GetRefundId RefundId Getter

func (TaobaoNextoneLogisticsSignUpdateAPIRequest) GetSignStatus

GetSignStatus SignStatus Getter

func (*TaobaoNextoneLogisticsSignUpdateAPIRequest) SetRefundId

func (r *TaobaoNextoneLogisticsSignUpdateAPIRequest) SetRefundId(_refundId int64) error

SetRefundId is RefundId Setter 退款编号

func (*TaobaoNextoneLogisticsSignUpdateAPIRequest) SetSignStatus

func (r *TaobaoNextoneLogisticsSignUpdateAPIRequest) SetSignStatus(_signStatus int64) error

SetSignStatus is SignStatus Setter 货物签收状态

type TaobaoNextoneLogisticsSignUpdateAPIResponse

type TaobaoNextoneLogisticsSignUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoNextoneLogisticsSignUpdateAPIResponseModel
}

TaobaoNextoneLogisticsSignUpdateAPIResponse AG物流签收状态写接口 API返回值 taobao.nextone.logistics.sign.update

商家上传退货的签收状态给AG

type TaobaoNextoneLogisticsSignUpdateAPIResponseModel

type TaobaoNextoneLogisticsSignUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"nextone_logistics_sign_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *TaobaoNextoneLogisticsSignUpdateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoNextoneLogisticsSignUpdateAPIResponseModel is AG物流签收状态写接口 成功返回结果

type TaobaoNextoneLogisticsSignUpdateResult

type TaobaoNextoneLogisticsSignUpdateResult struct {
	// 返回数据
	ResultData string `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 错误信息
	ErrorInfo string `json:"error_info,omitempty" xml:"error_info,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 成功失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoNextoneLogisticsSignUpdateResult 结构体

type TaobaoNextoneLogisticsWarehouseUpdateAPIRequest

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

TaobaoNextoneLogisticsWarehouseUpdateAPIRequest AG退货入仓状态写接口 API请求 taobao.nextone.logistics.warehouse.update

商家上传退货入仓状态给ag

func NewTaobaoNextoneLogisticsWarehouseUpdateRequest

func NewTaobaoNextoneLogisticsWarehouseUpdateRequest() *TaobaoNextoneLogisticsWarehouseUpdateAPIRequest

NewTaobaoNextoneLogisticsWarehouseUpdateRequest 初始化TaobaoNextoneLogisticsWarehouseUpdateAPIRequest对象

func (TaobaoNextoneLogisticsWarehouseUpdateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoNextoneLogisticsWarehouseUpdateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoNextoneLogisticsWarehouseUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoNextoneLogisticsWarehouseUpdateAPIRequest) GetRefundId

GetRefundId RefundId Getter

func (TaobaoNextoneLogisticsWarehouseUpdateAPIRequest) GetWarehouseStatus

GetWarehouseStatus WarehouseStatus Getter

func (*TaobaoNextoneLogisticsWarehouseUpdateAPIRequest) SetRefundId

SetRefundId is RefundId Setter 退款编号

func (*TaobaoNextoneLogisticsWarehouseUpdateAPIRequest) SetWarehouseStatus

func (r *TaobaoNextoneLogisticsWarehouseUpdateAPIRequest) SetWarehouseStatus(_warehouseStatus int64) error

SetWarehouseStatus is WarehouseStatus Setter 退货入仓状态 1.已入仓

type TaobaoNextoneLogisticsWarehouseUpdateAPIResponse

type TaobaoNextoneLogisticsWarehouseUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoNextoneLogisticsWarehouseUpdateAPIResponseModel
}

TaobaoNextoneLogisticsWarehouseUpdateAPIResponse AG退货入仓状态写接口 API返回值 taobao.nextone.logistics.warehouse.update

商家上传退货入仓状态给ag

type TaobaoNextoneLogisticsWarehouseUpdateAPIResponseModel

type TaobaoNextoneLogisticsWarehouseUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"nextone_logistics_warehouse_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// resultData
	ResultData string `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// errorInfo
	ErrInfo string `json:"err_info,omitempty" xml:"err_info,omitempty"`
	// errorCode
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// success
	Succeed bool `json:"succeed,omitempty" xml:"succeed,omitempty"`
}

TaobaoNextoneLogisticsWarehouseUpdateAPIResponseModel is AG退货入仓状态写接口 成功返回结果

type TaobaoOpenSellerBizLogisticSellerBindAPIRequest added in v1.2.5

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

TaobaoOpenSellerBizLogisticSellerBindAPIRequest 店铺授权发货注册(催发货) API请求 taobao.open.seller.biz.logistic.seller.bind

店铺授权发货注册(催发货)

func NewTaobaoOpenSellerBizLogisticSellerBindRequest added in v1.2.5

func NewTaobaoOpenSellerBizLogisticSellerBindRequest() *TaobaoOpenSellerBizLogisticSellerBindAPIRequest

NewTaobaoOpenSellerBizLogisticSellerBindRequest 初始化TaobaoOpenSellerBizLogisticSellerBindAPIRequest对象

func (TaobaoOpenSellerBizLogisticSellerBindAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpenSellerBizLogisticSellerBindAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenSellerBizLogisticSellerBindAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoOpenSellerBizLogisticSellerBindAPIRequest) GetSellerNick added in v1.2.5

GetSellerNick SellerNick Getter

func (*TaobaoOpenSellerBizLogisticSellerBindAPIRequest) SetSellerNick added in v1.2.5

func (r *TaobaoOpenSellerBizLogisticSellerBindAPIRequest) SetSellerNick(_sellerNick string) error

SetSellerNick is SellerNick Setter 淘宝测试店铺Nick

type TaobaoOpenSellerBizLogisticSellerBindAPIResponse added in v1.2.5

type TaobaoOpenSellerBizLogisticSellerBindAPIResponse struct {
	model.CommonResponse
	TaobaoOpenSellerBizLogisticSellerBindAPIResponseModel
}

TaobaoOpenSellerBizLogisticSellerBindAPIResponse 店铺授权发货注册(催发货) API返回值 taobao.open.seller.biz.logistic.seller.bind

店铺授权发货注册(催发货)

type TaobaoOpenSellerBizLogisticSellerBindAPIResponseModel added in v1.2.5

type TaobaoOpenSellerBizLogisticSellerBindAPIResponseModel struct {
	XMLName xml.Name `xml:"open_seller_biz_logistic_seller_bind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
}

TaobaoOpenSellerBizLogisticSellerBindAPIResponseModel is 店铺授权发货注册(催发货) 成功返回结果

type TaobaoOpenSellerBizLogisticTimeRuleAPIRequest added in v1.2.5

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

TaobaoOpenSellerBizLogisticTimeRuleAPIRequest 商家自定义发货时效 API请求 taobao.open.seller.biz.logistic.time.rule

服务商回传商家自定义发货时效

func NewTaobaoOpenSellerBizLogisticTimeRuleRequest added in v1.2.5

func NewTaobaoOpenSellerBizLogisticTimeRuleRequest() *TaobaoOpenSellerBizLogisticTimeRuleAPIRequest

NewTaobaoOpenSellerBizLogisticTimeRuleRequest 初始化TaobaoOpenSellerBizLogisticTimeRuleAPIRequest对象

func (TaobaoOpenSellerBizLogisticTimeRuleAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoOpenSellerBizLogisticTimeRuleAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoOpenSellerBizLogisticTimeRuleAPIRequest) GetLastDeliveryTime added in v1.2.5

func (r TaobaoOpenSellerBizLogisticTimeRuleAPIRequest) GetLastDeliveryTime() string

GetLastDeliveryTime LastDeliveryTime Getter

func (TaobaoOpenSellerBizLogisticTimeRuleAPIRequest) GetLastPayTime added in v1.2.5

GetLastPayTime LastPayTime Getter

func (TaobaoOpenSellerBizLogisticTimeRuleAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoOpenSellerBizLogisticTimeRuleAPIRequest) SetLastDeliveryTime added in v1.2.5

func (r *TaobaoOpenSellerBizLogisticTimeRuleAPIRequest) SetLastDeliveryTime(_lastDeliveryTime string) error

SetLastDeliveryTime is LastDeliveryTime Setter 当日仓库最晚出库时间 当日可发货订单最晚的出库时间 24小时制 格式:HH:mm

func (*TaobaoOpenSellerBizLogisticTimeRuleAPIRequest) SetLastPayTime added in v1.2.5

func (r *TaobaoOpenSellerBizLogisticTimeRuleAPIRequest) SetLastPayTime(_lastPayTime string) error

SetLastPayTime is LastPayTime Setter 当日订单最晚截单时间, 当日可发货订单最晚的支付时间 24小时制 格式:HH:mm

type TaobaoOpenSellerBizLogisticTimeRuleAPIResponse added in v1.2.5

type TaobaoOpenSellerBizLogisticTimeRuleAPIResponse struct {
	model.CommonResponse
	TaobaoOpenSellerBizLogisticTimeRuleAPIResponseModel
}

TaobaoOpenSellerBizLogisticTimeRuleAPIResponse 商家自定义发货时效 API返回值 taobao.open.seller.biz.logistic.time.rule

服务商回传商家自定义发货时效

type TaobaoOpenSellerBizLogisticTimeRuleAPIResponseModel added in v1.2.5

type TaobaoOpenSellerBizLogisticTimeRuleAPIResponseModel struct {
	XMLName xml.Name `xml:"open_seller_biz_logistic_time_rule_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
}

TaobaoOpenSellerBizLogisticTimeRuleAPIResponseModel is 商家自定义发货时效 成功返回结果

type TaobaoRdcAligeniusLogisticsPackagesNoticeAPIRequest added in v1.2.5

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

TaobaoRdcAligeniusLogisticsPackagesNoticeAPIRequest 物流多包裹通知 API请求 taobao.rdc.aligenius.logistics.packages.notice

订单发货之后,如果订单拆包、补发、赠品等场景,需要将多余包裹信息触达消费者, 大促会降级

func NewTaobaoRdcAligeniusLogisticsPackagesNoticeRequest added in v1.2.5

func NewTaobaoRdcAligeniusLogisticsPackagesNoticeRequest() *TaobaoRdcAligeniusLogisticsPackagesNoticeAPIRequest

NewTaobaoRdcAligeniusLogisticsPackagesNoticeRequest 初始化TaobaoRdcAligeniusLogisticsPackagesNoticeAPIRequest对象

func (TaobaoRdcAligeniusLogisticsPackagesNoticeAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdcAligeniusLogisticsPackagesNoticeAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdcAligeniusLogisticsPackagesNoticeAPIRequest) GetParamLogisticsNoticeDTO added in v1.2.5

GetParamLogisticsNoticeDTO ParamLogisticsNoticeDTO Getter

func (TaobaoRdcAligeniusLogisticsPackagesNoticeAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoRdcAligeniusLogisticsPackagesNoticeAPIRequest) SetParamLogisticsNoticeDTO added in v1.2.5

func (r *TaobaoRdcAligeniusLogisticsPackagesNoticeAPIRequest) SetParamLogisticsNoticeDTO(_paramLogisticsNoticeDTO *LogisticsNoticeDto) error

SetParamLogisticsNoticeDTO is ParamLogisticsNoticeDTO Setter 请求入参

type TaobaoRdcAligeniusLogisticsPackagesNoticeAPIResponse added in v1.2.5

type TaobaoRdcAligeniusLogisticsPackagesNoticeAPIResponse struct {
	model.CommonResponse
	TaobaoRdcAligeniusLogisticsPackagesNoticeAPIResponseModel
}

TaobaoRdcAligeniusLogisticsPackagesNoticeAPIResponse 物流多包裹通知 API返回值 taobao.rdc.aligenius.logistics.packages.notice

订单发货之后,如果订单拆包、补发、赠品等场景,需要将多余包裹信息触达消费者, 大促会降级

type TaobaoRdcAligeniusLogisticsPackagesNoticeAPIResponseModel added in v1.2.5

type TaobaoRdcAligeniusLogisticsPackagesNoticeAPIResponseModel struct {
	XMLName xml.Name `xml:"rdc_aligenius_logistics_packages_notice_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TaobaoRdcAligeniusLogisticsPackagesNoticeResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoRdcAligeniusLogisticsPackagesNoticeAPIResponseModel is 物流多包裹通知 成功返回结果

type TaobaoRdcAligeniusLogisticsPackagesNoticeResult added in v1.2.5

type TaobaoRdcAligeniusLogisticsPackagesNoticeResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 异常信息
	ErrorInfo string `json:"error_info,omitempty" xml:"error_info,omitempty"`
	// resultData
	ResultData *Resultdata `json:"result_data,omitempty" xml:"result_data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoRdcAligeniusLogisticsPackagesNoticeResult 结构体

type TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIRequest

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

TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIRequest 补发单物流信息回传 API请求 taobao.rdc.aligenius.warehouse.resend.logistics.msg.post

补发单erp物流信息回传平台

func NewTaobaoRdcAligeniusWarehouseResendLogisticsMsgPostRequest

func NewTaobaoRdcAligeniusWarehouseResendLogisticsMsgPostRequest() *TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIRequest

NewTaobaoRdcAligeniusWarehouseResendLogisticsMsgPostRequest 初始化TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIRequest对象

func (TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIRequest) SetParam0

SetParam0 is Param0 Setter 参数

type TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIResponse

type TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIResponse struct {
	model.CommonResponse
	TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIResponseModel
}

TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIResponse 补发单物流信息回传 API返回值 taobao.rdc.aligenius.warehouse.resend.logistics.msg.post

补发单erp物流信息回传平台

type TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIResponseModel

type TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIResponseModel struct {
	XMLName xml.Name `xml:"rdc_aligenius_warehouse_resend_logistics_msg_post_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostAPIResponseModel is 补发单物流信息回传 成功返回结果

type TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostResult

type TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostResult struct {
	// 错误信息
	FailInfo string `json:"fail_info,omitempty" xml:"fail_info,omitempty"`
	// 错误code
	FailCode string `json:"fail_code,omitempty" xml:"fail_code,omitempty"`
	// success
	SuccessFlag bool `json:"success_flag,omitempty" xml:"success_flag,omitempty"`
}

TaobaoRdcAligeniusWarehouseResendLogisticsMsgPostResult 结构体

type TaobaoRdcAligeniusWarehouseResendUpdateAPIRequest

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

TaobaoRdcAligeniusWarehouseResendUpdateAPIRequest 补发单状态回传 API请求 taobao.rdc.aligenius.warehouse.resend.update

补发单状态回传接口

func NewTaobaoRdcAligeniusWarehouseResendUpdateRequest

func NewTaobaoRdcAligeniusWarehouseResendUpdateRequest() *TaobaoRdcAligeniusWarehouseResendUpdateAPIRequest

NewTaobaoRdcAligeniusWarehouseResendUpdateRequest 初始化TaobaoRdcAligeniusWarehouseResendUpdateAPIRequest对象

func (TaobaoRdcAligeniusWarehouseResendUpdateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdcAligeniusWarehouseResendUpdateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdcAligeniusWarehouseResendUpdateAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoRdcAligeniusWarehouseResendUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoRdcAligeniusWarehouseResendUpdateAPIRequest) SetParam0

SetParam0 is Param0 Setter 参数

type TaobaoRdcAligeniusWarehouseResendUpdateAPIResponse

type TaobaoRdcAligeniusWarehouseResendUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoRdcAligeniusWarehouseResendUpdateAPIResponseModel
}

TaobaoRdcAligeniusWarehouseResendUpdateAPIResponse 补发单状态回传 API返回值 taobao.rdc.aligenius.warehouse.resend.update

补发单状态回传接口

type TaobaoRdcAligeniusWarehouseResendUpdateAPIResponseModel

type TaobaoRdcAligeniusWarehouseResendUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"rdc_aligenius_warehouse_resend_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TaobaoRdcAligeniusWarehouseResendUpdateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoRdcAligeniusWarehouseResendUpdateAPIResponseModel is 补发单状态回传 成功返回结果

type TaobaoRdcAligeniusWarehouseResendUpdateResult

type TaobaoRdcAligeniusWarehouseResendUpdateResult struct {
	// errorInfo
	FailInfo string `json:"fail_info,omitempty" xml:"fail_info,omitempty"`
	// errorCode
	FailCode string `json:"fail_code,omitempty" xml:"fail_code,omitempty"`
	// success
	SuccessFlag bool `json:"success_flag,omitempty" xml:"success_flag,omitempty"`
}

TaobaoRdcAligeniusWarehouseResendUpdateResult 结构体

type TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIRequest

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

TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIRequest 销退单事件回传接口 API请求 taobao.rdc.aligenius.warehouse.reverse.event.update

用于erp回传销退单相关信息到平台

func NewTaobaoRdcAligeniusWarehouseReverseEventUpdateRequest

func NewTaobaoRdcAligeniusWarehouseReverseEventUpdateRequest() *TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIRequest

NewTaobaoRdcAligeniusWarehouseReverseEventUpdateRequest 初始化TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIRequest对象

func (TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIRequest) SetParam0

SetParam0 is Param0 Setter 参数

type TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIResponse

type TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIResponseModel
}

TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIResponse 销退单事件回传接口 API返回值 taobao.rdc.aligenius.warehouse.reverse.event.update

用于erp回传销退单相关信息到平台

type TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIResponseModel

type TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"rdc_aligenius_warehouse_reverse_event_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoRdcAligeniusWarehouseReverseEventUpdateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoRdcAligeniusWarehouseReverseEventUpdateAPIResponseModel is 销退单事件回传接口 成功返回结果

type TaobaoRdcAligeniusWarehouseReverseEventUpdateResult

type TaobaoRdcAligeniusWarehouseReverseEventUpdateResult struct {
	// 错误描述
	FailInfo string `json:"fail_info,omitempty" xml:"fail_info,omitempty"`
	// 错误码
	FailCode string `json:"fail_code,omitempty" xml:"fail_code,omitempty"`
	// 是否成功
	SuccessFlag bool `json:"success_flag,omitempty" xml:"success_flag,omitempty"`
}

TaobaoRdcAligeniusWarehouseReverseEventUpdateResult 结构体

type TaobaoRdcAligeniusWarehouseReverseUploadingAPIRequest

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

TaobaoRdcAligeniusWarehouseReverseUploadingAPIRequest 销退单上传 API请求 taobao.rdc.aligenius.warehouse.reverse.uploading

主要用于商家上传仓库销退单信息

func NewTaobaoRdcAligeniusWarehouseReverseUploadingRequest

func NewTaobaoRdcAligeniusWarehouseReverseUploadingRequest() *TaobaoRdcAligeniusWarehouseReverseUploadingAPIRequest

NewTaobaoRdcAligeniusWarehouseReverseUploadingRequest 初始化TaobaoRdcAligeniusWarehouseReverseUploadingAPIRequest对象

func (TaobaoRdcAligeniusWarehouseReverseUploadingAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRdcAligeniusWarehouseReverseUploadingAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRdcAligeniusWarehouseReverseUploadingAPIRequest) GetParam0

GetParam0 Param0 Getter

func (TaobaoRdcAligeniusWarehouseReverseUploadingAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoRdcAligeniusWarehouseReverseUploadingAPIRequest) SetParam0

SetParam0 is Param0 Setter 参数

type TaobaoRdcAligeniusWarehouseReverseUploadingAPIResponse

type TaobaoRdcAligeniusWarehouseReverseUploadingAPIResponse struct {
	model.CommonResponse
	TaobaoRdcAligeniusWarehouseReverseUploadingAPIResponseModel
}

TaobaoRdcAligeniusWarehouseReverseUploadingAPIResponse 销退单上传 API返回值 taobao.rdc.aligenius.warehouse.reverse.uploading

主要用于商家上传仓库销退单信息

type TaobaoRdcAligeniusWarehouseReverseUploadingAPIResponseModel

type TaobaoRdcAligeniusWarehouseReverseUploadingAPIResponseModel struct {
	XMLName xml.Name `xml:"rdc_aligenius_warehouse_reverse_uploading_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误描述
	FailInfo string `json:"fail_info,omitempty" xml:"fail_info,omitempty"`
	// 错误码
	FailCode string `json:"fail_code,omitempty" xml:"fail_code,omitempty"`
	// 是否成功
	SuccessFlag bool `json:"success_flag,omitempty" xml:"success_flag,omitempty"`
}

TaobaoRdcAligeniusWarehouseReverseUploadingAPIResponseModel is 销退单上传 成功返回结果

type TaobaoWlbImportThreeplOfflineConsignAPIRequest

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

TaobaoWlbImportThreeplOfflineConsignAPIRequest 3PL直邮线下发货 API请求 taobao.wlb.import.threepl.offline.consign

菜鸟认证直邮线下发货

func NewTaobaoWlbImportThreeplOfflineConsignRequest

func NewTaobaoWlbImportThreeplOfflineConsignRequest() *TaobaoWlbImportThreeplOfflineConsignAPIRequest

NewTaobaoWlbImportThreeplOfflineConsignRequest 初始化TaobaoWlbImportThreeplOfflineConsignAPIRequest对象

func (TaobaoWlbImportThreeplOfflineConsignAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWlbImportThreeplOfflineConsignAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWlbImportThreeplOfflineConsignAPIRequest) GetFromId

GetFromId FromId Getter

func (TaobaoWlbImportThreeplOfflineConsignAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoWlbImportThreeplOfflineConsignAPIRequest) GetResCode

GetResCode ResCode Getter

func (TaobaoWlbImportThreeplOfflineConsignAPIRequest) GetResId

GetResId ResId Getter

func (TaobaoWlbImportThreeplOfflineConsignAPIRequest) GetTradeId

GetTradeId TradeId Getter

func (TaobaoWlbImportThreeplOfflineConsignAPIRequest) GetWaybillNo

GetWaybillNo WaybillNo Getter

func (*TaobaoWlbImportThreeplOfflineConsignAPIRequest) SetFromId

SetFromId is FromId Setter 发件人地址库id

func (*TaobaoWlbImportThreeplOfflineConsignAPIRequest) SetResCode

SetResCode is ResCode Setter 资源code

func (*TaobaoWlbImportThreeplOfflineConsignAPIRequest) SetResId

SetResId is ResId Setter 资源id

func (*TaobaoWlbImportThreeplOfflineConsignAPIRequest) SetTradeId

SetTradeId is TradeId Setter 交易单号

func (*TaobaoWlbImportThreeplOfflineConsignAPIRequest) SetWaybillNo

func (r *TaobaoWlbImportThreeplOfflineConsignAPIRequest) SetWaybillNo(_waybillNo string) error

SetWaybillNo is WaybillNo Setter 运单号

type TaobaoWlbImportThreeplOfflineConsignAPIResponse

type TaobaoWlbImportThreeplOfflineConsignAPIResponse struct {
	model.CommonResponse
	TaobaoWlbImportThreeplOfflineConsignAPIResponseModel
}

TaobaoWlbImportThreeplOfflineConsignAPIResponse 3PL直邮线下发货 API返回值 taobao.wlb.import.threepl.offline.consign

菜鸟认证直邮线下发货

type TaobaoWlbImportThreeplOfflineConsignAPIResponseModel

type TaobaoWlbImportThreeplOfflineConsignAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_import_threepl_offline_consign_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TaobaoWlbImportThreeplOfflineConsignTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoWlbImportThreeplOfflineConsignAPIResponseModel is 3PL直邮线下发货 成功返回结果

type TaobaoWlbImportThreeplOfflineConsignTopResult added in v1.2.1

type TaobaoWlbImportThreeplOfflineConsignTopResult struct {
	// 发货完成后的物流单号
	LgOrderCode string `json:"lg_order_code,omitempty" xml:"lg_order_code,omitempty"`
	// 错误信息
	SubErrorMsg string `json:"sub_error_msg,omitempty" xml:"sub_error_msg,omitempty"`
	// 错误code
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误code
	SubErrorCode string `json:"sub_error_code,omitempty" xml:"sub_error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoWlbImportThreeplOfflineConsignTopResult 结构体

type TaobaoWlbImportThreeplResourceGetAPIRequest

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

TaobaoWlbImportThreeplResourceGetAPIRequest 3PL直邮获取资源列表 API请求 taobao.wlb.import.threepl.resource.get

获取3pl直邮的发货可用资源

func NewTaobaoWlbImportThreeplResourceGetRequest

func NewTaobaoWlbImportThreeplResourceGetRequest() *TaobaoWlbImportThreeplResourceGetAPIRequest

NewTaobaoWlbImportThreeplResourceGetRequest 初始化TaobaoWlbImportThreeplResourceGetAPIRequest对象

func (TaobaoWlbImportThreeplResourceGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWlbImportThreeplResourceGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWlbImportThreeplResourceGetAPIRequest) GetFromId

GetFromId FromId Getter

func (TaobaoWlbImportThreeplResourceGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoWlbImportThreeplResourceGetAPIRequest) GetToAddress

GetToAddress ToAddress Getter

func (TaobaoWlbImportThreeplResourceGetAPIRequest) GetType

GetType Type Getter

func (*TaobaoWlbImportThreeplResourceGetAPIRequest) SetFromId

SetFromId is FromId Setter 发货地区域id

func (*TaobaoWlbImportThreeplResourceGetAPIRequest) SetToAddress

func (r *TaobaoWlbImportThreeplResourceGetAPIRequest) SetToAddress(_toAddress *AddressDto) error

SetToAddress is ToAddress Setter 收件人地址

func (*TaobaoWlbImportThreeplResourceGetAPIRequest) SetType

SetType is Type Setter ONLINE或者OFFLINE

type TaobaoWlbImportThreeplResourceGetAPIResponse

type TaobaoWlbImportThreeplResourceGetAPIResponse struct {
	model.CommonResponse
	TaobaoWlbImportThreeplResourceGetAPIResponseModel
}

TaobaoWlbImportThreeplResourceGetAPIResponse 3PL直邮获取资源列表 API返回值 taobao.wlb.import.threepl.resource.get

获取3pl直邮的发货可用资源

type TaobaoWlbImportThreeplResourceGetAPIResponseModel

type TaobaoWlbImportThreeplResourceGetAPIResponseModel struct {
	XMLName xml.Name `xml:"wlb_import_threepl_resource_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TaobaoWlbImportThreeplResourceGetTopResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoWlbImportThreeplResourceGetAPIResponseModel is 3PL直邮获取资源列表 成功返回结果

type TaobaoWlbImportThreeplResourceGetTopResult added in v1.2.1

type TaobaoWlbImportThreeplResourceGetTopResult struct {
	// 资源列表
	Resources []ThreePlConsignResourceDto `json:"resources,omitempty" xml:"resources>three_pl_consign_resource_dto,omitempty"`
	// 错误信息
	SubErrorMsg string `json:"sub_error_msg,omitempty" xml:"sub_error_msg,omitempty"`
	// 错误代码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误代码
	SubErrorCode string `json:"sub_error_code,omitempty" xml:"sub_error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoWlbImportThreeplResourceGetTopResult 结构体

type TaobaoWmsOrderWarehouseRouteGetAPIRequest

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

TaobaoWmsOrderWarehouseRouteGetAPIRequest 获取订单仓库路由信息 API请求 taobao.wms.order.warehouse.route.get

获取订单仓库路由信息

func NewTaobaoWmsOrderWarehouseRouteGetRequest

func NewTaobaoWmsOrderWarehouseRouteGetRequest() *TaobaoWmsOrderWarehouseRouteGetAPIRequest

NewTaobaoWmsOrderWarehouseRouteGetRequest 初始化TaobaoWmsOrderWarehouseRouteGetAPIRequest对象

func (TaobaoWmsOrderWarehouseRouteGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoWmsOrderWarehouseRouteGetAPIRequest) GetApiParams

func (r TaobaoWmsOrderWarehouseRouteGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoWmsOrderWarehouseRouteGetAPIRequest) GetOrderCode

GetOrderCode OrderCode Getter

func (TaobaoWmsOrderWarehouseRouteGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoWmsOrderWarehouseRouteGetAPIRequest) SetOrderCode

func (r *TaobaoWmsOrderWarehouseRouteGetAPIRequest) SetOrderCode(_orderCode string) error

SetOrderCode is OrderCode Setter 订单编号

type TaobaoWmsOrderWarehouseRouteGetAPIResponse

type TaobaoWmsOrderWarehouseRouteGetAPIResponse struct {
	model.CommonResponse
	TaobaoWmsOrderWarehouseRouteGetAPIResponseModel
}

TaobaoWmsOrderWarehouseRouteGetAPIResponse 获取订单仓库路由信息 API返回值 taobao.wms.order.warehouse.route.get

获取订单仓库路由信息

type TaobaoWmsOrderWarehouseRouteGetAPIResponseModel

type TaobaoWmsOrderWarehouseRouteGetAPIResponseModel struct {
	XMLName xml.Name `xml:"wms_order_warehouse_route_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商品列表
	Items []OrderWarehouseRouteGetItems `json:"items,omitempty" xml:"items>order_warehouse_route_get_items,omitempty"`
	// 错误信息
	WlErrorCode string `json:"wl_error_code,omitempty" xml:"wl_error_code,omitempty"`
	// 错误信息
	WlErrorMsg string `json:"wl_error_msg,omitempty" xml:"wl_error_msg,omitempty"`
	// 订单编号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 是否成功
	WlSuccess bool `json:"wl_success,omitempty" xml:"wl_success,omitempty"`
}

TaobaoWmsOrderWarehouseRouteGetAPIResponseModel is 获取订单仓库路由信息 成功返回结果

type ThreePlConsignResourceDto

type ThreePlConsignResourceDto struct {
	// 资源code
	ResCode string `json:"res_code,omitempty" xml:"res_code,omitempty"`
	// 资源名称
	ResName string `json:"res_name,omitempty" xml:"res_name,omitempty"`
	// 破损赔付
	BrokenCompensatePrice int64 `json:"broken_compensate_price,omitempty" xml:"broken_compensate_price,omitempty"`
	// 首重价格
	BasicWeight int64 `json:"basic_weight,omitempty" xml:"basic_weight,omitempty"`
	// 达成时效
	DeliveryTime int64 `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
	// 续重价格
	StepWeight int64 `json:"step_weight,omitempty" xml:"step_weight,omitempty"`
	// 首重价格
	BasicWeightPrice int64 `json:"basic_weight_price,omitempty" xml:"basic_weight_price,omitempty"`
	// 达成率
	AchievingRate int64 `json:"achieving_rate,omitempty" xml:"achieving_rate,omitempty"`
	// 续重价格
	StepWeightPrice int64 `json:"step_weight_price,omitempty" xml:"step_weight_price,omitempty"`
	// 配送资源id
	ResId int64 `json:"res_id,omitempty" xml:"res_id,omitempty"`
	// 丢失赔付价格
	MissingCompensatePrice int64 `json:"missing_compensate_price,omitempty" xml:"missing_compensate_price,omitempty"`
}

ThreePlConsignResourceDto 结构体

type Tms2MscCancelOrderRequest added in v1.2.9

type Tms2MscCancelOrderRequest struct {
	// 电联信息(组)
	PhoneCallInfos []TmsPhoneCallInfoDto `json:"phone_call_infos,omitempty" xml:"phone_call_infos>tms_phone_call_info_dto,omitempty"`
	// 服务类型
	ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"`
	// 淘天物流服务商ID
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 唯一标识单号
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 取消上门订单原因,枚举
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 配资源编码
	DeliverCode string `json:"deliver_code,omitempty" xml:"deliver_code,omitempty"`
}

Tms2MscCancelOrderRequest 结构体

type Tms2MscPayQueryRequest added in v1.2.9

type Tms2MscPayQueryRequest struct {
	// 服务类型
	ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"`
	// 服务商ID
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 配资源编码
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 唯一标识单号
	DeliveryCode string `json:"delivery_code,omitempty" xml:"delivery_code,omitempty"`
}

Tms2MscPayQueryRequest 结构体

type Tms2MscPayQueryResponse added in v1.2.9

type Tms2MscPayQueryResponse struct {
	// 消费者支付状态
	PayFlag string `json:"pay_flag,omitempty" xml:"pay_flag,omitempty"`
	// 消费者支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
}

Tms2MscPayQueryResponse 结构体

type Tms2MscUpdateOrderRequest added in v1.2.9

type Tms2MscUpdateOrderRequest struct {
	// 电联信息(组)
	PhoneCallInfos []TmsPhoneCallInfoDto `json:"phone_call_infos,omitempty" xml:"phone_call_infos>tms_phone_call_info_dto,omitempty"`
	// 业务类型
	ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"`
	// 淘天物流服务商ID
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 修改后的上门日期(YYYY-MM-DD)
	ServiceDate string `json:"service_date,omitempty" xml:"service_date,omitempty"`
	// 请求类型
	RequestType string `json:"request_type,omitempty" xml:"request_type,omitempty"`
	// 唯一标识单号
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 修改上门时间原因
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 修改后的上门时间段(HH:MM-HH:MM)
	ServiceTimeRange string `json:"service_time_range,omitempty" xml:"service_time_range,omitempty"`
	// 配资源编码
	DeliverCode string `json:"deliver_code,omitempty" xml:"deliver_code,omitempty"`
}

Tms2MscUpdateOrderRequest 结构体

type TmsCollectFeatureDto added in v1.2.9

type TmsCollectFeatureDto struct {
	// 子运单号
	SubMailNo string `json:"sub_mail_no,omitempty" xml:"sub_mail_no,omitempty"`
}

TmsCollectFeatureDto 结构体

type TmsCollectRequest added in v1.2.9

type TmsCollectRequest struct {
	// 电联信息
	PhoneCallInfos []TmsPhoneCallInfoDto `json:"phone_call_infos,omitempty" xml:"phone_call_infos>tms_phone_call_info_dto,omitempty"`
	// 其他作业信息明细
	ExtendOperateInfos []TmsExtendOperateInfosDto `json:"extend_operate_infos,omitempty" xml:"extend_operate_infos>tms_extend_operate_infos_dto,omitempty"`
	// 业务类型
	ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"`
	// 运单号(运单号及包裹重量至少有一个)
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 验视照片
	PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"`
	// 单据标识
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 包裹长度 (单位:cm),小数点后2位
	Length string `json:"length,omitempty" xml:"length,omitempty"`
	// 包裹宽度(单位:cm),小数点后2位
	Width string `json:"width,omitempty" xml:"width,omitempty"`
	// 业务服务
	ServiceFlag string `json:"service_flag,omitempty" xml:"service_flag,omitempty"`
	// 实际重量(取件称重重量),单位g ,小数点后2位
	Weight string `json:"weight,omitempty" xml:"weight,omitempty"`
	// 资源编码
	TmsCpCode string `json:"tms_cp_code,omitempty" xml:"tms_cp_code,omitempty"`
	// 预估运费(单位:分)
	EstimateFee string `json:"estimate_fee,omitempty" xml:"estimate_fee,omitempty"`
	// 计费重量,单位g,小数点后2位
	ChargedWeight string `json:"charged_weight,omitempty" xml:"charged_weight,omitempty"`
	// 包裹高度 (单位:cm),小数点后2位
	Height string `json:"height,omitempty" xml:"height,omitempty"`
	// 服务商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 配资源编码
	DeliveryCode string `json:"delivery_code,omitempty" xml:"delivery_code,omitempty"`
	// 计抛重量,单位g,小数点后2位。条件必填,计抛重量与包裹长宽高信息需要同时传入
	ThrowingWeight string `json:"throwing_weight,omitempty" xml:"throwing_weight,omitempty"`
	// 0-未核实 1-已核实
	WeightIsVerified string `json:"weight_is_verified,omitempty" xml:"weight_is_verified,omitempty"`
	// 扩展字段
	Feature *TmsCollectFeatureDto `json:"feature,omitempty" xml:"feature,omitempty"`
}

TmsCollectRequest 结构体

type TmsCollectResponse added in v1.2.9

type TmsCollectResponse struct {
	// 风控通过重量
	Weight string `json:"weight,omitempty" xml:"weight,omitempty"`
	// 重量是否通过风控
	WeightCheckResult bool `json:"weight_check_result,omitempty" xml:"weight_check_result,omitempty"`
}

TmsCollectResponse 结构体

type TmsCourierInfoRequest added in v1.2.9

type TmsCourierInfoRequest struct {
	// 小件员名称
	CourierName string `json:"courier_name,omitempty" xml:"courier_name,omitempty"`
	// 小件员电话号码
	CourierMobile string `json:"courier_mobile,omitempty" xml:"courier_mobile,omitempty"`
	// 小件员编码
	CourierNo string `json:"courier_no,omitempty" xml:"courier_no,omitempty"`
	// 小件员所属的网点名称
	SiteName string `json:"site_name,omitempty" xml:"site_name,omitempty"`
	// 小件员所属的网点编码
	SiteCode string `json:"site_code,omitempty" xml:"site_code,omitempty"`
}

TmsCourierInfoRequest 结构体

type TmsCourierRequest added in v1.2.9

type TmsCourierRequest struct {
	// 服务类型
	ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"`
	// 单号
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 服务标识
	ServiceFlag string `json:"service_flag,omitempty" xml:"service_flag,omitempty"`
	// 快递公司资源编码
	TmsCpCode string `json:"tms_cp_code,omitempty" xml:"tms_cp_code,omitempty"`
	// 服务商ID
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 配资源编码
	DeliveryCode string `json:"delivery_code,omitempty" xml:"delivery_code,omitempty"`
	// 更新类型 1-首次分配小件员 2-改派小件员
	UpdateType string `json:"update_type,omitempty" xml:"update_type,omitempty"`
	// 改派小件员原因 1-客服改派(上报超区、人工分单) 2-小件员转单 3-其他(update_type=2时,必填)
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 小件员信息
	TmsCourierInfo *TmsCourierInfoRequest `json:"tms_courier_info,omitempty" xml:"tms_courier_info,omitempty"`
}

TmsCourierRequest 结构体

type TmsExtendOperateInfosDto added in v1.2.9

type TmsExtendOperateInfosDto struct {
	// 操作类型(枚举): UpdateAddress-服务商修改地址
	OperateType string `json:"operate_type,omitempty" xml:"operate_type,omitempty"`
	// 操作时间(YYYY-MM-DD HH:MM:SS)
	OperateTime string `json:"operate_time,omitempty" xml:"operate_time,omitempty"`
	// 内容
	OperateDetail string `json:"operate_detail,omitempty" xml:"operate_detail,omitempty"`
}

TmsExtendOperateInfosDto 结构体

type TmsPackageWeightRequest added in v1.2.9

type TmsPackageWeightRequest struct {
	// 运单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 单据标识
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 包裹重量,单位克。若无重量,则需要通过abnormal_type字段给出原因
	Weight string `json:"weight,omitempty" xml:"weight,omitempty"`
	// 快递公司资源编码
	TmsCpCode string `json:"tms_cp_code,omitempty" xml:"tms_cp_code,omitempty"`
	// 无包裹重量或者包裹不准确的类型 0-包裹重量有效(默认有效) 1-无包裹重量 2-包裹重量不准确。若存在weight,则不需要传该值
	AbnormalType string `json:"abnormal_type,omitempty" xml:"abnormal_type,omitempty"`
	// 无包裹重量或者包裹不准确的原因。若存在weight,则不需要传该值
	AbnormalDesc string `json:"abnormal_desc,omitempty" xml:"abnormal_desc,omitempty"`
	// 服务商侧计费重量,单位g,小数点后2位
	ChargingWeight string `json:"charging_weight,omitempty" xml:"charging_weight,omitempty"`
	// 计抛重量,单位g,小数点后2位
	ThrowingWeight string `json:"throwing_weight,omitempty" xml:"throwing_weight,omitempty"`
	// 包裹长度 (单位:cm),小数点后2位
	Length string `json:"length,omitempty" xml:"length,omitempty"`
	// 包裹宽度 (单位:cm),小数点后2位
	Width string `json:"width,omitempty" xml:"width,omitempty"`
	// 包裹高度(单位:cm),小数点后2位
	Height string `json:"height,omitempty" xml:"height,omitempty"`
}

TmsPackageWeightRequest 结构体

type TmsPhoneCallInfoDto added in v1.2.9

type TmsPhoneCallInfoDto struct {
	// 电联人员名称(小件员)
	PhoneCallOperatorName string `json:"phone_call_operator_name,omitempty" xml:"phone_call_operator_name,omitempty"`
	// 电联人员联系方式(小件员/官方号码)
	PhoneCallOperatorPhone string `json:"phone_call_operator_phone,omitempty" xml:"phone_call_operator_phone,omitempty"`
	// 消费者联系方式(消费者)
	PhoneCallConsumerPhone string `json:"phone_call_consumer_phone,omitempty" xml:"phone_call_consumer_phone,omitempty"`
	// 消费者电联需求描述
	PhoneCallResultRemark string `json:"phone_call_result_remark,omitempty" xml:"phone_call_result_remark,omitempty"`
	// NOT_CONNECT, 未拨通;CONNECTED,已接通; NOBODY_ANSWER,无人接听
	ConnectionStatus string `json:"connection_status,omitempty" xml:"connection_status,omitempty"`
	// 拨打时间,操作时间(YYYY-MM-DD HH:MM:SS)
	CallTime string `json:"call_time,omitempty" xml:"call_time,omitempty"`
	// 接通时间,操作时间(YYYY-MM-DD HH:MM:SS)
	ConnectTime string `json:"connect_time,omitempty" xml:"connect_time,omitempty"`
	// 挂断时间,操作时间(YYYY-MM-DD HH:MM:SS)
	HangUpTime string `json:"hang_up_time,omitempty" xml:"hang_up_time,omitempty"`
	// 电联属性,SMART 智能云呼;NORMAL, 普通
	PhoneCallType string `json:"phone_call_type,omitempty" xml:"phone_call_type,omitempty"`
	// 挂断状态,CUSTOMER_HAND_UP,消费者挂断;SENDER_HANG_UP,小件员挂断 OTHER,其他(无法识别)
	HangUpType string `json:"hang_up_type,omitempty" xml:"hang_up_type,omitempty"`
	// 电联语音文件,用于客诉场景定责使用
	PhoneChatUrl string `json:"phone_chat_url,omitempty" xml:"phone_chat_url,omitempty"`
	// 接通时长,  单位s
	ConnectTimeLength int64 `json:"connect_time_length,omitempty" xml:"connect_time_length,omitempty"`
}

TmsPhoneCallInfoDto 结构体

type TmsPhoneCallInfoRequest added in v1.2.9

type TmsPhoneCallInfoRequest struct {
	// 电联属性,phoneCallInfo有值时,必需。SMART 智能云呼; NORMAL, 普通
	PhoneCallType string `json:"phone_call_type,omitempty" xml:"phone_call_type,omitempty"`
	// 挂断状态,phoneCallInfo有值时,必需。CUSTOMER_HAND_UP,消费者挂断;SENDER_HANG_UP,小件员挂断
	HangUpType string `json:"hang_up_type,omitempty" xml:"hang_up_type,omitempty"`
	// 电联语音文件,用于客诉场景定责使用
	PhoneChatUrl string `json:"phone_chat_url,omitempty" xml:"phone_chat_url,omitempty"`
	// 电联用户后,用户确认需要进行改派时,操作改派的时间
	PhoneCallDemandChangeTime string `json:"phone_call_demand_change_time,omitempty" xml:"phone_call_demand_change_time,omitempty"`
	// 接通时间
	ConnectTime string `json:"connect_time,omitempty" xml:"connect_time,omitempty"`
	// 消费者电联需求描述
	PhoneCallResultRemark string `json:"phone_call_result_remark,omitempty" xml:"phone_call_result_remark,omitempty"`
	// 通话状态,phoneCallInfo有值时,必需。NOT _CONNECT, 未拨通;CONNECTED,已接通; NOBODY_ANSWER,无人接听
	ConnectionStatus string `json:"connection_status,omitempty" xml:"connection_status,omitempty"`
	// 拨打时间。phoneCallInfo有值时,必需
	CallTime string `json:"call_time,omitempty" xml:"call_time,omitempty"`
	// 挂断时间
	HangUpTime string `json:"hang_up_time,omitempty" xml:"hang_up_time,omitempty"`
}

TmsPhoneCallInfoRequest 结构体

type TmsPickCodeRequest added in v1.2.9

type TmsPickCodeRequest struct {
	// 订单业务类型(1-退货业务 )
	ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"`
	// 单据标识
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 订单所需服务,以英文逗号分隔,当前服务枚举值:(1-上门取退
	ServiceFlag string `json:"service_flag,omitempty" xml:"service_flag,omitempty"`
	// 取件码
	PickCode string `json:"pick_code,omitempty" xml:"pick_code,omitempty"`
}

TmsPickCodeRequest 结构体

type TmsPictureInfoRequest added in v1.2.9

type TmsPictureInfoRequest struct {
	// 图片访问url
	PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"`
	// 图片上传时间
	PicUploadTime string `json:"pic_upload_time,omitempty" xml:"pic_upload_time,omitempty"`
}

TmsPictureInfoRequest 结构体

type TmsServiceSyncRequest added in v1.2.9

type TmsServiceSyncRequest struct {
	// 图片信息
	PictureInfoList []TmsPictureInfoRequest `json:"picture_info_list,omitempty" xml:"picture_info_list>tms_picture_info_request,omitempty"`
	// 短信信息
	SmsInfoList []TmsSmsInfoRequest `json:"sms_info_list,omitempty" xml:"sms_info_list>tms_sms_info_request,omitempty"`
	// 电联信息
	PhoneCallInfoList []TmsPhoneCallInfoRequest `json:"phone_call_info_list,omitempty" xml:"phone_call_info_list>tms_phone_call_info_request,omitempty"`
	// 服务类型(1-送货上门;2-放指定驿站)
	ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"`
	// 配品牌
	TmsBrandCode string `json:"tms_brand_code,omitempty" xml:"tms_brand_code,omitempty"`
	// 物流轨迹描述信息
	LogisticsDetailDesc string `json:"logistics_detail_desc,omitempty" xml:"logistics_detail_desc,omitempty"`
	// 送货上门签收类型 1-本人签收 2-他人代签收 3-前台 4-家门口 5-水表箱等指定位置
	SendSignType string `json:"send_sign_type,omitempty" xml:"send_sign_type,omitempty"`
	// 服务单code
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 对应状态的操作时间
	OperateTime string `json:"operate_time,omitempty" xml:"operate_time,omitempty"`
	// 履约结果 TO_HOME, 送货上门 TO_CABINET, 入库入柜; TO_CUSTOMER_LOCATION, 放置指定地点(未上门)
	DeliveryResult string `json:"delivery_result,omitempty" xml:"delivery_result,omitempty"`
	// 包裹运单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 状态(1-已揽收;2-派送中;3-已电联;4-已签收;5-已取消;6-异常)
	ServiceState string `json:"service_state,omitempty" xml:"service_state,omitempty"`
	// 电联结果 NOT_CONNECT, 未接通;  TO_HOME, 送货上门; TO_CABINET, 需入库入柜
	PhoneCallResult string `json:"phone_call_result,omitempty" xml:"phone_call_result,omitempty"`
	// 快递公司资源编码
	TmsCpCode string `json:"tms_cp_code,omitempty" xml:"tms_cp_code,omitempty"`
	// 业务类型(1-送货上门 )
	BusinessType string `json:"business_type,omitempty" xml:"business_type,omitempty"`
	// 上门签收描述
	DeliveryResultRemark string `json:"delivery_result_remark,omitempty" xml:"delivery_result_remark,omitempty"`
}

TmsServiceSyncRequest 结构体

type TmsSmsInfoRequest added in v1.2.9

type TmsSmsInfoRequest struct {
	// 短信发送时间。smsInfo有值时,必需
	SmsSendTime string `json:"sms_send_time,omitempty" xml:"sms_send_time,omitempty"`
	// 短信信息,smsInfo有值时,且smsSendStatus = true时,必需
	SmsText string `json:"sms_text,omitempty" xml:"sms_text,omitempty"`
	// 短信状态。true,发送成功;false,发送失败
	SmsSendStatus bool `json:"sms_send_status,omitempty" xml:"sms_send_status,omitempty"`
}

TmsSmsInfoRequest 结构体

type TopServiceResult

type TopServiceResult struct {
	// 接口返回数据
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// message
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 详细描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TopServiceResult 结构体

type UpdateResendStatusDto

type UpdateResendStatusDto struct {
	// 描述
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// erp补发单
	ReissueId string `json:"reissue_id,omitempty" xml:"reissue_id,omitempty"`
	// 平台补发单唯一标识
	SourceId string `json:"source_id,omitempty" xml:"source_id,omitempty"`
	// 补发单状态(-1=关闭,1=补发成功,2=部分成功)
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 主订单
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
}

UpdateResendStatusDto 结构体

type UploadingReverseDto

type UploadingReverseDto struct {
	// 商品行列表
	GoodsItemDTOList []WarehouseReverseGoodsItemDto `json:"goods_item_d_t_o_list,omitempty" xml:"goods_item_d_t_o_list>warehouse_reverse_goods_item_dto,omitempty"`
	// 扩展字段,JSONObject格式
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 仓库名称
	WarehouseName string `json:"warehouse_name,omitempty" xml:"warehouse_name,omitempty"`
	// 详细地址
	Adr string `json:"adr,omitempty" xml:"adr,omitempty"`
	// 县区
	DistrictName string `json:"district_name,omitempty" xml:"district_name,omitempty"`
	// 城市
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 省份
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 国家
	CountryName string `json:"country_name,omitempty" xml:"country_name,omitempty"`
	// 创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 物流公司code
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 物流公司名称
	CpName string `json:"cp_name,omitempty" xml:"cp_name,omitempty"`
	// 运单编号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 销退单ID
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 销退单状态(1=已创建;2=待入库;3=已入库,5=已取消)
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 主订单编号
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
}

UploadingReverseDto 结构体

type WarehouseDeliveryRelationDto

type WarehouseDeliveryRelationDto struct {
	// 网格仓外部编码
	FromOrgResourceCode string `json:"from_org_resource_code,omitempty" xml:"from_org_resource_code,omitempty"`
	// from资源来源
	FromOrgSource string `json:"from_org_source,omitempty" xml:"from_org_source,omitempty"`
	// 网格仓编码
	FromResourceCode string `json:"from_resource_code,omitempty" xml:"from_resource_code,omitempty"`
	// 网格仓名称
	FromResourceName string `json:"from_resource_name,omitempty" xml:"from_resource_name,omitempty"`
	// from资源类型
	FromResourceType string `json:"from_resource_type,omitempty" xml:"from_resource_type,omitempty"`
	// 商家
	MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"`
	// 网络编码
	NetworkCode string `json:"network_code,omitempty" xml:"network_code,omitempty"`
	// 关系类型
	RelationType string `json:"relation_type,omitempty" xml:"relation_type,omitempty"`
	// 自提点外部编码
	ToOrgResourceCode string `json:"to_org_resource_code,omitempty" xml:"to_org_resource_code,omitempty"`
	// 资源来源
	ToOrgSource string `json:"to_org_source,omitempty" xml:"to_org_source,omitempty"`
	// 自提点编码
	ToResourceCode string `json:"to_resource_code,omitempty" xml:"to_resource_code,omitempty"`
	// 自提点名称
	ToResourceName string `json:"to_resource_name,omitempty" xml:"to_resource_name,omitempty"`
	// to资源类型
	ToResourceType string `json:"to_resource_type,omitempty" xml:"to_resource_type,omitempty"`
	// 数据版本号
	DataVersion int64 `json:"data_version,omitempty" xml:"data_version,omitempty"`
	// ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

WarehouseDeliveryRelationDto 结构体

type WarehouseDeliveryRelationPageQueryRequest

type WarehouseDeliveryRelationPageQueryRequest struct {
	// 网格仓外部编码列表
	FromOrgResourceCodeList []string `json:"from_org_resource_code_list,omitempty" xml:"from_org_resource_code_list>string,omitempty"`
	// 网格仓资源编码列表
	FromResourceCodeList []string `json:"from_resource_code_list,omitempty" xml:"from_resource_code_list>string,omitempty"`
	// 自提点列表
	ToResourceCodeList []string `json:"to_resource_code_list,omitempty" xml:"to_resource_code_list>string,omitempty"`
	// 网格仓外部编码 和fromResourceCode 2选1
	FromOrgResourceCode string `json:"from_org_resource_code,omitempty" xml:"from_org_resource_code,omitempty"`
	// 网格仓资源编码 和fromOrgResourceCode 2选1
	FromResourceCode string `json:"from_resource_code,omitempty" xml:"from_resource_code,omitempty"`
	// 仓资源类型
	FromResourceType string `json:"from_resource_type,omitempty" xml:"from_resource_type,omitempty"`
	// 网络编码
	NetworkCode string `json:"network_code,omitempty" xml:"network_code,omitempty"`
	// 自提点编码 和toResourceCode 2选1
	ToOrgResourceCode string `json:"to_org_resource_code,omitempty" xml:"to_org_resource_code,omitempty"`
	// 自提点编码 和toOrgResourceCode 2选1
	ToResourceCode string `json:"to_resource_code,omitempty" xml:"to_resource_code,omitempty"`
	// 自提点资源类型
	ToResourceType string `json:"to_resource_type,omitempty" xml:"to_resource_type,omitempty"`
	// 开始时间
	StartGmtModified string `json:"start_gmt_modified,omitempty" xml:"start_gmt_modified,omitempty"`
	// 结束时间
	EndGmtModified string `json:"end_gmt_modified,omitempty" xml:"end_gmt_modified,omitempty"`
	// 页码
	PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"`
	// 分页大小,最大300
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 是否返回汇总数
	ShowTotal int64 `json:"show_total,omitempty" xml:"show_total,omitempty"`
}

WarehouseDeliveryRelationPageQueryRequest 结构体

type WarehouseResourceRelationDto

type WarehouseResourceRelationDto struct {
	// from资源外部编码
	FromOrgResourceCode string `json:"from_org_resource_code,omitempty" xml:"from_org_resource_code,omitempty"`
	// from资源来源
	FromOrgSource string `json:"from_org_source,omitempty" xml:"from_org_source,omitempty"`
	// from资源编码
	FromResourceCode string `json:"from_resource_code,omitempty" xml:"from_resource_code,omitempty"`
	// from资源名称
	FromResourceName string `json:"from_resource_name,omitempty" xml:"from_resource_name,omitempty"`
	// from资源类型
	FromResourceType string `json:"from_resource_type,omitempty" xml:"from_resource_type,omitempty"`
	// 商家code
	MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"`
	// 网络名称
	NetworkCode string `json:"network_code,omitempty" xml:"network_code,omitempty"`
	// 关系类型
	RelationType string `json:"relation_type,omitempty" xml:"relation_type,omitempty"`
	// to资源外部编码
	ToOrgResourceCode string `json:"to_org_resource_code,omitempty" xml:"to_org_resource_code,omitempty"`
	// to资源来源
	ToOrgSource string `json:"to_org_source,omitempty" xml:"to_org_source,omitempty"`
	// to资源编码
	ToResourceCode string `json:"to_resource_code,omitempty" xml:"to_resource_code,omitempty"`
	// to资源名称
	ToResourceName string `json:"to_resource_name,omitempty" xml:"to_resource_name,omitempty"`
	// to资源类型
	ToResourceType string `json:"to_resource_type,omitempty" xml:"to_resource_type,omitempty"`
}

WarehouseResourceRelationDto 结构体

type WarehouseReverseGoodsItemDto

type WarehouseReverseGoodsItemDto struct {
	// 扩展字段,JSONObject格式
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 商品名称
	AuctionName string `json:"auction_name,omitempty" xml:"auction_name,omitempty"`
	// 货主
	OwnerNick string `json:"owner_nick,omitempty" xml:"owner_nick,omitempty"`
	// 商品条码
	QrCode string `json:"qr_code,omitempty" xml:"qr_code,omitempty"`
	// 货品仓储系统编码
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 货品编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 货品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 货品行ID
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 1=淘系子订单,2=赠品,3=未知
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 计划数量
	PlanQty int64 `json:"plan_qty,omitempty" xml:"plan_qty,omitempty"`
	// 实发数量
	ActualQty int64 `json:"actual_qty,omitempty" xml:"actual_qty,omitempty"`
	// 单价(单位:分)
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 实付金额(单位:分)
	ActualFee int64 `json:"actual_fee,omitempty" xml:"actual_fee,omitempty"`
	// 子订单ID
	Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"`
	// 计划状态(1=正品;2=残品;3=部分正品)
	PlanStatus int64 `json:"plan_status,omitempty" xml:"plan_status,omitempty"`
	// 状态(1=正品;2=残品;3=部分正品;4=未确认)
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

WarehouseReverseGoodsItemDto 结构体

type WarehouseReverseUploadingDto

type WarehouseReverseUploadingDto struct {
	// 销退单列表
	UploadingReverseDTOList []UploadingReverseDto `json:"uploading_reverse_d_t_o_list,omitempty" xml:"uploading_reverse_d_t_o_list>uploading_reverse_dto,omitempty"`
}

WarehouseReverseUploadingDto 结构体

type WdkLogisticNetworkResourceGroupQueryAPIRequest

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

WdkLogisticNetworkResourceGroupQueryAPIRequest 查询网格仓-区块-自提点关系 API请求 wdk.logistic.network.resource.group.query

查询网格仓-区块-自提点关系

func NewWdkLogisticNetworkResourceGroupQueryRequest

func NewWdkLogisticNetworkResourceGroupQueryRequest() *WdkLogisticNetworkResourceGroupQueryAPIRequest

NewWdkLogisticNetworkResourceGroupQueryRequest 初始化WdkLogisticNetworkResourceGroupQueryAPIRequest对象

func (WdkLogisticNetworkResourceGroupQueryAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (WdkLogisticNetworkResourceGroupQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (WdkLogisticNetworkResourceGroupQueryAPIRequest) GetParamResourceGroupPageQueryRequest

func (r WdkLogisticNetworkResourceGroupQueryAPIRequest) GetParamResourceGroupPageQueryRequest() *ResourceGroupPageQueryRequest

GetParamResourceGroupPageQueryRequest ParamResourceGroupPageQueryRequest Getter

func (WdkLogisticNetworkResourceGroupQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*WdkLogisticNetworkResourceGroupQueryAPIRequest) SetParamResourceGroupPageQueryRequest

func (r *WdkLogisticNetworkResourceGroupQueryAPIRequest) SetParamResourceGroupPageQueryRequest(_paramResourceGroupPageQueryRequest *ResourceGroupPageQueryRequest) error

SetParamResourceGroupPageQueryRequest is ParamResourceGroupPageQueryRequest Setter 入参

type WdkLogisticNetworkResourceGroupQueryAPIResponse

type WdkLogisticNetworkResourceGroupQueryAPIResponse struct {
	model.CommonResponse
	WdkLogisticNetworkResourceGroupQueryAPIResponseModel
}

WdkLogisticNetworkResourceGroupQueryAPIResponse 查询网格仓-区块-自提点关系 API返回值 wdk.logistic.network.resource.group.query

查询网格仓-区块-自提点关系

type WdkLogisticNetworkResourceGroupQueryAPIResponseModel

type WdkLogisticNetworkResourceGroupQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"wdk_logistic_network_resource_group_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参
	Result *LogisticsResult `json:"result,omitempty" xml:"result,omitempty"`
}

WdkLogisticNetworkResourceGroupQueryAPIResponseModel is 查询网格仓-区块-自提点关系 成功返回结果

type WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIRequest

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

WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIRequest 仓站(网格仓自提点)关系查询 API请求 wdk.logistic.network.warehouse.delivery.relation.query

盒马集市,仓站(网格仓自提点)关系查询

func NewWdkLogisticNetworkWarehouseDeliveryRelationQueryRequest

func NewWdkLogisticNetworkWarehouseDeliveryRelationQueryRequest() *WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIRequest

NewWdkLogisticNetworkWarehouseDeliveryRelationQueryRequest 初始化WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIRequest对象

func (WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIRequest) GetParamWarehouseDeliveryRelationPageQueryRequest

GetParamWarehouseDeliveryRelationPageQueryRequest ParamWarehouseDeliveryRelationPageQueryRequest Getter

func (WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIRequest) SetParamWarehouseDeliveryRelationPageQueryRequest

func (r *WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIRequest) SetParamWarehouseDeliveryRelationPageQueryRequest(_paramWarehouseDeliveryRelationPageQueryRequest *WarehouseDeliveryRelationPageQueryRequest) error

SetParamWarehouseDeliveryRelationPageQueryRequest is ParamWarehouseDeliveryRelationPageQueryRequest Setter 参数

type WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIResponse

type WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIResponse struct {
	model.CommonResponse
	WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIResponseModel
}

WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIResponse 仓站(网格仓自提点)关系查询 API返回值 wdk.logistic.network.warehouse.delivery.relation.query

盒马集市,仓站(网格仓自提点)关系查询

type WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIResponseModel

type WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"wdk_logistic_network_warehouse_delivery_relation_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 参数
	Result *LogisticsResult `json:"result,omitempty" xml:"result,omitempty"`
}

WdkLogisticNetworkWarehouseDeliveryRelationQueryAPIResponseModel is 仓站(网格仓自提点)关系查询 成功返回结果

type WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIRequest

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

WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIRequest 中心仓查网格仓 API请求 wdk.logistic.network.warehouse.resource.relation.query.from

盒马集市,中心仓查询网格仓

func NewWdkLogisticNetworkWarehouseResourceRelationQueryFromRequest

func NewWdkLogisticNetworkWarehouseResourceRelationQueryFromRequest() *WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIRequest

NewWdkLogisticNetworkWarehouseResourceRelationQueryFromRequest 初始化WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIRequest对象

func (WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIRequest) GetParamPageQueryWarehouseResourceRelationByFromRequest

GetParamPageQueryWarehouseResourceRelationByFromRequest ParamPageQueryWarehouseResourceRelationByFromRequest Getter

func (WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIRequest) GetRawParams added in v1.2.8

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

func (*WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIRequest) SetParamPageQueryWarehouseResourceRelationByFromRequest

func (r *WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIRequest) SetParamPageQueryWarehouseResourceRelationByFromRequest(_paramPageQueryWarehouseResourceRelationByFromRequest *PageQueryWarehouseResourceRelationByFromRequest) error

SetParamPageQueryWarehouseResourceRelationByFromRequest is ParamPageQueryWarehouseResourceRelationByFromRequest Setter 查询参数

type WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIResponse

type WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIResponse struct {
	model.CommonResponse
	WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIResponseModel
}

WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIResponse 中心仓查网格仓 API返回值 wdk.logistic.network.warehouse.resource.relation.query.from

盒马集市,中心仓查询网格仓

type WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIResponseModel

type WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIResponseModel struct {
	XMLName xml.Name `xml:"wdk_logistic_network_warehouse_resource_relation_query_from_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值
	Result *LogisticsResult `json:"result,omitempty" xml:"result,omitempty"`
}

WdkLogisticNetworkWarehouseResourceRelationQueryFromAPIResponseModel is 中心仓查网格仓 成功返回结果

type WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIRequest

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

WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIRequest 按网格仓查中心仓(带缓存) API请求 wdk.logistic.network.warehouse.resource.relation.query.to.codes

盒马集市,网格仓查询中心仓

func NewWdkLogisticNetworkWarehouseResourceRelationQueryToCodesRequest

func NewWdkLogisticNetworkWarehouseResourceRelationQueryToCodesRequest() *WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIRequest

NewWdkLogisticNetworkWarehouseResourceRelationQueryToCodesRequest 初始化WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIRequest对象

func (WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIRequest) GetParamYxWarehouseResourceRelationQueryRequest

GetParamYxWarehouseResourceRelationQueryRequest ParamYxWarehouseResourceRelationQueryRequest Getter

func (WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIRequest) GetRawParams added in v1.2.8

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

func (*WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIRequest) SetParamYxWarehouseResourceRelationQueryRequest

func (r *WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIRequest) SetParamYxWarehouseResourceRelationQueryRequest(_paramYxWarehouseResourceRelationQueryRequest *YxWarehouseResourceRelationQueryRequest) error

SetParamYxWarehouseResourceRelationQueryRequest is ParamYxWarehouseResourceRelationQueryRequest Setter 入参

type WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIResponse

type WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIResponse struct {
	model.CommonResponse
	WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIResponseModel
}

WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIResponse 按网格仓查中心仓(带缓存) API返回值 wdk.logistic.network.warehouse.resource.relation.query.to.codes

盒马集市,网格仓查询中心仓

type WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIResponseModel

type WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIResponseModel struct {
	XMLName xml.Name `xml:"wdk_logistic_network_warehouse_resource_relation_query_to_codes_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值
	Result *LogisticsResult `json:"result,omitempty" xml:"result,omitempty"`
}

WdkLogisticNetworkWarehouseResourceRelationQueryToCodesAPIResponseModel is 按网格仓查中心仓(带缓存) 成功返回结果

type WmsGoodsInfoSyncRequest added in v1.2.9

type WmsGoodsInfoSyncRequest struct {
	// 货主code
	WmsOwnerCode string `json:"wms_owner_code,omitempty" xml:"wms_owner_code,omitempty"`
	// 仓code
	WmsWarehouseCode string `json:"wms_warehouse_code,omitempty" xml:"wms_warehouse_code,omitempty"`
	// 货品code
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 长 (厘米)
	Length string `json:"length,omitempty" xml:"length,omitempty"`
	//  宽 (厘米)
	Width string `json:"width,omitempty" xml:"width,omitempty"`
	// 高 (厘米)
	Height string `json:"height,omitempty" xml:"height,omitempty"`
	// 体积 (升)
	Volume string `json:"volume,omitempty" xml:"volume,omitempty"`
	// 毛重 (千克)
	GrossWeight string `json:"gross_weight,omitempty" xml:"gross_weight,omitempty"`
	// 净重 (千克)
	NetWeight string `json:"net_weight,omitempty" xml:"net_weight,omitempty"`
	// 图片链接
	Pic string `json:"pic,omitempty" xml:"pic,omitempty"`
	// 扩展字段
	Feature string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 货品id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
}

WmsGoodsInfoSyncRequest 结构体

type WmsMaterialDetailDto added in v1.2.9

type WmsMaterialDetailDto struct {
	// 包材名称
	MaterialName string `json:"material_name,omitempty" xml:"material_name,omitempty"`
	// 包材编码
	MaterialCode string `json:"material_code,omitempty" xml:"material_code,omitempty"`
	// 包材使用数量
	MaterialNum int64 `json:"material_num,omitempty" xml:"material_num,omitempty"`
}

WmsMaterialDetailDto 结构体

type WmsMaterialPackageDto added in v1.2.9

type WmsMaterialPackageDto struct {
	// 包材信息
	Materials []WmsMaterialDetailDto `json:"materials,omitempty" xml:"materials>wms_material_detail_dto,omitempty"`
	// 商品信息
	Items []WmsMaterialPackageItemDto `json:"items,omitempty" xml:"items>wms_material_package_item_dto,omitempty"`
	// 包裹编码
	PackageCode string `json:"package_code,omitempty" xml:"package_code,omitempty"`
	// SF23434
	ExpressCode string `json:"express_code,omitempty" xml:"express_code,omitempty"`
	// SF
	LogisticsCode string `json:"logistics_code,omitempty" xml:"logistics_code,omitempty"`
}

WmsMaterialPackageDto 结构体

type WmsMaterialPackageItemDto added in v1.2.9

type WmsMaterialPackageItemDto struct {
	// 耗材信息
	Materials []WmsMaterialDetailDto `json:"materials,omitempty" xml:"materials>wms_material_detail_dto,omitempty"`
	// 商品仓储系统编码
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 货主编码
	OwnerCode string `json:"owner_code,omitempty" xml:"owner_code,omitempty"`
	// 商品编码
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
}

WmsMaterialPackageItemDto 结构体

type WmsMaterialRequest added in v1.2.9

type WmsMaterialRequest struct {
	// 包裹明细
	Packages []WmsMaterialPackageDto `json:"packages,omitempty" xml:"packages>wms_material_package_dto,omitempty"`
	// 订单类型
	OrderType string `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 仓储系统出库单号
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 货主编码
	OwnerCode string `json:"owner_code,omitempty" xml:"owner_code,omitempty"`
	// 出库单号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 仓库编码
	WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"`
	// 1=包材; 2=耗材
	MaterialType int64 `json:"material_type,omitempty" xml:"material_type,omitempty"`
}

WmsMaterialRequest 结构体

type YxWarehouseResourceRelationQueryRequest

type YxWarehouseResourceRelationQueryRequest struct {
	// 网格仓外部编码
	ToOrgResourceCodes []string `json:"to_org_resource_codes,omitempty" xml:"to_org_resource_codes>string,omitempty"`
}

YxWarehouseResourceRelationQueryRequest 结构体

Source Files

Jump to

Keyboard shortcuts

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