Class: GustoEmbedded::Shared::PayrollTotalsType
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::PayrollTotalsType
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/payroll_totals_type.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(additional_earnings: nil, benefits: nil, check_amount: nil, child_support_debit: nil, company_debit: nil, deferred_payroll_taxes: nil, employee_benefits_deductions: nil, employee_bonuses: nil, employee_cash_tips: nil, employee_commissions: nil, employee_paycheck_tips: nil, employee_taxes: nil, employer_taxes: nil, gross_pay: nil, imputed_pay: nil, net_pay: nil, net_pay_debit: nil, other_deductions: nil, owners_draw: nil, reimbursement_debit: nil, reimbursements: nil, tax_debit: nil) ⇒ PayrollTotalsType
Returns a new instance of PayrollTotalsType.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/gusto_embedded/models/shared/payroll_totals_type.rb', line 61 def initialize(additional_earnings: nil, benefits: nil, check_amount: nil, child_support_debit: nil, company_debit: nil, deferred_payroll_taxes: nil, employee_benefits_deductions: nil, employee_bonuses: nil, employee_cash_tips: nil, employee_commissions: nil, employee_paycheck_tips: nil, employee_taxes: nil, employer_taxes: nil, gross_pay: nil, imputed_pay: nil, net_pay: nil, net_pay_debit: nil, other_deductions: nil, owners_draw: nil, reimbursement_debit: nil, reimbursements: nil, tax_debit: nil) @additional_earnings = additional_earnings @benefits = benefits @check_amount = check_amount @child_support_debit = child_support_debit @company_debit = company_debit @deferred_payroll_taxes = deferred_payroll_taxes @employee_benefits_deductions = employee_benefits_deductions @employee_bonuses = employee_bonuses @employee_cash_tips = employee_cash_tips @employee_commissions = employee_commissions @employee_paycheck_tips = employee_paycheck_tips @employee_taxes = employee_taxes @employer_taxes = employer_taxes @gross_pay = gross_pay @imputed_pay = imputed_pay @net_pay = net_pay @net_pay_debit = net_pay_debit @other_deductions = other_deductions @owners_draw = owners_draw @reimbursement_debit = reimbursement_debit @reimbursements = reimbursements @tax_debit = tax_debit end |