Class: GustoEmbedded::Shared::ExternalPayrollBenefits
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::ExternalPayrollBenefits
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/external_payroll_benefits.rb
Instance Method Summary collapse
-
#initialize(benefit_id: nil, company_contribution_amount: nil, employee_deduction_amount: nil) ⇒ ExternalPayrollBenefits
constructor
A new instance of ExternalPayrollBenefits.
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 |