class

Plaid::CreditBankIncomeCause

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

An error object and associated item_id used to identify a specific Item and error when a batch operation operating on multiple Items has encountered an error in one of the Items.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, error_type : Plaid::CreditBankIncomeErrorType | Nil = nil, error_code : String | Nil = nil, error_message : String | Nil = nil, display_message : String | Nil = nil, item_id : 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. This may change over time and is not safe for programmatic use.

Source
display_message=(new_value : String | Nil)

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

Source
error_code

We use standard HTTP response codes for success and failure notifications, and our errors are further classified by error_type. In general, 200 HTTP codes correspond to success, 40X codes are for developer- or user-related failures, and 50X codes are for Plaid-related issues. Error fields will be null if no error has occurred.

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. This may change over time and is not safe for programmatic use.

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
Source
error_type=(new_value : Plaid::CreditBankIncomeErrorType | 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

item_id

The item_id of the Item associated with this warning.

Source
item_id=(new_value : String | Nil)

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

Source
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