Class: FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployerContribution
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- 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::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
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_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!
Constructor Details
#initialize(amount: nil, attributes: nil, currency: nil, name: nil, type: nil) ⇒ Object
|
|
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 373
|
Instance Attribute Details
#amount ⇒ Integer?
The contribution amount in cents.
344 |
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 344 optional :amount, Integer, nil?: true |
#attributes ⇒ FinchAPI::Sandbox::PaymentCreateParams::PayStatement::EmployerContribution::Attributes?
349 350 351 352 353 |
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 349 optional :attributes, -> { FinchAPI::Sandbox::PaymentCreateParams::PayStatement::EmployerContribution::Attributes }, nil?: true |
#currency ⇒ String?
The contribution currency.
359 |
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 359 optional :currency, String, nil?: true |
#name ⇒ String?
The contribution name from the pay statement.
365 |
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 365 optional :name, String, nil?: true |