Class: GustoEmbedded::Operations::PostV1EmployeesEmployeeIdGarnishmentsRequestBody

Inherits:
Crystalline::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/gusto_embedded/models/operations/post_v1_employees_employee_id_garnishments_requestbody.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(amount: nil, court_ordered: nil, active: nil, annual_maximum: nil, child_support: nil, deduct_as_percentage: nil, description: nil, garnishment_type: nil, pay_period_maximum: nil, recurring: nil, times: nil, total_amount: nil) ⇒ PostV1EmployeesEmployeeIdGarnishmentsRequestBody

Returns a new instance of PostV1EmployeesEmployeeIdGarnishmentsRequestBody.



41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/gusto_embedded/models/operations/post_v1_employees_employee_id_garnishments_requestbody.rb', line 41

def initialize(amount: nil, court_ordered: nil, active: nil, annual_maximum: nil, child_support: nil, deduct_as_percentage: nil, description: nil, garnishment_type: nil, pay_period_maximum: nil, recurring: nil, times: nil, total_amount: nil)
  @amount = amount
  @court_ordered = court_ordered
  @active = active
  @annual_maximum = annual_maximum
  @child_support = child_support
  @deduct_as_percentage = deduct_as_percentage
  @description = description
  @garnishment_type = garnishment_type
  @pay_period_maximum = pay_period_maximum
  @recurring = recurring
  @times = times
  @total_amount = total_amount
end