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.3.1
CainiaoeccexceptionsdelaycountAPIRequest 菜鸟控制塔包裹滞留异常统计信息获取 API请求 cainiao.ecc.exceptions.delay.count
菜鸟控制塔包裹滞留异常统计信息获取
func NewCainiaoeccexceptionsdelaycountRequest ¶ added in v1.3.1
func NewCainiaoeccexceptionsdelaycountRequest() *CainiaoeccexceptionsdelaycountAPIRequest
NewCainiaoeccexceptionsdelaycountRequest 初始化CainiaoeccexceptionsdelaycountAPIRequest对象
func (CainiaoeccexceptionsdelaycountAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaoeccexceptionsdelaycountAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoeccexceptionsdelaycountAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaoeccexceptionsdelaycountAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoeccexceptionsdelaycountAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaoeccexceptionsdelaycountAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type CainiaoeccexceptionsdelaycountAPIResponse ¶ added in v1.3.1
type CainiaoeccexceptionsdelaycountAPIResponse struct { model.CommonResponse CainiaoeccexceptionsdelaycountAPIResponseModel }
CainiaoeccexceptionsdelaycountAPIResponse 菜鸟控制塔包裹滞留异常统计信息获取 API返回值 cainiao.ecc.exceptions.delay.count
菜鸟控制塔包裹滞留异常统计信息获取
type CainiaoeccexceptionsdelaycountAPIResponseModel ¶ added in v1.3.1
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.3.1
type CainiaoeccexceptionsdelaygetAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoeccexceptionsdelaygetAPIRequest 菜鸟控制塔包裹滞留异常信息获取 API请求 cainiao.ecc.exceptions.delay.get
菜鸟控制塔包裹滞留异常信息获取
func NewCainiaoeccexceptionsdelaygetRequest ¶ added in v1.3.1
func NewCainiaoeccexceptionsdelaygetRequest() *CainiaoeccexceptionsdelaygetAPIRequest
NewCainiaoeccexceptionsdelaygetRequest 初始化CainiaoeccexceptionsdelaygetAPIRequest对象
func (CainiaoeccexceptionsdelaygetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r CainiaoeccexceptionsdelaygetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoeccexceptionsdelaygetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r CainiaoeccexceptionsdelaygetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoeccexceptionsdelaygetAPIRequest) GetMailNo ¶ added in v1.3.1
func (r CainiaoeccexceptionsdelaygetAPIRequest) GetMailNo() string
GetMailNo MailNo Getter
func (CainiaoeccexceptionsdelaygetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r CainiaoeccexceptionsdelaygetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaoeccexceptionsdelaygetAPIRequest) SetMailNo ¶ added in v1.3.1
func (r *CainiaoeccexceptionsdelaygetAPIRequest) SetMailNo(_mailNo string) error
SetMailNo is MailNo Setter 运单号
type CainiaoeccexceptionsdelaygetAPIResponse ¶ added in v1.3.1
type CainiaoeccexceptionsdelaygetAPIResponse struct { model.CommonResponse CainiaoeccexceptionsdelaygetAPIResponseModel }
CainiaoeccexceptionsdelaygetAPIResponse 菜鸟控制塔包裹滞留异常信息获取 API返回值 cainiao.ecc.exceptions.delay.get
菜鸟控制塔包裹滞留异常信息获取
type CainiaoeccexceptionsdelaygetAPIResponseModel ¶ added in v1.3.1
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 结构体