globalvirtual

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Overview

国际虚拟API model

https://open.taobao.com/API.htm?docId=48538&docType=2

Index

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
}

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

global virtual send code service

func NewAlibabaGlobalVirtualSendcodeRequest

func NewAlibabaGlobalVirtualSendcodeRequest() *AlibabaGlobalVirtualSendcodeAPIRequest

初始化AlibabaGlobalVirtualSendcodeAPIRequest对象

func (AlibabaGlobalVirtualSendcodeAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaGlobalVirtualSendcodeAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaGlobalVirtualSendcodeAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaGlobalVirtualSendcodeAPIRequest) GetCodeList added in v1.2.0

CodeList Getter

func (AlibabaGlobalVirtualSendcodeAPIRequest) GetTradeOrderLineId added in v1.2.0

func (r AlibabaGlobalVirtualSendcodeAPIRequest) GetTradeOrderLineId() int64

TradeOrderLineId Getter

func (*AlibabaGlobalVirtualSendcodeAPIRequest) SetCodeList added in v1.2.0

CodeList Setter code list

func (*AlibabaGlobalVirtualSendcodeAPIRequest) SetTradeOrderLineId added in v1.2.0

func (r *AlibabaGlobalVirtualSendcodeAPIRequest) SetTradeOrderLineId(_tradeOrderLineId int64) error

TradeOrderLineId Setter trade order id

type AlibabaGlobalVirtualSendcodeAPIResponse

type AlibabaGlobalVirtualSendcodeAPIResponse struct {
	model.CommonResponse
	AlibabaGlobalVirtualSendcodeAPIResponseModel
}

国际虚拟商品发码服务 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"`
}

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

type AlibabaGlobalVirtualSendcodeResponse

type AlibabaGlobalVirtualSendcodeResponse 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"`
}

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 {
	// 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