cainiaolocker

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 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 CainiaoEndpointLockerTopOrderNoticeAPIResponse

type CainiaoEndpointLockerTopOrderNoticeAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopOrderNoticeResponse
}

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

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

type CainiaoEndpointLockerTopOrderNoticeRequest

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

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

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

func NewCainiaoEndpointLockerTopOrderNoticeRequest

func NewCainiaoEndpointLockerTopOrderNoticeRequest() *CainiaoEndpointLockerTopOrderNoticeRequest

初始化CainiaoEndpointLockerTopOrderNoticeRequest对象

func (CainiaoEndpointLockerTopOrderNoticeRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (CainiaoEndpointLockerTopOrderNoticeRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoEndpointLockerTopOrderNoticeRequest) GetMailNo

MailNo Getter

func (CainiaoEndpointLockerTopOrderNoticeRequest) GetOrderCode

OrderCode Getter

func (CainiaoEndpointLockerTopOrderNoticeRequest) GetSceneCode

SceneCode Getter

func (CainiaoEndpointLockerTopOrderNoticeRequest) GetStationId

StationId Getter

func (*CainiaoEndpointLockerTopOrderNoticeRequest) SetMailNo

MailNo Setter 运单号

func (*CainiaoEndpointLockerTopOrderNoticeRequest) SetOrderCode

func (r *CainiaoEndpointLockerTopOrderNoticeRequest) SetOrderCode(orderCode string) error

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

func (*CainiaoEndpointLockerTopOrderNoticeRequest) SetSceneCode

func (r *CainiaoEndpointLockerTopOrderNoticeRequest) SetSceneCode(sceneCode int64) error

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

func (*CainiaoEndpointLockerTopOrderNoticeRequest) SetStationId

func (r *CainiaoEndpointLockerTopOrderNoticeRequest) SetStationId(stationId string) error

StationId Setter 站点ID

type CainiaoEndpointLockerTopOrderNoticeResponse

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

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

type CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse

type CainiaoEndpointLockerTopOrderNoticesendQueryAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopOrderNoticesendQueryResponse
}

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

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

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 CainiaoEndpointLockerTopOrderNoticesendQueryRequest

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

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

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

func NewCainiaoEndpointLockerTopOrderNoticesendQueryRequest

func NewCainiaoEndpointLockerTopOrderNoticesendQueryRequest() *CainiaoEndpointLockerTopOrderNoticesendQueryRequest

初始化CainiaoEndpointLockerTopOrderNoticesendQueryRequest对象

func (CainiaoEndpointLockerTopOrderNoticesendQueryRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (CainiaoEndpointLockerTopOrderNoticesendQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoEndpointLockerTopOrderNoticesendQueryRequest) GetGetterPhone

GetterPhone Getter

func (CainiaoEndpointLockerTopOrderNoticesendQueryRequest) GetMailNo

MailNo Getter

func (CainiaoEndpointLockerTopOrderNoticesendQueryRequest) GetStationId

StationId Getter

func (*CainiaoEndpointLockerTopOrderNoticesendQueryRequest) SetGetterPhone

func (r *CainiaoEndpointLockerTopOrderNoticesendQueryRequest) SetGetterPhone(getterPhone string) error

GetterPhone Setter 收件人手机号

func (*CainiaoEndpointLockerTopOrderNoticesendQueryRequest) SetMailNo

MailNo Setter 运单号

func (*CainiaoEndpointLockerTopOrderNoticesendQueryRequest) SetStationId

StationId Setter 站点id

type CainiaoEndpointLockerTopOrderNoticesendQueryResponse

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

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

type CainiaoEndpointLockerTopOrderTrackingNewAPIResponse

type CainiaoEndpointLockerTopOrderTrackingNewAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopOrderTrackingNewResponse
}

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

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

type CainiaoEndpointLockerTopOrderTrackingNewRequest

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

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

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

func NewCainiaoEndpointLockerTopOrderTrackingNewRequest

func NewCainiaoEndpointLockerTopOrderTrackingNewRequest() *CainiaoEndpointLockerTopOrderTrackingNewRequest

初始化CainiaoEndpointLockerTopOrderTrackingNewRequest对象

func (CainiaoEndpointLockerTopOrderTrackingNewRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (CainiaoEndpointLockerTopOrderTrackingNewRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoEndpointLockerTopOrderTrackingNewRequest) GetTrackInfo

TrackInfo Getter

func (*CainiaoEndpointLockerTopOrderTrackingNewRequest) SetTrackInfo

TrackInfo Setter 回传信息

type CainiaoEndpointLockerTopOrderTrackingNewResponse

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

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

type CainiaoEndpointLockerTopOrderWithholdAPIResponse

type CainiaoEndpointLockerTopOrderWithholdAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopOrderWithholdResponse
}

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

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

type CainiaoEndpointLockerTopOrderWithholdRequest

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

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

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

func NewCainiaoEndpointLockerTopOrderWithholdRequest

func NewCainiaoEndpointLockerTopOrderWithholdRequest() *CainiaoEndpointLockerTopOrderWithholdRequest

初始化CainiaoEndpointLockerTopOrderWithholdRequest对象

func (CainiaoEndpointLockerTopOrderWithholdRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (CainiaoEndpointLockerTopOrderWithholdRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoEndpointLockerTopOrderWithholdRequest) GetCompanyCode

CompanyCode Getter

func (CainiaoEndpointLockerTopOrderWithholdRequest) GetExtra

Extra Getter

func (CainiaoEndpointLockerTopOrderWithholdRequest) GetGuiId

GuiId Getter

func (CainiaoEndpointLockerTopOrderWithholdRequest) GetMailNo

MailNo Getter

func (CainiaoEndpointLockerTopOrderWithholdRequest) GetOpenUserId

OpenUserId Getter

func (CainiaoEndpointLockerTopOrderWithholdRequest) GetOrderCode

OrderCode Getter

func (CainiaoEndpointLockerTopOrderWithholdRequest) GetOrderType

OrderType Getter

func (CainiaoEndpointLockerTopOrderWithholdRequest) GetTotalFee

TotalFee Getter

func (*CainiaoEndpointLockerTopOrderWithholdRequest) SetCompanyCode

func (r *CainiaoEndpointLockerTopOrderWithholdRequest) SetCompanyCode(companyCode string) error

CompanyCode Setter 柜子公司编码

func (*CainiaoEndpointLockerTopOrderWithholdRequest) SetExtra

Extra Setter 扩展字段

func (*CainiaoEndpointLockerTopOrderWithholdRequest) SetGuiId

GuiId Setter 柜子id

func (*CainiaoEndpointLockerTopOrderWithholdRequest) SetMailNo

MailNo Setter 运单号

func (*CainiaoEndpointLockerTopOrderWithholdRequest) SetOpenUserId

func (r *CainiaoEndpointLockerTopOrderWithholdRequest) SetOpenUserId(openUserId string) error

OpenUserId Setter 开放用户id

func (*CainiaoEndpointLockerTopOrderWithholdRequest) SetOrderCode

func (r *CainiaoEndpointLockerTopOrderWithholdRequest) SetOrderCode(orderCode string) error

OrderCode Setter 柜子订单编码

func (*CainiaoEndpointLockerTopOrderWithholdRequest) SetOrderType

func (r *CainiaoEndpointLockerTopOrderWithholdRequest) SetOrderType(orderType int64) error

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

func (*CainiaoEndpointLockerTopOrderWithholdRequest) SetTotalFee

func (r *CainiaoEndpointLockerTopOrderWithholdRequest) SetTotalFee(totalFee int64) error

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

type CainiaoEndpointLockerTopOrderWithholdResponse

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

代扣支付 成功返回结果

type CainiaoEndpointLockerTopStationAddorupdateAPIResponse

type CainiaoEndpointLockerTopStationAddorupdateAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopStationAddorupdateResponse
}

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

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

type CainiaoEndpointLockerTopStationAddorupdateRequest

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

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

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

func NewCainiaoEndpointLockerTopStationAddorupdateRequest

func NewCainiaoEndpointLockerTopStationAddorupdateRequest() *CainiaoEndpointLockerTopStationAddorupdateRequest

初始化CainiaoEndpointLockerTopStationAddorupdateRequest对象

func (CainiaoEndpointLockerTopStationAddorupdateRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (CainiaoEndpointLockerTopStationAddorupdateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoEndpointLockerTopStationAddorupdateRequest) GetStationInfo

StationInfo Getter

func (*CainiaoEndpointLockerTopStationAddorupdateRequest) SetStationInfo

StationInfo Setter 站点信息

type CainiaoEndpointLockerTopStationAddorupdateResponse

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

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

type CainiaoEndpointLockerTopWithholdQueryAPIResponse

type CainiaoEndpointLockerTopWithholdQueryAPIResponse struct {
	model.CommonResponse
	CainiaoEndpointLockerTopWithholdQueryResponse
}

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

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

type CainiaoEndpointLockerTopWithholdQueryRequest

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

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

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

func NewCainiaoEndpointLockerTopWithholdQueryRequest

func NewCainiaoEndpointLockerTopWithholdQueryRequest() *CainiaoEndpointLockerTopWithholdQueryRequest

初始化CainiaoEndpointLockerTopWithholdQueryRequest对象

func (CainiaoEndpointLockerTopWithholdQueryRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (CainiaoEndpointLockerTopWithholdQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoEndpointLockerTopWithholdQueryRequest) GetCompanyCode

CompanyCode Getter

func (CainiaoEndpointLockerTopWithholdQueryRequest) GetOpenUserId

OpenUserId Getter

func (CainiaoEndpointLockerTopWithholdQueryRequest) GetOrderType

OrderType Getter

func (*CainiaoEndpointLockerTopWithholdQueryRequest) SetCompanyCode

func (r *CainiaoEndpointLockerTopWithholdQueryRequest) SetCompanyCode(companyCode string) error

CompanyCode Setter 柜子公司编码

func (*CainiaoEndpointLockerTopWithholdQueryRequest) SetOpenUserId

func (r *CainiaoEndpointLockerTopWithholdQueryRequest) SetOpenUserId(openUserId string) error

OpenUserId Setter 开放用户Id

func (*CainiaoEndpointLockerTopWithholdQueryRequest) SetOrderType

func (r *CainiaoEndpointLockerTopWithholdQueryRequest) SetOrderType(orderType int64) error

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

type CainiaoEndpointLockerTopWithholdQueryResponse

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

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

type CainiaoNbaddAppointdeliverFeedbackcodesAPIResponse

type CainiaoNbaddAppointdeliverFeedbackcodesAPIResponse struct {
	model.CommonResponse
	CainiaoNbaddAppointdeliverFeedbackcodesResponse
}

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

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

type CainiaoNbaddAppointdeliverFeedbackcodesRequest

type CainiaoNbaddAppointdeliverFeedbackcodesRequest struct {
	model.Params
}

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

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

func NewCainiaoNbaddAppointdeliverFeedbackcodesRequest

func NewCainiaoNbaddAppointdeliverFeedbackcodesRequest() *CainiaoNbaddAppointdeliverFeedbackcodesRequest

初始化CainiaoNbaddAppointdeliverFeedbackcodesRequest对象

func (CainiaoNbaddAppointdeliverFeedbackcodesRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (CainiaoNbaddAppointdeliverFeedbackcodesRequest) GetApiParams

IRequest interface 方法, 获取API参数

type CainiaoNbaddAppointdeliverFeedbackcodesResponse

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

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

type CainiaoNbaddAppointdeliverGetconsigninfoAPIResponse

type CainiaoNbaddAppointdeliverGetconsigninfoAPIResponse struct {
	model.CommonResponse
	CainiaoNbaddAppointdeliverGetconsigninfoResponse
}

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

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

type CainiaoNbaddAppointdeliverGetconsigninfoRequest

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

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

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

func NewCainiaoNbaddAppointdeliverGetconsigninfoRequest

func NewCainiaoNbaddAppointdeliverGetconsigninfoRequest() *CainiaoNbaddAppointdeliverGetconsigninfoRequest

初始化CainiaoNbaddAppointdeliverGetconsigninfoRequest对象

func (CainiaoNbaddAppointdeliverGetconsigninfoRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (CainiaoNbaddAppointdeliverGetconsigninfoRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoNbaddAppointdeliverGetconsigninfoRequest) GetTradeOrderId

TradeOrderId Getter

func (*CainiaoNbaddAppointdeliverGetconsigninfoRequest) SetTradeOrderId

func (r *CainiaoNbaddAppointdeliverGetconsigninfoRequest) SetTradeOrderId(tradeOrderId int64) error

TradeOrderId Setter 淘宝交易订单id

type CainiaoNbaddAppointdeliverGetconsigninfoResponse

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

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

type CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse

type CainiaoNborderfrontUserOutsideQueryoutsideuserAPIResponse struct {
	model.CommonResponse
	CainiaoNborderfrontUserOutsideQueryoutsideuserResponse
}

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

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

type CainiaoNborderfrontUserOutsideQueryoutsideuserRequest

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

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

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

func NewCainiaoNborderfrontUserOutsideQueryoutsideuserRequest

func NewCainiaoNborderfrontUserOutsideQueryoutsideuserRequest() *CainiaoNborderfrontUserOutsideQueryoutsideuserRequest

初始化CainiaoNborderfrontUserOutsideQueryoutsideuserRequest对象

func (CainiaoNborderfrontUserOutsideQueryoutsideuserRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (CainiaoNborderfrontUserOutsideQueryoutsideuserRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (CainiaoNborderfrontUserOutsideQueryoutsideuserRequest) GetCpCode

CpCode Getter

func (CainiaoNborderfrontUserOutsideQueryoutsideuserRequest) GetCpUserId

CpUserId Getter

func (*CainiaoNborderfrontUserOutsideQueryoutsideuserRequest) SetCpCode

CpCode Setter cpcode

func (*CainiaoNborderfrontUserOutsideQueryoutsideuserRequest) SetCpUserId

CpUserId Setter cp小件员ID

type CainiaoNborderfrontUserOutsideQueryoutsideuserResponse

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

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

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

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