Class: FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction
- Defined in:
- lib/finch_api/models/hris/pay_statement.rb
Defined Under Namespace
Classes: Attributes
Instance Attribute Summary collapse
-
#amount ⇒ Integer?
The deduction amount in cents.
- #attributes ⇒ FinchAPI::HRIS::PayStatement::EmployeeDeduction::Attributes?
-
#currency ⇒ String?
The deduction currency.
-
#name ⇒ String?
The deduction name from the pay statement.
-
#pre_tax ⇒ Boolean?
Boolean indicating if the deduction is pre-tax.
-
#type ⇒ Symbol, ...
Type of benefit.
Instance Method Summary collapse
- #initialize(amount: nil, attributes: nil, currency: nil, name: nil, pre_tax: nil, type: nil) ⇒ Object constructor
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, dump, fields, hash, #hash, inspect, #inspect, known_fields, optional, required, #to_h, #to_json, #to_s, #to_yaml, walk
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, type_info
Constructor Details
#initialize(amount: nil, attributes: nil, currency: nil, name: nil, pre_tax: nil, type: nil) ⇒ Object
|
|
# File 'lib/finch_api/models/hris/pay_statement.rb', line 242
|
Instance Attribute Details
#amount ⇒ Integer?
The deduction amount in cents.
211 |
# File 'lib/finch_api/models/hris/pay_statement.rb', line 211 optional :amount, Integer, nil?: true |
#attributes ⇒ FinchAPI::HRIS::PayStatement::EmployeeDeduction::Attributes?
216 |
# File 'lib/finch_api/models/hris/pay_statement.rb', line 216 optional :attributes, -> { FinchAPI::HRIS::PayStatement::EmployeeDeduction::Attributes }, nil?: true |
#currency ⇒ String?
The deduction currency.
222 |
# File 'lib/finch_api/models/hris/pay_statement.rb', line 222 optional :currency, String, nil?: true |
#name ⇒ String?
The deduction name from the pay statement.
228 |
# File 'lib/finch_api/models/hris/pay_statement.rb', line 228 optional :name, String, nil?: true |