UnlockConnectorResponse

package
v0.0.0-...-07563a9 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 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 CustomDataType

type CustomDataType struct {
	// VendorId corresponds to the JSON schema field "vendorId".
	VendorId string `json:"vendorId" yaml:"vendorId"`
}

This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.

func (*CustomDataType) UnmarshalJSON

func (j *CustomDataType) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type StatusInfoType

type StatusInfoType struct {
	// Additional text to provide detailed information.
	//
	AdditionalInfo *string `json:"additionalInfo,omitempty" yaml:"additionalInfo,omitempty"`

	// CustomData corresponds to the JSON schema field "customData".
	CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"`

	// A predefined code for the reason why the status is returned in this response.
	// The string is case-insensitive.
	//
	ReasonCode string `json:"reasonCode" yaml:"reasonCode"`
}

Element providing more information about the status.

func (*StatusInfoType) UnmarshalJSON

func (j *StatusInfoType) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type UnlockConnectorResponseJson

type UnlockConnectorResponseJson struct {
	// CustomData corresponds to the JSON schema field "customData".
	CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"`

	// Status corresponds to the JSON schema field "status".
	Status UnlockStatusEnumType_1 `json:"status" yaml:"status"`

	// StatusInfo corresponds to the JSON schema field "statusInfo".
	StatusInfo *StatusInfoType `json:"statusInfo,omitempty" yaml:"statusInfo,omitempty"`
}

func (*UnlockConnectorResponseJson) UnmarshalJSON

func (j *UnlockConnectorResponseJson) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type UnlockStatusEnumType

type UnlockStatusEnumType string
const UnlockStatusEnumTypeOngoingAuthorizedTransaction UnlockStatusEnumType = "OngoingAuthorizedTransaction"
const UnlockStatusEnumTypeUnknownConnector UnlockStatusEnumType = "UnknownConnector"
const UnlockStatusEnumTypeUnlockFailed UnlockStatusEnumType = "UnlockFailed"
const UnlockStatusEnumTypeUnlocked UnlockStatusEnumType = "Unlocked"

func (*UnlockStatusEnumType) UnmarshalJSON

func (j *UnlockStatusEnumType) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type UnlockStatusEnumType_1

type UnlockStatusEnumType_1 string
const UnlockStatusEnumType_1_OngoingAuthorizedTransaction UnlockStatusEnumType_1 = "OngoingAuthorizedTransaction"
const UnlockStatusEnumType_1_UnknownConnector UnlockStatusEnumType_1 = "UnknownConnector"
const UnlockStatusEnumType_1_UnlockFailed UnlockStatusEnumType_1 = "UnlockFailed"
const UnlockStatusEnumType_1_Unlocked UnlockStatusEnumType_1 = "Unlocked"

func (*UnlockStatusEnumType_1) UnmarshalJSON

func (j *UnlockStatusEnumType_1) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

Jump to

Keyboard shortcuts

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