cainiaoecc

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package cainiaoecc 包含菜鸟控制塔API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseCainiaoEccExceptionsDelayCountAPIRequest added in v1.3.4

func ReleaseCainiaoEccExceptionsDelayCountAPIRequest(v *CainiaoEccExceptionsDelayCountAPIRequest)

ReleaseCainiaoEccExceptionsDelayCountAPIRequest 将 CainiaoEccExceptionsDelayCountAPIRequest 放入 sync.Pool

func ReleaseCainiaoEccExceptionsDelayCountAPIResponse added in v1.3.4

func ReleaseCainiaoEccExceptionsDelayCountAPIResponse(v *CainiaoEccExceptionsDelayCountAPIResponse)

ReleaseCainiaoEccExceptionsDelayCountAPIResponse 将 CainiaoEccExceptionsDelayCountAPIResponse 保存到 sync.Pool

func ReleaseCainiaoEccExceptionsDelayGetAPIRequest added in v1.3.4

func ReleaseCainiaoEccExceptionsDelayGetAPIRequest(v *CainiaoEccExceptionsDelayGetAPIRequest)

ReleaseCainiaoEccExceptionsDelayGetAPIRequest 将 CainiaoEccExceptionsDelayGetAPIRequest 放入 sync.Pool

func ReleaseCainiaoEccExceptionsDelayGetAPIResponse added in v1.3.4

func ReleaseCainiaoEccExceptionsDelayGetAPIResponse(v *CainiaoEccExceptionsDelayGetAPIResponse)

ReleaseCainiaoEccExceptionsDelayGetAPIResponse 将 CainiaoEccExceptionsDelayGetAPIResponse 保存到 sync.Pool

func ReleaseDelayExceptionCountDto added in v1.3.4

func ReleaseDelayExceptionCountDto(v *DelayExceptionCountDto)

ReleaseDelayExceptionCountDto 释放DelayExceptionCountDto

func ReleaseDelayExceptionDetailDto added in v1.3.4

func ReleaseDelayExceptionDetailDto(v *DelayExceptionDetailDto)

ReleaseDelayExceptionDetailDto 释放DelayExceptionDetailDto

func ReleaseSingleResult added in v1.3.4

func ReleaseSingleResult(v *SingleResult)

ReleaseSingleResult 释放SingleResult

Types

type CainiaoEccExceptionsDelayCountAPIRequest added in v1.2.0

type CainiaoEccExceptionsDelayCountAPIRequest struct {
	model.Params
}

CainiaoEccExceptionsDelayCountAPIRequest 菜鸟控制塔包裹滞留异常统计信息获取 API请求 cainiao.ecc.exceptions.delay.count

菜鸟控制塔包裹滞留异常统计信息获取

func GetCainiaoEccExceptionsDelayCountAPIRequest added in v1.3.4

func GetCainiaoEccExceptionsDelayCountAPIRequest() *CainiaoEccExceptionsDelayCountAPIRequest

GetCainiaoEccExceptionsDelayCountRequest 从 sync.Pool 获取 CainiaoEccExceptionsDelayCountAPIRequest

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

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

func (*CainiaoEccExceptionsDelayCountAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

type CainiaoEccExceptionsDelayCountAPIResponse

type CainiaoEccExceptionsDelayCountAPIResponse struct {
	model.CommonResponse
	CainiaoEccExceptionsDelayCountAPIResponseModel
}

CainiaoEccExceptionsDelayCountAPIResponse 菜鸟控制塔包裹滞留异常统计信息获取 API返回值 cainiao.ecc.exceptions.delay.count

菜鸟控制塔包裹滞留异常统计信息获取

func GetCainiaoEccExceptionsDelayCountAPIResponse added in v1.3.4

func GetCainiaoEccExceptionsDelayCountAPIResponse() *CainiaoEccExceptionsDelayCountAPIResponse

GetCainiaoEccExceptionsDelayCountAPIResponse 从 sync.Pool 获取 CainiaoEccExceptionsDelayCountAPIResponse

func (*CainiaoEccExceptionsDelayCountAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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 菜鸟控制塔包裹滞留异常统计信息获取 成功返回结果

func (*CainiaoEccExceptionsDelayCountAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

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 GetCainiaoEccExceptionsDelayGetAPIRequest added in v1.3.4

func GetCainiaoEccExceptionsDelayGetAPIRequest() *CainiaoEccExceptionsDelayGetAPIRequest

GetCainiaoEccExceptionsDelayGetRequest 从 sync.Pool 获取 CainiaoEccExceptionsDelayGetAPIRequest

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

GetMailNo MailNo Getter

func (CainiaoEccExceptionsDelayGetAPIRequest) GetRawParams added in v1.2.8

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

func (*CainiaoEccExceptionsDelayGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

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

菜鸟控制塔包裹滞留异常信息获取

func GetCainiaoEccExceptionsDelayGetAPIResponse added in v1.3.4

func GetCainiaoEccExceptionsDelayGetAPIResponse() *CainiaoEccExceptionsDelayGetAPIResponse

GetCainiaoEccExceptionsDelayGetAPIResponse 从 sync.Pool 获取 CainiaoEccExceptionsDelayGetAPIResponse

func (*CainiaoEccExceptionsDelayGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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 菜鸟控制塔包裹滞留异常信息获取 成功返回结果

func (*CainiaoEccExceptionsDelayGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

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

func GetDelayExceptionCountDto added in v1.3.4

func GetDelayExceptionCountDto() *DelayExceptionCountDto

GetDelayExceptionCountDto() 从对象池中获取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 结构体

func GetDelayExceptionDetailDto added in v1.3.4

func GetDelayExceptionDetailDto() *DelayExceptionDetailDto

GetDelayExceptionDetailDto() 从对象池中获取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 结构体

func GetSingleResult added in v1.3.4

func GetSingleResult() *SingleResult

GetSingleResult() 从对象池中获取SingleResult

Jump to

Keyboard shortcuts

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