Class: FinchAPI::Models::Sandbox::PaymentCreateParams::PayStatement::EmployerContribution

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/sandbox/payment_create_params.rb

Defined Under Namespace

Classes: Attributes

Instance Attribute Summary collapse

Instance Method Summary collapse

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, type: nil) ⇒ Object

Parameters:



# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 354

Instance Attribute Details

#amountInteger?

The contribution amount in cents.

Returns:

  • (Integer, nil)


327
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 327

optional :amount, Integer, nil?: true

#currencyString?

The contribution currency.

Returns:

  • (String, nil)


340
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 340

optional :currency, String, nil?: true

#nameString?

The contribution name from the pay statement.

Returns:

  • (String, nil)


346
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 346

optional :name, String, nil?: true

#typeSymbol, ...

Type of benefit.

Returns:



352
# File 'lib/finch_api/models/sandbox/payment_create_params.rb', line 352

optional :type, enum: -> { FinchAPI::Models::HRIS::BenefitType }, nil?: true