cainiaolocker

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Overview

菜鸟裹裹API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

Get MailNo Getter

func (CainiaoEndpointLockerTopOrderNoticeAPIRequest) GetOrderCode added in v1.2.0

Get OrderCode Getter

func (CainiaoEndpointLockerTopOrderNoticeAPIRequest) GetSceneCode added in v1.2.0

Get SceneCode Getter

func (CainiaoEndpointLockerTopOrderNoticeAPIRequest) GetStationId added in v1.2.0

Get StationId Getter

func (*CainiaoEndpointLockerTopOrderNoticeAPIRequest) SetMailNo added in v1.2.0

Set is MailNo Setter 运单号

func (*CainiaoEndpointLockerTopOrderNoticeAPIRequest) SetOrderCode added in v1.2.0

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

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

func (*CainiaoEndpointLockerTopOrderNoticeAPIRequest) SetSceneCode added in v1.2.0

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

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

func (*CainiaoEndpointLockerTopOrderNoticeAPIRequest) SetStationId added in v1.2.0

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

Set is StationId Setter 站点ID

type CainiaoEndpointLockerTopOrderNoticeAPIResponse

type CainiaoEndpointLockerTopOrderNoticeAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopOrderNoticeAPIResponseModel
}
CainiaoEndpointLockerTopOrderNoticeAPIResponse

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

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

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 手动触发发短信 成功返回结果

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

Get GetterPhone Getter

func (CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) GetMailNo added in v1.2.0

Get MailNo Getter

func (CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) GetStationId added in v1.2.0

Get StationId Getter

func (*CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) SetGetterPhone added in v1.2.0

Set is GetterPhone Setter 收件人手机号

func (*CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) SetMailNo added in v1.2.0

Set is MailNo Setter 运单号

func (*CainiaoEndpointLockerTopOrderNoticesendQueryAPIRequest) SetStationId added in v1.2.0

Set is StationId Setter 站点id

type CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse

type CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponseModel
}
CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse

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

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

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 查询订单是否由裹裹发送消息 成功返回结果

type CainiaoEndpointLockerTopOrderNoticesendQueryData

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

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 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) GetTrackInfo added in v1.2.0

Get TrackInfo Getter

func (*CainiaoEndpointLockerTopOrderTrackingNewAPIRequest) SetTrackInfo added in v1.2.0

Set is TrackInfo Setter 回传信息

type CainiaoEndpointLockerTopOrderTrackingNewAPIResponse

type CainiaoEndpointLockerTopOrderTrackingNewAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopOrderTrackingNewAPIResponseModel
}
CainiaoEndpointLockerTopOrderTrackingNewAPIResponse

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

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

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 事件回传接口 成功返回结果

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

Get CompanyCode Getter

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetExtra added in v1.2.0

Get Extra Getter

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetGuiId added in v1.2.0

Get GuiId Getter

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetMailNo added in v1.2.0

Get MailNo Getter

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetOpenUserId added in v1.2.0

Get OpenUserId Getter

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetOrderCode added in v1.2.0

Get OrderCode Getter

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetOrderType added in v1.2.0

Get OrderType Getter

func (CainiaoEndpointLockerTopOrderWithholdAPIRequest) GetTotalFee added in v1.2.0

Get TotalFee Getter

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetCompanyCode added in v1.2.0

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

Set is CompanyCode Setter 柜子公司编码

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetExtra added in v1.2.0

Set is Extra Setter 扩展字段

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetGuiId added in v1.2.0

Set is GuiId Setter 柜子id

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetMailNo added in v1.2.0

Set is MailNo Setter 运单号

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetOpenUserId added in v1.2.0

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

Set is OpenUserId Setter 开放用户id

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetOrderCode added in v1.2.0

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

Set is OrderCode Setter 柜子订单编码

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetOrderType added in v1.2.0

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

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

func (*CainiaoEndpointLockerTopOrderWithholdAPIRequest) SetTotalFee added in v1.2.0

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

type CainiaoEndpointLockerTopOrderWithholdAPIResponse

type CainiaoEndpointLockerTopOrderWithholdAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopOrderWithholdAPIResponseModel
}
CainiaoEndpointLockerTopOrderWithholdAPIResponse

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

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

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 代扣支付 成功返回结果

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 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) GetStationInfo added in v1.2.0

Get StationInfo Getter

func (*CainiaoEndpointLockerTopStationAddorupdateAPIRequest) SetStationInfo added in v1.2.0

Set is StationInfo Setter 站点信息

type CainiaoEndpointLockerTopStationAddorupdateAPIResponse

type CainiaoEndpointLockerTopStationAddorupdateAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopStationAddorupdateAPIResponseModel
}
CainiaoEndpointLockerTopStationAddorupdateAPIResponse

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

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

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 增加更新代收点 成功返回结果

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

Get CompanyCode Getter

func (CainiaoEndpointLockerTopWithholdQueryAPIRequest) GetOpenUserId added in v1.2.0

Get OpenUserId Getter

func (CainiaoEndpointLockerTopWithholdQueryAPIRequest) GetOrderType added in v1.2.0

Get OrderType Getter

func (*CainiaoEndpointLockerTopWithholdQueryAPIRequest) SetCompanyCode added in v1.2.0

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

Set is CompanyCode Setter 柜子公司编码

func (*CainiaoEndpointLockerTopWithholdQueryAPIRequest) SetOpenUserId added in v1.2.0

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

Set is OpenUserId Setter 开放用户Id

func (*CainiaoEndpointLockerTopWithholdQueryAPIRequest) SetOrderType added in v1.2.0

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

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

type CainiaoEndpointLockerTopWithholdQueryAPIResponse

type CainiaoEndpointLockerTopWithholdQueryAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopWithholdQueryAPIResponseModel
}
CainiaoEndpointLockerTopWithholdQueryAPIResponse

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

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

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 查询能否代扣 成功返回结果

type CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest added in v1.2.0

type CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest struct {
	model.Params
}
CainiaoNbaddAppointdeliverFeedbackcodesAPIRequest

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

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

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参数

type CainiaoNbaddAppointdeliverFeedbackcodesAPIResponse

type CainiaoNbaddAppointdeliverFeedbackcodesAPIResponse struct {
	model.CommonResponse
	CainiaoNbaddAppointdeliverFeedbackcodesAPIResponseModel
}
CainiaoNbaddAppointdeliverFeedbackcodesAPIResponse

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

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

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"`
	// 错误描述
	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"`
	// 返回的具体数据
	ResultList []FeedbackCodeDto `json:"result_list,omitempty" xml:"result_list>feedback_code_dto,omitempty"`
}

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

type CainiaoNbaddAppointdeliverGetconsigninfoAPIRequest added in v1.2.0

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

获取支持定时派送服务发货信息 API请求 cainiao.nbadd.appointdeliver.getconsigninfo

获取支持定时派送服务发货信息

func NewCainiaoNbaddAppointdeliverGetconsigninfoRequest

func NewCainiaoNbaddAppointdeliverGetconsigninfoRequest() *CainiaoNbaddAppointdeliverGetconsigninfoAPIRequest

NewCainiaoNbaddAppointdeliverGetconsigninfoRequest 初始化CainiaoNbaddAppointdeliverGetconsigninfoAPIRequest对象

func (CainiaoNbaddAppointdeliverGetconsigninfoAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (CainiaoNbaddAppointdeliverGetconsigninfoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (CainiaoNbaddAppointdeliverGetconsigninfoAPIRequest) GetTradeOrderId added in v1.2.0

Get TradeOrderId Getter

func (*CainiaoNbaddAppointdeliverGetconsigninfoAPIRequest) SetTradeOrderId added in v1.2.0

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

Set is TradeOrderId Setter 淘宝交易订单id

type CainiaoNbaddAppointdeliverGetconsigninfoAPIResponse

type CainiaoNbaddAppointdeliverGetconsigninfoAPIResponse struct {
	model.CommonResponse
	CainiaoNbaddAppointdeliverGetconsigninfoAPIResponseModel
}
CainiaoNbaddAppointdeliverGetconsigninfoAPIResponse

获取支持定时派送服务发货信息 API返回值 cainiao.nbadd.appointdeliver.getconsigninfo

获取支持定时派送服务发货信息

type CainiaoNbaddAppointdeliverGetconsigninfoAPIResponseModel added in v1.2.0

type CainiaoNbaddAppointdeliverGetconsigninfoAPIResponseModel struct {
	XMLName xml.Name `xml:"cainiao_nbadd_appointdeliver_getconsigninfo_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用是否成功,正常情况下都会成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 错误编码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 错误描述
	ResultDesc string `json:"result_desc,omitempty" xml:"result_desc,omitempty"`
	// 发货信息
	Result *ConsignSupportInfoDto `json:"result,omitempty" xml:"result,omitempty"`
}

CainiaoNbaddAppointdeliverGetconsigninfoAPIResponseModel is 获取支持定时派送服务发货信息 成功返回结果

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

Get CpCode Getter

func (CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest) GetCpUserId added in v1.2.0

Get CpUserId Getter

func (*CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest) SetCpCode added in v1.2.0

Set is CpCode Setter cpcode

func (*CainiaoNborderfrontUserOutsideQueryoutsideuserAPIRequest) SetCpUserId added in v1.2.0

Set is CpUserId Setter cp小件员ID

type CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse

type CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse struct {
	model.CommonResponse
	CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponseModel
}
CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse

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

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

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 查询外部小件员休息 成功返回结果

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 结构体

type CollectTrackingInfo

type CollectTrackingInfo struct {
	// 订单类型(0-代收业务)
	OrderType int64 `json:"order_type,omitempty" xml:"order_type,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"`
	// 动作发生时间戳,单位:毫秒
	ActionTime int64 `json:"action_time,omitempty" xml:"action_time,omitempty"`
	// 运单号
	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`
	// 动作编码
	ActionCode string `json:"action_code,omitempty" xml:"action_code,omitempty"`
	// 快递公司编号
	CpCode string `json:"cp_code,omitempty" xml:"cp_code,omitempty"`
	// 站点id
	StationId string `json:"station_id,omitempty" xml:"station_id,omitempty"`
	// 站点编码
	StationNo string `json:"station_no,omitempty" xml:"station_no,omitempty"`
	// 站点订单编码
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
}

CollectTrackingInfo 结构体

type ConsignSupportInfoDto added in v1.2.0

type ConsignSupportInfoDto struct {
	// 支持CP的code列表
	SupportCpList []string `json:"support_cp_list,omitempty" xml:"support_cp_list>string,omitempty"`
}

ConsignSupportInfoDto 结构体

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 结构体

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"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// data
	Data *CainiaoEndpointLockerTopOrderNoticesendQueryData `json:"data,omitempty" xml:"data,omitempty"`
}

SingleResult 结构体

type StationInfo

type StationInfo struct {
	// 邮编
	Zip string `json:"zip,omitempty" xml:"zip,omitempty"`
	// 0-上线,1-下线
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 小区
	HousingEstate string `json:"housing_estate,omitempty" xml:"housing_estate,omitempty"`
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 站点照片url
	ImgUrl string `json:"img_url,omitempty" xml:"img_url,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"`
	// 站点类型:100-代收点
	StationType int64 `json:"station_type,omitempty" xml:"station_type,omitempty"`
	// 站点联系方式
	Contact string `json:"contact,omitempty" xml:"contact,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"`
	// 站点编码
	StationNo string `json:"station_no,omitempty" xml:"station_no,omitempty"`
	// 站点纬度
	StationLat string `json:"station_lat,omitempty" xml:"station_lat,omitempty"`
}

StationInfo 结构体

Jump to

Keyboard shortcuts

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