Class: FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::EmployeeDeduction

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/hris/benefits/individual_enroll_many_params.rb

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(amount: nil, type: nil) ⇒ EmployeeDeduction

Returns a new instance of EmployeeDeduction.

Parameters:



4
# File 'lib/finch-api/models/hris/benefits/individual_enroll_many_params.rb', line 4

def initialize(amount: nil, type: nil, **) = super

Instance Attribute Details

#amountInteger?

Amount in cents for fixed type or basis points (1/100th of a percent) for

percent type

Returns:

  • (Integer, nil)


194
# File 'lib/finch-api/models/hris/benefits/individual_enroll_many_params.rb', line 194

optional :amount, Integer

#typeSymbol, ...



203
204
# File 'lib/finch-api/models/hris/benefits/individual_enroll_many_params.rb', line 203

optional :type,
enum: -> { FinchAPI::Models::HRIS::Benefits::IndividualEnrollManyParams::Individual::Configuration::EmployeeDeduction::Type }