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

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/hris/company.rb

Overview

See Also:

  • HRIS::HRISCompany#entity

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: , type: ) ⇒ Object

The entity type object.

Parameters:

  • subtype (Symbol, FinchAPI::HRIS::HRISCompany::Entity::Subtype, nil) (defaults to: )

    The tax payer subtype of the company.

  • type (Symbol, FinchAPI::HRIS::HRISCompany::Entity::Type, nil) (defaults to: )

    The tax payer type of the company.



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

Instance Attribute Details

#subtypeSymbol, ...

The tax payer subtype of the company.

Returns:

  • (Symbol, FinchAPI::HRIS::HRISCompany::Entity::Subtype, nil)


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

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

#typeSymbol, ...

The tax payer type of the company.

Returns:

  • (Symbol, FinchAPI::HRIS::HRISCompany::Entity::Type, nil)


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

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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