Class: VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::ContributionStrategy::IchraContributionClass

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb,
sig/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rbs

Defined Under Namespace

Modules: Compensation, Employment, FamilyStatus, Location

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(amount_in_cents:, compensation:, contribution_class_id:, employment:, family_status:, location:, location_value:, max_age:, min_age:) ⇒ Object

Some parameter documentations has been truncated, see VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::ContributionStrategy::IchraContributionClass for more details.

One ICHRA contribution class, mirroring the internal configuration endpoint's IchraContributionClassConfigurationEntitySerializer field-for-field. Two deliberate differences for the public surface: the identifier is the opaque prefixed iccl_* form rather than a raw UUID, and the matcher choices come from the domain enums rather than the model's.

Parameters:



# File 'lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb', line 387

Instance Attribute Details

#amount_in_centsInteger

Monthly allowance in cents.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


322
# File 'lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb', line 322

required :amount_in_cents, Integer

#compensationSymbol, VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::ContributionStrategy::IchraContributionClass::Compensation

  • Unspecified - Unspecified
  • Salary - Salary
  • Hourly - Hourly

Parameters:

  • value (VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::ContributionStrategy::IchraContributionClass::compensation)

Returns:



330
331
# File 'lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb', line 330

required :compensation,
enum: -> { VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::ContributionStrategy::IchraContributionClass::Compensation }

#contribution_class_idString

Prefixed contribution-class identifier (iccl_*).

Parameters:

  • value (String)

Returns:

  • (String)


337
# File 'lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb', line 337

required :contribution_class_id, String

#employmentSymbol, VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::ContributionStrategy::IchraContributionClass::Employment

  • Unspecified - Unspecified
  • Full Time - Full Time
  • Part Time - Part Time
  • Temporary - Temporary
  • Seasonal - Seasonal

Parameters:

  • value (VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::ContributionStrategy::IchraContributionClass::employment)

Returns:



347
348
# File 'lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb', line 347

required :employment,
enum: -> { VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::ContributionStrategy::IchraContributionClass::Employment }

#family_statusSymbol, VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::ContributionStrategy::IchraContributionClass::FamilyStatus

  • Unspecified - Unspecified
  • EE - Ee
  • ES - Es
  • EC - Ec
  • EF - Ef

Parameters:

  • value (VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::ContributionStrategy::IchraContributionClass::family_status)

Returns:



358
359
# File 'lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb', line 358

required :family_status,
enum: -> { VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::ContributionStrategy::IchraContributionClass::FamilyStatus }

#locationSymbol, VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::ContributionStrategy::IchraContributionClass::Location

  • Unspecified - Unspecified
  • State - State

Parameters:

  • value (VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::ContributionStrategy::IchraContributionClass::location)

Returns:



366
367
# File 'lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb', line 366

required :location,
enum: -> { VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::ContributionStrategy::IchraContributionClass::Location }

#location_valueString?

Location matcher value (CSV of state codes), or null.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


373
# File 'lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb', line 373

required :location_value, String, nil?: true

#max_ageInteger?

Age-band upper bound, or null.

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


379
# File 'lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb', line 379

required :max_age, Integer, nil?: true

#min_ageInteger?

Age-band lower bound, or null.

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


385
# File 'lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb', line 385

required :min_age, Integer, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb', line 428

Instance Method Details

#to_hash{

Returns:

  • ({)


242
# File 'sig/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rbs', line 242

def to_hash: -> {