Class: FinchAPI::Models::HRIS::BenefitCreateParams::CompanyContribution::Tier

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

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(tiers: nil, type: nil) ⇒ Object

The company match for this benefit.

Parameters:

  • tiers (Array<FinchAPI::HRIS::BenefitCreateParams::CompanyContribution::Tier>) (defaults to: nil)
  • type (Symbol, FinchAPI::HRIS::BenefitCreateParams::CompanyContribution::Type) (defaults to: nil)


73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'lib/finch_api/models/hris/benefit_create_params.rb', line 73

class Tier < FinchAPI::Internal::Type::BaseModel
  # @!attribute match
  #
  #   @return [Integer, nil]
  optional :match, Integer

  # @!attribute threshold
  #
  #   @return [Integer, nil]
  optional :threshold, Integer

  # @!method initialize(match: nil, threshold: nil)
  #   @param match [Integer]
  #   @param threshold [Integer]
end

Instance Attribute Details

#matchInteger?

Returns:

  • (Integer, nil)


77
# File 'lib/finch_api/models/hris/benefit_create_params.rb', line 77

optional :match, Integer

#thresholdInteger?

Returns:

  • (Integer, nil)


82
# File 'lib/finch_api/models/hris/benefit_create_params.rb', line 82

optional :threshold, Integer