Class: FinchAPI::Models::HRIS::CompanyBenefit
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- FinchAPI::Models::HRIS::CompanyBenefit
- Defined in:
- lib/finch_api/models/hris/company_benefit.rb
Overview
Defined Under Namespace
Classes: CompanyContribution
Instance Attribute Summary collapse
-
#benefit_id ⇒ String
The id of the benefit.
-
#company_contribution ⇒ FinchAPI::Models::HRIS::CompanyBenefit::CompanyContribution?
The company match for this benefit.
- #description ⇒ String?
-
#frequency ⇒ Symbol, ...
The frequency of the benefit deduction/contribution.
-
#type ⇒ Symbol, ...
Type of benefit.
Instance Method Summary collapse
- #initialize(benefit_id: , description: , frequency: , type: , company_contribution: nil) ⇒ Object constructor
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(benefit_id: , description: , frequency: , type: , company_contribution: nil) ⇒ Object
|
|
# File 'lib/finch_api/models/hris/company_benefit.rb', line 37
|
Instance Attribute Details
#benefit_id ⇒ String
The id of the benefit.
12 |
# File 'lib/finch_api/models/hris/company_benefit.rb', line 12 required :benefit_id, String |
#company_contribution ⇒ FinchAPI::Models::HRIS::CompanyBenefit::CompanyContribution?
The company match for this benefit.
35 |
# File 'lib/finch_api/models/hris/company_benefit.rb', line 35 optional :company_contribution, -> { FinchAPI::HRIS::CompanyBenefit::CompanyContribution }, nil?: true |
#description ⇒ String?
17 |
# File 'lib/finch_api/models/hris/company_benefit.rb', line 17 required :description, String, nil?: true |