Class: GustoEmbedded::Shared::CompanyBenefitWithEmployeeBenefits
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::CompanyBenefitWithEmployeeBenefits
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/company_benefit_with_employee_benefits.rb
Overview
The representation of a company benefit.
Instance Method Summary collapse
-
#initialize(uuid: nil, active: nil, benefit_type: nil, company_uuid: nil, deletable: nil, description: nil, employee_benefits: nil, responsible_for_employee_w2: nil, responsible_for_employer_taxes: nil, supports_percentage_amounts: nil, version: nil) ⇒ CompanyBenefitWithEmployeeBenefits
constructor
A new instance of CompanyBenefitWithEmployeeBenefits.
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, employee_benefits: nil, responsible_for_employee_w2: nil, responsible_for_employer_taxes: nil, supports_percentage_amounts: nil, version: nil) ⇒ CompanyBenefitWithEmployeeBenefits
Returns a new instance of CompanyBenefitWithEmployeeBenefits.
39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/gusto_embedded/models/shared/company_benefit_with_employee_benefits.rb', line 39 def initialize(uuid: nil, active: nil, benefit_type: nil, company_uuid: nil, deletable: nil, description: nil, employee_benefits: 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 @employee_benefits = employee_benefits @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 |