Class: GustoEmbedded::Shared::EmployeeBenefits

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(active: nil, company_benefit_uuid: nil, company_contribution: nil, contribution: nil, deduct_as_percentage: nil, employee_deduction: nil, employee_uuid: nil, uuid: nil) ⇒ EmployeeBenefits

Returns a new instance of EmployeeBenefits.



33
34
35
36
37
38
39
40
41
42
# File 'lib/gusto_embedded/models/shared/employee_benefits.rb', line 33

def initialize(active: nil, company_benefit_uuid: nil, company_contribution: nil, contribution: nil, deduct_as_percentage: nil, employee_deduction: nil, employee_uuid: nil, uuid: nil)
  @active = active
  @company_benefit_uuid = company_benefit_uuid
  @company_contribution = company_contribution
  @contribution = contribution
  @deduct_as_percentage = deduct_as_percentage
  @employee_deduction = employee_deduction
  @employee_uuid = employee_uuid
  @uuid = uuid
end