Class: FinchAPI::Models::HRIS::PayStatement::EmployerContribution
- Defined in:
- lib/finch-api/models/hris/pay_statement.rb
Defined Under Namespace
Classes: Attributes
Instance Attribute Summary collapse
-
#amount ⇒ Integer?
The contribution amount in cents.
- #attributes ⇒ FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes?
-
#currency ⇒ String?
The contribution currency.
-
#name ⇒ String?
The contribution name from the pay statement.
-
#type ⇒ Symbol, ...
Type of benefit.
Instance Method Summary collapse
-
#initialize(amount: nil, attributes: nil, currency: nil, name: nil, type: nil) ⇒ EmployerContribution
constructor
A new instance of EmployerContribution.
Constructor Details
#initialize(amount: nil, attributes: nil, currency: nil, name: nil, type: nil) ⇒ EmployerContribution
Returns a new instance of EmployerContribution.
7 |
# File 'lib/finch-api/models/hris/pay_statement.rb', line 7 def initialize(amount: nil, attributes: nil, currency: nil, name: nil, type: nil, **) = super |
Instance Attribute Details
#amount ⇒ Integer?
The contribution amount in cents.
315 |
# File 'lib/finch-api/models/hris/pay_statement.rb', line 315 optional :amount, Integer, nil?: true |
#attributes ⇒ FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes?
320 321 322 |
# File 'lib/finch-api/models/hris/pay_statement.rb', line 320 optional :attributes, -> { FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes }, nil?: true |
#currency ⇒ String?
The contribution currency.
328 |
# File 'lib/finch-api/models/hris/pay_statement.rb', line 328 optional :currency, String, nil?: true |
#name ⇒ String?
The contribution name from the pay statement.
334 |
# File 'lib/finch-api/models/hris/pay_statement.rb', line 334 optional :name, String, nil?: true |
#type ⇒ Symbol, ...
Type of benefit.
340 |
# File 'lib/finch-api/models/hris/pay_statement.rb', line 340 optional :type, enum: -> { FinchAPI::Models::HRIS::BenefitType }, nil?: true |