class

Plaid::CreditSessionError

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

The details of a Link error.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, error_type : String | Nil = nil, error_code : String | Nil = nil, error_message : String | Nil = nil, display_message : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

display_message

A user-friendly representation of the error code. null if the error is not related to user action.

Source
display_message=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] display_message Object to be assigned

Source
display_message_present=(display_message_present : Bool)
Source
display_message_present?
Source
error_code

The particular error code.

Source
error_code=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] error_code Object to be assigned

Source
error_message

A developer-friendly representation of the error code.

Source
error_message=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] error_message Object to be assigned

Source
error_type

A broad categorization of the error.

Source
error_type=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] error_type Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source