Class: FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployerContribution
- Inherits:
-
BaseModel
- Object
- FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployerContribution
- Defined in:
- lib/finch-api/models/sandbox/payment_create_params.rb
Defined Under Namespace
Classes: Attributes
Instance Attribute Summary collapse
-
#amount ⇒ Integer?
The contribution amount in cents.
- #attributes ⇒ FinchAPI::Models::Sandbox::PaymentCreateParams::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/sandbox/payment_create_params.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.
368 |
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 368 optional :amount, Integer, nil?: true |
#attributes ⇒ FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployerContribution::Attributes?
373 374 375 |
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 373 optional :attributes, -> { FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployerContribution::Attributes }, nil?: true |
#currency ⇒ String?
The contribution currency.
381 |
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 381 optional :currency, String, nil?: true |
#name ⇒ String?
The contribution name from the pay statement.
387 |
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 387 optional :name, String, nil?: true |
#type ⇒ Symbol, ...
Type of benefit.
393 |
# File 'lib/finch-api/models/sandbox/payment_create_params.rb', line 393 optional :type, enum: -> { FinchAPI::Models::HRIS::BenefitType }, nil?: true |