b2bcert

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

b2b认证平台api model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaAuthCertGetAPIRequest added in v1.2.0

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

获取证书数据 API请求 alibaba.auth.cert.get

获取证书数据

func NewAlibabaAuthCertGetRequest

func NewAlibabaAuthCertGetRequest() *AlibabaAuthCertGetAPIRequest

初始化AlibabaAuthCertGetAPIRequest对象

func (AlibabaAuthCertGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAuthCertGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAuthCertGetAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaAuthCertGetAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlibabaAuthCertGetAPIRequest) GetProvider added in v1.2.0

func (r AlibabaAuthCertGetAPIRequest) GetProvider() string

Provider Getter

func (AlibabaAuthCertGetAPIRequest) GetReceiveInfo added in v1.2.0

func (r AlibabaAuthCertGetAPIRequest) GetReceiveInfo() string

ReceiveInfo Getter

func (*AlibabaAuthCertGetAPIRequest) SetProvider added in v1.2.0

func (r *AlibabaAuthCertGetAPIRequest) SetProvider(_provider string) error

Provider Setter 认证商

func (*AlibabaAuthCertGetAPIRequest) SetReceiveInfo added in v1.2.0

func (r *AlibabaAuthCertGetAPIRequest) SetReceiveInfo(_receiveInfo string) error

ReceiveInfo Setter 证书数据

type AlibabaAuthCertGetAPIResponse

type AlibabaAuthCertGetAPIResponse struct {
	model.CommonResponse
	AlibabaAuthCertGetAPIResponseModel
}

获取证书数据 API返回值 alibaba.auth.cert.get

获取证书数据

type AlibabaAuthCertGetAPIResponseModel added in v1.2.0

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

获取证书数据 成功返回结果

type AlibabaAuthCertGetResponse

type AlibabaAuthCertGetResponse struct {
	// data
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// msg
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
}

AlibabaAuthCertGetResponse

Jump to

Keyboard shortcuts

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