Class: GustoEmbedded::Shared::CompanyBenefit

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

Overview

The representation of a company benefit.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(uuid: nil, active: nil, benefit_type: nil, company_uuid: nil, deletable: nil, description: nil, enrollment_count: nil, responsible_for_employee_w2: nil, responsible_for_employer_taxes: nil, supports_percentage_amounts: nil, version: nil) ⇒ CompanyBenefit

Returns a new instance of CompanyBenefit.



39
40
41
42
43
44
45
46
47
48
49
50
51
# File 'lib/gusto_embedded/models/shared/company_benefit.rb', line 39

def initialize(uuid: nil, active: nil, benefit_type: nil, company_uuid: nil, deletable: nil, description: nil, enrollment_count: nil, responsible_for_employee_w2: nil, responsible_for_employer_taxes: nil, supports_percentage_amounts: nil, version: nil)
  @uuid = uuid
  @active = active
  @benefit_type = benefit_type
  @company_uuid = company_uuid
  @deletable = deletable
  @description = description
  @enrollment_count = enrollment_count
  @responsible_for_employee_w2 = responsible_for_employee_w2
  @responsible_for_employer_taxes = responsible_for_employer_taxes
  @supports_percentage_amounts = supports_percentage_amounts
  @version = version
end