Class: GustoEmbedded::Shared::Totals

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

Overview

The subtotals for the payroll.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(child_support_debit: nil, company_debit: nil, net_pay_debit: nil, reimbursement_debit: nil, tax_debit: nil) ⇒ Totals

Returns a new instance of Totals.



27
28
29
30
31
32
33
# File 'lib/gusto_embedded/models/shared/totals.rb', line 27

def initialize(child_support_debit: nil, company_debit: nil, net_pay_debit: nil, reimbursement_debit: nil, tax_debit: nil)
  @child_support_debit = child_support_debit
  @company_debit = company_debit
  @net_pay_debit = net_pay_debit
  @reimbursement_debit = reimbursement_debit
  @tax_debit = tax_debit
end