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

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/hris/company.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/hris/company.rb', line 6

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

Instance Attribute Details

#subtypeSymbol, ...

The tax payer subtype of the company.



192
# File 'lib/finch-api/models/hris/company.rb', line 192

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

#typeSymbol, ...

The tax payer type of the company.



198
# File 'lib/finch-api/models/hris/company.rb', line 198

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


2
# File 'lib/finch-api/models/hris/company.rb', line 2

def self.values; end