Class: FinchAPI::Models::HRIS::PayStatement::EmployerContribution
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- 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
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(currency: , name: , type: , amount: nil, attributes: nil) ⇒ Object
|
|
# File 'lib/finch_api/models/hris/pay_statement.rb', line 321
|
Instance Attribute Details
#amount ⇒ Integer?
The contribution amount in cents.
310 |
# File 'lib/finch_api/models/hris/pay_statement.rb', line 310 optional :amount, Integer, nil?: true |
#attributes ⇒ FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes?
315 316 317 318 319 |
# File 'lib/finch_api/models/hris/pay_statement.rb', line 315 optional :attributes, -> { FinchAPI::HRIS::PayStatement::EmployerContribution::Attributes }, nil?: true |
#currency ⇒ String?
The contribution currency.
292 |
# File 'lib/finch_api/models/hris/pay_statement.rb', line 292 required :currency, String, nil?: true |
#name ⇒ String?
The contribution name from the pay statement.
298 |
# File 'lib/finch_api/models/hris/pay_statement.rb', line 298 required :name, String, nil?: true |