Documentation ¶
Overview ¶
Package deliveryvoucher 包含淘宝卡券平台相关结构体
Index ¶
- type CancelVoucherRequest
- type DeliveryVoucherDto
- type DeliveryVoucherInfoDto
- type OrderVoucherRequest
- type RollbackVoucherRequest
- type SendVoucherRequest
- type TaobaogamedeliveryvouchercancelvoucherAPIRequest
- func (r TaobaogamedeliveryvouchercancelvoucherAPIRequest) GetApiMethodName() string
- func (r TaobaogamedeliveryvouchercancelvoucherAPIRequest) GetApiParams(params url.Values)
- func (r TaobaogamedeliveryvouchercancelvoucherAPIRequest) GetParam0() *CancelVoucherRequest
- func (r TaobaogamedeliveryvouchercancelvoucherAPIRequest) GetRawParams() model.Params
- func (r *TaobaogamedeliveryvouchercancelvoucherAPIRequest) SetParam0(_param0 *CancelVoucherRequest) error
- type TaobaogamedeliveryvouchercancelvoucherAPIResponse
- type TaobaogamedeliveryvouchercancelvoucherAPIResponseModel
- type TaobaogamedeliveryvoucherevaluateAPIRequest
- func (r TaobaogamedeliveryvoucherevaluateAPIRequest) GetApiMethodName() string
- func (r TaobaogamedeliveryvoucherevaluateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaogamedeliveryvoucherevaluateAPIRequest) GetParam0() *VoucherEvaluateRequest
- func (r TaobaogamedeliveryvoucherevaluateAPIRequest) GetRawParams() model.Params
- func (r *TaobaogamedeliveryvoucherevaluateAPIRequest) SetParam0(_param0 *VoucherEvaluateRequest) error
- type TaobaogamedeliveryvoucherevaluateAPIResponse
- type TaobaogamedeliveryvoucherevaluateAPIResponseModel
- type TaobaogamedeliveryvoucherordervoucherAPIRequest
- func (r TaobaogamedeliveryvoucherordervoucherAPIRequest) GetApiMethodName() string
- func (r TaobaogamedeliveryvoucherordervoucherAPIRequest) GetApiParams(params url.Values)
- func (r TaobaogamedeliveryvoucherordervoucherAPIRequest) GetParam0() *OrderVoucherRequest
- func (r TaobaogamedeliveryvoucherordervoucherAPIRequest) GetRawParams() model.Params
- func (r *TaobaogamedeliveryvoucherordervoucherAPIRequest) SetParam0(_param0 *OrderVoucherRequest) error
- type TaobaogamedeliveryvoucherordervoucherAPIResponse
- type TaobaogamedeliveryvoucherordervoucherAPIResponseModel
- type TaobaogamedeliveryvoucherrollbackvoucherAPIRequest
- func (r TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) GetApiMethodName() string
- func (r TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) GetApiParams(params url.Values)
- func (r TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) GetParam0() *RollbackVoucherRequest
- func (r TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) GetRawParams() model.Params
- func (r *TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) SetParam0(_param0 *RollbackVoucherRequest) error
- type TaobaogamedeliveryvoucherrollbackvoucherAPIResponse
- type TaobaogamedeliveryvoucherrollbackvoucherAPIResponseModel
- type TaobaogamedeliveryvouchersendgoodsAPIRequest
- func (r TaobaogamedeliveryvouchersendgoodsAPIRequest) GetApiMethodName() string
- func (r TaobaogamedeliveryvouchersendgoodsAPIRequest) GetApiParams(params url.Values)
- func (r TaobaogamedeliveryvouchersendgoodsAPIRequest) GetParam0() *SendVoucherRequest
- func (r TaobaogamedeliveryvouchersendgoodsAPIRequest) GetRawParams() model.Params
- func (r *TaobaogamedeliveryvouchersendgoodsAPIRequest) SetParam0(_param0 *SendVoucherRequest) error
- type TaobaogamedeliveryvouchersendgoodsAPIResponse
- type TaobaogamedeliveryvouchersendgoodsAPIResponseModel
- type TaobaogamedeliveryvouchersendvoucherAPIRequest
- func (r TaobaogamedeliveryvouchersendvoucherAPIRequest) GetApiMethodName() string
- func (r TaobaogamedeliveryvouchersendvoucherAPIRequest) GetApiParams(params url.Values)
- func (r TaobaogamedeliveryvouchersendvoucherAPIRequest) GetParam0() *SendVoucherRequest
- func (r TaobaogamedeliveryvouchersendvoucherAPIRequest) GetRawParams() model.Params
- func (r *TaobaogamedeliveryvouchersendvoucherAPIRequest) SetParam0(_param0 *SendVoucherRequest) error
- type TaobaogamedeliveryvouchersendvoucherAPIResponse
- type TaobaogamedeliveryvouchersendvoucherAPIResponseModel
- type TaobaogamedeliveryvoucherwatchAPIRequest
- func (r TaobaogamedeliveryvoucherwatchAPIRequest) GetApiMethodName() string
- func (r TaobaogamedeliveryvoucherwatchAPIRequest) GetApiParams(params url.Values)
- func (r TaobaogamedeliveryvoucherwatchAPIRequest) GetParam0() *WatchAppointmentRequest
- func (r TaobaogamedeliveryvoucherwatchAPIRequest) GetRawParams() model.Params
- func (r *TaobaogamedeliveryvoucherwatchAPIRequest) SetParam0(_param0 *WatchAppointmentRequest) error
- type TaobaogamedeliveryvoucherwatchAPIResponse
- type TaobaogamedeliveryvoucherwatchAPIResponseModel
- type VoucherEvaluateRequest
- type WatchAppointmentRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
type TaobaogamedeliveryvouchercancelvoucherAPIRequest ¶ added in v1.3.1
type TaobaogamedeliveryvouchercancelvoucherAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaogamedeliveryvouchercancelvoucherAPIRequest 作废券 API请求 taobao.game.deliveryvoucher.cancelvoucher
提货券发券接口:同步券和订单的关联信息
func NewTaobaogamedeliveryvouchercancelvoucherRequest ¶ added in v1.3.1
func NewTaobaogamedeliveryvouchercancelvoucherRequest() *TaobaogamedeliveryvouchercancelvoucherAPIRequest
NewTaobaogamedeliveryvouchercancelvoucherRequest 初始化TaobaogamedeliveryvouchercancelvoucherAPIRequest对象
func (TaobaogamedeliveryvouchercancelvoucherAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaogamedeliveryvouchercancelvoucherAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaogamedeliveryvouchercancelvoucherAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaogamedeliveryvouchercancelvoucherAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaogamedeliveryvouchercancelvoucherAPIRequest) GetParam0 ¶ added in v1.3.1
func (r TaobaogamedeliveryvouchercancelvoucherAPIRequest) GetParam0() *CancelVoucherRequest
GetParam0 Param0 Getter
func (TaobaogamedeliveryvouchercancelvoucherAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaogamedeliveryvouchercancelvoucherAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaogamedeliveryvouchercancelvoucherAPIRequest) SetParam0 ¶ added in v1.3.1
func (r *TaobaogamedeliveryvouchercancelvoucherAPIRequest) SetParam0(_param0 *CancelVoucherRequest) error
SetParam0 is Param0 Setter 发券参数
type TaobaogamedeliveryvouchercancelvoucherAPIResponse ¶ added in v1.3.1
type TaobaogamedeliveryvouchercancelvoucherAPIResponse struct { model.CommonResponse TaobaogamedeliveryvouchercancelvoucherAPIResponseModel }
TaobaogamedeliveryvouchercancelvoucherAPIResponse 作废券 API返回值 taobao.game.deliveryvoucher.cancelvoucher
提货券发券接口:同步券和订单的关联信息
type TaobaogamedeliveryvouchercancelvoucherAPIResponseModel ¶ added in v1.3.1
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 作废券 成功返回结果
type TaobaogamedeliveryvoucherevaluateAPIRequest ¶ added in v1.3.1
type TaobaogamedeliveryvoucherevaluateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaogamedeliveryvoucherevaluateAPIRequest 卡券评价回传 API请求 taobao.game.deliveryvoucher.evaluate
卡券ISV回传商品评价
func NewTaobaogamedeliveryvoucherevaluateRequest ¶ added in v1.3.1
func NewTaobaogamedeliveryvoucherevaluateRequest() *TaobaogamedeliveryvoucherevaluateAPIRequest
NewTaobaogamedeliveryvoucherevaluateRequest 初始化TaobaogamedeliveryvoucherevaluateAPIRequest对象
func (TaobaogamedeliveryvoucherevaluateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherevaluateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaogamedeliveryvoucherevaluateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherevaluateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaogamedeliveryvoucherevaluateAPIRequest) GetParam0 ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherevaluateAPIRequest) GetParam0() *VoucherEvaluateRequest
GetParam0 Param0 Getter
func (TaobaogamedeliveryvoucherevaluateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherevaluateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaogamedeliveryvoucherevaluateAPIRequest) SetParam0 ¶ added in v1.3.1
func (r *TaobaogamedeliveryvoucherevaluateAPIRequest) SetParam0(_param0 *VoucherEvaluateRequest) error
SetParam0 is Param0 Setter 系统自动生成
type TaobaogamedeliveryvoucherevaluateAPIResponse ¶ added in v1.3.1
type TaobaogamedeliveryvoucherevaluateAPIResponse struct { model.CommonResponse TaobaogamedeliveryvoucherevaluateAPIResponseModel }
TaobaogamedeliveryvoucherevaluateAPIResponse 卡券评价回传 API返回值 taobao.game.deliveryvoucher.evaluate
卡券ISV回传商品评价
type TaobaogamedeliveryvoucherevaluateAPIResponseModel ¶ added in v1.3.1
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 卡券评价回传 成功返回结果
type TaobaogamedeliveryvoucherordervoucherAPIRequest ¶ added in v1.3.1
type TaobaogamedeliveryvoucherordervoucherAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaogamedeliveryvoucherordervoucherAPIRequest 预约接口 API请求 taobao.game.deliveryvoucher.ordervoucher
提货券发券接口:同步券和订单的关联信息
func NewTaobaogamedeliveryvoucherordervoucherRequest ¶ added in v1.3.1
func NewTaobaogamedeliveryvoucherordervoucherRequest() *TaobaogamedeliveryvoucherordervoucherAPIRequest
NewTaobaogamedeliveryvoucherordervoucherRequest 初始化TaobaogamedeliveryvoucherordervoucherAPIRequest对象
func (TaobaogamedeliveryvoucherordervoucherAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherordervoucherAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaogamedeliveryvoucherordervoucherAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherordervoucherAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaogamedeliveryvoucherordervoucherAPIRequest) GetParam0 ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherordervoucherAPIRequest) GetParam0() *OrderVoucherRequest
GetParam0 Param0 Getter
func (TaobaogamedeliveryvoucherordervoucherAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherordervoucherAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaogamedeliveryvoucherordervoucherAPIRequest) SetParam0 ¶ added in v1.3.1
func (r *TaobaogamedeliveryvoucherordervoucherAPIRequest) SetParam0(_param0 *OrderVoucherRequest) error
SetParam0 is Param0 Setter 发券参数
type TaobaogamedeliveryvoucherordervoucherAPIResponse ¶ added in v1.3.1
type TaobaogamedeliveryvoucherordervoucherAPIResponse struct { model.CommonResponse TaobaogamedeliveryvoucherordervoucherAPIResponseModel }
TaobaogamedeliveryvoucherordervoucherAPIResponse 预约接口 API返回值 taobao.game.deliveryvoucher.ordervoucher
提货券发券接口:同步券和订单的关联信息
type TaobaogamedeliveryvoucherordervoucherAPIResponseModel ¶ added in v1.3.1
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 预约接口 成功返回结果
type TaobaogamedeliveryvoucherrollbackvoucherAPIRequest ¶ added in v1.3.1
type TaobaogamedeliveryvoucherrollbackvoucherAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaogamedeliveryvoucherrollbackvoucherAPIRequest 回滚券 API请求 taobao.game.deliveryvoucher.rollbackvoucher
提货券发券接口:同步券和订单的关联信息
func NewTaobaogamedeliveryvoucherrollbackvoucherRequest ¶ added in v1.3.1
func NewTaobaogamedeliveryvoucherrollbackvoucherRequest() *TaobaogamedeliveryvoucherrollbackvoucherAPIRequest
NewTaobaogamedeliveryvoucherrollbackvoucherRequest 初始化TaobaogamedeliveryvoucherrollbackvoucherAPIRequest对象
func (TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) GetParam0 ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) GetParam0() *RollbackVoucherRequest
GetParam0 Param0 Getter
func (TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) SetParam0 ¶ added in v1.3.1
func (r *TaobaogamedeliveryvoucherrollbackvoucherAPIRequest) SetParam0(_param0 *RollbackVoucherRequest) error
SetParam0 is Param0 Setter 发券参数
type TaobaogamedeliveryvoucherrollbackvoucherAPIResponse ¶ added in v1.3.1
type TaobaogamedeliveryvoucherrollbackvoucherAPIResponse struct { model.CommonResponse TaobaogamedeliveryvoucherrollbackvoucherAPIResponseModel }
TaobaogamedeliveryvoucherrollbackvoucherAPIResponse 回滚券 API返回值 taobao.game.deliveryvoucher.rollbackvoucher
提货券发券接口:同步券和订单的关联信息
type TaobaogamedeliveryvoucherrollbackvoucherAPIResponseModel ¶ added in v1.3.1
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 回滚券 成功返回结果
type TaobaogamedeliveryvouchersendgoodsAPIRequest ¶ added in v1.3.1
type TaobaogamedeliveryvouchersendgoodsAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaogamedeliveryvouchersendgoodsAPIRequest 提货券发货接口 API请求 taobao.game.deliveryvoucher.sendgoods
提货券发券接口:同步券和订单的关联信息
func NewTaobaogamedeliveryvouchersendgoodsRequest ¶ added in v1.3.1
func NewTaobaogamedeliveryvouchersendgoodsRequest() *TaobaogamedeliveryvouchersendgoodsAPIRequest
NewTaobaogamedeliveryvouchersendgoodsRequest 初始化TaobaogamedeliveryvouchersendgoodsAPIRequest对象
func (TaobaogamedeliveryvouchersendgoodsAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaogamedeliveryvouchersendgoodsAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaogamedeliveryvouchersendgoodsAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaogamedeliveryvouchersendgoodsAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaogamedeliveryvouchersendgoodsAPIRequest) GetParam0 ¶ added in v1.3.1
func (r TaobaogamedeliveryvouchersendgoodsAPIRequest) GetParam0() *SendVoucherRequest
GetParam0 Param0 Getter
func (TaobaogamedeliveryvouchersendgoodsAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaogamedeliveryvouchersendgoodsAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaogamedeliveryvouchersendgoodsAPIRequest) SetParam0 ¶ added in v1.3.1
func (r *TaobaogamedeliveryvouchersendgoodsAPIRequest) SetParam0(_param0 *SendVoucherRequest) error
SetParam0 is Param0 Setter 发券参数
type TaobaogamedeliveryvouchersendgoodsAPIResponse ¶ added in v1.3.1
type TaobaogamedeliveryvouchersendgoodsAPIResponse struct { model.CommonResponse TaobaogamedeliveryvouchersendgoodsAPIResponseModel }
TaobaogamedeliveryvouchersendgoodsAPIResponse 提货券发货接口 API返回值 taobao.game.deliveryvoucher.sendgoods
提货券发券接口:同步券和订单的关联信息
type TaobaogamedeliveryvouchersendgoodsAPIResponseModel ¶ added in v1.3.1
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 提货券发货接口 成功返回结果
type TaobaogamedeliveryvouchersendvoucherAPIRequest ¶ added in v1.3.1
type TaobaogamedeliveryvouchersendvoucherAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaogamedeliveryvouchersendvoucherAPIRequest 提货券发券接口 API请求 taobao.game.deliveryvoucher.sendvoucher
提货券发券接口:同步券和订单的关联信息
func NewTaobaogamedeliveryvouchersendvoucherRequest ¶ added in v1.3.1
func NewTaobaogamedeliveryvouchersendvoucherRequest() *TaobaogamedeliveryvouchersendvoucherAPIRequest
NewTaobaogamedeliveryvouchersendvoucherRequest 初始化TaobaogamedeliveryvouchersendvoucherAPIRequest对象
func (TaobaogamedeliveryvouchersendvoucherAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaogamedeliveryvouchersendvoucherAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaogamedeliveryvouchersendvoucherAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaogamedeliveryvouchersendvoucherAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaogamedeliveryvouchersendvoucherAPIRequest) GetParam0 ¶ added in v1.3.1
func (r TaobaogamedeliveryvouchersendvoucherAPIRequest) GetParam0() *SendVoucherRequest
GetParam0 Param0 Getter
func (TaobaogamedeliveryvouchersendvoucherAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaogamedeliveryvouchersendvoucherAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaogamedeliveryvouchersendvoucherAPIRequest) SetParam0 ¶ added in v1.3.1
func (r *TaobaogamedeliveryvouchersendvoucherAPIRequest) SetParam0(_param0 *SendVoucherRequest) error
SetParam0 is Param0 Setter 发券参数
type TaobaogamedeliveryvouchersendvoucherAPIResponse ¶ added in v1.3.1
type TaobaogamedeliveryvouchersendvoucherAPIResponse struct { model.CommonResponse TaobaogamedeliveryvouchersendvoucherAPIResponseModel }
TaobaogamedeliveryvouchersendvoucherAPIResponse 提货券发券接口 API返回值 taobao.game.deliveryvoucher.sendvoucher
提货券发券接口:同步券和订单的关联信息
type TaobaogamedeliveryvouchersendvoucherAPIResponseModel ¶ added in v1.3.1
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 提货券发券接口 成功返回结果
type TaobaogamedeliveryvoucherwatchAPIRequest ¶ added in v1.3.1
type TaobaogamedeliveryvoucherwatchAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaogamedeliveryvoucherwatchAPIRequest 监控预约数据 API请求 taobao.game.deliveryvoucher.watch
监控预约数据
func NewTaobaogamedeliveryvoucherwatchRequest ¶ added in v1.3.1
func NewTaobaogamedeliveryvoucherwatchRequest() *TaobaogamedeliveryvoucherwatchAPIRequest
NewTaobaogamedeliveryvoucherwatchRequest 初始化TaobaogamedeliveryvoucherwatchAPIRequest对象
func (TaobaogamedeliveryvoucherwatchAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherwatchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaogamedeliveryvoucherwatchAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherwatchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaogamedeliveryvoucherwatchAPIRequest) GetParam0 ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherwatchAPIRequest) GetParam0() *WatchAppointmentRequest
GetParam0 Param0 Getter
func (TaobaogamedeliveryvoucherwatchAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaogamedeliveryvoucherwatchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaogamedeliveryvoucherwatchAPIRequest) SetParam0 ¶ added in v1.3.1
func (r *TaobaogamedeliveryvoucherwatchAPIRequest) SetParam0(_param0 *WatchAppointmentRequest) error
SetParam0 is Param0 Setter 入参
type TaobaogamedeliveryvoucherwatchAPIResponse ¶ added in v1.3.1
type TaobaogamedeliveryvoucherwatchAPIResponse struct { model.CommonResponse TaobaogamedeliveryvoucherwatchAPIResponseModel }
TaobaogamedeliveryvoucherwatchAPIResponse 监控预约数据 API返回值 taobao.game.deliveryvoucher.watch
监控预约数据
type TaobaogamedeliveryvoucherwatchAPIResponseModel ¶ added in v1.3.1
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 监控预约数据 成功返回结果
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 结构体
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 结构体
Source Files ¶
- CancelVoucherRequest.go
- DeliveryVoucherDto.go
- DeliveryVoucherInfoDto.go
- OrderVoucherRequest.go
- RollbackVoucherRequest.go
- SendVoucherRequest.go
- TaobaoGameDeliveryvoucherCancelvoucherAPIRequest.go
- TaobaoGameDeliveryvoucherCancelvoucherAPIResponse.go
- TaobaoGameDeliveryvoucherEvaluateAPIRequest.go
- TaobaoGameDeliveryvoucherEvaluateAPIResponse.go
- TaobaoGameDeliveryvoucherOrdervoucherAPIRequest.go
- TaobaoGameDeliveryvoucherOrdervoucherAPIResponse.go
- TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest.go
- TaobaoGameDeliveryvoucherRollbackvoucherAPIResponse.go
- TaobaoGameDeliveryvoucherSendgoodsAPIRequest.go
- TaobaoGameDeliveryvoucherSendgoodsAPIResponse.go
- TaobaoGameDeliveryvoucherSendvoucherAPIRequest.go
- TaobaoGameDeliveryvoucherSendvoucherAPIResponse.go
- TaobaoGameDeliveryvoucherWatchAPIRequest.go
- TaobaoGameDeliveryvoucherWatchAPIResponse.go
- VoucherEvaluateRequest.go
- WatchAppointmentRequest.go
- doc.go