tmallfcbox

package
v1.3.5 Latest Latest
Warning

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

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

Documentation

Overview

Package tmallfcbox 包含天猫线下大屏相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseTmallFcboxNotifyAPIRequest added in v1.3.4

func ReleaseTmallFcboxNotifyAPIRequest(v *TmallFcboxNotifyAPIRequest)

ReleaseTmallFcboxNotifyAPIRequest 将 TmallFcboxNotifyAPIRequest 放入 sync.Pool

func ReleaseTmallFcboxNotifyAPIResponse added in v1.3.4

func ReleaseTmallFcboxNotifyAPIResponse(v *TmallFcboxNotifyAPIResponse)

ReleaseTmallFcboxNotifyAPIResponse 将 TmallFcboxNotifyAPIResponse 保存到 sync.Pool

func ReleaseTmallFcboxNotifyResult added in v1.3.4

func ReleaseTmallFcboxNotifyResult(v *TmallFcboxNotifyResult)

ReleaseTmallFcboxNotifyResult 释放TmallFcboxNotifyResult

Types

type TmallFcboxNotifyAPIRequest added in v1.2.0

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

TmallFcboxNotifyAPIRequest 丰巢通知接口 API请求 tmall.fcbox.notify

tmax接收丰巢快递通知

func GetTmallFcboxNotifyAPIRequest added in v1.3.4

func GetTmallFcboxNotifyAPIRequest() *TmallFcboxNotifyAPIRequest

GetTmallFcboxNotifyRequest 从 sync.Pool 获取 TmallFcboxNotifyAPIRequest

func NewTmallFcboxNotifyRequest

func NewTmallFcboxNotifyRequest() *TmallFcboxNotifyAPIRequest

NewTmallFcboxNotifyRequest 初始化TmallFcboxNotifyAPIRequest对象

func (TmallFcboxNotifyAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallFcboxNotifyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallFcboxNotifyAPIRequest) GetApiParams added in v1.2.0

func (r TmallFcboxNotifyAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TmallFcboxNotifyAPIRequest) GetApplyId added in v1.2.0

func (r TmallFcboxNotifyAPIRequest) GetApplyId() string

GetApplyId ApplyId Getter

func (TmallFcboxNotifyAPIRequest) GetOperate added in v1.2.0

func (r TmallFcboxNotifyAPIRequest) GetOperate() string

GetOperate Operate Getter

func (TmallFcboxNotifyAPIRequest) GetOperateTime added in v1.2.0

func (r TmallFcboxNotifyAPIRequest) GetOperateTime() string

GetOperateTime OperateTime Getter

func (TmallFcboxNotifyAPIRequest) GetRawParams added in v1.2.8

func (r TmallFcboxNotifyAPIRequest) GetRawParams() model.Params

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

func (TmallFcboxNotifyAPIRequest) GetState added in v1.2.0

func (r TmallFcboxNotifyAPIRequest) GetState() string

GetState State Getter

func (TmallFcboxNotifyAPIRequest) GetStateRemark added in v1.2.0

func (r TmallFcboxNotifyAPIRequest) GetStateRemark() string

GetStateRemark StateRemark Getter

func (*TmallFcboxNotifyAPIRequest) Reset added in v1.3.4

func (r *TmallFcboxNotifyAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TmallFcboxNotifyAPIRequest) SetApplyId added in v1.2.0

func (r *TmallFcboxNotifyAPIRequest) SetApplyId(_applyId string) error

SetApplyId is ApplyId Setter 申请接口返回的申请标识

func (*TmallFcboxNotifyAPIRequest) SetOperate added in v1.2.0

func (r *TmallFcboxNotifyAPIRequest) SetOperate(_operate string) error

SetOperate is Operate Setter 变更操作

func (*TmallFcboxNotifyAPIRequest) SetOperateTime added in v1.2.0

func (r *TmallFcboxNotifyAPIRequest) SetOperateTime(_operateTime string) error

SetOperateTime is OperateTime Setter 变更时间

func (*TmallFcboxNotifyAPIRequest) SetState added in v1.2.0

func (r *TmallFcboxNotifyAPIRequest) SetState(_state string) error

SetState is State Setter 申请记录当前状态

func (*TmallFcboxNotifyAPIRequest) SetStateRemark added in v1.2.0

func (r *TmallFcboxNotifyAPIRequest) SetStateRemark(_stateRemark string) error

SetStateRemark is StateRemark Setter 状态备注

type TmallFcboxNotifyAPIResponse

type TmallFcboxNotifyAPIResponse struct {
	model.CommonResponse
	TmallFcboxNotifyAPIResponseModel
}

TmallFcboxNotifyAPIResponse 丰巢通知接口 API返回值 tmall.fcbox.notify

tmax接收丰巢快递通知

func GetTmallFcboxNotifyAPIResponse added in v1.3.4

func GetTmallFcboxNotifyAPIResponse() *TmallFcboxNotifyAPIResponse

GetTmallFcboxNotifyAPIResponse 从 sync.Pool 获取 TmallFcboxNotifyAPIResponse

func (*TmallFcboxNotifyAPIResponse) Reset added in v1.3.4

func (m *TmallFcboxNotifyAPIResponse) Reset()

Reset 清空结构体

type TmallFcboxNotifyAPIResponseModel added in v1.2.0

type TmallFcboxNotifyAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_fcbox_notify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TmallFcboxNotifyResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallFcboxNotifyAPIResponseModel is 丰巢通知接口 成功返回结果

func (*TmallFcboxNotifyAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallFcboxNotifyResult

type TmallFcboxNotifyResult struct {
	// model
	Model string `json:"model,omitempty" xml:"model,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

TmallFcboxNotifyResult 结构体

func GetTmallFcboxNotifyResult added in v1.3.4

func GetTmallFcboxNotifyResult() *TmallFcboxNotifyResult

GetTmallFcboxNotifyResult() 从对象池中获取TmallFcboxNotifyResult

Jump to

Keyboard shortcuts

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