cainiaolocker

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package cainiaolocker 包含菜鸟裹裹API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAddressDto added in v1.3.4

func ReleaseAddressDto(v *AddressDto)

ReleaseAddressDto 释放AddressDto

func ReleaseCainiaoEndpointLockerTopOrderNoticeAPIRequest added in v1.3.4

func ReleaseCainiaoEndpointLockerTopOrderNoticeAPIRequest(v *CainiaoEndpointLockerTopOrderNoticeAPIRequest)

ReleaseCainiaoEndpointLockerTopOrderNoticeAPIRequest 将 CainiaoEndpointLockerTopOrderNoticeAPIRequest 放入 sync.Pool

func ReleaseCainiaoEndpointLockerTopOrderNoticeAPIResponse added in v1.3.4

func ReleaseCainiaoEndpointLockerTopOrderNoticeAPIResponse(v *CainiaoEndpointLockerTopOrderNoticeAPIResponse)

ReleaseCainiaoEndpointLockerTopOrderNoticeAPIResponse 将 CainiaoEndpointLockerTopOrderNoticeAPIResponse 保存到 sync.Pool

func ReleaseCainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest added in v1.3.4

func ReleaseCainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest(v *CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest)

ReleaseCainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest 将 CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest 放入 sync.Pool

func ReleaseCainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse added in v1.3.4

func ReleaseCainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse(v *CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse)

ReleaseCainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse 将 CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse 保存到 sync.Pool

func ReleaseCainiaoEndpointLockerTopOrderNoticesendQueryData added in v1.3.4

func ReleaseCainiaoEndpointLockerTopOrderNoticesendQueryData(v *CainiaoEndpointLockerTopOrderNoticesendQueryData)

ReleaseCainiaoEndpointLockerTopOrderNoticesendQueryData 释放CainiaoEndpointLockerTopOrderNoticesendQueryData

func ReleaseCainiaoEndpointLockerTopOrderTrackingNewAPIRequest added in v1.3.4

func ReleaseCainiaoEndpointLockerTopOrderTrackingNewAPIRequest(v *CainiaoEndpointLockerTopOrderTrackingNewAPIRequest)

ReleaseCainiaoEndpointLockerTopOrderTrackingNewAPIRequest 将 CainiaoEndpointLockerTopOrderTrackingNewAPIRequest 放入 sync.Pool

func ReleaseCainiaoEndpointLockerTopOrderTrackingNewAPIResponse added in v1.3.4

func ReleaseCainiaoEndpointLockerTopOrderTrackingNewAPIResponse(v *CainiaoEndpointLockerTopOrderTrackingNewAPIResponse)

ReleaseCainiaoEndpointLockerTopOrderTrackingNewAPIResponse 将 CainiaoEndpointLockerTopOrderTrackingNewAPIResponse 保存到 sync.Pool

func ReleaseCainiaoEndpointLockerTopOrderWithholdAPIRequest added in v1.3.4

func ReleaseCainiaoEndpointLockerTopOrderWithholdAPIRequest(v *CainiaoEndpointLockerTopOrderWithholdAPIRequest)

ReleaseCainiaoEndpointLockerTopOrderWithholdAPIRequest 将 CainiaoEndpointLockerTopOrderWithholdAPIRequest 放入 sync.Pool

func ReleaseCainiaoEndpointLockerTopOrderWithholdAPIResponse added in v1.3.4

func ReleaseCainiaoEndpointLockerTopOrderWithholdAPIResponse(v *CainiaoEndpointLockerTopOrderWithholdAPIResponse)

ReleaseCainiaoEndpointLockerTopOrderWithholdAPIResponse 将 CainiaoEndpointLockerTopOrderWithholdAPIResponse 保存到 sync.Pool

func ReleaseCainiaoEndpointLockerTopStationAddorupdateAPIRequest added in v1.3.4

func ReleaseCainiaoEndpointLockerTopStationAddorupdateAPIRequest(v *CainiaoEndpointLockerTopStationAddorupdateAPIRequest)

ReleaseCainiaoEndpointLockerTopStationAddorupdateAPIRequest 将 CainiaoEndpointLockerTopStationAddorupdateAPIRequest 放入 sync.Pool

func ReleaseCainiaoEndpointLockerTopStationAddorupdateAPIResponse added in v1.3.4

func ReleaseCainiaoEndpointLockerTopStationAddorupdateAPIResponse(v *CainiaoEndpointLockerTopStationAddorupdateAPIResponse)

ReleaseCainiaoEndpointLockerTopStationAddorupdateAPIResponse 将 CainiaoEndpointLockerTopStationAddorupdateAPIResponse 保存到 sync.Pool

func ReleaseCainiaoEndpointLockerTopWithholdQueryAPIRequest added in v1.3.4

func ReleaseCainiaoEndpointLockerTopWithholdQueryAPIRequest(v *CainiaoEndpointLockerTopWithholdQueryAPIRequest)

ReleaseCainiaoEndpointLockerTopWithholdQueryAPIRequest 将 CainiaoEndpointLockerTopWithholdQueryAPIRequest 放入 sync.Pool

func ReleaseCainiaoEndpointLockerTopWithholdQueryAPIResponse added in v1.3.4

func ReleaseCainiaoEndpointLockerTopWithholdQueryAPIResponse(v *CainiaoEndpointLockerTopWithholdQueryAPIResponse)

ReleaseCainiaoEndpointLockerTopWithholdQueryAPIResponse 将 CainiaoEndpointLockerTopWithholdQueryAPIResponse 保存到 sync.Pool

func ReleaseCainiaoGuoguoWaybillGetAPIRequest added in v1.3.4

func ReleaseCainiaoGuoguoWaybillGetAPIRequest(v *CainiaoGuoguoWaybillGetAPIRequest)

ReleaseCainiaoGuoguoWaybillGetAPIRequest 将 CainiaoGuoguoWaybillGetAPIRequest 放入 sync.Pool

func ReleaseCainiaoGuoguoWaybillGetAPIResponse added in v1.3.4

func ReleaseCainiaoGuoguoWaybillGetAPIResponse(v *CainiaoGuoguoWaybillGetAPIResponse)

ReleaseCainiaoGuoguoWaybillGetAPIResponse 将 CainiaoGuoguoWaybillGetAPIResponse 保存到 sync.Pool

func ReleaseCainiaoNbaddAppointdeliverFeedbackcodesAPIRequest added in v1.3.4

func ReleaseCainiaoNbaddAppointdeliverFeedbackcodesAPIRequest(v *CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest)

ReleaseCainiaoNbaddAppointdeliverFeedbackcodesAPIRequest 将 CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest 放入 sync.Pool

func ReleaseCainiaoNbaddAppointdeliverFeedbackcodesAPIResponse added in v1.3.4

func ReleaseCainiaoNbaddAppointdeliverFeedbackcodesAPIResponse(v *CainiaoNbaddAppointdeliverFeedbackcodesAPIResponse)

ReleaseCainiaoNbaddAppointdeliverFeedbackcodesAPIResponse 将 CainiaoNbaddAppointdeliverFeedbackcodesAPIResponse 保存到 sync.Pool

func ReleaseCainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest added in v1.3.4

func ReleaseCainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest(v *CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest)

ReleaseCainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest 将 CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest 放入 sync.Pool

func ReleaseCainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse added in v1.3.4

func ReleaseCainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse(v *CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse)

ReleaseCainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse 将 CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse 保存到 sync.Pool

func ReleaseCainiaoNborderfrontUserOutsideQueryoutsideuserStruct added in v1.3.4

func ReleaseCainiaoNborderfrontUserOutsideQueryoutsideuserStruct(v *CainiaoNborderfrontUserOutsideQueryoutsideuserStruct)

ReleaseCainiaoNborderfrontUserOutsideQueryoutsideuserStruct 释放CainiaoNborderfrontUserOutsideQueryoutsideuserStruct

func ReleaseCollectTrackingInfo added in v1.3.4

func ReleaseCollectTrackingInfo(v *CollectTrackingInfo)

ReleaseCollectTrackingInfo 释放CollectTrackingInfo

func ReleaseFeedbackCodeDto added in v1.3.4

func ReleaseFeedbackCodeDto(v *FeedbackCodeDto)

ReleaseFeedbackCodeDto 释放FeedbackCodeDto

func ReleaseItem added in v1.3.4

func ReleaseItem(v *Item)

ReleaseItem 释放Item

func ReleaseOrderInfoDto added in v1.3.4

func ReleaseOrderInfoDto(v *OrderInfoDto)

ReleaseOrderInfoDto 释放OrderInfoDto

func ReleasePackageInfoDto added in v1.3.4

func ReleasePackageInfoDto(v *PackageInfoDto)

ReleasePackageInfoDto 释放PackageInfoDto

func ReleaseSingleResult added in v1.3.4

func ReleaseSingleResult(v *SingleResult)

ReleaseSingleResult 释放SingleResult

func ReleaseStationInfo added in v1.3.4

func ReleaseStationInfo(v *StationInfo)

ReleaseStationInfo 释放StationInfo

func ReleaseTradeOrderInfoDto added in v1.3.4

func ReleaseTradeOrderInfoDto(v *TradeOrderInfoDto)

ReleaseTradeOrderInfoDto 释放TradeOrderInfoDto

func ReleaseUserInfoDto added in v1.3.4

func ReleaseUserInfoDto(v *UserInfoDto)

ReleaseUserInfoDto 释放UserInfoDto

func ReleaseWaybillCloudPrintApplyNewRequest added in v1.3.4

func ReleaseWaybillCloudPrintApplyNewRequest(v *WaybillCloudPrintApplyNewRequest)

ReleaseWaybillCloudPrintApplyNewRequest 释放WaybillCloudPrintApplyNewRequest

func ReleaseWaybillCloudPrintNewResponse added in v1.3.4

func ReleaseWaybillCloudPrintNewResponse(v *WaybillCloudPrintNewResponse)

ReleaseWaybillCloudPrintNewResponse 释放WaybillCloudPrintNewResponse

Types

type AddressDto added in v1.2.9

type AddressDto struct {
	// 城市,长度小于20
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 详细地址,长度小于256
	Detail string `json:"detail,omitempty" xml:"detail,omitempty"`
	// 区,长度小于20
	District string `json:"district,omitempty" xml:"district,omitempty"`
	// 省,长度小于20
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 街道,长度小于30
	Town string `json:"town,omitempty" xml:"town,omitempty"`
}

AddressDto 结构体

func GetAddressDto added in v1.3.4

func GetAddressDto() *AddressDto

GetAddressDto() 从对象池中获取AddressDto

type CainiaoEndpointLockerTopOrderNoticeAPIRequest added in v1.2.0

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

CainiaoEndpointLockerTopOrderNoticeAPIRequest 手动触发发短信 API请求 cainiao.endpoint.locker.top.order.notice

合作公司对订单手动触发短信,有次数限制

func GetCainiaoEndpointLockerTopOrderNoticeAPIRequest added in v1.3.4

func GetCainiaoEndpointLockerTopOrderNoticeAPIRequest() *CainiaoEndpointLockerTopOrderNoticeAPIRequest

GetCainiaoEndpointLockerTopOrderNoticeRequest 从 sync.Pool 获取 CainiaoEndpointLockerTopOrderNoticeAPIRequest

func NewCainiaoEndpointLockerTopOrderNoticeRequest

func NewCainiaoEndpointLockerTopOrderNoticeRequest() *CainiaoEndpointLockerTopOrderNoticeAPIRequest

NewCainiaoEndpointLockerTopOrderNoticeRequest 初始化CainiaoEndpointLockerTopOrderNoticeAPIRequest对象

func (CainiaoEndpointLockerTopOrderNoticeAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoEndpointLockerTopOrderNoticeAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoEndpointLockerTopOrderNoticeAPIRequest) GetMailNo added in v1.2.0

GetMailNo MailNo Getter

func (CainiaoEndpointLockerTopOrderNoticeAPIRequest) GetOrderCode added in v1.2.0

GetOrderCode OrderCode Getter

func (CainiaoEndpointLockerTopOrderNoticeAPIRequest) GetRawParams added in v1.2.8

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

func (CainiaoEndpointLockerTopOrderNoticeAPIRequest) GetSceneCode added in v1.2.0

GetSceneCode SceneCode Getter

func (CainiaoEndpointLockerTopOrderNoticeAPIRequest) GetStationId added in v1.2.0

GetStationId StationId Getter

func (*CainiaoEndpointLockerTopOrderNoticeAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*CainiaoEndpointLockerTopOrderNoticeAPIRequest) SetMailNo added in v1.2.0

SetMailNo is MailNo Setter 运单号

func (*CainiaoEndpointLockerTopOrderNoticeAPIRequest) SetOrderCode added in v1.2.0

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

SetOrderCode is OrderCode Setter 合作公司唯一订单编号

func (*CainiaoEndpointLockerTopOrderNoticeAPIRequest) SetSceneCode added in v1.2.0

func (r *CainiaoEndpointLockerTopOrderNoticeAPIRequest) SetSceneCode(_sceneCode int64) error

SetSceneCode is SceneCode Setter 场景编号:0:重发短信,1:催取短信

func (*CainiaoEndpointLockerTopOrderNoticeAPIRequest) SetStationId added in v1.2.0

func (r *CainiaoEndpointLockerTopOrderNoticeAPIRequest) SetStationId(_stationId string) error

SetStationId is StationId Setter 站点ID

type CainiaoEndpointLockerTopOrderNoticeAPIResponse

type CainiaoEndpointLockerTopOrderNoticeAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopOrderNoticeAPIResponseModel
}

CainiaoEndpointLockerTopOrderNoticeAPIResponse 手动触发发短信 API返回值 cainiao.endpoint.locker.top.order.notice

合作公司对订单手动触发短信,有次数限制

func GetCainiaoEndpointLockerTopOrderNoticeAPIResponse added in v1.3.4

func GetCainiaoEndpointLockerTopOrderNoticeAPIResponse() *CainiaoEndpointLockerTopOrderNoticeAPIResponse

GetCainiaoEndpointLockerTopOrderNoticeAPIResponse 从 sync.Pool 获取 CainiaoEndpointLockerTopOrderNoticeAPIResponse

func (*CainiaoEndpointLockerTopOrderNoticeAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type CainiaoEndpointLockerTopOrderNoticeAPIResponseModel added in v1.2.0

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

CainiaoEndpointLockerTopOrderNoticeAPIResponseModel is 手动触发发短信 成功返回结果

func (*CainiaoEndpointLockerTopOrderNoticeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest added in v1.2.0

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

CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest 查询订单是否由裹裹发送消息 API请求 cainiao.endpoint.locker.top.order.noticesend.query

合作公司查询消息发送的接口,判断是否裹裹发送消息

func GetCainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest added in v1.3.4

func GetCainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest() *CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest

GetCainiaoEndpointLockerTopOrderNoticesendQueryRequest 从 sync.Pool 获取 CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest

func NewCainiaoEndpointLockerTopOrderNoticesendQueryRequest

func NewCainiaoEndpointLockerTopOrderNoticesendQueryRequest() *CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest

NewCainiaoEndpointLockerTopOrderNoticesendQueryRequest 初始化CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest对象

func (CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) GetGetterPhone added in v1.2.0

GetGetterPhone GetterPhone Getter

func (CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) GetMailNo added in v1.2.0

GetMailNo MailNo Getter

func (CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) GetRawParams added in v1.2.8

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

func (CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) GetStationId added in v1.2.0

GetStationId StationId Getter

func (*CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) SetGetterPhone added in v1.2.0

SetGetterPhone is GetterPhone Setter 收件人手机号

func (*CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) SetMailNo added in v1.2.0

SetMailNo is MailNo Setter 运单号

func (*CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) SetStationId added in v1.2.0

SetStationId is StationId Setter 站点id

type CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse

type CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponseModel
}

CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse 查询订单是否由裹裹发送消息 API返回值 cainiao.endpoint.locker.top.order.noticesend.query

合作公司查询消息发送的接口,判断是否裹裹发送消息

func GetCainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse added in v1.3.4

func GetCainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse() *CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse

GetCainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse 从 sync.Pool 获取 CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse

func (*CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponseModel added in v1.2.0

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

CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponseModel is 查询订单是否由裹裹发送消息 成功返回结果

func (*CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type CainiaoEndpointLockerTopOrderNoticesendQueryData

type CainiaoEndpointLockerTopOrderNoticesendQueryData struct {
	// 用于返回淘系包裹脱密手机号用作数据核对
	GetterPhone string `json:"getter_phone,omitempty" xml:"getter_phone,omitempty"`
	// 快递公司名称
	CpName string `json:"cp_name,omitempty" xml:"cp_name,omitempty"`
	// 快递公司编码
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 裹裹发送通知消息标识,false-?非裹裹发送,true-裹裹发送
	GuoguoSendNoticeFlag bool `json:"guoguo_send_notice_flag,omitempty" xml:"guoguo_send_notice_flag,omitempty"`
	// 是否需要输入手机号,false-不需要,裹裹可以自己判断手机号,true-需要手动输入手机号
	NeedInputPhone bool `json:"need_input_phone,omitempty" xml:"need_input_phone,omitempty"`
}

CainiaoEndpointLockerTopOrderNoticesendQueryData 结构体

func GetCainiaoEndpointLockerTopOrderNoticesendQueryData added in v1.3.4

func GetCainiaoEndpointLockerTopOrderNoticesendQueryData() *CainiaoEndpointLockerTopOrderNoticesendQueryData

GetCainiaoEndpointLockerTopOrderNoticesendQueryData() 从对象池中获取CainiaoEndpointLockerTopOrderNoticesendQueryData

type CainiaoEndpointLockerTopOrderTrackingNewAPIRequest added in v1.2.0

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

CainiaoEndpointLockerTopOrderTrackingNewAPIRequest 事件回传接口 API请求 cainiao.endpoint.locker.top.order.tracking.new

用于合作公司通知入站、出站信息到菜鸟,共定义了5个操作,1个投件操作,3个取件操作,1个超时提醒。

func GetCainiaoEndpointLockerTopOrderTrackingNewAPIRequest added in v1.3.4

func GetCainiaoEndpointLockerTopOrderTrackingNewAPIRequest() *CainiaoEndpointLockerTopOrderTrackingNewAPIRequest

GetCainiaoEndpointLockerTopOrderTrackingNewRequest 从 sync.Pool 获取 CainiaoEndpointLockerTopOrderTrackingNewAPIRequest

func NewCainiaoEndpointLockerTopOrderTrackingNewRequest

func NewCainiaoEndpointLockerTopOrderTrackingNewRequest() *CainiaoEndpointLockerTopOrderTrackingNewAPIRequest

NewCainiaoEndpointLockerTopOrderTrackingNewRequest 初始化CainiaoEndpointLockerTopOrderTrackingNewAPIRequest对象

func (CainiaoEndpointLockerTopOrderTrackingNewAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoEndpointLockerTopOrderTrackingNewAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoEndpointLockerTopOrderTrackingNewAPIRequest) GetRawParams added in v1.2.8

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

func (CainiaoEndpointLockerTopOrderTrackingNewAPIRequest) GetTrackInfo added in v1.2.0

GetTrackInfo TrackInfo Getter

func (*CainiaoEndpointLockerTopOrderTrackingNewAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*CainiaoEndpointLockerTopOrderTrackingNewAPIRequest) SetTrackInfo added in v1.2.0

SetTrackInfo is TrackInfo Setter 回传信息

type CainiaoEndpointLockerTopOrderTrackingNewAPIResponse

type CainiaoEndpointLockerTopOrderTrackingNewAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopOrderTrackingNewAPIResponseModel
}

CainiaoEndpointLockerTopOrderTrackingNewAPIResponse 事件回传接口 API返回值 cainiao.endpoint.locker.top.order.tracking.new

用于合作公司通知入站、出站信息到菜鸟,共定义了5个操作,1个投件操作,3个取件操作,1个超时提醒。

func GetCainiaoEndpointLockerTopOrderTrackingNewAPIResponse added in v1.3.4

func GetCainiaoEndpointLockerTopOrderTrackingNewAPIResponse() *CainiaoEndpointLockerTopOrderTrackingNewAPIResponse

GetCainiaoEndpointLockerTopOrderTrackingNewAPIResponse 从 sync.Pool 获取 CainiaoEndpointLockerTopOrderTrackingNewAPIResponse

func (*CainiaoEndpointLockerTopOrderTrackingNewAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type CainiaoEndpointLockerTopOrderTrackingNewAPIResponseModel added in v1.2.0

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

CainiaoEndpointLockerTopOrderTrackingNewAPIResponseModel is 事件回传接口 成功返回结果

func (*CainiaoEndpointLockerTopOrderTrackingNewAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type CainiaoEndpointLockerTopOrderWithholdAPIRequest added in v1.2.0

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

CainiaoEndpointLockerTopOrderWithholdAPIRequest 代扣支付 API请求 cainiao.endpoint.locker.top.order.withhold

提供代扣,允许有一笔欠款。

func GetCainiaoEndpointLockerTopOrderWithholdAPIRequest added in v1.3.4

func GetCainiaoEndpointLockerTopOrderWithholdAPIRequest() *CainiaoEndpointLockerTopOrderWithholdAPIRequest

GetCainiaoEndpointLockerTopOrderWithholdRequest 从 sync.Pool 获取 CainiaoEndpointLockerTopOrderWithholdAPIRequest

func NewCainiaoEndpointLockerTopOrderWithholdRequest

func NewCainiaoEndpointLockerTopOrderWithholdRequest() *CainiaoEndpointLockerTopOrderWithholdAPIRequest

NewCainiaoEndpointLockerTopOrderWithholdRequest 初始化CainiaoEndpointLockerTopOrderWithholdAPIRequest对象

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetCompanyCode added in v1.2.0

GetCompanyCode CompanyCode Getter

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetExtra added in v1.2.0

GetExtra Extra Getter

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetGuiId added in v1.2.0

GetGuiId GuiId Getter

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetMailNo added in v1.2.0

GetMailNo MailNo Getter

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetOpenUserId added in v1.2.0

GetOpenUserId OpenUserId Getter

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetOrderCode added in v1.2.0

GetOrderCode OrderCode Getter

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetOrderType added in v1.2.0

GetOrderType OrderType Getter

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetRawParams added in v1.2.8

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

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetTotalFee added in v1.2.0

GetTotalFee TotalFee Getter

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetCompanyCode added in v1.2.0

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

SetCompanyCode is CompanyCode Setter 柜子公司编码

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetExtra added in v1.2.0

SetExtra is Extra Setter 扩展字段

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetGuiId added in v1.2.0

SetGuiId is GuiId Setter 柜子id

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetMailNo added in v1.2.0

SetMailNo is MailNo Setter 运单号

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetOpenUserId added in v1.2.0

func (r *CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetOpenUserId(_openUserId string) error

SetOpenUserId is OpenUserId Setter 开放用户id

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetOrderCode added in v1.2.0

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

SetOrderCode is OrderCode Setter 柜子订单编码

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetOrderType added in v1.2.0

func (r *CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetOrderType(_orderType int64) error

SetOrderType is OrderType Setter 订单类型(0-取件业务,1-寄件业务,2-派样业务)

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetTotalFee added in v1.2.0

SetTotalFee is TotalFee Setter 代扣金额(全额),单位:分

type CainiaoEndpointLockerTopOrderWithholdAPIResponse

type CainiaoEndpointLockerTopOrderWithholdAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopOrderWithholdAPIResponseModel
}

CainiaoEndpointLockerTopOrderWithholdAPIResponse 代扣支付 API返回值 cainiao.endpoint.locker.top.order.withhold

提供代扣,允许有一笔欠款。

func GetCainiaoEndpointLockerTopOrderWithholdAPIResponse added in v1.3.4

func GetCainiaoEndpointLockerTopOrderWithholdAPIResponse() *CainiaoEndpointLockerTopOrderWithholdAPIResponse

GetCainiaoEndpointLockerTopOrderWithholdAPIResponse 从 sync.Pool 获取 CainiaoEndpointLockerTopOrderWithholdAPIResponse

func (*CainiaoEndpointLockerTopOrderWithholdAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type CainiaoEndpointLockerTopOrderWithholdAPIResponseModel added in v1.2.0

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

CainiaoEndpointLockerTopOrderWithholdAPIResponseModel is 代扣支付 成功返回结果

func (*CainiaoEndpointLockerTopOrderWithholdAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type CainiaoEndpointLockerTopStationAddorupdateAPIRequest added in v1.2.0

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

CainiaoEndpointLockerTopStationAddorupdateAPIRequest 增加更新代收点 API请求 cainiao.endpoint.locker.top.station.addorupdate

新增或者修改代收点相关信息

func GetCainiaoEndpointLockerTopStationAddorupdateAPIRequest added in v1.3.4

func GetCainiaoEndpointLockerTopStationAddorupdateAPIRequest() *CainiaoEndpointLockerTopStationAddorupdateAPIRequest

GetCainiaoEndpointLockerTopStationAddorupdateRequest 从 sync.Pool 获取 CainiaoEndpointLockerTopStationAddorupdateAPIRequest

func NewCainiaoEndpointLockerTopStationAddorupdateRequest

func NewCainiaoEndpointLockerTopStationAddorupdateRequest() *CainiaoEndpointLockerTopStationAddorupdateAPIRequest

NewCainiaoEndpointLockerTopStationAddorupdateRequest 初始化CainiaoEndpointLockerTopStationAddorupdateAPIRequest对象

func (CainiaoEndpointLockerTopStationAddorupdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoEndpointLockerTopStationAddorupdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoEndpointLockerTopStationAddorupdateAPIRequest) GetRawParams added in v1.2.8

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

func (CainiaoEndpointLockerTopStationAddorupdateAPIRequest) GetStationInfo added in v1.2.0

GetStationInfo StationInfo Getter

func (*CainiaoEndpointLockerTopStationAddorupdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*CainiaoEndpointLockerTopStationAddorupdateAPIRequest) SetStationInfo added in v1.2.0

SetStationInfo is StationInfo Setter 站点信息

type CainiaoEndpointLockerTopStationAddorupdateAPIResponse

type CainiaoEndpointLockerTopStationAddorupdateAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopStationAddorupdateAPIResponseModel
}

CainiaoEndpointLockerTopStationAddorupdateAPIResponse 增加更新代收点 API返回值 cainiao.endpoint.locker.top.station.addorupdate

新增或者修改代收点相关信息

func GetCainiaoEndpointLockerTopStationAddorupdateAPIResponse added in v1.3.4

func GetCainiaoEndpointLockerTopStationAddorupdateAPIResponse() *CainiaoEndpointLockerTopStationAddorupdateAPIResponse

GetCainiaoEndpointLockerTopStationAddorupdateAPIResponse 从 sync.Pool 获取 CainiaoEndpointLockerTopStationAddorupdateAPIResponse

func (*CainiaoEndpointLockerTopStationAddorupdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type CainiaoEndpointLockerTopStationAddorupdateAPIResponseModel added in v1.2.0

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

CainiaoEndpointLockerTopStationAddorupdateAPIResponseModel is 增加更新代收点 成功返回结果

func (*CainiaoEndpointLockerTopStationAddorupdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type CainiaoEndpointLockerTopWithholdQueryAPIRequest added in v1.2.0

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

CainiaoEndpointLockerTopWithholdQueryAPIRequest 查询能否代扣 API请求 cainiao.endpoint.locker.top.withhold.query

查询是否有代扣欠款,是否签署代扣协议。

func GetCainiaoEndpointLockerTopWithholdQueryAPIRequest added in v1.3.4

func GetCainiaoEndpointLockerTopWithholdQueryAPIRequest() *CainiaoEndpointLockerTopWithholdQueryAPIRequest

GetCainiaoEndpointLockerTopWithholdQueryRequest 从 sync.Pool 获取 CainiaoEndpointLockerTopWithholdQueryAPIRequest

func NewCainiaoEndpointLockerTopWithholdQueryRequest

func NewCainiaoEndpointLockerTopWithholdQueryRequest() *CainiaoEndpointLockerTopWithholdQueryAPIRequest

NewCainiaoEndpointLockerTopWithholdQueryRequest 初始化CainiaoEndpointLockerTopWithholdQueryAPIRequest对象

func (CainiaoEndpointLockerTopWithholdQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoEndpointLockerTopWithholdQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoEndpointLockerTopWithholdQueryAPIRequest) GetCompanyCode added in v1.2.0

GetCompanyCode CompanyCode Getter

func (CainiaoEndpointLockerTopWithholdQueryAPIRequest) GetOpenUserId added in v1.2.0

GetOpenUserId OpenUserId Getter

func (CainiaoEndpointLockerTopWithholdQueryAPIRequest) GetOrderType added in v1.2.0

GetOrderType OrderType Getter

func (CainiaoEndpointLockerTopWithholdQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*CainiaoEndpointLockerTopWithholdQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*CainiaoEndpointLockerTopWithholdQueryAPIRequest) SetCompanyCode added in v1.2.0

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

SetCompanyCode is CompanyCode Setter 柜子公司编码

func (*CainiaoEndpointLockerTopWithholdQueryAPIRequest) SetOpenUserId added in v1.2.0

func (r *CainiaoEndpointLockerTopWithholdQueryAPIRequest) SetOpenUserId(_openUserId string) error

SetOpenUserId is OpenUserId Setter 开放用户Id

func (*CainiaoEndpointLockerTopWithholdQueryAPIRequest) SetOrderType added in v1.2.0

func (r *CainiaoEndpointLockerTopWithholdQueryAPIRequest) SetOrderType(_orderType int64) error

SetOrderType is OrderType Setter 柜子业务:0-取件业务,1-寄件业务,2-派样业务,3-小件员约柜(在约期内仅能使用一次)4-小件员租柜(在约期内可反复使用)

type CainiaoEndpointLockerTopWithholdQueryAPIResponse

type CainiaoEndpointLockerTopWithholdQueryAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopWithholdQueryAPIResponseModel
}

CainiaoEndpointLockerTopWithholdQueryAPIResponse 查询能否代扣 API返回值 cainiao.endpoint.locker.top.withhold.query

查询是否有代扣欠款,是否签署代扣协议。

func GetCainiaoEndpointLockerTopWithholdQueryAPIResponse added in v1.3.4

func GetCainiaoEndpointLockerTopWithholdQueryAPIResponse() *CainiaoEndpointLockerTopWithholdQueryAPIResponse

GetCainiaoEndpointLockerTopWithholdQueryAPIResponse 从 sync.Pool 获取 CainiaoEndpointLockerTopWithholdQueryAPIResponse

func (*CainiaoEndpointLockerTopWithholdQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type CainiaoEndpointLockerTopWithholdQueryAPIResponseModel added in v1.2.0

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

CainiaoEndpointLockerTopWithholdQueryAPIResponseModel is 查询能否代扣 成功返回结果

func (*CainiaoEndpointLockerTopWithholdQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type CainiaoGuoguoWaybillGetAPIRequest added in v1.2.9

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

CainiaoGuoguoWaybillGetAPIRequest 菜鸟裹裹商家寄件取号接口 API请求 cainiao.guoguo.waybill.get

菜鸟裹裹商家寄件取号接口

func GetCainiaoGuoguoWaybillGetAPIRequest added in v1.3.4

func GetCainiaoGuoguoWaybillGetAPIRequest() *CainiaoGuoguoWaybillGetAPIRequest

GetCainiaoGuoguoWaybillGetRequest 从 sync.Pool 获取 CainiaoGuoguoWaybillGetAPIRequest

func NewCainiaoGuoguoWaybillGetRequest added in v1.2.9

func NewCainiaoGuoguoWaybillGetRequest() *CainiaoGuoguoWaybillGetAPIRequest

NewCainiaoGuoguoWaybillGetRequest 初始化CainiaoGuoguoWaybillGetAPIRequest对象

func (CainiaoGuoguoWaybillGetAPIRequest) GetApiMethodName added in v1.2.9

func (r CainiaoGuoguoWaybillGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoGuoguoWaybillGetAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoGuoguoWaybillGetAPIRequest) GetParamWaybillCloudPrintApplyNewRequest added in v1.2.9

func (r CainiaoGuoguoWaybillGetAPIRequest) GetParamWaybillCloudPrintApplyNewRequest() *WaybillCloudPrintApplyNewRequest

GetParamWaybillCloudPrintApplyNewRequest ParamWaybillCloudPrintApplyNewRequest Getter

func (CainiaoGuoguoWaybillGetAPIRequest) GetRawParams added in v1.2.9

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

func (*CainiaoGuoguoWaybillGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*CainiaoGuoguoWaybillGetAPIRequest) SetParamWaybillCloudPrintApplyNewRequest added in v1.2.9

func (r *CainiaoGuoguoWaybillGetAPIRequest) SetParamWaybillCloudPrintApplyNewRequest(_paramWaybillCloudPrintApplyNewRequest *WaybillCloudPrintApplyNewRequest) error

SetParamWaybillCloudPrintApplyNewRequest is ParamWaybillCloudPrintApplyNewRequest Setter 入参信息

type CainiaoGuoguoWaybillGetAPIResponse added in v1.2.9

type CainiaoGuoguoWaybillGetAPIResponse struct {
	model.CommonResponse
	CainiaoGuoguoWaybillGetAPIResponseModel
}

CainiaoGuoguoWaybillGetAPIResponse 菜鸟裹裹商家寄件取号接口 API返回值 cainiao.guoguo.waybill.get

菜鸟裹裹商家寄件取号接口

func GetCainiaoGuoguoWaybillGetAPIResponse added in v1.3.4

func GetCainiaoGuoguoWaybillGetAPIResponse() *CainiaoGuoguoWaybillGetAPIResponse

GetCainiaoGuoguoWaybillGetAPIResponse 从 sync.Pool 获取 CainiaoGuoguoWaybillGetAPIResponse

func (*CainiaoGuoguoWaybillGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type CainiaoGuoguoWaybillGetAPIResponseModel added in v1.2.9

type CainiaoGuoguoWaybillGetAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_guoguo_waybill_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Modules []WaybillCloudPrintNewResponse `json:"modules,omitempty" xml:"modules>waybill_cloud_print_new_response,omitempty"`
}

CainiaoGuoguoWaybillGetAPIResponseModel is 菜鸟裹裹商家寄件取号接口 成功返回结果

func (*CainiaoGuoguoWaybillGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest added in v1.2.0

type CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest struct {
	model.Params
}

CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest 服务质量反馈编码列表 API请求 cainiao.nbadd.appointdeliver.feedbackcodes

服务质量反馈编码列表,建议获取数据后缓存在本地,定时刷新即可

func GetCainiaoNbaddAppointdeliverFeedbackcodesAPIRequest added in v1.3.4

func GetCainiaoNbaddAppointdeliverFeedbackcodesAPIRequest() *CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest

GetCainiaoNbaddAppointdeliverFeedbackcodesRequest 从 sync.Pool 获取 CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest

func NewCainiaoNbaddAppointdeliverFeedbackcodesRequest

func NewCainiaoNbaddAppointdeliverFeedbackcodesRequest() *CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest

NewCainiaoNbaddAppointdeliverFeedbackcodesRequest 初始化CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest对象

func (CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest) GetRawParams added in v1.2.8

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

func (*CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

type CainiaoNbaddAppointdeliverFeedbackcodesAPIResponse

type CainiaoNbaddAppointdeliverFeedbackcodesAPIResponse struct {
	model.CommonResponse
	CainiaoNbaddAppointdeliverFeedbackcodesAPIResponseModel
}

CainiaoNbaddAppointdeliverFeedbackcodesAPIResponse 服务质量反馈编码列表 API返回值 cainiao.nbadd.appointdeliver.feedbackcodes

服务质量反馈编码列表,建议获取数据后缓存在本地,定时刷新即可

func GetCainiaoNbaddAppointdeliverFeedbackcodesAPIResponse added in v1.3.4

func GetCainiaoNbaddAppointdeliverFeedbackcodesAPIResponse() *CainiaoNbaddAppointdeliverFeedbackcodesAPIResponse

GetCainiaoNbaddAppointdeliverFeedbackcodesAPIResponse 从 sync.Pool 获取 CainiaoNbaddAppointdeliverFeedbackcodesAPIResponse

func (*CainiaoNbaddAppointdeliverFeedbackcodesAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type CainiaoNbaddAppointdeliverFeedbackcodesAPIResponseModel added in v1.2.0

type CainiaoNbaddAppointdeliverFeedbackcodesAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_nbadd_appointdeliver_feedbackcodes_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的具体数据
	ResultList []FeedbackCodeDto `json:"result_list,omitempty" xml:"result_list>feedback_code_dto,omitempty"`
	// 错误描述
	ResultDesc string `json:"result_desc,omitempty" xml:"result_desc,omitempty"`
	// 错误编码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 接口调用是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

CainiaoNbaddAppointdeliverFeedbackcodesAPIResponseModel is 服务质量反馈编码列表 成功返回结果

func (*CainiaoNbaddAppointdeliverFeedbackcodesAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest added in v1.2.0

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

CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest 查询外部小件员休息 API请求 cainiao.nborderfront.user.outside.queryoutsideuser

采用SPI方式查询外部公司的小件员信息

func GetCainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest added in v1.3.4

func GetCainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest() *CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest

GetCainiaoNborderfrontUserOutsideQueryoutsideuserRequest 从 sync.Pool 获取 CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest

func NewCainiaoNborderfrontUserOutsideQueryoutsideuserRequest

func NewCainiaoNborderfrontUserOutsideQueryoutsideuserRequest() *CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest

NewCainiaoNborderfrontUserOutsideQueryoutsideuserRequest 初始化CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest对象

func (CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest) GetCpCode added in v1.2.0

GetCpCode CpCode Getter

func (CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest) GetCpUserId added in v1.2.0

GetCpUserId CpUserId Getter

func (CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest) GetRawParams added in v1.2.8

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

func (*CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest) SetCpCode added in v1.2.0

SetCpCode is CpCode Setter cpcode

func (*CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest) SetCpUserId added in v1.2.0

SetCpUserId is CpUserId Setter cp小件员ID

type CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse

type CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse struct {
	model.CommonResponse
	CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponseModel
}

CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse 查询外部小件员休息 API返回值 cainiao.nborderfront.user.outside.queryoutsideuser

采用SPI方式查询外部公司的小件员信息

func GetCainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse added in v1.3.4

func GetCainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse() *CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse

GetCainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse 从 sync.Pool 获取 CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse

func (*CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponseModel added in v1.2.0

type CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_nborderfront_user_outside_queryoutsideuser_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回错误编码
	RespCode string `json:"resp_code,omitempty" xml:"resp_code,omitempty"`
	// userInfo
	UserInfo *CainiaoNborderfrontUserOutsideQueryoutsideuserStruct `json:"user_info,omitempty" xml:"user_info,omitempty"`
}

CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponseModel is 查询外部小件员休息 成功返回结果

func (*CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type CainiaoNborderfrontUserOutsideQueryoutsideuserStruct

type CainiaoNborderfrontUserOutsideQueryoutsideuserStruct struct {
	// cpUserId
	CpUserId string `json:"cp_user_id,omitempty" xml:"cp_user_id,omitempty"`
	// cpCode
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 站点名称
	WorkStationName string `json:"work_station_name,omitempty" xml:"work_station_name,omitempty"`
	// 站点编码
	WorkStationCode string `json:"work_station_code,omitempty" xml:"work_station_code,omitempty"`
	// 支付宝账号
	AlipayAccount string `json:"alipay_account,omitempty" xml:"alipay_account,omitempty"`
	// 户名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 手机
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 杭州
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 321000
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
}

CainiaoNborderfrontUserOutsideQueryoutsideuserStruct 结构体

func GetCainiaoNborderfrontUserOutsideQueryoutsideuserStruct added in v1.3.4

func GetCainiaoNborderfrontUserOutsideQueryoutsideuserStruct() *CainiaoNborderfrontUserOutsideQueryoutsideuserStruct

GetCainiaoNborderfrontUserOutsideQueryoutsideuserStruct() 从对象池中获取CainiaoNborderfrontUserOutsideQueryoutsideuserStruct

type CollectTrackingInfo

type CollectTrackingInfo struct {
	// 站点id
	StationId string `json:"station_id,omitempty" xml:"station_id,omitempty"`
	// 订单对应的取件人电话
	GetterPhone string `json:"getter_phone,omitempty" xml:"getter_phone,omitempty"`
	// 订单对应的投件人电话
	PostPhone string `json:"post_phone,omitempty" xml:"post_phone,omitempty"`
	// 扩展数据(JSON格式的键值对),如果是取件码取件,请返回取件使用的取件码
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 站点编码
	StationNo string `json:"station_no,omitempty" xml:"station_no,omitempty"`
	// 运单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 动作编码
	ActionCode string `json:"action_code,omitempty" xml:"action_code,omitempty"`
	// 站点订单编码
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 快递公司编号
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 订单类型(0-代收业务)
	OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 动作发生时间戳,单位:毫秒
	ActionTime int64 `json:"action_time,omitempty" xml:"action_time,omitempty"`
}

CollectTrackingInfo 结构体

func GetCollectTrackingInfo added in v1.3.4

func GetCollectTrackingInfo() *CollectTrackingInfo

GetCollectTrackingInfo() 从对象池中获取CollectTrackingInfo

type FeedbackCodeDto

type FeedbackCodeDto struct {
	// 异常反馈编码
	FeedbackCode string `json:"feedback_code,omitempty" xml:"feedback_code,omitempty"`
	// 异常反馈编码描述
	FeedbackDesc string `json:"feedback_desc,omitempty" xml:"feedback_desc,omitempty"`
}

FeedbackCodeDto 结构体

func GetFeedbackCodeDto added in v1.3.4

func GetFeedbackCodeDto() *FeedbackCodeDto

GetFeedbackCodeDto() 从对象池中获取FeedbackCodeDto

type Item added in v1.2.9

type Item struct {
	// 名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 数量
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
}

Item 结构体

func GetItem added in v1.3.4

func GetItem() *Item

GetItem() 从对象池中获取Item

type OrderInfoDto added in v1.2.9

type OrderInfoDto struct {
	// 外部电商平台交易子单号集合,非必填,数量限制100
	OutTradeSubOrderList []string `json:"out_trade_sub_order_list,omitempty" xml:"out_trade_sub_order_list>string,omitempty"`
	// 外部电商平台交易单号集合,非必填,数量限制100
	OutTradeOrderList []string `json:"out_trade_order_list,omitempty" xml:"out_trade_order_list>string,omitempty"`
	// 订单号,数量限制100,订单号(只限传入数字、字母、下划线和中划线,为避免出现冲突,请按电商平台真实订单号传入,请避免使用同个订单号重复取号)
	TradeOrderList []string `json:"trade_order_list,omitempty" xml:"trade_order_list>string,omitempty"`
	// <a href="http://open.taobao.com/doc2/detail.htm?spm=a219a.7629140.0.0.8cf9Nj&treeId=17&articleId=105085&docType=1#2">订单渠道平台编码</a>
	OrderChannelsType string `json:"order_channels_type,omitempty" xml:"order_channels_type,omitempty"`
}

OrderInfoDto 结构体

func GetOrderInfoDto added in v1.3.4

func GetOrderInfoDto() *OrderInfoDto

GetOrderInfoDto() 从对象池中获取OrderInfoDto

type PackageInfoDto added in v1.2.9

type PackageInfoDto struct {
	// 商品信息,数量限制为100
	Items []Item `json:"items,omitempty" xml:"items>item,omitempty"`
	// 大件快运中的包装方式描述
	PackagingDescription string `json:"packaging_description,omitempty" xml:"packaging_description,omitempty"`
	// 包裹id,用于拆合单场景(只能传入数字、字母和下划线;批量请求时值不得重复,大小写敏感,即123A,123a 不可当做不同ID,否则存在一定可能取号失败)
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 大件快运中的货品描述,比如服装,家具。 顺丰取号必须传此参数
	GoodsDescription string `json:"goods_description,omitempty" xml:"goods_description,omitempty"`
	// 物品价值,单位元
	GoodValue string `json:"good_value,omitempty" xml:"good_value,omitempty"`
	// 包裹长,单位厘米
	Length int64 `json:"length,omitempty" xml:"length,omitempty"`
	// 重量,单位 g
	Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"`
	// 子母件模式中的总包裹数/总件数,用于打印当前包裹处于总件数的位置比如5-2,可以表示总包裹数为5,当前为第2个包裹,只有快运公司需要传入,其他的可以不用传入
	TotalPackagesCount int64 `json:"total_packages_count,omitempty" xml:"total_packages_count,omitempty"`
	// 体积, 单位 ml
	Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"`
	// 包裹宽,单位厘米
	Width int64 `json:"width,omitempty" xml:"width,omitempty"`
	// 包裹高,单位厘米
	Height int64 `json:"height,omitempty" xml:"height,omitempty"`
}

PackageInfoDto 结构体

func GetPackageInfoDto added in v1.3.4

func GetPackageInfoDto() *PackageInfoDto

GetPackageInfoDto() 从对象池中获取PackageInfoDto

type SingleResult

type SingleResult struct {
	// 错误描述
	ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"`
	// 参照返回码定义列表
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// data
	Data *CainiaoEndpointLockerTopOrderNoticesendQueryData `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

SingleResult 结构体

func GetSingleResult added in v1.3.4

func GetSingleResult() *SingleResult

GetSingleResult() 从对象池中获取SingleResult

type StationInfo

type StationInfo struct {
	// 邮编
	Zip string `json:"zip,omitempty" xml:"zip,omitempty"`
	// 站点经度
	StationLng string `json:"station_lng,omitempty" xml:"station_lng,omitempty"`
	// 站点详细地址
	StationAddr string `json:"station_addr,omitempty" xml:"station_addr,omitempty"`
	// 站点id
	StationId string `json:"station_id,omitempty" xml:"station_id,omitempty"`
	// 站点名字
	StationName string `json:"station_name,omitempty" xml:"station_name,omitempty"`
	// 小区
	HousingEstate string `json:"housing_estate,omitempty" xml:"housing_estate,omitempty"`
	// 站点编码
	StationNo string `json:"station_no,omitempty" xml:"station_no,omitempty"`
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 站点照片url
	ImgUrl string `json:"img_url,omitempty" xml:"img_url,omitempty"`
	// 站点纬度
	StationLat string `json:"station_lat,omitempty" xml:"station_lat,omitempty"`
	// 省份
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 坐标类型,MARS-火星坐标(高德坐标),BAIDU-百度坐标,GPS-GPS坐标
	CoordType string `json:"coord_type,omitempty" xml:"coord_type,omitempty"`
	// 街道
	Town string `json:"town,omitempty" xml:"town,omitempty"`
	// 区县
	District string `json:"district,omitempty" xml:"district,omitempty"`
	// 站点服务能力描述
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 站点联系方式
	Contact string `json:"contact,omitempty" xml:"contact,omitempty"`
	// 0-上线,1-下线
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 站点类型:100-代收点
	StationType int64 `json:"station_type,omitempty" xml:"station_type,omitempty"`
}

StationInfo 结构体

func GetStationInfo added in v1.3.4

func GetStationInfo() *StationInfo

GetStationInfo() 从对象池中获取StationInfo

type TradeOrderInfoDto added in v1.2.9

type TradeOrderInfoDto struct {
	// 物流服务值(详见https://support-cnkuaidi.taobao.com/doc.htm#?docId=106156&docType=1,如无特殊服务请置空)
	LogisticsServices string `json:"logistics_services,omitempty" xml:"logistics_services,omitempty"`
	// 带面单号模式取号,目前仅顺丰支持
	WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"`
	// 云打印标准模板URL(组装云打印结果使用,值格式http://cloudprint.cainiao.com/template/standard/${模板ID})
	TemplateUrl string `json:"template_url,omitempty" xml:"template_url,omitempty"`
	// <a href="http://open.taobao.com/docs/doc.htm?docType=1&articleId=105086&treeId=17&platformId=17#6">请求ID</a>
	ObjectId string `json:"object_id,omitempty" xml:"object_id,omitempty"`
	// 收件人信息
	Recipient *UserInfoDto `json:"recipient,omitempty" xml:"recipient,omitempty"`
	// 订单信息
	OrderInfo *OrderInfoDto `json:"order_info,omitempty" xml:"order_info,omitempty"`
	// 包裹信息
	PackageInfo *PackageInfoDto `json:"package_info,omitempty" xml:"package_info,omitempty"`
	// 使用者ID(使用电子面单账号的实际商家ID,如存在一个电子面单账号多个店铺使用时,请传入店铺的商家ID)
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

TradeOrderInfoDto 结构体

func GetTradeOrderInfoDto added in v1.3.4

func GetTradeOrderInfoDto() *TradeOrderInfoDto

GetTradeOrderInfoDto() 从对象池中获取TradeOrderInfoDto

type UserInfoDto added in v1.2.9

type UserInfoDto struct {
	// 手机号码(手机号和固定电话不能同时为空),长度小于20
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 姓名,长度小于40
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 固定电话(手机号和固定电话不能同时为空),长度小于20
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 菜鸟解密地址ID,用于电商平台收件人信息加密的场景使用,非订单加密场景请勿使用。
	Caid string `json:"caid,omitempty" xml:"caid,omitempty"`
	// 淘宝订单收件人ID (Open Addressee ID),长度不超过128个字符,淘宝订单加密情况用于解密。
	Oaid string `json:"oaid,omitempty" xml:"oaid,omitempty"`
	// 电商平台真实交易订单号,针对电商平台订单隐私加密场景使用,非必填,如果填写则必须是电商平台真实的交易订单ID
	Tid string `json:"tid,omitempty" xml:"tid,omitempty"`
	// 发货地址需要通过<a href="http://open.taobao.com/doc2/detail.htm?spm=a219a.7629140.0.0.3OFCPk&treeId=17&articleId=104860&docType=1">search接口</a>
	Address *AddressDto `json:"address,omitempty" xml:"address,omitempty"`
}

UserInfoDto 结构体

func GetUserInfoDto added in v1.3.4

func GetUserInfoDto() *UserInfoDto

GetUserInfoDto() 从对象池中获取UserInfoDto

type WaybillCloudPrintApplyNewRequest added in v1.2.9

type WaybillCloudPrintApplyNewRequest struct {
	// 请求面单信息,数量限制为10
	TradeOrderInfoDtos []TradeOrderInfoDto `json:"trade_order_info_dtos,omitempty" xml:"trade_order_info_dtos>trade_order_info_dto,omitempty"`
	// <a href="http://open.taobao.com/doc2/detail.htm?spm=a219a.7629140.0.0.8cf9Nj&treeId=17&articleId=105085&docType=1#1">物流公司Code</a>,长度小于20
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 预约上门截止时间
	DoorPickUpEndTime string `json:"door_pick_up_end_time,omitempty" xml:"door_pick_up_end_time,omitempty"`
	// 月结卡号
	CustomerCode string `json:"customer_code,omitempty" xml:"customer_code,omitempty"`
	// 寄件网点编码
	ShippingBranchCode string `json:"shipping_branch_code,omitempty" xml:"shipping_branch_code,omitempty"`
	// 目前仅顺丰支持此字段,传入快递产品编码
	ProductCode string `json:"product_code,omitempty" xml:"product_code,omitempty"`
	// 配送资源code, 仓库WMS系统对接落地配业务,其它场景请不要使用
	ResourceCode string `json:"resource_code,omitempty" xml:"resource_code,omitempty"`
	// 预约上门截止时间
	DoorPickUpTime string `json:"door_pick_up_time,omitempty" xml:"door_pick_up_time,omitempty"`
	// 品牌编码
	BrandCode string `json:"brand_code,omitempty" xml:"brand_code,omitempty"`
	// 扩展参数
	ExtraInfo string `json:"extra_info,omitempty" xml:"extra_info,omitempty"`
	// 仓code, 仓库WMS系统对接落地配业务,其它场景请不要使用
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 发货人信息
	Sender *UserInfoDto `json:"sender,omitempty" xml:"sender,omitempty"`
	// 订单上是否带3PLtiming属性, 该属性需要严格与订单上属性保持一致,如果不确定,请使用默认false。
	ThreePlTiming bool `json:"three_pl_timing,omitempty" xml:"three_pl_timing,omitempty"`
	// 设定取号返回的云打印报文是否加密
	NeedEncrypt bool `json:"need_encrypt,omitempty" xml:"need_encrypt,omitempty"`
	// 是否使用智分宝预分拣, 仓库WMS系统对接落地配业务,其它场景请不要使用
	DmsSorting bool `json:"dms_sorting,omitempty" xml:"dms_sorting,omitempty"`
	// 快递公司支持一票多件,快运公司子母件请勿使用该参数
	MultiPackagesShipment bool `json:"multi_packages_shipment,omitempty" xml:"multi_packages_shipment,omitempty"`
	// 是否预约上门
	CallDoorPickUp bool `json:"call_door_pick_up,omitempty" xml:"call_door_pick_up,omitempty"`
}

WaybillCloudPrintApplyNewRequest 结构体

func GetWaybillCloudPrintApplyNewRequest added in v1.3.4

func GetWaybillCloudPrintApplyNewRequest() *WaybillCloudPrintApplyNewRequest

GetWaybillCloudPrintApplyNewRequest() 从对象池中获取WaybillCloudPrintApplyNewRequest

type WaybillCloudPrintNewResponse added in v1.2.9

type WaybillCloudPrintNewResponse struct {
	// 云打印内容(encryptedData表示加密结果,data表示非加密结果);模板内容,具体解释见<a href="http://open.taobao.com/doc2/detail.htm?spm=a219a.7629140.0.0.8cf9Nj&treeId=17&articleId=105085&docType=1#12">链接</a>
	PrintData string `json:"print_data,omitempty" xml:"print_data,omitempty"`
	// 面单号, 子母件模式下为子面单号
	WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"`
	// 子母件中的母单号,当为子母件模式时,需要此单号为实际挂载物流详情的单号,需要使用此单号进行发货,查询物流详情,非子母件,此字段为空
	ParentWaybillCode string `json:"parent_waybill_code,omitempty" xml:"parent_waybill_code,omitempty"`
	// 拓展信息,特殊场景下使用
	ExtraInfo string `json:"extra_info,omitempty" xml:"extra_info,omitempty"`
	// cp_code,跟入参传入的cp_code保持一致
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 真实取号的cp_code,在菜鸟裹裹商家寄件等虚拟cp的场景中real_cp_code和入参中的cp_code不一样,其他场景二者一样
	RealCpCode string `json:"real_cp_code,omitempty" xml:"real_cp_code,omitempty"`
	// 请求id
	ObjectId string `json:"object_id,omitempty" xml:"object_id,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 本单请求是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

WaybillCloudPrintNewResponse 结构体

func GetWaybillCloudPrintNewResponse added in v1.3.4

func GetWaybillCloudPrintNewResponse() *WaybillCloudPrintNewResponse

GetWaybillCloudPrintNewResponse() 从对象池中获取WaybillCloudPrintNewResponse

Jump to

Keyboard shortcuts

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