Class: FinchAPI::Models::HRIS::HRISCompany::Entity
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- FinchAPI::Models::HRIS::HRISCompany::Entity
- Defined in:
- lib/finch_api/models/hris/company.rb,
sig/finch_api/models/hris/company.rbs
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#subtype ⇒ Symbol, ...
The tax payer subtype of the company.
-
#type ⇒ Symbol, ...
The tax payer type of the company.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(subtype:, type:) ⇒ Object
constructor
The entity type object.
- #to_hash ⇒ {
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_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(subtype:, type:) ⇒ Object
The entity type object.
|
|
# File 'lib/finch_api/models/hris/company.rb', line 201
|
Instance Attribute Details
#subtype ⇒ Symbol, ...
The tax payer subtype of the company.
193 |
# File 'lib/finch_api/models/hris/company.rb', line 193 required :subtype, enum: -> { FinchAPI::HRIS::HRISCompany::Entity::Subtype }, nil?: true |
#type ⇒ Symbol, ...
The tax payer type of the company.
199 |
# File 'lib/finch_api/models/hris/company.rb', line 199 required :type, enum: -> { FinchAPI::HRIS::HRISCompany::Entity::Type }, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/finch_api/models/hris/company.rb', line 218
|
Instance Method Details
#to_hash ⇒ {
156 |
# File 'sig/finch_api/models/hris/company.rbs', line 156
def to_hash: -> {
|