Class: GustoEmbedded::Shared::SupportedBenefit
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::SupportedBenefit
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/supported_benefit.rb
Overview
Example response
Instance Method Summary collapse
-
#initialize(benefit_type: nil, category: nil, description: nil, healthcare: nil, imputed: nil, name: nil, posttax: nil, pretax: nil, retirement: nil, yearly_limit: nil) ⇒ SupportedBenefit
constructor
A new instance of SupportedBenefit.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(benefit_type: nil, category: nil, description: nil, healthcare: nil, imputed: nil, name: nil, posttax: nil, pretax: nil, retirement: nil, yearly_limit: nil) ⇒ SupportedBenefit
Returns a new instance of SupportedBenefit.
37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/gusto_embedded/models/shared/supported_benefit.rb', line 37 def initialize(benefit_type: nil, category: nil, description: nil, healthcare: nil, imputed: nil, name: nil, posttax: nil, pretax: nil, retirement: nil, yearly_limit: nil) @benefit_type = benefit_type @category = category @description = description @healthcare = healthcare @imputed = imputed @name = name @posttax = posttax @pretax = pretax @retirement = retirement @yearly_limit = yearly_limit end |