Class: FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::CompanyContribution::Tier

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/finch_api/models/hris/benefits/individual_enroll_many_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_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: nil, tiers: nil, type: nil) ⇒ Object

Some parameter documentations has been truncated, see FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::CompanyContribution for more details.

Parameters:



162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
# File 'lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb', line 162

class Tier < FinchAPI::Internal::Type::BaseModel
  # @!attribute match
  #   The employer match percentage in basis points (0-10000 = 0-100%)
  #
  #   @return [Integer]
  required :match, Integer

  # @!attribute threshold
  #   The employee contribution threshold in basis points (0-10000 = 0-100%)
  #
  #   @return [Integer]
  required :threshold, Integer

  # @!method initialize(match:, threshold:)
  #   @param match [Integer] The employer match percentage in basis points (0-10000 = 0-100%)
  #
  #   @param threshold [Integer] The employee contribution threshold in basis points (0-10000 = 0-100%)
end

Instance Attribute Details

#matchInteger

The employer match percentage in basis points (0-10000 = 0-100%)

Returns:

  • (Integer)


167
# File 'lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb', line 167

required :match, Integer

#thresholdInteger

The employee contribution threshold in basis points (0-10000 = 0-100%)

Returns:

  • (Integer)


173
# File 'lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb', line 173

required :threshold, Integer