Class: FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployeeDeduction
- Inherits:
-
BaseModel
- Object
- FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployeeDeduction
- Defined in:
- lib/finch-api/models/sandbox/payment_create_params.rb
Defined Under Namespace
Classes: Attributes
Instance Attribute Summary collapse
-
#amount ⇒ Integer?
The deduction amount in cents.
- #attributes ⇒ FinchAPI::Models::Sandbox::PaymentCreateParams::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) ⇒ EmployeeDeduction
constructor
A new instance of EmployeeDeduction.
Constructor Details
#initialize(amount: nil, attributes: nil, currency: nil, name: nil, pre_tax: nil, type: nil) ⇒ EmployeeDeduction
Returns a new instance of EmployeeDeduction.
8 |
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 8 def initialize(amount: nil, attributes: nil, currency: nil, name: nil, pre_tax: nil, type: nil, **) = super |
Instance Attribute Details
#amount ⇒ Integer?
The deduction amount in cents.
277 |
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 277 optional :amount, Integer, nil?: true |
#attributes ⇒ FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployeeDeduction::Attributes?
282 283 284 |
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 282 optional :attributes, -> { FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployeeDeduction::Attributes }, nil?: true |
#currency ⇒ String?
The deduction currency.
290 |
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 290 optional :currency, String, nil?: true |
#name ⇒ String?
The deduction name from the pay statement.
296 |
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 296 optional :name, String, nil?: true |
#pre_tax ⇒ Boolean?
Boolean indicating if the deduction is pre-tax.
302 |
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 302 optional :pre_tax, FinchAPI::BooleanModel, nil?: true |
#type ⇒ Symbol, ...
Type of benefit.
308 |
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 308 optional :type, enum: -> { FinchAPI::Models::HRIS::BenefitType }, nil?: true |