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

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

Overview

Defined Under Namespace

Modules: Type Classes: Tier

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, dump, fields, hash, #hash, inspect, #inspect, known_fields, optional, required, #to_h, #to_json, #to_s, #to_yaml, walk

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, type_info

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::Models::HRIS::CompanyBenefit::CompanyContribution::Tier>?



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

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

#typeSymbol, ...



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

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