Class: Plaid::BusinessEntityType

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

Constant Summary collapse

SOLE_PROPRIETORSHIP =
"sole_proprietorship".freeze
GENERAL_PARTNERSHIP =
"general_partnership".freeze
LLC =
"llc".freeze
LLP =
"llp".freeze
LLLP =
"lllp".freeze
LP =
"lp".freeze
C_CORPORATION =
"c_corporation".freeze
S_CORPORATION =
"s_corporation".freeze
B_CORPORATION =
"b_corporation".freeze
NONPROFIT =
"nonprofit".freeze
COOPERATIVE =
"cooperative".freeze
TRUST =
"trust".freeze
PROFESSIONAL_ASSOCIATION =
"professional_association".freeze
PROFESSIONAL_CORPORATION =
"professional_corporation".freeze
TRADE_NAME =
"trade_name".freeze
BANK =
"bank".freeze
CREDIT_UNION =
"credit_union".freeze
INSURANCE =
"insurance".freeze
OTHER =
"other".freeze
UNKNOWN =
"unknown".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



42
43
44
# File 'lib/plaid/models/business_entity_type.rb', line 42

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



49
50
51
52
53
54
# File 'lib/plaid/models/business_entity_type.rb', line 49

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