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.2.0
type TaobaoGameDeliveryvoucherCancelvoucherAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoGameDeliveryvoucherCancelvoucherAPIRequest 作废券 API请求 taobao.game.deliveryvoucher.cancelvoucher
提货券发券接口:同步券和订单的关联信息
func NewTaobaoGameDeliveryvoucherCancelvoucherRequest ¶
func NewTaobaoGameDeliveryvoucherCancelvoucherRequest() *TaobaoGameDeliveryvoucherCancelvoucherAPIRequest
NewTaobaoGameDeliveryvoucherCancelvoucherRequest 初始化TaobaoGameDeliveryvoucherCancelvoucherAPIRequest对象
func (TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) GetParam0 ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) GetParam0() *CancelVoucherRequest
GetParam0 Param0 Getter
func (TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) SetParam0 ¶ added in v1.2.0
func (r *TaobaoGameDeliveryvoucherCancelvoucherAPIRequest) SetParam0(_param0 *CancelVoucherRequest) error
SetParam0 is Param0 Setter 发券参数
type TaobaoGameDeliveryvoucherCancelvoucherAPIResponse ¶
type TaobaoGameDeliveryvoucherCancelvoucherAPIResponse struct { model.CommonResponse TaobaoGameDeliveryvoucherCancelvoucherAPIResponseModel }
TaobaoGameDeliveryvoucherCancelvoucherAPIResponse 作废券 API返回值 taobao.game.deliveryvoucher.cancelvoucher
提货券发券接口:同步券和订单的关联信息
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 作废券 成功返回结果
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 NewTaobaoGameDeliveryvoucherEvaluateRequest ¶
func NewTaobaoGameDeliveryvoucherEvaluateRequest() *TaobaoGameDeliveryvoucherEvaluateAPIRequest
NewTaobaoGameDeliveryvoucherEvaluateRequest 初始化TaobaoGameDeliveryvoucherEvaluateAPIRequest对象
func (TaobaoGameDeliveryvoucherEvaluateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherEvaluateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoGameDeliveryvoucherEvaluateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherEvaluateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoGameDeliveryvoucherEvaluateAPIRequest) GetParam0 ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherEvaluateAPIRequest) GetParam0() *VoucherEvaluateRequest
GetParam0 Param0 Getter
func (TaobaoGameDeliveryvoucherEvaluateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoGameDeliveryvoucherEvaluateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoGameDeliveryvoucherEvaluateAPIRequest) SetParam0 ¶ added in v1.2.0
func (r *TaobaoGameDeliveryvoucherEvaluateAPIRequest) SetParam0(_param0 *VoucherEvaluateRequest) error
SetParam0 is Param0 Setter 系统自动生成
type TaobaoGameDeliveryvoucherEvaluateAPIResponse ¶
type TaobaoGameDeliveryvoucherEvaluateAPIResponse struct { model.CommonResponse TaobaoGameDeliveryvoucherEvaluateAPIResponseModel }
TaobaoGameDeliveryvoucherEvaluateAPIResponse 卡券评价回传 API返回值 taobao.game.deliveryvoucher.evaluate
卡券ISV回传商品评价
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 卡券评价回传 成功返回结果
type TaobaoGameDeliveryvoucherOrdervoucherAPIRequest ¶ added in v1.2.0
type TaobaoGameDeliveryvoucherOrdervoucherAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoGameDeliveryvoucherOrdervoucherAPIRequest 预约接口 API请求 taobao.game.deliveryvoucher.ordervoucher
提货券发券接口:同步券和订单的关联信息
func NewTaobaoGameDeliveryvoucherOrdervoucherRequest ¶
func NewTaobaoGameDeliveryvoucherOrdervoucherRequest() *TaobaoGameDeliveryvoucherOrdervoucherAPIRequest
NewTaobaoGameDeliveryvoucherOrdervoucherRequest 初始化TaobaoGameDeliveryvoucherOrdervoucherAPIRequest对象
func (TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) GetParam0 ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) GetParam0() *OrderVoucherRequest
GetParam0 Param0 Getter
func (TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) SetParam0 ¶ added in v1.2.0
func (r *TaobaoGameDeliveryvoucherOrdervoucherAPIRequest) SetParam0(_param0 *OrderVoucherRequest) error
SetParam0 is Param0 Setter 发券参数
type TaobaoGameDeliveryvoucherOrdervoucherAPIResponse ¶
type TaobaoGameDeliveryvoucherOrdervoucherAPIResponse struct { model.CommonResponse TaobaoGameDeliveryvoucherOrdervoucherAPIResponseModel }
TaobaoGameDeliveryvoucherOrdervoucherAPIResponse 预约接口 API返回值 taobao.game.deliveryvoucher.ordervoucher
提货券发券接口:同步券和订单的关联信息
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 预约接口 成功返回结果
type TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest ¶ added in v1.2.0
type TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest 回滚券 API请求 taobao.game.deliveryvoucher.rollbackvoucher
提货券发券接口:同步券和订单的关联信息
func NewTaobaoGameDeliveryvoucherRollbackvoucherRequest ¶
func NewTaobaoGameDeliveryvoucherRollbackvoucherRequest() *TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest
NewTaobaoGameDeliveryvoucherRollbackvoucherRequest 初始化TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest对象
func (TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) GetParam0 ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) GetParam0() *RollbackVoucherRequest
GetParam0 Param0 Getter
func (TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) SetParam0 ¶ added in v1.2.0
func (r *TaobaoGameDeliveryvoucherRollbackvoucherAPIRequest) SetParam0(_param0 *RollbackVoucherRequest) error
SetParam0 is Param0 Setter 发券参数
type TaobaoGameDeliveryvoucherRollbackvoucherAPIResponse ¶
type TaobaoGameDeliveryvoucherRollbackvoucherAPIResponse struct { model.CommonResponse TaobaoGameDeliveryvoucherRollbackvoucherAPIResponseModel }
TaobaoGameDeliveryvoucherRollbackvoucherAPIResponse 回滚券 API返回值 taobao.game.deliveryvoucher.rollbackvoucher
提货券发券接口:同步券和订单的关联信息
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 回滚券 成功返回结果
type TaobaoGameDeliveryvoucherSendgoodsAPIRequest ¶ added in v1.2.0
type TaobaoGameDeliveryvoucherSendgoodsAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoGameDeliveryvoucherSendgoodsAPIRequest 提货券发货接口 API请求 taobao.game.deliveryvoucher.sendgoods
提货券发券接口:同步券和订单的关联信息
func NewTaobaoGameDeliveryvoucherSendgoodsRequest ¶
func NewTaobaoGameDeliveryvoucherSendgoodsRequest() *TaobaoGameDeliveryvoucherSendgoodsAPIRequest
NewTaobaoGameDeliveryvoucherSendgoodsRequest 初始化TaobaoGameDeliveryvoucherSendgoodsAPIRequest对象
func (TaobaoGameDeliveryvoucherSendgoodsAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherSendgoodsAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoGameDeliveryvoucherSendgoodsAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherSendgoodsAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoGameDeliveryvoucherSendgoodsAPIRequest) GetParam0 ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherSendgoodsAPIRequest) GetParam0() *SendVoucherRequest
GetParam0 Param0 Getter
func (TaobaoGameDeliveryvoucherSendgoodsAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoGameDeliveryvoucherSendgoodsAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoGameDeliveryvoucherSendgoodsAPIRequest) SetParam0 ¶ added in v1.2.0
func (r *TaobaoGameDeliveryvoucherSendgoodsAPIRequest) SetParam0(_param0 *SendVoucherRequest) error
SetParam0 is Param0 Setter 发券参数
type TaobaoGameDeliveryvoucherSendgoodsAPIResponse ¶
type TaobaoGameDeliveryvoucherSendgoodsAPIResponse struct { model.CommonResponse TaobaoGameDeliveryvoucherSendgoodsAPIResponseModel }
TaobaoGameDeliveryvoucherSendgoodsAPIResponse 提货券发货接口 API返回值 taobao.game.deliveryvoucher.sendgoods
提货券发券接口:同步券和订单的关联信息
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 提货券发货接口 成功返回结果
type TaobaoGameDeliveryvoucherSendvoucherAPIRequest ¶ added in v1.2.0
type TaobaoGameDeliveryvoucherSendvoucherAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoGameDeliveryvoucherSendvoucherAPIRequest 提货券发券接口 API请求 taobao.game.deliveryvoucher.sendvoucher
提货券发券接口:同步券和订单的关联信息
func NewTaobaoGameDeliveryvoucherSendvoucherRequest ¶
func NewTaobaoGameDeliveryvoucherSendvoucherRequest() *TaobaoGameDeliveryvoucherSendvoucherAPIRequest
NewTaobaoGameDeliveryvoucherSendvoucherRequest 初始化TaobaoGameDeliveryvoucherSendvoucherAPIRequest对象
func (TaobaoGameDeliveryvoucherSendvoucherAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherSendvoucherAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoGameDeliveryvoucherSendvoucherAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherSendvoucherAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoGameDeliveryvoucherSendvoucherAPIRequest) GetParam0 ¶ added in v1.2.0
func (r TaobaoGameDeliveryvoucherSendvoucherAPIRequest) GetParam0() *SendVoucherRequest
GetParam0 Param0 Getter
func (TaobaoGameDeliveryvoucherSendvoucherAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoGameDeliveryvoucherSendvoucherAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoGameDeliveryvoucherSendvoucherAPIRequest) SetParam0 ¶ added in v1.2.0
func (r *TaobaoGameDeliveryvoucherSendvoucherAPIRequest) SetParam0(_param0 *SendVoucherRequest) error
SetParam0 is Param0 Setter 发券参数
type TaobaoGameDeliveryvoucherSendvoucherAPIResponse ¶
type TaobaoGameDeliveryvoucherSendvoucherAPIResponse struct { model.CommonResponse TaobaoGameDeliveryvoucherSendvoucherAPIResponseModel }
TaobaoGameDeliveryvoucherSendvoucherAPIResponse 提货券发券接口 API返回值 taobao.game.deliveryvoucher.sendvoucher
提货券发券接口:同步券和订单的关联信息
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 提货券发券接口 成功返回结果
type TaobaoGameDeliveryvoucherWatchAPIRequest ¶ added in v1.2.0
type TaobaoGameDeliveryvoucherWatchAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoGameDeliveryvoucherWatchAPIRequest 监控预约数据 API请求 taobao.game.deliveryvoucher.watch
监控预约数据
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
func (r TaobaoGameDeliveryvoucherWatchAPIRequest) GetParam0() *WatchAppointmentRequest
GetParam0 Param0 Getter
func (TaobaoGameDeliveryvoucherWatchAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoGameDeliveryvoucherWatchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoGameDeliveryvoucherWatchAPIRequest) SetParam0 ¶ added in v1.2.0
func (r *TaobaoGameDeliveryvoucherWatchAPIRequest) SetParam0(_param0 *WatchAppointmentRequest) error
SetParam0 is Param0 Setter 入参
type TaobaoGameDeliveryvoucherWatchAPIResponse ¶
type TaobaoGameDeliveryvoucherWatchAPIResponse struct { model.CommonResponse TaobaoGameDeliveryvoucherWatchAPIResponseModel }
TaobaoGameDeliveryvoucherWatchAPIResponse 监控预约数据 API返回值 taobao.game.deliveryvoucher.watch
监控预约数据
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 监控预约数据 成功返回结果
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