Class: FinchAPI::Models::HRIS::CompanyBenefit::CompanyContribution

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

Overview

See Also:

  • HRIS::CompanyBenefit#company_contribution

Defined Under Namespace

Modules: Type Classes: Tier

Instance Attribute 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(match: nil, threshold: nil) ⇒ Object

Parameters:

  • match (Integer) (defaults to: nil)
  • threshold (Integer) (defaults to: nil)


# File 'lib/finch_api/models/hris/company_benefit.rb', line 80

Instance Attribute Details

#tiersArray<FinchAPI::HRIS::CompanyBenefit::CompanyContribution::Tier>?

Returns:

  • (Array<FinchAPI::HRIS::CompanyBenefit::CompanyContribution::Tier>, nil)


53
54
55
56
# File 'lib/finch_api/models/hris/company_benefit.rb', line 53

optional :tiers,
-> {
  FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::CompanyBenefit::CompanyContribution::Tier]
}

#typeSymbol, ...

Returns:

  • (Symbol, FinchAPI::HRIS::CompanyBenefit::CompanyContribution::Type, nil)


61
# File 'lib/finch_api/models/hris/company_benefit.rb', line 61

optional :type, enum: -> { FinchAPI::HRIS::CompanyBenefit::CompanyContribution::Type }