deliveryvoucher

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 deliveryvoucher 包含淘宝卡券平台相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseCancelVoucherRequest added in v1.3.4

func ReleaseCancelVoucherRequest(v *CancelVoucherRequest)

ReleaseCancelVoucherRequest 释放CancelVoucherRequest

func ReleaseDeliveryVoucherDto added in v1.3.4

func ReleaseDeliveryVoucherDto(v *DeliveryVoucherDto)

ReleaseDeliveryVoucherDto 释放DeliveryVoucherDto

func ReleaseDeliveryVoucherInfoDto added in v1.3.4

func ReleaseDeliveryVoucherInfoDto(v *DeliveryVoucherInfoDto)

ReleaseDeliveryVoucherInfoDto 释放DeliveryVoucherInfoDto

func ReleaseOrderVoucherRequest added in v1.3.4

func ReleaseOrderVoucherRequest(v *OrderVoucherRequest)

ReleaseOrderVoucherRequest 释放OrderVoucherRequest

func ReleaseRollbackVoucherRequest added in v1.3.4

func ReleaseRollbackVoucherRequest(v *RollbackVoucherRequest)

ReleaseRollbackVoucherRequest 释放RollbackVoucherRequest

func ReleaseSendVoucherRequest added in v1.3.4

func ReleaseSendVoucherRequest(v *SendVoucherRequest)

ReleaseSendVoucherRequest 释放SendVoucherRequest

func ReleaseTaobaoGameDeliveryvoucherCancelvoucherAPIRequest added in v1.3.4

func ReleaseTaobaoGameDeliveryvoucherCancelvoucherAPIRequest(v *TaobaoGameDeliveryvoucherCancelvoucherAPIRequest)

ReleaseTaobaoGameDeliveryvoucherCancelvoucherAPIRequest 将 TaobaoGameDeliveryvoucherCancelvoucherAPIRequest 放入 sync.Pool

func ReleaseTaobaoGameDeliveryvoucherCancelvoucherAPIResponse added in v1.3.4

func ReleaseTaobaoGameDeliveryvoucherCancelvoucherAPIResponse(v *TaobaoGameDeliveryvoucherCancelvoucherAPIResponse)

ReleaseTaobaoGameDeliveryvoucherCancelvoucherAPIResponse 将 TaobaoGameDeliveryvoucherCancelvoucherAPIResponse 保存到 sync.Pool

func ReleaseTaobaoGameDeliveryvoucherEvaluateAPIRequest added in v1.3.4

func ReleaseTaobaoGameDeliveryvoucherEvaluateAPIRequest(v *TaobaoGameDeliveryvoucherEvaluateAPIRequest)

ReleaseTaobaoGameDeliveryvoucherEvaluateAPIRequest 将 TaobaoGameDeliveryvoucherEvaluateAPIRequest 放入 sync.Pool

func ReleaseTaobaoGameDeliveryvoucherEvaluateAPIResponse added in v1.3.4

func ReleaseTaobaoGameDeliveryvoucherEvaluateAPIResponse(v *TaobaoGameDeliveryvoucherEvaluateAPIResponse)

ReleaseTaobaoGameDeliveryvoucherEvaluateAPIResponse 将 TaobaoGameDeliveryvoucherEvaluateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoGameDeliveryvoucherOrdervoucherAPIRequest added in v1.3.4

func ReleaseTaobaoGameDeliveryvoucherOrdervoucherAPIRequest(v *TaobaoGameDeliveryvoucherOrdervoucherAPIRequest)

ReleaseTaobaoGameDeliveryvoucherOrdervoucherAPIRequest 将 TaobaoGameDeliveryvoucherOrdervoucherAPIRequest 放入 sync.Pool

func ReleaseTaobaoGameDeliveryvoucherOrdervoucherAPIResponse added in v1.3.4

func ReleaseTaobaoGameDeliveryvoucherOrdervoucherAPIResponse(v *TaobaoGameDeliveryvoucherOrdervoucherAPIResponse)

ReleaseTaobaoGameDeliveryvoucherOrdervoucherAPIResponse 将 TaobaoGameDeliveryvoucherOrdervoucherAPIResponse 保存到 sync.Pool

func ReleaseTaobaoGameDeliveryvoucherRollbackvoucherAPIRequest added in v1.3.4

func ReleaseTaobaoGameDeliveryvoucherRollbackvoucherAPIRequest(v *TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest)

ReleaseTaobaoGameDeliveryvoucherRollbackvoucherAPIRequest 将 TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest 放入 sync.Pool

func ReleaseTaobaoGameDeliveryvoucherRollbackvoucherAPIResponse added in v1.3.4

func ReleaseTaobaoGameDeliveryvoucherRollbackvoucherAPIResponse(v *TaobaoGameDeliveryvoucherRollbackvoucherAPIResponse)

ReleaseTaobaoGameDeliveryvoucherRollbackvoucherAPIResponse 将 TaobaoGameDeliveryvoucherRollbackvoucherAPIResponse 保存到 sync.Pool

func ReleaseTaobaoGameDeliveryvoucherSendgoodsAPIRequest added in v1.3.4

func ReleaseTaobaoGameDeliveryvoucherSendgoodsAPIRequest(v *TaobaoGameDeliveryvoucherSendgoodsAPIRequest)

ReleaseTaobaoGameDeliveryvoucherSendgoodsAPIRequest 将 TaobaoGameDeliveryvoucherSendgoodsAPIRequest 放入 sync.Pool

func ReleaseTaobaoGameDeliveryvoucherSendgoodsAPIResponse added in v1.3.4

func ReleaseTaobaoGameDeliveryvoucherSendgoodsAPIResponse(v *TaobaoGameDeliveryvoucherSendgoodsAPIResponse)

ReleaseTaobaoGameDeliveryvoucherSendgoodsAPIResponse 将 TaobaoGameDeliveryvoucherSendgoodsAPIResponse 保存到 sync.Pool

func ReleaseTaobaoGameDeliveryvoucherSendvoucherAPIRequest added in v1.3.4

func ReleaseTaobaoGameDeliveryvoucherSendvoucherAPIRequest(v *TaobaoGameDeliveryvoucherSendvoucherAPIRequest)

ReleaseTaobaoGameDeliveryvoucherSendvoucherAPIRequest 将 TaobaoGameDeliveryvoucherSendvoucherAPIRequest 放入 sync.Pool

func ReleaseTaobaoGameDeliveryvoucherSendvoucherAPIResponse added in v1.3.4

func ReleaseTaobaoGameDeliveryvoucherSendvoucherAPIResponse(v *TaobaoGameDeliveryvoucherSendvoucherAPIResponse)

ReleaseTaobaoGameDeliveryvoucherSendvoucherAPIResponse 将 TaobaoGameDeliveryvoucherSendvoucherAPIResponse 保存到 sync.Pool

func ReleaseTaobaoGameDeliveryvoucherWatchAPIRequest added in v1.3.4

func ReleaseTaobaoGameDeliveryvoucherWatchAPIRequest(v *TaobaoGameDeliveryvoucherWatchAPIRequest)

ReleaseTaobaoGameDeliveryvoucherWatchAPIRequest 将 TaobaoGameDeliveryvoucherWatchAPIRequest 放入 sync.Pool

func ReleaseTaobaoGameDeliveryvoucherWatchAPIResponse added in v1.3.4

func ReleaseTaobaoGameDeliveryvoucherWatchAPIResponse(v *TaobaoGameDeliveryvoucherWatchAPIResponse)

ReleaseTaobaoGameDeliveryvoucherWatchAPIResponse 将 TaobaoGameDeliveryvoucherWatchAPIResponse 保存到 sync.Pool

func ReleaseVoucherEvaluateRequest added in v1.3.4

func ReleaseVoucherEvaluateRequest(v *VoucherEvaluateRequest)

ReleaseVoucherEvaluateRequest 释放VoucherEvaluateRequest

func ReleaseWatchAppointmentRequest added in v1.3.4

func ReleaseWatchAppointmentRequest(v *WatchAppointmentRequest)

ReleaseWatchAppointmentRequest 释放WatchAppointmentRequest

Types

type CancelVoucherRequest

type CancelVoucherRequest struct {
	// 券信息,券信息,最多100条券记录
	VoucherInfos []DeliveryVoucherInfoDto `json:"voucher_infos,omitempty" xml:"voucher_infos>delivery_voucher_info_dto,omitempty"`
	// 操作时间
	OperateDate string `json:"operate_date,omitempty" xml:"operate_date,omitempty"`
	// 扩展参数
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 流水号:唯一,幂等性判断
	OpId string `json:"op_id,omitempty" xml:"op_id,omitempty"`
	// 第三方服务商标识,top appkey
	Provider string `json:"provider,omitempty" xml:"provider,omitempty"`
	// 主订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

CancelVoucherRequest 结构体

func GetCancelVoucherRequest added in v1.3.4

func GetCancelVoucherRequest() *CancelVoucherRequest

GetCancelVoucherRequest() 从对象池中获取CancelVoucherRequest

type DeliveryVoucherDto added in v1.2.0

type DeliveryVoucherDto struct {
	// 券ID
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 券号
	No string `json:"no,omitempty" xml:"no,omitempty"`
}

DeliveryVoucherDto 结构体

func GetDeliveryVoucherDto added in v1.3.4

func GetDeliveryVoucherDto() *DeliveryVoucherDto

GetDeliveryVoucherDto() 从对象池中获取DeliveryVoucherDto

type DeliveryVoucherInfoDto added in v1.2.0

type DeliveryVoucherInfoDto struct {
	// 券信息
	Vouchers []DeliveryVoucherDto `json:"vouchers,omitempty" xml:"vouchers>delivery_voucher_dto,omitempty"`
	// 商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
}

DeliveryVoucherInfoDto 结构体

func GetDeliveryVoucherInfoDto added in v1.3.4

func GetDeliveryVoucherInfoDto() *DeliveryVoucherInfoDto

GetDeliveryVoucherInfoDto() 从对象池中获取DeliveryVoucherInfoDto

type OrderVoucherRequest

type OrderVoucherRequest struct {
	// 券信息,券信息,最多100条券记录
	VoucherInfos []DeliveryVoucherInfoDto `json:"voucher_infos,omitempty" xml:"voucher_infos>delivery_voucher_info_dto,omitempty"`
	// 操作时间
	OperateDate string `json:"operate_date,omitempty" xml:"operate_date,omitempty"`
	// 扩展参数
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 流水号:唯一,幂等性判断
	OpId string `json:"op_id,omitempty" xml:"op_id,omitempty"`
	// 第三方服务商标识:top appkey
	Provider string `json:"provider,omitempty" xml:"provider,omitempty"`
	// 预约时间
	AppointmentTime string `json:"appointment_time,omitempty" xml:"appointment_time,omitempty"`
	// 外部订单号
	OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"`
	// 自提方式必传
	TerminalAddress string `json:"terminal_address,omitempty" xml:"terminal_address,omitempty"`
	// 自提方式必传
	TerminalPhone string `json:"terminal_phone,omitempty" xml:"terminal_phone,omitempty"`
	// 自提方式必传
	TerminalName string `json:"terminal_name,omitempty" xml:"terminal_name,omitempty"`
	// 主订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 1:物流发货 2:自提
	OutOrderType int64 `json:"out_order_type,omitempty" xml:"out_order_type,omitempty"`
}

OrderVoucherRequest 结构体

func GetOrderVoucherRequest added in v1.3.4

func GetOrderVoucherRequest() *OrderVoucherRequest

GetOrderVoucherRequest() 从对象池中获取OrderVoucherRequest

type RollbackVoucherRequest

type RollbackVoucherRequest struct {
	// 券信息,最多100条券记录
	VoucherInfos []DeliveryVoucherInfoDto `json:"voucher_infos,omitempty" xml:"voucher_infos>delivery_voucher_info_dto,omitempty"`
	// 操作时间
	OperateDate string `json:"operate_date,omitempty" xml:"operate_date,omitempty"`
	// 扩展参数
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 流水号:唯一,幂等性判断
	OpId string `json:"op_id,omitempty" xml:"op_id,omitempty"`
	// 第三方服务商标识:appkey
	Provider string `json:"provider,omitempty" xml:"provider,omitempty"`
	// 主订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

RollbackVoucherRequest 结构体

func GetRollbackVoucherRequest added in v1.3.4

func GetRollbackVoucherRequest() *RollbackVoucherRequest

GetRollbackVoucherRequest() 从对象池中获取RollbackVoucherRequest

type SendVoucherRequest

type SendVoucherRequest struct {
	// 券信息,券信息,最多100条券记录
	VoucherInfos []DeliveryVoucherInfoDto `json:"voucher_infos,omitempty" xml:"voucher_infos>delivery_voucher_info_dto,omitempty"`
	// 操作时间
	OperateDate string `json:"operate_date,omitempty" xml:"operate_date,omitempty"`
	// 扩展参数
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 流水号:唯一,幂等性判断
	OpId string `json:"op_id,omitempty" xml:"op_id,omitempty"`
	// 第三方服务商标识:top appkey
	Provider string `json:"provider,omitempty" xml:"provider,omitempty"`
	// 收件人电话
	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`
	// 收件人
	Receiver string `json:"receiver,omitempty" xml:"receiver,omitempty"`
	// 收件人地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 物流公司编码
	LogisticsCode string `json:"logistics_code,omitempty" xml:"logistics_code,omitempty"`
	// 物流单号
	LogisticsNo string `json:"logistics_no,omitempty" xml:"logistics_no,omitempty"`
	// 物流名称
	LogisticsName string `json:"logistics_name,omitempty" xml:"logistics_name,omitempty"`
	// 主订单id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

SendVoucherRequest 结构体

func GetSendVoucherRequest added in v1.3.4

func GetSendVoucherRequest() *SendVoucherRequest

GetSendVoucherRequest() 从对象池中获取SendVoucherRequest

type TaobaoGameDeliveryvoucherCancelvoucherAPIRequest added in v1.2.0

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

TaobaoGameDeliveryvoucherCancelvoucherAPIRequest 作废券 API请求 taobao.game.deliveryvoucher.cancelvoucher

提货券发券接口:同步券和订单的关联信息

func GetTaobaoGameDeliveryvoucherCancelvoucherAPIRequest added in v1.3.4

func GetTaobaoGameDeliveryvoucherCancelvoucherAPIRequest() *TaobaoGameDeliveryvoucherCancelvoucherAPIRequest

GetTaobaoGameDeliveryvoucherCancelvoucherRequest 从 sync.Pool 获取 TaobaoGameDeliveryvoucherCancelvoucherAPIRequest

func NewTaobaoGameDeliveryvoucherCancelvoucherRequest

func NewTaobaoGameDeliveryvoucherCancelvoucherRequest() *TaobaoGameDeliveryvoucherCancelvoucherAPIRequest

NewTaobaoGameDeliveryvoucherCancelvoucherRequest 初始化TaobaoGameDeliveryvoucherCancelvoucherAPIRequest对象

func (TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 发券参数

type TaobaoGameDeliveryvoucherCancelvoucherAPIResponse

type TaobaoGameDeliveryvoucherCancelvoucherAPIResponse struct {
	model.CommonResponse
	TaobaoGameDeliveryvoucherCancelvoucherAPIResponseModel
}

TaobaoGameDeliveryvoucherCancelvoucherAPIResponse 作废券 API返回值 taobao.game.deliveryvoucher.cancelvoucher

提货券发券接口:同步券和订单的关联信息

func GetTaobaoGameDeliveryvoucherCancelvoucherAPIResponse added in v1.3.4

func GetTaobaoGameDeliveryvoucherCancelvoucherAPIResponse() *TaobaoGameDeliveryvoucherCancelvoucherAPIResponse

GetTaobaoGameDeliveryvoucherCancelvoucherAPIResponse 从 sync.Pool 获取 TaobaoGameDeliveryvoucherCancelvoucherAPIResponse

func (*TaobaoGameDeliveryvoucherCancelvoucherAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoGameDeliveryvoucherCancelvoucherAPIResponseModel added in v1.2.0

type TaobaoGameDeliveryvoucherCancelvoucherAPIResponseModel struct {
	XMLName xml.Name `xml:"game_deliveryvoucher_cancelvoucher_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoGameDeliveryvoucherCancelvoucherAPIResponseModel is 作废券 成功返回结果

func (*TaobaoGameDeliveryvoucherCancelvoucherAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoGameDeliveryvoucherEvaluateAPIRequest added in v1.2.0

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

TaobaoGameDeliveryvoucherEvaluateAPIRequest 卡券评价回传 API请求 taobao.game.deliveryvoucher.evaluate

卡券ISV回传商品评价

func GetTaobaoGameDeliveryvoucherEvaluateAPIRequest added in v1.3.4

func GetTaobaoGameDeliveryvoucherEvaluateAPIRequest() *TaobaoGameDeliveryvoucherEvaluateAPIRequest

GetTaobaoGameDeliveryvoucherEvaluateRequest 从 sync.Pool 获取 TaobaoGameDeliveryvoucherEvaluateAPIRequest

func NewTaobaoGameDeliveryvoucherEvaluateRequest

func NewTaobaoGameDeliveryvoucherEvaluateRequest() *TaobaoGameDeliveryvoucherEvaluateAPIRequest

NewTaobaoGameDeliveryvoucherEvaluateRequest 初始化TaobaoGameDeliveryvoucherEvaluateAPIRequest对象

func (TaobaoGameDeliveryvoucherEvaluateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoGameDeliveryvoucherEvaluateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoGameDeliveryvoucherEvaluateAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (TaobaoGameDeliveryvoucherEvaluateAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoGameDeliveryvoucherEvaluateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoGameDeliveryvoucherEvaluateAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 系统自动生成

type TaobaoGameDeliveryvoucherEvaluateAPIResponse

type TaobaoGameDeliveryvoucherEvaluateAPIResponse struct {
	model.CommonResponse
	TaobaoGameDeliveryvoucherEvaluateAPIResponseModel
}

TaobaoGameDeliveryvoucherEvaluateAPIResponse 卡券评价回传 API返回值 taobao.game.deliveryvoucher.evaluate

卡券ISV回传商品评价

func GetTaobaoGameDeliveryvoucherEvaluateAPIResponse added in v1.3.4

func GetTaobaoGameDeliveryvoucherEvaluateAPIResponse() *TaobaoGameDeliveryvoucherEvaluateAPIResponse

GetTaobaoGameDeliveryvoucherEvaluateAPIResponse 从 sync.Pool 获取 TaobaoGameDeliveryvoucherEvaluateAPIResponse

func (*TaobaoGameDeliveryvoucherEvaluateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoGameDeliveryvoucherEvaluateAPIResponseModel added in v1.2.0

type TaobaoGameDeliveryvoucherEvaluateAPIResponseModel struct {
	XMLName xml.Name `xml:"game_deliveryvoucher_evaluate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误原因
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 操作状态
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoGameDeliveryvoucherEvaluateAPIResponseModel is 卡券评价回传 成功返回结果

func (*TaobaoGameDeliveryvoucherEvaluateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoGameDeliveryvoucherOrdervoucherAPIRequest added in v1.2.0

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

TaobaoGameDeliveryvoucherOrdervoucherAPIRequest 预约接口 API请求 taobao.game.deliveryvoucher.ordervoucher

提货券发券接口:同步券和订单的关联信息

func GetTaobaoGameDeliveryvoucherOrdervoucherAPIRequest added in v1.3.4

func GetTaobaoGameDeliveryvoucherOrdervoucherAPIRequest() *TaobaoGameDeliveryvoucherOrdervoucherAPIRequest

GetTaobaoGameDeliveryvoucherOrdervoucherRequest 从 sync.Pool 获取 TaobaoGameDeliveryvoucherOrdervoucherAPIRequest

func NewTaobaoGameDeliveryvoucherOrdervoucherRequest

func NewTaobaoGameDeliveryvoucherOrdervoucherRequest() *TaobaoGameDeliveryvoucherOrdervoucherAPIRequest

NewTaobaoGameDeliveryvoucherOrdervoucherRequest 初始化TaobaoGameDeliveryvoucherOrdervoucherAPIRequest对象

func (TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 发券参数

type TaobaoGameDeliveryvoucherOrdervoucherAPIResponse

type TaobaoGameDeliveryvoucherOrdervoucherAPIResponse struct {
	model.CommonResponse
	TaobaoGameDeliveryvoucherOrdervoucherAPIResponseModel
}

TaobaoGameDeliveryvoucherOrdervoucherAPIResponse 预约接口 API返回值 taobao.game.deliveryvoucher.ordervoucher

提货券发券接口:同步券和订单的关联信息

func GetTaobaoGameDeliveryvoucherOrdervoucherAPIResponse added in v1.3.4

func GetTaobaoGameDeliveryvoucherOrdervoucherAPIResponse() *TaobaoGameDeliveryvoucherOrdervoucherAPIResponse

GetTaobaoGameDeliveryvoucherOrdervoucherAPIResponse 从 sync.Pool 获取 TaobaoGameDeliveryvoucherOrdervoucherAPIResponse

func (*TaobaoGameDeliveryvoucherOrdervoucherAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoGameDeliveryvoucherOrdervoucherAPIResponseModel added in v1.2.0

type TaobaoGameDeliveryvoucherOrdervoucherAPIResponseModel struct {
	XMLName xml.Name `xml:"game_deliveryvoucher_ordervoucher_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoGameDeliveryvoucherOrdervoucherAPIResponseModel is 预约接口 成功返回结果

func (*TaobaoGameDeliveryvoucherOrdervoucherAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest added in v1.2.0

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

TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest 回滚券 API请求 taobao.game.deliveryvoucher.rollbackvoucher

提货券发券接口:同步券和订单的关联信息

func GetTaobaoGameDeliveryvoucherRollbackvoucherAPIRequest added in v1.3.4

func GetTaobaoGameDeliveryvoucherRollbackvoucherAPIRequest() *TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest

GetTaobaoGameDeliveryvoucherRollbackvoucherRequest 从 sync.Pool 获取 TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest

func NewTaobaoGameDeliveryvoucherRollbackvoucherRequest

func NewTaobaoGameDeliveryvoucherRollbackvoucherRequest() *TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest

NewTaobaoGameDeliveryvoucherRollbackvoucherRequest 初始化TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest对象

func (TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 发券参数

type TaobaoGameDeliveryvoucherRollbackvoucherAPIResponse

type TaobaoGameDeliveryvoucherRollbackvoucherAPIResponse struct {
	model.CommonResponse
	TaobaoGameDeliveryvoucherRollbackvoucherAPIResponseModel
}

TaobaoGameDeliveryvoucherRollbackvoucherAPIResponse 回滚券 API返回值 taobao.game.deliveryvoucher.rollbackvoucher

提货券发券接口:同步券和订单的关联信息

func GetTaobaoGameDeliveryvoucherRollbackvoucherAPIResponse added in v1.3.4

func GetTaobaoGameDeliveryvoucherRollbackvoucherAPIResponse() *TaobaoGameDeliveryvoucherRollbackvoucherAPIResponse

GetTaobaoGameDeliveryvoucherRollbackvoucherAPIResponse 从 sync.Pool 获取 TaobaoGameDeliveryvoucherRollbackvoucherAPIResponse

func (*TaobaoGameDeliveryvoucherRollbackvoucherAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoGameDeliveryvoucherRollbackvoucherAPIResponseModel added in v1.2.0

type TaobaoGameDeliveryvoucherRollbackvoucherAPIResponseModel struct {
	XMLName xml.Name `xml:"game_deliveryvoucher_rollbackvoucher_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoGameDeliveryvoucherRollbackvoucherAPIResponseModel is 回滚券 成功返回结果

func (*TaobaoGameDeliveryvoucherRollbackvoucherAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoGameDeliveryvoucherSendgoodsAPIRequest added in v1.2.0

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

TaobaoGameDeliveryvoucherSendgoodsAPIRequest 提货券发货接口 API请求 taobao.game.deliveryvoucher.sendgoods

提货券发券接口:同步券和订单的关联信息

func GetTaobaoGameDeliveryvoucherSendgoodsAPIRequest added in v1.3.4

func GetTaobaoGameDeliveryvoucherSendgoodsAPIRequest() *TaobaoGameDeliveryvoucherSendgoodsAPIRequest

GetTaobaoGameDeliveryvoucherSendgoodsRequest 从 sync.Pool 获取 TaobaoGameDeliveryvoucherSendgoodsAPIRequest

func NewTaobaoGameDeliveryvoucherSendgoodsRequest

func NewTaobaoGameDeliveryvoucherSendgoodsRequest() *TaobaoGameDeliveryvoucherSendgoodsAPIRequest

NewTaobaoGameDeliveryvoucherSendgoodsRequest 初始化TaobaoGameDeliveryvoucherSendgoodsAPIRequest对象

func (TaobaoGameDeliveryvoucherSendgoodsAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoGameDeliveryvoucherSendgoodsAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoGameDeliveryvoucherSendgoodsAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (TaobaoGameDeliveryvoucherSendgoodsAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoGameDeliveryvoucherSendgoodsAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoGameDeliveryvoucherSendgoodsAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 发券参数

type TaobaoGameDeliveryvoucherSendgoodsAPIResponse

type TaobaoGameDeliveryvoucherSendgoodsAPIResponse struct {
	model.CommonResponse
	TaobaoGameDeliveryvoucherSendgoodsAPIResponseModel
}

TaobaoGameDeliveryvoucherSendgoodsAPIResponse 提货券发货接口 API返回值 taobao.game.deliveryvoucher.sendgoods

提货券发券接口:同步券和订单的关联信息

func GetTaobaoGameDeliveryvoucherSendgoodsAPIResponse added in v1.3.4

func GetTaobaoGameDeliveryvoucherSendgoodsAPIResponse() *TaobaoGameDeliveryvoucherSendgoodsAPIResponse

GetTaobaoGameDeliveryvoucherSendgoodsAPIResponse 从 sync.Pool 获取 TaobaoGameDeliveryvoucherSendgoodsAPIResponse

func (*TaobaoGameDeliveryvoucherSendgoodsAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoGameDeliveryvoucherSendgoodsAPIResponseModel added in v1.2.0

type TaobaoGameDeliveryvoucherSendgoodsAPIResponseModel struct {
	XMLName xml.Name `xml:"game_deliveryvoucher_sendgoods_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoGameDeliveryvoucherSendgoodsAPIResponseModel is 提货券发货接口 成功返回结果

func (*TaobaoGameDeliveryvoucherSendgoodsAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoGameDeliveryvoucherSendvoucherAPIRequest added in v1.2.0

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

TaobaoGameDeliveryvoucherSendvoucherAPIRequest 提货券发券接口 API请求 taobao.game.deliveryvoucher.sendvoucher

提货券发券接口:同步券和订单的关联信息

func GetTaobaoGameDeliveryvoucherSendvoucherAPIRequest added in v1.3.4

func GetTaobaoGameDeliveryvoucherSendvoucherAPIRequest() *TaobaoGameDeliveryvoucherSendvoucherAPIRequest

GetTaobaoGameDeliveryvoucherSendvoucherRequest 从 sync.Pool 获取 TaobaoGameDeliveryvoucherSendvoucherAPIRequest

func NewTaobaoGameDeliveryvoucherSendvoucherRequest

func NewTaobaoGameDeliveryvoucherSendvoucherRequest() *TaobaoGameDeliveryvoucherSendvoucherAPIRequest

NewTaobaoGameDeliveryvoucherSendvoucherRequest 初始化TaobaoGameDeliveryvoucherSendvoucherAPIRequest对象

func (TaobaoGameDeliveryvoucherSendvoucherAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoGameDeliveryvoucherSendvoucherAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoGameDeliveryvoucherSendvoucherAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (TaobaoGameDeliveryvoucherSendvoucherAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoGameDeliveryvoucherSendvoucherAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoGameDeliveryvoucherSendvoucherAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 发券参数

type TaobaoGameDeliveryvoucherSendvoucherAPIResponse

type TaobaoGameDeliveryvoucherSendvoucherAPIResponse struct {
	model.CommonResponse
	TaobaoGameDeliveryvoucherSendvoucherAPIResponseModel
}

TaobaoGameDeliveryvoucherSendvoucherAPIResponse 提货券发券接口 API返回值 taobao.game.deliveryvoucher.sendvoucher

提货券发券接口:同步券和订单的关联信息

func GetTaobaoGameDeliveryvoucherSendvoucherAPIResponse added in v1.3.4

func GetTaobaoGameDeliveryvoucherSendvoucherAPIResponse() *TaobaoGameDeliveryvoucherSendvoucherAPIResponse

GetTaobaoGameDeliveryvoucherSendvoucherAPIResponse 从 sync.Pool 获取 TaobaoGameDeliveryvoucherSendvoucherAPIResponse

func (*TaobaoGameDeliveryvoucherSendvoucherAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoGameDeliveryvoucherSendvoucherAPIResponseModel added in v1.2.0

type TaobaoGameDeliveryvoucherSendvoucherAPIResponseModel struct {
	XMLName xml.Name `xml:"game_deliveryvoucher_sendvoucher_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoGameDeliveryvoucherSendvoucherAPIResponseModel is 提货券发券接口 成功返回结果

func (*TaobaoGameDeliveryvoucherSendvoucherAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoGameDeliveryvoucherWatchAPIRequest added in v1.2.0

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

TaobaoGameDeliveryvoucherWatchAPIRequest 监控预约数据 API请求 taobao.game.deliveryvoucher.watch

监控预约数据

func GetTaobaoGameDeliveryvoucherWatchAPIRequest added in v1.3.4

func GetTaobaoGameDeliveryvoucherWatchAPIRequest() *TaobaoGameDeliveryvoucherWatchAPIRequest

GetTaobaoGameDeliveryvoucherWatchRequest 从 sync.Pool 获取 TaobaoGameDeliveryvoucherWatchAPIRequest

func NewTaobaoGameDeliveryvoucherWatchRequest

func NewTaobaoGameDeliveryvoucherWatchRequest() *TaobaoGameDeliveryvoucherWatchAPIRequest

NewTaobaoGameDeliveryvoucherWatchRequest 初始化TaobaoGameDeliveryvoucherWatchAPIRequest对象

func (TaobaoGameDeliveryvoucherWatchAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoGameDeliveryvoucherWatchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoGameDeliveryvoucherWatchAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoGameDeliveryvoucherWatchAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (TaobaoGameDeliveryvoucherWatchAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoGameDeliveryvoucherWatchAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoGameDeliveryvoucherWatchAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 入参

type TaobaoGameDeliveryvoucherWatchAPIResponse

type TaobaoGameDeliveryvoucherWatchAPIResponse struct {
	model.CommonResponse
	TaobaoGameDeliveryvoucherWatchAPIResponseModel
}

TaobaoGameDeliveryvoucherWatchAPIResponse 监控预约数据 API返回值 taobao.game.deliveryvoucher.watch

监控预约数据

func GetTaobaoGameDeliveryvoucherWatchAPIResponse added in v1.3.4

func GetTaobaoGameDeliveryvoucherWatchAPIResponse() *TaobaoGameDeliveryvoucherWatchAPIResponse

GetTaobaoGameDeliveryvoucherWatchAPIResponse 从 sync.Pool 获取 TaobaoGameDeliveryvoucherWatchAPIResponse

func (*TaobaoGameDeliveryvoucherWatchAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoGameDeliveryvoucherWatchAPIResponseModel added in v1.2.0

type TaobaoGameDeliveryvoucherWatchAPIResponseModel struct {
	XMLName xml.Name `xml:"game_deliveryvoucher_watch_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// isSuccess
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoGameDeliveryvoucherWatchAPIResponseModel is 监控预约数据 成功返回结果

func (*TaobaoGameDeliveryvoucherWatchAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type VoucherEvaluateRequest

type VoucherEvaluateRequest struct {
	// 券信息,券信息,最多20条券记录
	VoucherInfos []DeliveryVoucherInfoDto `json:"voucher_infos,omitempty" xml:"voucher_infos>delivery_voucher_info_dto,omitempty"`
	// 评价内容
	EvaluateContent string `json:"evaluate_content,omitempty" xml:"evaluate_content,omitempty"`
	// 可扩展字段
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 评价时间
	EvaluateTime string `json:"evaluate_time,omitempty" xml:"evaluate_time,omitempty"`
	// 操作时间
	OperateDate string `json:"operate_date,omitempty" xml:"operate_date,omitempty"`
	// 流水号:唯一,幂等性判断
	OpId string `json:"op_id,omitempty" xml:"op_id,omitempty"`
	// 第三方服务商标识,top appkey
	Provider string `json:"provider,omitempty" xml:"provider,omitempty"`
	// 评价分数 1:失望;2:不满;3:一般;4:满意;5:惊喜
	EvaluateScore int64 `json:"evaluate_score,omitempty" xml:"evaluate_score,omitempty"`
	// 主交易订单号
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
}

VoucherEvaluateRequest 结构体

func GetVoucherEvaluateRequest added in v1.3.4

func GetVoucherEvaluateRequest() *VoucherEvaluateRequest

GetVoucherEvaluateRequest() 从对象池中获取VoucherEvaluateRequest

type WatchAppointmentRequest

type WatchAppointmentRequest struct {
	// 可扩展字段
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 流水号:唯一,幂等性判断
	OpId string `json:"op_id,omitempty" xml:"op_id,omitempty"`
	// 操作时间
	OperationTime string `json:"operation_time,omitempty" xml:"operation_time,omitempty"`
	// 第三方服务商标识 top appkey
	Provider string `json:"provider,omitempty" xml:"provider,omitempty"`
	// 日期
	Date string `json:"date,omitempty" xml:"date,omitempty"`
	// 商家名称
	MerchantName string `json:"merchant_name,omitempty" xml:"merchant_name,omitempty"`
	// 数据类型0:初始化,1:修改,2:每天同步	必填
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 当前预约容量上限,type为0和1是必填
	CurrentCapacity int64 `json:"current_capacity,omitempty" xml:"current_capacity,omitempty"`
	// 商家id
	MerchantId int64 `json:"merchant_id,omitempty" xml:"merchant_id,omitempty"`
	// 修改前预约容量上限	type为0和1是必填
	PreviousCapacity int64 `json:"previous_capacity,omitempty" xml:"previous_capacity,omitempty"`
	// 最终预约数量	type为2必填
	ActualAppointment int64 `json:"actual_appointment,omitempty" xml:"actual_appointment,omitempty"`
}

WatchAppointmentRequest 结构体

func GetWatchAppointmentRequest added in v1.3.4

func GetWatchAppointmentRequest() *WatchAppointmentRequest

GetWatchAppointmentRequest() 从对象池中获取WatchAppointmentRequest

Jump to

Keyboard shortcuts

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