Documentation ¶
Overview ¶
Package cainiaoecc 包含菜鸟控制塔API相关结构体
Index ¶
- type CainiaoEccExceptionsDelayCountAPIRequest
- type CainiaoEccExceptionsDelayCountAPIResponse
- type CainiaoEccExceptionsDelayCountAPIResponseModel
- type CainiaoEccExceptionsDelayGetAPIRequest
- func (r CainiaoEccExceptionsDelayGetAPIRequest) GetApiMethodName() string
- func (r CainiaoEccExceptionsDelayGetAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoEccExceptionsDelayGetAPIRequest) GetMailNo() string
- func (r CainiaoEccExceptionsDelayGetAPIRequest) GetRawParams() model.Params
- func (r *CainiaoEccExceptionsDelayGetAPIRequest) SetMailNo(_mailNo string) error
- type CainiaoEccExceptionsDelayGetAPIResponse
- type CainiaoEccExceptionsDelayGetAPIResponseModel
- type DelayExceptionCountDto
- type DelayExceptionDetailDto
- type SingleResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CainiaoEccExceptionsDelayCountAPIRequest ¶ added in v1.2.0
CainiaoEccExceptionsDelayCountAPIRequest 菜鸟控制塔包裹滞留异常统计信息获取 API请求 cainiao.ecc.exceptions.delay.count
菜鸟控制塔包裹滞留异常统计信息获取
func NewCainiaoEccExceptionsDelayCountRequest ¶
func NewCainiaoEccExceptionsDelayCountRequest() *CainiaoEccExceptionsDelayCountAPIRequest
NewCainiaoEccExceptionsDelayCountRequest 初始化CainiaoEccExceptionsDelayCountAPIRequest对象
func (CainiaoEccExceptionsDelayCountAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoEccExceptionsDelayCountAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoEccExceptionsDelayCountAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoEccExceptionsDelayCountAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoEccExceptionsDelayCountAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoEccExceptionsDelayCountAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type CainiaoEccExceptionsDelayCountAPIResponse ¶
type CainiaoEccExceptionsDelayCountAPIResponse struct { model.CommonResponse CainiaoEccExceptionsDelayCountAPIResponseModel }
CainiaoEccExceptionsDelayCountAPIResponse 菜鸟控制塔包裹滞留异常统计信息获取 API返回值 cainiao.ecc.exceptions.delay.count
菜鸟控制塔包裹滞留异常统计信息获取
type CainiaoEccExceptionsDelayCountAPIResponseModel ¶ added in v1.2.0
type CainiaoEccExceptionsDelayCountAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_ecc_exceptions_delay_count_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *SingleResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoEccExceptionsDelayCountAPIResponseModel is 菜鸟控制塔包裹滞留异常统计信息获取 成功返回结果
type CainiaoEccExceptionsDelayGetAPIRequest ¶ added in v1.2.0
type CainiaoEccExceptionsDelayGetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoEccExceptionsDelayGetAPIRequest 菜鸟控制塔包裹滞留异常信息获取 API请求 cainiao.ecc.exceptions.delay.get
菜鸟控制塔包裹滞留异常信息获取
func NewCainiaoEccExceptionsDelayGetRequest ¶
func NewCainiaoEccExceptionsDelayGetRequest() *CainiaoEccExceptionsDelayGetAPIRequest
NewCainiaoEccExceptionsDelayGetRequest 初始化CainiaoEccExceptionsDelayGetAPIRequest对象
func (CainiaoEccExceptionsDelayGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r CainiaoEccExceptionsDelayGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoEccExceptionsDelayGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r CainiaoEccExceptionsDelayGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoEccExceptionsDelayGetAPIRequest) GetMailNo ¶ added in v1.2.0
func (r CainiaoEccExceptionsDelayGetAPIRequest) GetMailNo() string
GetMailNo MailNo Getter
func (CainiaoEccExceptionsDelayGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoEccExceptionsDelayGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaoEccExceptionsDelayGetAPIRequest) SetMailNo ¶ added in v1.2.0
func (r *CainiaoEccExceptionsDelayGetAPIRequest) SetMailNo(_mailNo string) error
SetMailNo is MailNo Setter 运单号
type CainiaoEccExceptionsDelayGetAPIResponse ¶
type CainiaoEccExceptionsDelayGetAPIResponse struct { model.CommonResponse CainiaoEccExceptionsDelayGetAPIResponseModel }
CainiaoEccExceptionsDelayGetAPIResponse 菜鸟控制塔包裹滞留异常信息获取 API返回值 cainiao.ecc.exceptions.delay.get
菜鸟控制塔包裹滞留异常信息获取
type CainiaoEccExceptionsDelayGetAPIResponseModel ¶ added in v1.2.0
type CainiaoEccExceptionsDelayGetAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_ecc_exceptions_delay_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *SingleResult `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoEccExceptionsDelayGetAPIResponseModel is 菜鸟控制塔包裹滞留异常信息获取 成功返回结果
type DelayExceptionCountDto ¶
type DelayExceptionCountDto struct { // 扩展字段 ExtendFields string `json:"extend_fields,omitempty" xml:"extend_fields,omitempty"` // 异常总数 ExceptionNum int64 `json:"exception_num,omitempty" xml:"exception_num,omitempty"` // 商家Id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // CP异常回复总数 CpReplyExceptionNum int64 `json:"cp_reply_exception_num,omitempty" xml:"cp_reply_exception_num,omitempty"` }
DelayExceptionCountDto 结构体
type DelayExceptionDetailDto ¶
type DelayExceptionDetailDto struct { // CP回复列表 CpReplyList []string `json:"cp_reply_list,omitempty" xml:"cp_reply_list>string,omitempty"` // 运单号 MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"` // 异常类型code ExceptionCode string `json:"exception_code,omitempty" xml:"exception_code,omitempty"` // 异常类型名称 ExceptionName string `json:"exception_name,omitempty" xml:"exception_name,omitempty"` // 商家Id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` }
DelayExceptionDetailDto 结构体
type SingleResult ¶
type SingleResult struct { // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误描述 ErrorDesc string `json:"error_desc,omitempty" xml:"error_desc,omitempty"` // 数据对象 Result *DelayExceptionCountDto `json:"result,omitempty" xml:"result,omitempty"` // 是否重试 IsRetry bool `json:"is_retry,omitempty" xml:"is_retry,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
SingleResult 结构体