Class: GustoEmbedded::Shared::ExternalPayrollBenefits

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(benefit_id: nil, company_contribution_amount: nil, employee_deduction_amount: nil) ⇒ ExternalPayrollBenefits

Returns a new instance of ExternalPayrollBenefits.



23
24
25
26
27
# File 'lib/gusto_embedded/models/shared/external_payroll_benefits.rb', line 23

def initialize(benefit_id: nil, company_contribution_amount: nil, employee_deduction_amount: nil)
  @benefit_id = benefit_id
  @company_contribution_amount = company_contribution_amount
  @employee_deduction_amount = employee_deduction_amount
end