Class: Plaid::CreditBankIncomeCategory

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

Constant Summary collapse

SALARY =
"SALARY".freeze
UNEMPLOYMENT =
"UNEMPLOYMENT".freeze
CASH =
"CASH".freeze
GIG_ECONOMY =
"GIG_ECONOMY".freeze
RENTAL =
"RENTAL".freeze
CHILD_SUPPORT =
"CHILD_SUPPORT".freeze
MILITARY =
"MILITARY".freeze
RETIREMENT =
"RETIREMENT".freeze
LONG_TERM_DISABILITY =
"LONG_TERM_DISABILITY".freeze
BANK_INTEREST =
"BANK_INTEREST".freeze
CASH_DEPOSIT =
"CASH_DEPOSIT".freeze
TRANSFER_FROM_APPLICATION =
"TRANSFER_FROM_APPLICATION".freeze
TAX_REFUND =
"TAX_REFUND".freeze
BENEFIT_OTHER =
"BENEFIT_OTHER".freeze
OTHER =
"OTHER".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



37
38
39
# File 'lib/plaid/models/credit_bank_income_category.rb', line 37

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



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

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