Class: Plaid::CreditBankIncomeErrorType

Inherits:
Object
  • Object
show all
Defined in:
lib/plaid/models/credit_bank_income_error_type.rb

Constant Summary collapse

INTERNAL_SERVER_ERROR =
"INTERNAL_SERVER_ERROR".freeze
INSUFFICIENT_CREDENTIALS =
"INSUFFICIENT_CREDENTIALS".freeze
ITEM_LOCKED =
"ITEM_LOCKED".freeze
USER_SETUP_REQUIRED =
"USER_SETUP_REQUIRED".freeze
COUNTRY_NOT_SUPPORTED =
"COUNTRY_NOT_SUPPORTED".freeze
INSTITUTION_DOWN =
"INSTITUTION_DOWN".freeze
INSTITUTION_NO_LONGER_SUPPORTED =
"INSTITUTION_NO_LONGER_SUPPORTED".freeze
INSTITUTION_NOT_RESPONDING =
"INSTITUTION_NOT_RESPONDING".freeze
INVALID_CREDENTIALS =
"INVALID_CREDENTIALS".freeze
INVALID_MFA =
"INVALID_MFA".freeze
INVALID_SEND_METHOD =
"INVALID_SEND_METHOD".freeze
ITEM_LOGIN_REQUIRED =
"ITEM_LOGIN_REQUIRED".freeze
MFA_NOT_SUPPORTED =
"MFA_NOT_SUPPORTED".freeze
NO_ACCOUNTS =
"NO_ACCOUNTS".freeze
ITEM_NOT_SUPPORTED =
"ITEM_NOT_SUPPORTED".freeze
ACCESS_NOT_GRANTED =
"ACCESS_NOT_GRANTED".freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



38
39
40
# File 'lib/plaid/models/credit_bank_income_error_type.rb', line 38

def self.build_from_hash(value)
  new.build_from_hash(value)
end

Instance Method Details

#build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



45
46
47
48
49
50
# File 'lib/plaid/models/credit_bank_income_error_type.rb', line 45

def build_from_hash(value)
  # We do not validate that the value is one of the enums set in the OpenAPI
  # file because we want to be able to add to our list of enums without
  # breaking this client library.
  value
end