Documentation ¶
Overview ¶
Package globalvirtual 包含国际虚拟API相关结构体
Index ¶
- type AlibabaGlobalVirtualSendcodeAPIRequest
- func (r AlibabaGlobalVirtualSendcodeAPIRequest) GetApiMethodName() string
- func (r AlibabaGlobalVirtualSendcodeAPIRequest) GetApiParams() url.Values
- func (r AlibabaGlobalVirtualSendcodeAPIRequest) GetCodeList() []VirtualCertificateDo
- func (r AlibabaGlobalVirtualSendcodeAPIRequest) GetTradeOrderLineId() int64
- func (r *AlibabaGlobalVirtualSendcodeAPIRequest) SetCodeList(_codeList []VirtualCertificateDo) error
- func (r *AlibabaGlobalVirtualSendcodeAPIRequest) SetTradeOrderLineId(_tradeOrderLineId int64) error
- type AlibabaGlobalVirtualSendcodeAPIResponse
- type AlibabaGlobalVirtualSendcodeAPIResponseModel
- type AlibabaGlobalVirtualSendcodeResponse
- type ErrorCode
- type VirtualCertificateDo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaGlobalVirtualSendcodeAPIRequest ¶ added in v1.2.0
type AlibabaGlobalVirtualSendcodeAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaGlobalVirtualSendcodeAPIRequest 国际虚拟商品发码服务 API请求 alibaba.global.virtual.sendcode
global virtual send code service
func NewAlibabaGlobalVirtualSendcodeRequest ¶
func NewAlibabaGlobalVirtualSendcodeRequest() *AlibabaGlobalVirtualSendcodeAPIRequest
NewAlibabaGlobalVirtualSendcodeRequest 初始化AlibabaGlobalVirtualSendcodeAPIRequest对象
func (AlibabaGlobalVirtualSendcodeAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaGlobalVirtualSendcodeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaGlobalVirtualSendcodeAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaGlobalVirtualSendcodeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaGlobalVirtualSendcodeAPIRequest) GetCodeList ¶ added in v1.2.0
func (r AlibabaGlobalVirtualSendcodeAPIRequest) GetCodeList() []VirtualCertificateDo
GetCodeList CodeList Getter
func (AlibabaGlobalVirtualSendcodeAPIRequest) GetTradeOrderLineId ¶ added in v1.2.0
func (r AlibabaGlobalVirtualSendcodeAPIRequest) GetTradeOrderLineId() int64
GetTradeOrderLineId TradeOrderLineId Getter
func (*AlibabaGlobalVirtualSendcodeAPIRequest) SetCodeList ¶ added in v1.2.0
func (r *AlibabaGlobalVirtualSendcodeAPIRequest) SetCodeList(_codeList []VirtualCertificateDo) error
SetCodeList is CodeList Setter code list
func (*AlibabaGlobalVirtualSendcodeAPIRequest) SetTradeOrderLineId ¶ added in v1.2.0
func (r *AlibabaGlobalVirtualSendcodeAPIRequest) SetTradeOrderLineId(_tradeOrderLineId int64) error
SetTradeOrderLineId is TradeOrderLineId Setter trade order id
type AlibabaGlobalVirtualSendcodeAPIResponse ¶
type AlibabaGlobalVirtualSendcodeAPIResponse struct { model.CommonResponse AlibabaGlobalVirtualSendcodeAPIResponseModel }
AlibabaGlobalVirtualSendcodeAPIResponse 国际虚拟商品发码服务 API返回值 alibaba.global.virtual.sendcode
global virtual send code service
type AlibabaGlobalVirtualSendcodeAPIResponseModel ¶ added in v1.2.0
type AlibabaGlobalVirtualSendcodeAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_global_virtual_sendcode_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result describe Result *AlibabaGlobalVirtualSendcodeResponse `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaGlobalVirtualSendcodeAPIResponseModel is 国际虚拟商品发码服务 成功返回结果
type AlibabaGlobalVirtualSendcodeResponse ¶
type AlibabaGlobalVirtualSendcodeResponse struct { // error code ErrorCode *ErrorCode `json:"error_code,omitempty" xml:"error_code,omitempty"` // request result Success bool `json:"success,omitempty" xml:"success,omitempty"` // send code result Module bool `json:"module,omitempty" xml:"module,omitempty"` // request is repeated Repeated bool `json:"repeated,omitempty" xml:"repeated,omitempty"` // request need retry Retry bool `json:"retry,omitempty" xml:"retry,omitempty"` }
AlibabaGlobalVirtualSendcodeResponse 结构体
type ErrorCode ¶
type ErrorCode struct { // error code key Key string `json:"key,omitempty" xml:"key,omitempty"` // error code display message DisplayMessage string `json:"display_message,omitempty" xml:"display_message,omitempty"` }
ErrorCode 结构体
type VirtualCertificateDo ¶
type VirtualCertificateDo struct { // provide download file File string `json:"file,omitempty" xml:"file,omitempty"` // code info Code string `json:"code,omitempty" xml:"code,omitempty"` // track order id OrderTrackId string `json:"order_track_id,omitempty" xml:"order_track_id,omitempty"` // remark info Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // modified time GmtModified int64 `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // code start effective time StartTime int64 `json:"start_time,omitempty" xml:"start_time,omitempty"` // primary key Id int64 `json:"id,omitempty" xml:"id,omitempty"` // code end effective time EndTime int64 `json:"end_time,omitempty" xml:"end_time,omitempty"` // create time GmtCreate int64 `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // trade order id TradeOrderLineId int64 `json:"trade_order_line_id,omitempty" xml:"trade_order_line_id,omitempty"` }
VirtualCertificateDo 结构体