Class: GustoEmbedded::Shared::ExternalPayrollItems

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(benefits: nil, earnings: nil, employee_uuid: nil, taxes: nil) ⇒ ExternalPayrollItems

Returns a new instance of ExternalPayrollItems.



25
26
27
28
29
30
# File 'lib/gusto_embedded/models/shared/external_payroll_items.rb', line 25

def initialize(benefits: nil, earnings: nil, employee_uuid: nil, taxes: nil)
  @benefits = benefits
  @earnings = earnings
  @employee_uuid = employee_uuid
  @taxes = taxes
end