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::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: , company_contribution: , description: , frequency: , type: ) ⇒ 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_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!
Constructor Details
#initialize(benefit_id: , company_contribution: , description: , frequency: , type: ) ⇒ 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::HRIS::CompanyBenefit::CompanyContribution?
The company match for this benefit.
18 |
# File 'lib/finch_api/models/hris/company_benefit.rb', line 18 required :company_contribution, -> { FinchAPI::HRIS::CompanyBenefit::CompanyContribution }, nil?: true |
#description ⇒ String?
23 |
# File 'lib/finch_api/models/hris/company_benefit.rb', line 23 required :description, String, nil?: true |