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

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/sandbox/company_update_response.rb

Defined Under Namespace

Modules: Subtype, Type

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

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

The entity type object.

Parameters:



6
# File 'lib/finch-api/models/sandbox/company_update_response.rb', line 6

def initialize(subtype: nil, type: nil, **) = super

Instance Attribute Details

#subtypeSymbol, ...

The tax payer subtype of the company.



176
177
178
# File 'lib/finch-api/models/sandbox/company_update_response.rb', line 176

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

#typeSymbol, ...

The tax payer type of the company.



184
# File 'lib/finch-api/models/sandbox/company_update_response.rb', line 184

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


2
# File 'lib/finch-api/models/sandbox/company_update_response.rb', line 2

def self.values; end