Class: Increase::Models::FednowTransfer

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

Overview

Defined Under Namespace

Modules: Currency, Status, Type Classes: Acknowledgement, CreatedBy, Rejection, Submission

Instance Attribute Summary collapse

Class Method 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(message_identification: , submitted_at: ) ⇒ Object

Some parameter documentations has been truncated, see Submission for more details.

After the transfer is submitted to FedNow, this will contain supplemental details.

Parameters:

  • message_identification (String) (defaults to: )

    The FedNow network identification of the message submitted.

  • submitted_at (Time, nil) (defaults to: )

    The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which th



# File 'lib/increase/models/fednow_transfer.rb', line 152

Instance Attribute Details

#account_idString

The Account from which the transfer was sent.

Returns:

  • (String)


17
# File 'lib/increase/models/fednow_transfer.rb', line 17

required :account_id, String

#account_numberString

The destination account number.

Returns:

  • (String)


23
# File 'lib/increase/models/fednow_transfer.rb', line 23

required :account_number, String

#acknowledgementIncrease::Models::FednowTransfer::Acknowledgement?

If the transfer is acknowledged by the recipient bank, this will contain supplemental details.



30
# File 'lib/increase/models/fednow_transfer.rb', line 30

required :acknowledgement, -> { Increase::FednowTransfer::Acknowledgement }, nil?: true

#amountInteger

The transfer amount in USD cents.

Returns:

  • (Integer)


36
# File 'lib/increase/models/fednow_transfer.rb', line 36

required :amount, Integer

#created_atTime

The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the transfer was created.

Returns:

  • (Time)


43
# File 'lib/increase/models/fednow_transfer.rb', line 43

required :created_at, Time

#created_byIncrease::Models::FednowTransfer::CreatedBy?

What object created the transfer, either via the API or the dashboard.



49
# File 'lib/increase/models/fednow_transfer.rb', line 49

required :created_by, -> { Increase::FednowTransfer::CreatedBy }, nil?: true

#creditor_nameString

The name of the transfer’s recipient. This is set by the sender when creating the transfer.

Returns:

  • (String)


56
# File 'lib/increase/models/fednow_transfer.rb', line 56

required :creditor_name, String

#currencySymbol, Increase::Models::FednowTransfer::Currency

The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the transfer’s currency. For FedNow transfers this is always equal to ‘USD`.



63
# File 'lib/increase/models/fednow_transfer.rb', line 63

required :currency, enum: -> { Increase::FednowTransfer::Currency }

#debtor_nameString

The name of the transfer’s sender. If not provided, defaults to the name of the account’s entity.

Returns:

  • (String)


70
# File 'lib/increase/models/fednow_transfer.rb', line 70

required :debtor_name, String

#external_account_idString?

The identifier of the External Account the transfer was made to, if any.

Returns:

  • (String, nil)


76
# File 'lib/increase/models/fednow_transfer.rb', line 76

required :external_account_id, String, nil?: true

#idString

The FedNow Transfer’s identifier.

Returns:

  • (String)


11
# File 'lib/increase/models/fednow_transfer.rb', line 11

required :id, String

#idempotency_keyString?

The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about [idempotency](increase.com/documentation/idempotency-keys).

Returns:

  • (String, nil)


84
# File 'lib/increase/models/fednow_transfer.rb', line 84

required :idempotency_key, String, nil?: true

#pending_transaction_idString?

The ID for the pending transaction representing the transfer.

Returns:

  • (String, nil)


90
# File 'lib/increase/models/fednow_transfer.rb', line 90

required :pending_transaction_id, String, nil?: true

#rejectionIncrease::Models::FednowTransfer::Rejection?

If the transfer is rejected by FedNow or the destination financial institution, this will contain supplemental details.



97
# File 'lib/increase/models/fednow_transfer.rb', line 97

required :rejection, -> { Increase::FednowTransfer::Rejection }, nil?: true

#routing_numberString

The destination American Bankers’ Association (ABA) Routing Transit Number (RTN).

Returns:

  • (String)


104
# File 'lib/increase/models/fednow_transfer.rb', line 104

required :routing_number, String

#source_account_number_idString

The Account Number the recipient will see as having sent the transfer.

Returns:

  • (String)


110
# File 'lib/increase/models/fednow_transfer.rb', line 110

required :source_account_number_id, String

#statusSymbol, Increase::Models::FednowTransfer::Status

The lifecycle status of the transfer.



116
# File 'lib/increase/models/fednow_transfer.rb', line 116

required :status, enum: -> { Increase::FednowTransfer::Status }

#submissionIncrease::Models::FednowTransfer::Submission?

After the transfer is submitted to FedNow, this will contain supplemental details.



123
# File 'lib/increase/models/fednow_transfer.rb', line 123

required :submission, -> { Increase::FednowTransfer::Submission }, nil?: true

#transaction_idString?

The Transaction funding the transfer once it is complete.

Returns:

  • (String, nil)


129
# File 'lib/increase/models/fednow_transfer.rb', line 129

required :transaction_id, String, nil?: true

#typeSymbol, Increase::Models::FednowTransfer::Type

A constant representing the object’s type. For this resource it will always be ‘fednow_transfer`.



136
# File 'lib/increase/models/fednow_transfer.rb', line 136

required :type, enum: -> { Increase::FednowTransfer::Type }

#unique_end_to_end_transaction_referenceString

The Unique End-to-end Transaction Reference ([UETR](www.swift.com/payments/what-unique-end-end-transaction-reference-uetr)) of the transfer.

Returns:

  • (String)


144
# File 'lib/increase/models/fednow_transfer.rb', line 144

required :unique_end_to_end_transaction_reference, String

#unstructured_remittance_informationString

Unstructured information that will show on the recipient’s bank statement.

Returns:

  • (String)


150
# File 'lib/increase/models/fednow_transfer.rb', line 150

required :unstructured_remittance_information, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/fednow_transfer.rb', line 327