Class: Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/ach_transfer_create_params.rb

Defined Under Namespace

Modules: SettlementSchedule

Instance Attribute Summary collapse

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_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(date: nil, settlement_schedule: nil) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate for more details.

Configuration for how the effective date of the transfer will be set. This determines same-day vs future-dated settlement timing. If not set, defaults to a ‘settlement_schedule` of `same_day`. If set, exactly one of the child attributes must be set.

Parameters:



# File 'lib/increase/models/ach_transfer_create_params.rb', line 367


Instance Attribute Details

#dateDate?

A specific date in [ISO 8601](en.wikipedia.org/wiki/ISO_8601) format to use as the effective date when submitting this transfer.

Returns:

  • (Date, nil)


358
# File 'lib/increase/models/ach_transfer_create_params.rb', line 358

optional :date, Date

#settlement_scheduleSymbol, ...

A schedule by which Increase will choose an effective date for the transfer.



364
365
# File 'lib/increase/models/ach_transfer_create_params.rb', line 364

optional :settlement_schedule,
enum: -> { Increase::ACHTransferCreateParams::PreferredEffectiveDate::SettlementSchedule }