Class: FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionFixed
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionFixed
- Defined in:
- lib/finch_api/models/hris/benefits/individual_benefit.rb,
sig/finch_api/models/hris/benefits/individual_benefit.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#amount ⇒ Integer
Contribution amount in cents (for type=fixed) or basis points (for type=percent, where 100 = 1%).
-
#type ⇒ Symbol, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionFixed::Type
Contribution type.
Instance Method Summary collapse
-
#initialize(amount:, type:) ⇒ Object
constructor
Some parameter documentations has been truncated, see EmployeeDeductionContributionFixed for more details.
- #to_hash ⇒ {
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(amount:, type:) ⇒ Object
Some parameter documentations has been truncated, see FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionFixed for more details.
|
|
# File 'lib/finch_api/models/hris/benefits/individual_benefit.rb', line 282
|
Instance Attribute Details
#amount ⇒ Integer
Contribution amount in cents (for type=fixed) or basis points (for type=percent, where 100 = 1%).
272 |
# File 'lib/finch_api/models/hris/benefits/individual_benefit.rb', line 272 required :amount, Integer |
#type ⇒ Symbol, FinchAPI::Models::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionFixed::Type
Contribution type. Supported values: "fixed" (amount in cents) or "percent" (amount in basis points).
279 280 |
# File 'lib/finch_api/models/hris/benefits/individual_benefit.rb', line 279 required :type, enum: -> { FinchAPI::HRIS::Benefits::IndividualBenefit::Body::IndividualBenefit::EmployeeDeduction::EmployeeDeductionContributionFixed::Type } |
Instance Method Details
#to_hash ⇒ {
218 |
# File 'sig/finch_api/models/hris/benefits/individual_benefit.rbs', line 218
def to_hash: -> {
|