Class: FinchAPI::Models::HRIS::HRISCompany::Entity

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/hris/company.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, dump, fields, hash, #hash, inspect, #inspect, known_fields, optional, required, #to_h, #to_json, #to_s, #to_yaml, walk

Methods included from Internal::Type::Converter

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

Constructor Details

#initialize(subtype: , type: ) ⇒ Object

The entity type object.

Parameters:



# File 'lib/finch_api/models/hris/company.rb', line 199

Instance Attribute Details

#subtypeSymbol, ...

The tax payer subtype of the company.



191
# File 'lib/finch_api/models/hris/company.rb', line 191

required :subtype, enum: -> { FinchAPI::Models::HRIS::HRISCompany::Entity::Subtype }, nil?: true

#typeSymbol, ...

The tax payer type of the company.



197
# File 'lib/finch_api/models/hris/company.rb', line 197

required :type, enum: -> { FinchAPI::Models::HRIS::HRISCompany::Entity::Type }, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/finch_api/models/hris/company.rb', line 216