globalvirtual

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaGlobalVirtualSendcodeAPIResponse

type AlibabaGlobalVirtualSendcodeAPIResponse struct {
	model.CommonResponse
	AlibabaGlobalVirtualSendcodeResponse
}

国际虚拟商品发码服务 API返回值 alibaba.global.virtual.sendcode

global virtual send code service

type AlibabaGlobalVirtualSendcodeRequest

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

国际虚拟商品发码服务 API请求 alibaba.global.virtual.sendcode

global virtual send code service

func NewAlibabaGlobalVirtualSendcodeRequest

func NewAlibabaGlobalVirtualSendcodeRequest() *AlibabaGlobalVirtualSendcodeRequest

初始化AlibabaGlobalVirtualSendcodeRequest对象

func (AlibabaGlobalVirtualSendcodeRequest) GetApiMethodName

func (r AlibabaGlobalVirtualSendcodeRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaGlobalVirtualSendcodeRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaGlobalVirtualSendcodeRequest) GetCodeList

CodeList Getter

func (AlibabaGlobalVirtualSendcodeRequest) GetTradeOrderLineId

func (r AlibabaGlobalVirtualSendcodeRequest) GetTradeOrderLineId() int64

TradeOrderLineId Getter

func (*AlibabaGlobalVirtualSendcodeRequest) SetCodeList

CodeList Setter code list

func (*AlibabaGlobalVirtualSendcodeRequest) SetTradeOrderLineId

func (r *AlibabaGlobalVirtualSendcodeRequest) SetTradeOrderLineId(tradeOrderLineId int64) error

TradeOrderLineId Setter trade order id

type AlibabaGlobalVirtualSendcodeResponse

type AlibabaGlobalVirtualSendcodeResponse struct {
	XMLName xml.Name `xml:"alibaba_global_virtual_sendcode_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result describe
	Result *Response `json:"result,omitempty" xml:"result,omitempty"`
}

国际虚拟商品发码服务 成功返回结果

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 Response

type Response struct {
	// request result
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// send code result
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
	// error code
	ErrorCode *ErrorCode `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// request is repeated
	Repeated bool `json:"repeated,omitempty" xml:"repeated,omitempty"`
	// request need retry
	Retry bool `json:"retry,omitempty" xml:"retry,omitempty"`
}

Response

type VirtualCertificateDo

type VirtualCertificateDo struct {
	// modified time
	GmtModified int64 `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 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"`
	// code start effective time
	StartTime int64 `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// remark info
	Remark string `json:"remark,omitempty" xml:"remark,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

Jump to

Keyboard shortcuts

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