b2bcert

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package b2bcert 包含b2b认证平台api相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaauthcertgetAPIRequest added in v1.3.1

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

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

获取证书数据

func NewAlibabaauthcertgetRequest added in v1.3.1

func NewAlibabaauthcertgetRequest() *AlibabaauthcertgetAPIRequest

NewAlibabaauthcertgetRequest 初始化AlibabaauthcertgetAPIRequest对象

func (AlibabaauthcertgetAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabaauthcertgetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaauthcertgetAPIRequest) GetApiParams added in v1.3.1

func (r AlibabaauthcertgetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaauthcertgetAPIRequest) GetProvider added in v1.3.1

func (r AlibabaauthcertgetAPIRequest) GetProvider() string

GetProvider Provider Getter

func (AlibabaauthcertgetAPIRequest) GetRawParams added in v1.3.1

func (r AlibabaauthcertgetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaauthcertgetAPIRequest) GetReceiveInfo added in v1.3.1

func (r AlibabaauthcertgetAPIRequest) GetReceiveInfo() string

GetReceiveInfo ReceiveInfo Getter

func (*AlibabaauthcertgetAPIRequest) SetProvider added in v1.3.1

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

SetProvider is Provider Setter 认证商

func (*AlibabaauthcertgetAPIRequest) SetReceiveInfo added in v1.3.1

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

SetReceiveInfo is ReceiveInfo Setter 证书数据

type AlibabaauthcertgetAPIResponse added in v1.3.1

type AlibabaauthcertgetAPIResponse struct {
	model.CommonResponse
	AlibabaauthcertgetAPIResponseModel
}

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

获取证书数据

type AlibabaauthcertgetAPIResponseModel added in v1.3.1

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

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

type AlibabaauthcertgetResponse added in v1.3.1

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

AlibabaauthcertgetResponse 结构体

Jump to

Keyboard shortcuts

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