Class: FinchAPI::Models::HRIS::W42005

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

Defined Under Namespace

Modules: Type Classes: Data

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_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(data: , type: , year: ) ⇒ Object

A 2005 version of the W-4 tax form containing information on an individual’s filing status, dependents, and withholding details.

Parameters:



# File 'lib/finch_api/models/hris/w42005.rb', line 25

Instance Attribute Details

#dataFinchAPI::Models::HRIS::W42005::Data

Detailed information specific to the 2005 W4 form.



11
# File 'lib/finch_api/models/hris/w42005.rb', line 11

required :data, -> { FinchAPI::HRIS::W42005::Data }

#typeSymbol, FinchAPI::Models::HRIS::W42005::Type

Specifies the form type, indicating that this document is a 2005 W4 form.



17
# File 'lib/finch_api/models/hris/w42005.rb', line 17

required :type, enum: -> { FinchAPI::HRIS::W42005::Type }

#yearFloat

The tax year this W4 document applies to.

Returns:

  • (Float)


23
# File 'lib/finch_api/models/hris/w42005.rb', line 23

required :year, Float

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/finch_api/models/hris/w42005.rb', line 103