Class: Plaid::UserStatedIncomeSourceCategory

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

Constant Summary collapse

OTHER =
"OTHER".freeze
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

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



33
34
35
# File 'lib/plaid/models/user_stated_income_source_category.rb', line 33

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



40
41
42
43
44
45
# File 'lib/plaid/models/user_stated_income_source_category.rb', line 40

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