Class: FinchAPI::Models::HRIS::BenefitContribution
- Defined in:
- lib/finch-api/models/hris/benefit_contribution.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#amount ⇒ Integer?
Contribution amount in cents (if ‘fixed`) or basis points (if `percent`).
-
#type ⇒ Symbol, ...
Contribution type.
Instance Method Summary collapse
-
#initialize(amount: nil, type: nil) ⇒ BenefitContribution
constructor
A new instance of BenefitContribution.
Constructor Details
#initialize(amount: nil, type: nil) ⇒ BenefitContribution
Returns a new instance of BenefitContribution.
4 |
# File 'lib/finch-api/models/hris/benefit_contribution.rb', line 4 def initialize(amount: nil, type: nil, **) = super |
Instance Attribute Details
#amount ⇒ Integer?
Contribution amount in cents (if ‘fixed`) or basis points (if `percent`).
11 |
# File 'lib/finch-api/models/hris/benefit_contribution.rb', line 11 optional :amount, Integer, nil?: true |
#type ⇒ Symbol, ...
Contribution type.
17 |
# File 'lib/finch-api/models/hris/benefit_contribution.rb', line 17 optional :type, enum: -> { FinchAPI::Models::HRIS::BenefitContribution::Type }, nil?: true |