Class: FinchAPI::Models::Sandbox::CompanyUpdateResponse::Entity

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/sandbox/company_update_response.rb

Overview

See Also:

Defined Under Namespace

Modules: Subtype, Type

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!

Constructor Details

#initialize(subtype: nil, type: nil) ⇒ Object

The entity type object.

Parameters:



# File 'lib/finch_api/models/sandbox/company_update_response.rb', line 195

Instance Attribute Details

#subtypeSymbol, ...

The tax payer subtype of the company.



185
186
187
# File 'lib/finch_api/models/sandbox/company_update_response.rb', line 185

optional :subtype,
enum: -> { FinchAPI::Models::Sandbox::CompanyUpdateResponse::Entity::Subtype },
nil?: true

#typeSymbol, ...

The tax payer type of the company.



193
# File 'lib/finch_api/models/sandbox/company_update_response.rb', line 193

optional :type, enum: -> { FinchAPI::Models::Sandbox::CompanyUpdateResponse::Entity::Type }, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/finch_api/models/sandbox/company_update_response.rb', line 212