Class: GustoEmbedded::Shared::EmployeeCompensations

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(child_support_garnishment: nil, employee_first_name: nil, employee_last_name: nil, employee_uuid: nil, net_pay: nil, payment_method: nil, total_garnishments: nil, total_reimbursement: nil, total_tax: nil) ⇒ EmployeeCompensations

Returns a new instance of EmployeeCompensations.



35
36
37
38
39
40
41
42
43
44
45
# File 'lib/gusto_embedded/models/shared/employee_compensations.rb', line 35

def initialize(child_support_garnishment: nil, employee_first_name: nil, employee_last_name: nil, employee_uuid: nil, net_pay: nil, payment_method: nil, total_garnishments: nil, total_reimbursement: nil, total_tax: nil)
  @child_support_garnishment = child_support_garnishment
  @employee_first_name = employee_first_name
  @employee_last_name = employee_last_name
  @employee_uuid = employee_uuid
  @net_pay = net_pay
  @payment_method = payment_method
  @total_garnishments = total_garnishments
  @total_reimbursement = total_reimbursement
  @total_tax = total_tax
end