Documentation ¶
Overview ¶
Package ottpay 包含ott支付相关结构体
Index ¶
- type CommonResult
- type TvOrderQueryResultDto
- type TvOrderResultDto
- type YoukuottiotdevicelistchangeAPIRequest
- func (r YoukuottiotdevicelistchangeAPIRequest) GetApiMethodName() string
- func (r YoukuottiotdevicelistchangeAPIRequest) GetApiParams(params url.Values)
- func (r YoukuottiotdevicelistchangeAPIRequest) GetChangeInfo() string
- func (r YoukuottiotdevicelistchangeAPIRequest) GetRawParams() model.Params
- func (r *YoukuottiotdevicelistchangeAPIRequest) SetChangeInfo(_changeInfo string) error
- type YoukuottiotdevicelistchangeAPIResponse
- type YoukuottiotdevicelistchangeAPIResponseModel
- type YoukuottiotstatuspushAPIRequest
- func (r YoukuottiotstatuspushAPIRequest) GetApiMethodName() string
- func (r YoukuottiotstatuspushAPIRequest) GetApiParams(params url.Values)
- func (r YoukuottiotstatuspushAPIRequest) GetChangeInfo() string
- func (r YoukuottiotstatuspushAPIRequest) GetRawParams() model.Params
- func (r *YoukuottiotstatuspushAPIRequest) SetChangeInfo(_changeInfo string) error
- type YoukuottiotstatuspushAPIResponse
- type YoukuottiotstatuspushAPIResponseModel
- type YoukuottpayorderauthpayAPIRequest
- func (r YoukuottpayorderauthpayAPIRequest) GetApiMethodName() string
- func (r YoukuottpayorderauthpayAPIRequest) GetApiParams(params url.Values)
- func (r YoukuottpayorderauthpayAPIRequest) GetBuyer() string
- func (r YoukuottpayorderauthpayAPIRequest) GetCallbackUrl() string
- func (r YoukuottpayorderauthpayAPIRequest) GetOrderNo() string
- func (r YoukuottpayorderauthpayAPIRequest) GetOriginalOrderNo() string
- func (r YoukuottpayorderauthpayAPIRequest) GetProductId() string
- func (r YoukuottpayorderauthpayAPIRequest) GetRawParams() model.Params
- func (r *YoukuottpayorderauthpayAPIRequest) SetBuyer(_buyer string) error
- func (r *YoukuottpayorderauthpayAPIRequest) SetCallbackUrl(_callbackUrl string) error
- func (r *YoukuottpayorderauthpayAPIRequest) SetOrderNo(_orderNo string) error
- func (r *YoukuottpayorderauthpayAPIRequest) SetOriginalOrderNo(_originalOrderNo string) error
- func (r *YoukuottpayorderauthpayAPIRequest) SetProductId(_productId string) error
- type YoukuottpayorderauthpayAPIResponse
- type YoukuottpayorderauthpayAPIResponseModel
- type YoukuottpayorderauthpaywithpriceAPIRequest
- func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetApiMethodName() string
- func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetApiParams(params url.Values)
- func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetBuyer() string
- func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetCallbackUrl() string
- func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetOrderNo() string
- func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetOriginalOrderNo() string
- func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetPayPrice() string
- func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetProductId() string
- func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetRawParams() model.Params
- func (r *YoukuottpayorderauthpaywithpriceAPIRequest) SetBuyer(_buyer string) error
- func (r *YoukuottpayorderauthpaywithpriceAPIRequest) SetCallbackUrl(_callbackUrl string) error
- func (r *YoukuottpayorderauthpaywithpriceAPIRequest) SetOrderNo(_orderNo string) error
- func (r *YoukuottpayorderauthpaywithpriceAPIRequest) SetOriginalOrderNo(_originalOrderNo string) error
- func (r *YoukuottpayorderauthpaywithpriceAPIRequest) SetPayPrice(_payPrice string) error
- func (r *YoukuottpayorderauthpaywithpriceAPIRequest) SetProductId(_productId string) error
- type YoukuottpayorderauthpaywithpriceAPIResponse
- type YoukuottpayorderauthpaywithpriceAPIResponseModel
- type YoukuottpayordercreateorderAPIRequest
- func (r YoukuottpayordercreateorderAPIRequest) GetApiMethodName() string
- func (r YoukuottpayordercreateorderAPIRequest) GetApiParams(params url.Values)
- func (r YoukuottpayordercreateorderAPIRequest) GetBuyer() string
- func (r YoukuottpayordercreateorderAPIRequest) GetCallbackUrl() string
- func (r YoukuottpayordercreateorderAPIRequest) GetExtra() string
- func (r YoukuottpayordercreateorderAPIRequest) GetOrderNo() string
- func (r YoukuottpayordercreateorderAPIRequest) GetOrderType() int64
- func (r YoukuottpayordercreateorderAPIRequest) GetPrice() string
- func (r YoukuottpayordercreateorderAPIRequest) GetProductId() string
- func (r YoukuottpayordercreateorderAPIRequest) GetProductName() string
- func (r YoukuottpayordercreateorderAPIRequest) GetRawParams() model.Params
- func (r YoukuottpayordercreateorderAPIRequest) GetRealPrice() string
- func (r *YoukuottpayordercreateorderAPIRequest) SetBuyer(_buyer string) error
- func (r *YoukuottpayordercreateorderAPIRequest) SetCallbackUrl(_callbackUrl string) error
- func (r *YoukuottpayordercreateorderAPIRequest) SetExtra(_extra string) error
- func (r *YoukuottpayordercreateorderAPIRequest) SetOrderNo(_orderNo string) error
- func (r *YoukuottpayordercreateorderAPIRequest) SetOrderType(_orderType int64) error
- func (r *YoukuottpayordercreateorderAPIRequest) SetPrice(_price string) error
- func (r *YoukuottpayordercreateorderAPIRequest) SetProductId(_productId string) error
- func (r *YoukuottpayordercreateorderAPIRequest) SetProductName(_productName string) error
- func (r *YoukuottpayordercreateorderAPIRequest) SetRealPrice(_realPrice string) error
- type YoukuottpayordercreateorderAPIResponse
- type YoukuottpayordercreateorderAPIResponseModel
- type YoukuottpayorderdeleteorderAPIRequest
- func (r YoukuottpayorderdeleteorderAPIRequest) GetApiMethodName() string
- func (r YoukuottpayorderdeleteorderAPIRequest) GetApiParams(params url.Values)
- func (r YoukuottpayorderdeleteorderAPIRequest) GetBuyer() string
- func (r YoukuottpayorderdeleteorderAPIRequest) GetCallbackUrl() string
- func (r YoukuottpayorderdeleteorderAPIRequest) GetExtra() string
- func (r YoukuottpayorderdeleteorderAPIRequest) GetOrderNo() string
- func (r YoukuottpayorderdeleteorderAPIRequest) GetOrderType() int64
- func (r YoukuottpayorderdeleteorderAPIRequest) GetOriginalOrderNo() string
- func (r YoukuottpayorderdeleteorderAPIRequest) GetProductId() string
- func (r YoukuottpayorderdeleteorderAPIRequest) GetProductName() string
- func (r YoukuottpayorderdeleteorderAPIRequest) GetRawParams() model.Params
- func (r *YoukuottpayorderdeleteorderAPIRequest) SetBuyer(_buyer string) error
- func (r *YoukuottpayorderdeleteorderAPIRequest) SetCallbackUrl(_callbackUrl string) error
- func (r *YoukuottpayorderdeleteorderAPIRequest) SetExtra(_extra string) error
- func (r *YoukuottpayorderdeleteorderAPIRequest) SetOrderNo(_orderNo string) error
- func (r *YoukuottpayorderdeleteorderAPIRequest) SetOrderType(_orderType int64) error
- func (r *YoukuottpayorderdeleteorderAPIRequest) SetOriginalOrderNo(_originalOrderNo string) error
- func (r *YoukuottpayorderdeleteorderAPIRequest) SetProductId(_productId string) error
- func (r *YoukuottpayorderdeleteorderAPIRequest) SetProductName(_productName string) error
- type YoukuottpayorderdeleteorderAPIResponse
- type YoukuottpayorderdeleteorderAPIResponseModel
- type YoukuottpayorderqueryauthstateAPIRequest
- func (r YoukuottpayorderqueryauthstateAPIRequest) GetApiMethodName() string
- func (r YoukuottpayorderqueryauthstateAPIRequest) GetApiParams(params url.Values)
- func (r YoukuottpayorderqueryauthstateAPIRequest) GetOriginalCpOrderNo() string
- func (r YoukuottpayorderqueryauthstateAPIRequest) GetRawParams() model.Params
- func (r *YoukuottpayorderqueryauthstateAPIRequest) SetOriginalCpOrderNo(_originalCpOrderNo string) error
- type YoukuottpayorderqueryauthstateAPIResponse
- type YoukuottpayorderqueryauthstateAPIResponseModel
- type YoukuottpayorderquerycporderAPIRequest
- func (r YoukuottpayorderquerycporderAPIRequest) GetApiMethodName() string
- func (r YoukuottpayorderquerycporderAPIRequest) GetApiParams(params url.Values)
- func (r YoukuottpayorderquerycporderAPIRequest) GetGatewayOrder() string
- func (r YoukuottpayorderquerycporderAPIRequest) GetRawParams() model.Params
- func (r *YoukuottpayorderquerycporderAPIRequest) SetGatewayOrder(_gatewayOrder string) error
- type YoukuottpayorderquerycporderAPIResponse
- type YoukuottpayorderquerycporderAPIResponseModel
- type YoukuottpayorderqueryorderAPIRequest
- func (r YoukuottpayorderqueryorderAPIRequest) GetApiMethodName() string
- func (r YoukuottpayorderqueryorderAPIRequest) GetApiParams(params url.Values)
- func (r YoukuottpayorderqueryorderAPIRequest) GetOrderNo() string
- func (r YoukuottpayorderqueryorderAPIRequest) GetRawParams() model.Params
- func (r *YoukuottpayorderqueryorderAPIRequest) SetOrderNo(_orderNo string) error
- type YoukuottpayorderqueryorderAPIResponse
- type YoukuottpayorderqueryorderAPIResponseModel
- type YoukuottpayorderqueryorderbycpAPIRequest
- func (r YoukuottpayorderqueryorderbycpAPIRequest) GetApiMethodName() string
- func (r YoukuottpayorderqueryorderbycpAPIRequest) GetApiParams(params url.Values)
- func (r YoukuottpayorderqueryorderbycpAPIRequest) GetCpOrderNo() string
- func (r YoukuottpayorderqueryorderbycpAPIRequest) GetRawParams() model.Params
- func (r *YoukuottpayorderqueryorderbycpAPIRequest) SetCpOrderNo(_cpOrderNo string) error
- type YoukuottpayorderqueryorderbycpAPIResponse
- type YoukuottpayorderqueryorderbycpAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonResult ¶
type CommonResult struct { // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // data Data *TvOrderResultDto `json:"data,omitempty" xml:"data,omitempty"` // 返回码 Code int64 `json:"code,omitempty" xml:"code,omitempty"` // 返回结果 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
CommonResult 结构体
type TvOrderQueryResultDto ¶ added in v1.2.0
type TvOrderQueryResultDto struct { // cpOrderNo CpOrderNo string `json:"cp_order_no,omitempty" xml:"cp_order_no,omitempty"` // orderNo OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"` // price Price string `json:"price,omitempty" xml:"price,omitempty"` // status Status string `json:"status,omitempty" xml:"status,omitempty"` // statusDesc StatusDesc string `json:"status_desc,omitempty" xml:"status_desc,omitempty"` }
TvOrderQueryResultDto 结构体
type TvOrderResultDto ¶ added in v1.2.0
type TvOrderResultDto struct { // qcodeUrl QcodeUrl string `json:"qcode_url,omitempty" xml:"qcode_url,omitempty"` // 版本号 VersionCode string `json:"version_code,omitempty" xml:"version_code,omitempty"` // cp本次订单号 OrderNo string `json:"order_no,omitempty" xml:"order_no,omitempty"` // cp原始订单号 CpOrderNo string `json:"cp_order_no,omitempty" xml:"cp_order_no,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` }
TvOrderResultDto 结构体
type YoukuottiotdevicelistchangeAPIRequest ¶ added in v1.3.1
type YoukuottiotdevicelistchangeAPIRequest struct { model.Params // contains filtered or unexported fields }
YoukuottiotdevicelistchangeAPIRequest iot设备列表变化接口 API请求 youku.ott.iot.devicelist.change
iot设备列表变化接口
func NewYoukuottiotdevicelistchangeRequest ¶ added in v1.3.1
func NewYoukuottiotdevicelistchangeRequest() *YoukuottiotdevicelistchangeAPIRequest
NewYoukuottiotdevicelistchangeRequest 初始化YoukuottiotdevicelistchangeAPIRequest对象
func (YoukuottiotdevicelistchangeAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YoukuottiotdevicelistchangeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YoukuottiotdevicelistchangeAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YoukuottiotdevicelistchangeAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YoukuottiotdevicelistchangeAPIRequest) GetChangeInfo ¶ added in v1.3.1
func (r YoukuottiotdevicelistchangeAPIRequest) GetChangeInfo() string
GetChangeInfo ChangeInfo Getter
func (YoukuottiotdevicelistchangeAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YoukuottiotdevicelistchangeAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YoukuottiotdevicelistchangeAPIRequest) SetChangeInfo ¶ added in v1.3.1
func (r *YoukuottiotdevicelistchangeAPIRequest) SetChangeInfo(_changeInfo string) error
SetChangeInfo is ChangeInfo Setter 变更信息
type YoukuottiotdevicelistchangeAPIResponse ¶ added in v1.3.1
type YoukuottiotdevicelistchangeAPIResponse struct { model.CommonResponse YoukuottiotdevicelistchangeAPIResponseModel }
YoukuottiotdevicelistchangeAPIResponse iot设备列表变化接口 API返回值 youku.ott.iot.devicelist.change
iot设备列表变化接口
type YoukuottiotdevicelistchangeAPIResponseModel ¶ added in v1.3.1
type YoukuottiotdevicelistchangeAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_iot_devicelist_change_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // 成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
YoukuottiotdevicelistchangeAPIResponseModel is iot设备列表变化接口 成功返回结果
type YoukuottiotstatuspushAPIRequest ¶ added in v1.3.1
type YoukuottiotstatuspushAPIRequest struct { model.Params // contains filtered or unexported fields }
YoukuottiotstatuspushAPIRequest iot设备状态变化通知接口 API请求 youku.ott.iot.status.push
ott iot设备状态通知
func NewYoukuottiotstatuspushRequest ¶ added in v1.3.1
func NewYoukuottiotstatuspushRequest() *YoukuottiotstatuspushAPIRequest
NewYoukuottiotstatuspushRequest 初始化YoukuottiotstatuspushAPIRequest对象
func (YoukuottiotstatuspushAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YoukuottiotstatuspushAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YoukuottiotstatuspushAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YoukuottiotstatuspushAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YoukuottiotstatuspushAPIRequest) GetChangeInfo ¶ added in v1.3.1
func (r YoukuottiotstatuspushAPIRequest) GetChangeInfo() string
GetChangeInfo ChangeInfo Getter
func (YoukuottiotstatuspushAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YoukuottiotstatuspushAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YoukuottiotstatuspushAPIRequest) SetChangeInfo ¶ added in v1.3.1
func (r *YoukuottiotstatuspushAPIRequest) SetChangeInfo(_changeInfo string) error
SetChangeInfo is ChangeInfo Setter 变更信息
type YoukuottiotstatuspushAPIResponse ¶ added in v1.3.1
type YoukuottiotstatuspushAPIResponse struct { model.CommonResponse YoukuottiotstatuspushAPIResponseModel }
YoukuottiotstatuspushAPIResponse iot设备状态变化通知接口 API返回值 youku.ott.iot.status.push
ott iot设备状态通知
type YoukuottiotstatuspushAPIResponseModel ¶ added in v1.3.1
type YoukuottiotstatuspushAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_iot_status_push_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // msgInfo MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // 成功标识 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
YoukuottiotstatuspushAPIResponseModel is iot设备状态变化通知接口 成功返回结果
type YoukuottpayorderauthpayAPIRequest ¶ added in v1.3.1
type YoukuottpayorderauthpayAPIRequest struct { model.Params // contains filtered or unexported fields }
YoukuottpayorderauthpayAPIRequest 委托代扣服务 API请求 youku.ott.pay.order.authpay
应用中心sdk连续包月委托代扣服务
func NewYoukuottpayorderauthpayRequest ¶ added in v1.3.1
func NewYoukuottpayorderauthpayRequest() *YoukuottpayorderauthpayAPIRequest
NewYoukuottpayorderauthpayRequest 初始化YoukuottpayorderauthpayAPIRequest对象
func (YoukuottpayorderauthpayAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YoukuottpayorderauthpayAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YoukuottpayorderauthpayAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YoukuottpayorderauthpayAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YoukuottpayorderauthpayAPIRequest) GetBuyer ¶ added in v1.3.1
func (r YoukuottpayorderauthpayAPIRequest) GetBuyer() string
GetBuyer Buyer Getter
func (YoukuottpayorderauthpayAPIRequest) GetCallbackUrl ¶ added in v1.3.1
func (r YoukuottpayorderauthpayAPIRequest) GetCallbackUrl() string
GetCallbackUrl CallbackUrl Getter
func (YoukuottpayorderauthpayAPIRequest) GetOrderNo ¶ added in v1.3.1
func (r YoukuottpayorderauthpayAPIRequest) GetOrderNo() string
GetOrderNo OrderNo Getter
func (YoukuottpayorderauthpayAPIRequest) GetOriginalOrderNo ¶ added in v1.3.1
func (r YoukuottpayorderauthpayAPIRequest) GetOriginalOrderNo() string
GetOriginalOrderNo OriginalOrderNo Getter
func (YoukuottpayorderauthpayAPIRequest) GetProductId ¶ added in v1.3.1
func (r YoukuottpayorderauthpayAPIRequest) GetProductId() string
GetProductId ProductId Getter
func (YoukuottpayorderauthpayAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YoukuottpayorderauthpayAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YoukuottpayorderauthpayAPIRequest) SetBuyer ¶ added in v1.3.1
func (r *YoukuottpayorderauthpayAPIRequest) SetBuyer(_buyer string) error
SetBuyer is Buyer Setter cp用户名
func (*YoukuottpayorderauthpayAPIRequest) SetCallbackUrl ¶ added in v1.3.1
func (r *YoukuottpayorderauthpayAPIRequest) SetCallbackUrl(_callbackUrl string) error
SetCallbackUrl is CallbackUrl Setter 回调
func (*YoukuottpayorderauthpayAPIRequest) SetOrderNo ¶ added in v1.3.1
func (r *YoukuottpayorderauthpayAPIRequest) SetOrderNo(_orderNo string) error
SetOrderNo is OrderNo Setter 委托扣款cp订单号
func (*YoukuottpayorderauthpayAPIRequest) SetOriginalOrderNo ¶ added in v1.3.1
func (r *YoukuottpayorderauthpayAPIRequest) SetOriginalOrderNo(_originalOrderNo string) error
SetOriginalOrderNo is OriginalOrderNo Setter 连续包月原始cp订单号
func (*YoukuottpayorderauthpayAPIRequest) SetProductId ¶ added in v1.3.1
func (r *YoukuottpayorderauthpayAPIRequest) SetProductId(_productId string) error
SetProductId is ProductId Setter 已配置开通连续包月的产品id
type YoukuottpayorderauthpayAPIResponse ¶ added in v1.3.1
type YoukuottpayorderauthpayAPIResponse struct { model.CommonResponse YoukuottpayorderauthpayAPIResponseModel }
YoukuottpayorderauthpayAPIResponse 委托代扣服务 API返回值 youku.ott.pay.order.authpay
应用中心sdk连续包月委托代扣服务
type YoukuottpayorderauthpayAPIResponseModel ¶ added in v1.3.1
type YoukuottpayorderauthpayAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_pay_order_authpay_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TvOrderResultDto `json:"data,omitempty" xml:"data,omitempty"` }
YoukuottpayorderauthpayAPIResponseModel is 委托代扣服务 成功返回结果
type YoukuottpayorderauthpaywithpriceAPIRequest ¶ added in v1.3.1
type YoukuottpayorderauthpaywithpriceAPIRequest struct { model.Params // contains filtered or unexported fields }
YoukuottpayorderauthpaywithpriceAPIRequest 委托代扣可配定价服务 API请求 youku.ott.pay.order.authpaywithprice
应用中心sdk连续包月委托代扣服务,次月可配置营销价
func NewYoukuottpayorderauthpaywithpriceRequest ¶ added in v1.3.1
func NewYoukuottpayorderauthpaywithpriceRequest() *YoukuottpayorderauthpaywithpriceAPIRequest
NewYoukuottpayorderauthpaywithpriceRequest 初始化YoukuottpayorderauthpaywithpriceAPIRequest对象
func (YoukuottpayorderauthpaywithpriceAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YoukuottpayorderauthpaywithpriceAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YoukuottpayorderauthpaywithpriceAPIRequest) GetBuyer ¶ added in v1.3.1
func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetBuyer() string
GetBuyer Buyer Getter
func (YoukuottpayorderauthpaywithpriceAPIRequest) GetCallbackUrl ¶ added in v1.3.1
func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetCallbackUrl() string
GetCallbackUrl CallbackUrl Getter
func (YoukuottpayorderauthpaywithpriceAPIRequest) GetOrderNo ¶ added in v1.3.1
func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetOrderNo() string
GetOrderNo OrderNo Getter
func (YoukuottpayorderauthpaywithpriceAPIRequest) GetOriginalOrderNo ¶ added in v1.3.1
func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetOriginalOrderNo() string
GetOriginalOrderNo OriginalOrderNo Getter
func (YoukuottpayorderauthpaywithpriceAPIRequest) GetPayPrice ¶ added in v1.3.1
func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetPayPrice() string
GetPayPrice PayPrice Getter
func (YoukuottpayorderauthpaywithpriceAPIRequest) GetProductId ¶ added in v1.3.1
func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetProductId() string
GetProductId ProductId Getter
func (YoukuottpayorderauthpaywithpriceAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YoukuottpayorderauthpaywithpriceAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YoukuottpayorderauthpaywithpriceAPIRequest) SetBuyer ¶ added in v1.3.1
func (r *YoukuottpayorderauthpaywithpriceAPIRequest) SetBuyer(_buyer string) error
SetBuyer is Buyer Setter cp用户名
func (*YoukuottpayorderauthpaywithpriceAPIRequest) SetCallbackUrl ¶ added in v1.3.1
func (r *YoukuottpayorderauthpaywithpriceAPIRequest) SetCallbackUrl(_callbackUrl string) error
SetCallbackUrl is CallbackUrl Setter 回调
func (*YoukuottpayorderauthpaywithpriceAPIRequest) SetOrderNo ¶ added in v1.3.1
func (r *YoukuottpayorderauthpaywithpriceAPIRequest) SetOrderNo(_orderNo string) error
SetOrderNo is OrderNo Setter 委托扣款cp订单号
func (*YoukuottpayorderauthpaywithpriceAPIRequest) SetOriginalOrderNo ¶ added in v1.3.1
func (r *YoukuottpayorderauthpaywithpriceAPIRequest) SetOriginalOrderNo(_originalOrderNo string) error
SetOriginalOrderNo is OriginalOrderNo Setter 连续包月原始cp订单号
func (*YoukuottpayorderauthpaywithpriceAPIRequest) SetPayPrice ¶ added in v1.3.1
func (r *YoukuottpayorderauthpaywithpriceAPIRequest) SetPayPrice(_payPrice string) error
SetPayPrice is PayPrice Setter 用于次月扣款营销价,需小于签约时设定续费价
func (*YoukuottpayorderauthpaywithpriceAPIRequest) SetProductId ¶ added in v1.3.1
func (r *YoukuottpayorderauthpaywithpriceAPIRequest) SetProductId(_productId string) error
SetProductId is ProductId Setter 已配置开通连续包月的产品id
type YoukuottpayorderauthpaywithpriceAPIResponse ¶ added in v1.3.1
type YoukuottpayorderauthpaywithpriceAPIResponse struct { model.CommonResponse YoukuottpayorderauthpaywithpriceAPIResponseModel }
YoukuottpayorderauthpaywithpriceAPIResponse 委托代扣可配定价服务 API返回值 youku.ott.pay.order.authpaywithprice
应用中心sdk连续包月委托代扣服务,次月可配置营销价
type YoukuottpayorderauthpaywithpriceAPIResponseModel ¶ added in v1.3.1
type YoukuottpayorderauthpaywithpriceAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_pay_order_authpaywithprice_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Data *TvOrderResultDto `json:"data,omitempty" xml:"data,omitempty"` }
YoukuottpayorderauthpaywithpriceAPIResponseModel is 委托代扣可配定价服务 成功返回结果
type YoukuottpayordercreateorderAPIRequest ¶ added in v1.3.1
type YoukuottpayordercreateorderAPIRequest struct { model.Params // contains filtered or unexported fields }
YoukuottpayordercreateorderAPIRequest 创建订单 API请求 youku.ott.pay.order.createorder
ottpay创建订单
func NewYoukuottpayordercreateorderRequest ¶ added in v1.3.1
func NewYoukuottpayordercreateorderRequest() *YoukuottpayordercreateorderAPIRequest
NewYoukuottpayordercreateorderRequest 初始化YoukuottpayordercreateorderAPIRequest对象
func (YoukuottpayordercreateorderAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YoukuottpayordercreateorderAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YoukuottpayordercreateorderAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YoukuottpayordercreateorderAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YoukuottpayordercreateorderAPIRequest) GetBuyer ¶ added in v1.3.1
func (r YoukuottpayordercreateorderAPIRequest) GetBuyer() string
GetBuyer Buyer Getter
func (YoukuottpayordercreateorderAPIRequest) GetCallbackUrl ¶ added in v1.3.1
func (r YoukuottpayordercreateorderAPIRequest) GetCallbackUrl() string
GetCallbackUrl CallbackUrl Getter
func (YoukuottpayordercreateorderAPIRequest) GetExtra ¶ added in v1.3.1
func (r YoukuottpayordercreateorderAPIRequest) GetExtra() string
GetExtra Extra Getter
func (YoukuottpayordercreateorderAPIRequest) GetOrderNo ¶ added in v1.3.1
func (r YoukuottpayordercreateorderAPIRequest) GetOrderNo() string
GetOrderNo OrderNo Getter
func (YoukuottpayordercreateorderAPIRequest) GetOrderType ¶ added in v1.3.1
func (r YoukuottpayordercreateorderAPIRequest) GetOrderType() int64
GetOrderType OrderType Getter
func (YoukuottpayordercreateorderAPIRequest) GetPrice ¶ added in v1.3.1
func (r YoukuottpayordercreateorderAPIRequest) GetPrice() string
GetPrice Price Getter
func (YoukuottpayordercreateorderAPIRequest) GetProductId ¶ added in v1.3.1
func (r YoukuottpayordercreateorderAPIRequest) GetProductId() string
GetProductId ProductId Getter
func (YoukuottpayordercreateorderAPIRequest) GetProductName ¶ added in v1.3.1
func (r YoukuottpayordercreateorderAPIRequest) GetProductName() string
GetProductName ProductName Getter
func (YoukuottpayordercreateorderAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YoukuottpayordercreateorderAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (YoukuottpayordercreateorderAPIRequest) GetRealPrice ¶ added in v1.3.1
func (r YoukuottpayordercreateorderAPIRequest) GetRealPrice() string
GetRealPrice RealPrice Getter
func (*YoukuottpayordercreateorderAPIRequest) SetBuyer ¶ added in v1.3.1
func (r *YoukuottpayordercreateorderAPIRequest) SetBuyer(_buyer string) error
SetBuyer is Buyer Setter 下单账号, cp账号
func (*YoukuottpayordercreateorderAPIRequest) SetCallbackUrl ¶ added in v1.3.1
func (r *YoukuottpayordercreateorderAPIRequest) SetCallbackUrl(_callbackUrl string) error
SetCallbackUrl is CallbackUrl Setter 回调接口
func (*YoukuottpayordercreateorderAPIRequest) SetExtra ¶ added in v1.3.1
func (r *YoukuottpayordercreateorderAPIRequest) SetExtra(_extra string) error
SetExtra is Extra Setter 订单无关的其他参数,如埋点统计的utdid, mac地址等
func (*YoukuottpayordercreateorderAPIRequest) SetOrderNo ¶ added in v1.3.1
func (r *YoukuottpayordercreateorderAPIRequest) SetOrderNo(_orderNo string) error
SetOrderNo is OrderNo Setter cp订单号
func (*YoukuottpayordercreateorderAPIRequest) SetOrderType ¶ added in v1.3.1
func (r *YoukuottpayordercreateorderAPIRequest) SetOrderType(_orderType int64) error
SetOrderType is OrderType Setter 订单类型,1为连续包月类型
func (*YoukuottpayordercreateorderAPIRequest) SetPrice ¶ added in v1.3.1
func (r *YoukuottpayordercreateorderAPIRequest) SetPrice(_price string) error
SetPrice is Price Setter 价格, 单位:分
func (*YoukuottpayordercreateorderAPIRequest) SetProductId ¶ added in v1.3.1
func (r *YoukuottpayordercreateorderAPIRequest) SetProductId(_productId string) error
SetProductId is ProductId Setter 商品id
func (*YoukuottpayordercreateorderAPIRequest) SetProductName ¶ added in v1.3.1
func (r *YoukuottpayordercreateorderAPIRequest) SetProductName(_productName string) error
SetProductName is ProductName Setter 商品名称
func (*YoukuottpayordercreateorderAPIRequest) SetRealPrice ¶ added in v1.3.1
func (r *YoukuottpayordercreateorderAPIRequest) SetRealPrice(_realPrice string) error
SetRealPrice is RealPrice Setter 连续包月实际参数
type YoukuottpayordercreateorderAPIResponse ¶ added in v1.3.1
type YoukuottpayordercreateorderAPIResponse struct { model.CommonResponse YoukuottpayordercreateorderAPIResponseModel }
YoukuottpayordercreateorderAPIResponse 创建订单 API返回值 youku.ott.pay.order.createorder
ottpay创建订单
type YoukuottpayordercreateorderAPIResponseModel ¶ added in v1.3.1
type YoukuottpayordercreateorderAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_pay_order_createorder_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TvOrderResultDto `json:"data,omitempty" xml:"data,omitempty"` }
YoukuottpayordercreateorderAPIResponseModel is 创建订单 成功返回结果
type YoukuottpayorderdeleteorderAPIRequest ¶ added in v1.3.1
type YoukuottpayorderdeleteorderAPIRequest struct { model.Params // contains filtered or unexported fields }
YoukuottpayorderdeleteorderAPIRequest 退订应用中心支付订单 API请求 youku.ott.pay.order.deleteorder
应用中心sdk连续包月退订接口
func NewYoukuottpayorderdeleteorderRequest ¶ added in v1.3.1
func NewYoukuottpayorderdeleteorderRequest() *YoukuottpayorderdeleteorderAPIRequest
NewYoukuottpayorderdeleteorderRequest 初始化YoukuottpayorderdeleteorderAPIRequest对象
func (YoukuottpayorderdeleteorderAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YoukuottpayorderdeleteorderAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YoukuottpayorderdeleteorderAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YoukuottpayorderdeleteorderAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YoukuottpayorderdeleteorderAPIRequest) GetBuyer ¶ added in v1.3.1
func (r YoukuottpayorderdeleteorderAPIRequest) GetBuyer() string
GetBuyer Buyer Getter
func (YoukuottpayorderdeleteorderAPIRequest) GetCallbackUrl ¶ added in v1.3.1
func (r YoukuottpayorderdeleteorderAPIRequest) GetCallbackUrl() string
GetCallbackUrl CallbackUrl Getter
func (YoukuottpayorderdeleteorderAPIRequest) GetExtra ¶ added in v1.3.1
func (r YoukuottpayorderdeleteorderAPIRequest) GetExtra() string
GetExtra Extra Getter
func (YoukuottpayorderdeleteorderAPIRequest) GetOrderNo ¶ added in v1.3.1
func (r YoukuottpayorderdeleteorderAPIRequest) GetOrderNo() string
GetOrderNo OrderNo Getter
func (YoukuottpayorderdeleteorderAPIRequest) GetOrderType ¶ added in v1.3.1
func (r YoukuottpayorderdeleteorderAPIRequest) GetOrderType() int64
GetOrderType OrderType Getter
func (YoukuottpayorderdeleteorderAPIRequest) GetOriginalOrderNo ¶ added in v1.3.1
func (r YoukuottpayorderdeleteorderAPIRequest) GetOriginalOrderNo() string
GetOriginalOrderNo OriginalOrderNo Getter
func (YoukuottpayorderdeleteorderAPIRequest) GetProductId ¶ added in v1.3.1
func (r YoukuottpayorderdeleteorderAPIRequest) GetProductId() string
GetProductId ProductId Getter
func (YoukuottpayorderdeleteorderAPIRequest) GetProductName ¶ added in v1.3.1
func (r YoukuottpayorderdeleteorderAPIRequest) GetProductName() string
GetProductName ProductName Getter
func (YoukuottpayorderdeleteorderAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YoukuottpayorderdeleteorderAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YoukuottpayorderdeleteorderAPIRequest) SetBuyer ¶ added in v1.3.1
func (r *YoukuottpayorderdeleteorderAPIRequest) SetBuyer(_buyer string) error
SetBuyer is Buyer Setter 下单账号, cp账号
func (*YoukuottpayorderdeleteorderAPIRequest) SetCallbackUrl ¶ added in v1.3.1
func (r *YoukuottpayorderdeleteorderAPIRequest) SetCallbackUrl(_callbackUrl string) error
SetCallbackUrl is CallbackUrl Setter 回调地址
func (*YoukuottpayorderdeleteorderAPIRequest) SetExtra ¶ added in v1.3.1
func (r *YoukuottpayorderdeleteorderAPIRequest) SetExtra(_extra string) error
SetExtra is Extra Setter 订单无关的其他参数,如埋点统计的utdid, mac地址等
func (*YoukuottpayorderdeleteorderAPIRequest) SetOrderNo ¶ added in v1.3.1
func (r *YoukuottpayorderdeleteorderAPIRequest) SetOrderNo(_orderNo string) error
SetOrderNo is OrderNo Setter cp订单号
func (*YoukuottpayorderdeleteorderAPIRequest) SetOrderType ¶ added in v1.3.1
func (r *YoukuottpayorderdeleteorderAPIRequest) SetOrderType(_orderType int64) error
SetOrderType is OrderType Setter 订单类型,1为连续包月类型,2为取消连续包月
func (*YoukuottpayorderdeleteorderAPIRequest) SetOriginalOrderNo ¶ added in v1.3.1
func (r *YoukuottpayorderdeleteorderAPIRequest) SetOriginalOrderNo(_originalOrderNo string) error
SetOriginalOrderNo is OriginalOrderNo Setter 连续包月原始订单
func (*YoukuottpayorderdeleteorderAPIRequest) SetProductId ¶ added in v1.3.1
func (r *YoukuottpayorderdeleteorderAPIRequest) SetProductId(_productId string) error
SetProductId is ProductId Setter 商品id
func (*YoukuottpayorderdeleteorderAPIRequest) SetProductName ¶ added in v1.3.1
func (r *YoukuottpayorderdeleteorderAPIRequest) SetProductName(_productName string) error
SetProductName is ProductName Setter 商品名称
type YoukuottpayorderdeleteorderAPIResponse ¶ added in v1.3.1
type YoukuottpayorderdeleteorderAPIResponse struct { model.CommonResponse YoukuottpayorderdeleteorderAPIResponseModel }
YoukuottpayorderdeleteorderAPIResponse 退订应用中心支付订单 API返回值 youku.ott.pay.order.deleteorder
应用中心sdk连续包月退订接口
type YoukuottpayorderdeleteorderAPIResponseModel ¶ added in v1.3.1
type YoukuottpayorderdeleteorderAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_pay_order_deleteorder_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TvOrderResultDto `json:"data,omitempty" xml:"data,omitempty"` }
YoukuottpayorderdeleteorderAPIResponseModel is 退订应用中心支付订单 成功返回结果
type YoukuottpayorderqueryauthstateAPIRequest ¶ added in v1.3.1
type YoukuottpayorderqueryauthstateAPIRequest struct { model.Params // contains filtered or unexported fields }
YoukuottpayorderqueryauthstateAPIRequest 查询连包签约状态 API请求 youku.ott.pay.order.queryauthstate
查询CP用户连包商品签约状态
func NewYoukuottpayorderqueryauthstateRequest ¶ added in v1.3.1
func NewYoukuottpayorderqueryauthstateRequest() *YoukuottpayorderqueryauthstateAPIRequest
NewYoukuottpayorderqueryauthstateRequest 初始化YoukuottpayorderqueryauthstateAPIRequest对象
func (YoukuottpayorderqueryauthstateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YoukuottpayorderqueryauthstateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YoukuottpayorderqueryauthstateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YoukuottpayorderqueryauthstateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YoukuottpayorderqueryauthstateAPIRequest) GetOriginalCpOrderNo ¶ added in v1.3.1
func (r YoukuottpayorderqueryauthstateAPIRequest) GetOriginalCpOrderNo() string
GetOriginalCpOrderNo OriginalCpOrderNo Getter
func (YoukuottpayorderqueryauthstateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YoukuottpayorderqueryauthstateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YoukuottpayorderqueryauthstateAPIRequest) SetOriginalCpOrderNo ¶ added in v1.3.1
func (r *YoukuottpayorderqueryauthstateAPIRequest) SetOriginalCpOrderNo(_originalCpOrderNo string) error
SetOriginalCpOrderNo is OriginalCpOrderNo Setter 原始签约订单号
type YoukuottpayorderqueryauthstateAPIResponse ¶ added in v1.3.1
type YoukuottpayorderqueryauthstateAPIResponse struct { model.CommonResponse YoukuottpayorderqueryauthstateAPIResponseModel }
YoukuottpayorderqueryauthstateAPIResponse 查询连包签约状态 API返回值 youku.ott.pay.order.queryauthstate
查询CP用户连包商品签约状态
type YoukuottpayorderqueryauthstateAPIResponseModel ¶ added in v1.3.1
type YoukuottpayorderqueryauthstateAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_pay_order_queryauthstate_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *CommonResult `json:"result,omitempty" xml:"result,omitempty"` }
YoukuottpayorderqueryauthstateAPIResponseModel is 查询连包签约状态 成功返回结果
type YoukuottpayorderquerycporderAPIRequest ¶ added in v1.3.1
type YoukuottpayorderquerycporderAPIRequest struct { model.Params // contains filtered or unexported fields }
YoukuottpayorderquerycporderAPIRequest 查询支付订单对应cp订单号 API请求 youku.ott.pay.order.querycporder
根据支付订单查询对应cp订单号
func NewYoukuottpayorderquerycporderRequest ¶ added in v1.3.1
func NewYoukuottpayorderquerycporderRequest() *YoukuottpayorderquerycporderAPIRequest
NewYoukuottpayorderquerycporderRequest 初始化YoukuottpayorderquerycporderAPIRequest对象
func (YoukuottpayorderquerycporderAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YoukuottpayorderquerycporderAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YoukuottpayorderquerycporderAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YoukuottpayorderquerycporderAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YoukuottpayorderquerycporderAPIRequest) GetGatewayOrder ¶ added in v1.3.1
func (r YoukuottpayorderquerycporderAPIRequest) GetGatewayOrder() string
GetGatewayOrder GatewayOrder Getter
func (YoukuottpayorderquerycporderAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YoukuottpayorderquerycporderAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YoukuottpayorderquerycporderAPIRequest) SetGatewayOrder ¶ added in v1.3.1
func (r *YoukuottpayorderquerycporderAPIRequest) SetGatewayOrder(_gatewayOrder string) error
SetGatewayOrder is GatewayOrder Setter 支付对应订单
type YoukuottpayorderquerycporderAPIResponse ¶ added in v1.3.1
type YoukuottpayorderquerycporderAPIResponse struct { model.CommonResponse YoukuottpayorderquerycporderAPIResponseModel }
YoukuottpayorderquerycporderAPIResponse 查询支付订单对应cp订单号 API返回值 youku.ott.pay.order.querycporder
根据支付订单查询对应cp订单号
type YoukuottpayorderquerycporderAPIResponseModel ¶ added in v1.3.1
type YoukuottpayorderquerycporderAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_pay_order_querycporder_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TvOrderResultDto `json:"data,omitempty" xml:"data,omitempty"` }
YoukuottpayorderquerycporderAPIResponseModel is 查询支付订单对应cp订单号 成功返回结果
type YoukuottpayorderqueryorderAPIRequest ¶ added in v1.3.1
type YoukuottpayorderqueryorderAPIRequest struct { model.Params // contains filtered or unexported fields }
YoukuottpayorderqueryorderAPIRequest 查询订单 API请求 youku.ott.pay.order.queryorder
通过订单号查询订单信息
func NewYoukuottpayorderqueryorderRequest ¶ added in v1.3.1
func NewYoukuottpayorderqueryorderRequest() *YoukuottpayorderqueryorderAPIRequest
NewYoukuottpayorderqueryorderRequest 初始化YoukuottpayorderqueryorderAPIRequest对象
func (YoukuottpayorderqueryorderAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YoukuottpayorderqueryorderAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YoukuottpayorderqueryorderAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YoukuottpayorderqueryorderAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YoukuottpayorderqueryorderAPIRequest) GetOrderNo ¶ added in v1.3.1
func (r YoukuottpayorderqueryorderAPIRequest) GetOrderNo() string
GetOrderNo OrderNo Getter
func (YoukuottpayorderqueryorderAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YoukuottpayorderqueryorderAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YoukuottpayorderqueryorderAPIRequest) SetOrderNo ¶ added in v1.3.1
func (r *YoukuottpayorderqueryorderAPIRequest) SetOrderNo(_orderNo string) error
SetOrderNo is OrderNo Setter 订单号
type YoukuottpayorderqueryorderAPIResponse ¶ added in v1.3.1
type YoukuottpayorderqueryorderAPIResponse struct { model.CommonResponse YoukuottpayorderqueryorderAPIResponseModel }
YoukuottpayorderqueryorderAPIResponse 查询订单 API返回值 youku.ott.pay.order.queryorder
通过订单号查询订单信息
type YoukuottpayorderqueryorderAPIResponseModel ¶ added in v1.3.1
type YoukuottpayorderqueryorderAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_pay_order_queryorder_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // status Data *TvOrderQueryResultDto `json:"data,omitempty" xml:"data,omitempty"` }
YoukuottpayorderqueryorderAPIResponseModel is 查询订单 成功返回结果
type YoukuottpayorderqueryorderbycpAPIRequest ¶ added in v1.3.1
type YoukuottpayorderqueryorderbycpAPIRequest struct { model.Params // contains filtered or unexported fields }
YoukuottpayorderqueryorderbycpAPIRequest 订单查询接口(cp订单号查询) API请求 youku.ott.pay.order.queryorderbycp
给商户服务端查询订单状态
func NewYoukuottpayorderqueryorderbycpRequest ¶ added in v1.3.1
func NewYoukuottpayorderqueryorderbycpRequest() *YoukuottpayorderqueryorderbycpAPIRequest
NewYoukuottpayorderqueryorderbycpRequest 初始化YoukuottpayorderqueryorderbycpAPIRequest对象
func (YoukuottpayorderqueryorderbycpAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YoukuottpayorderqueryorderbycpAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YoukuottpayorderqueryorderbycpAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YoukuottpayorderqueryorderbycpAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YoukuottpayorderqueryorderbycpAPIRequest) GetCpOrderNo ¶ added in v1.3.1
func (r YoukuottpayorderqueryorderbycpAPIRequest) GetCpOrderNo() string
GetCpOrderNo CpOrderNo Getter
func (YoukuottpayorderqueryorderbycpAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YoukuottpayorderqueryorderbycpAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YoukuottpayorderqueryorderbycpAPIRequest) SetCpOrderNo ¶ added in v1.3.1
func (r *YoukuottpayorderqueryorderbycpAPIRequest) SetCpOrderNo(_cpOrderNo string) error
SetCpOrderNo is CpOrderNo Setter cp订单号
type YoukuottpayorderqueryorderbycpAPIResponse ¶ added in v1.3.1
type YoukuottpayorderqueryorderbycpAPIResponse struct { model.CommonResponse YoukuottpayorderqueryorderbycpAPIResponseModel }
YoukuottpayorderqueryorderbycpAPIResponse 订单查询接口(cp订单号查询) API返回值 youku.ott.pay.order.queryorderbycp
给商户服务端查询订单状态
type YoukuottpayorderqueryorderbycpAPIResponseModel ¶ added in v1.3.1
type YoukuottpayorderqueryorderbycpAPIResponseModel struct { XMLName xml.Name `xml:"youku_ott_pay_order_queryorderbycp_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // data Data *TvOrderQueryResultDto `json:"data,omitempty" xml:"data,omitempty"` }
YoukuottpayorderqueryorderbycpAPIResponseModel is 订单查询接口(cp订单号查询) 成功返回结果
Source Files ¶
- CommonResult.go
- TvOrderQueryResultDto.go
- TvOrderResultDto.go
- YoukuOttIotDevicelistChangeAPIRequest.go
- YoukuOttIotDevicelistChangeAPIResponse.go
- YoukuOttIotStatusPushAPIRequest.go
- YoukuOttIotStatusPushAPIResponse.go
- YoukuOttPayOrderAuthpayAPIRequest.go
- YoukuOttPayOrderAuthpayAPIResponse.go
- YoukuOttPayOrderAuthpaywithpriceAPIRequest.go
- YoukuOttPayOrderAuthpaywithpriceAPIResponse.go
- YoukuOttPayOrderCreateorderAPIRequest.go
- YoukuOttPayOrderCreateorderAPIResponse.go
- YoukuOttPayOrderDeleteorderAPIRequest.go
- YoukuOttPayOrderDeleteorderAPIResponse.go
- YoukuOttPayOrderQueryauthstateAPIRequest.go
- YoukuOttPayOrderQueryauthstateAPIResponse.go
- YoukuOttPayOrderQuerycporderAPIRequest.go
- YoukuOttPayOrderQuerycporderAPIResponse.go
- YoukuOttPayOrderQueryorderAPIRequest.go
- YoukuOttPayOrderQueryorderAPIResponse.go
- YoukuOttPayOrderQueryorderbycpAPIRequest.go
- YoukuOttPayOrderQueryorderbycpAPIResponse.go
- doc.go