Class: Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline

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

Overview

Defined Under Namespace

Modules: Currency, Reason

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(amount: , creditor_name: , currency: , debtor_account_number: , debtor_name: , debtor_routing_number: , reason: , remittance_information: , transaction_identification: , transfer_id: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline for more details.

An Inbound Real-Time Payments Transfer Decline object. This field will be present in the JSON response if and only if ‘category` is equal to `inbound_real_time_payments_transfer_decline`.

Parameters:

  • amount (Integer) (defaults to: )

    The declined amount in the minor unit of the destination account currency. For d

  • creditor_name (String) (defaults to: )

    The name the sender of the transfer specified as the recipient of the transfer.

  • currency (Symbol, Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency) (defaults to: )

    The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code of the declined tran

  • debtor_account_number (String) (defaults to: )

    The account number of the account that sent the transfer.

  • debtor_name (String) (defaults to: )

    The name provided by the sender of the transfer.

  • debtor_routing_number (String) (defaults to: )

    The routing number of the account that sent the transfer.

  • reason (Symbol, Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason) (defaults to: )

    Why the transfer was declined.

  • remittance_information (String, nil) (defaults to: )

    Additional information included with the transfer.

  • transaction_identification (String) (defaults to: )

    The Real-Time Payments network identification of the declined transfer.

  • transfer_id (String) (defaults to: )

    The identifier of the Real-Time Payments Transfer that led to this Transaction.



# File 'lib/increase/models/declined_transaction.rb', line 2103


Instance Attribute Details

#amountInteger

The declined amount in the minor unit of the destination account currency. For dollars, for example, this is cents.

Returns:

  • (Integer)


2043
# File 'lib/increase/models/declined_transaction.rb', line 2043

required :amount, Integer

#creditor_nameString

The name the sender of the transfer specified as the recipient of the transfer.

Returns:

  • (String)


2049
# File 'lib/increase/models/declined_transaction.rb', line 2049

required :creditor_name, String

#currencySymbol, Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency

The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code of the declined transfer’s currency. This will always be “USD” for a Real-Time Payments transfer.



2057
2058
# File 'lib/increase/models/declined_transaction.rb', line 2057

required :currency,
enum: -> { Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency }

#debtor_account_numberString

The account number of the account that sent the transfer.

Returns:

  • (String)


2064
# File 'lib/increase/models/declined_transaction.rb', line 2064

required :debtor_account_number, String

#debtor_nameString

The name provided by the sender of the transfer.

Returns:

  • (String)


2070
# File 'lib/increase/models/declined_transaction.rb', line 2070

required :debtor_name, String

#debtor_routing_numberString

The routing number of the account that sent the transfer.

Returns:

  • (String)


2076
# File 'lib/increase/models/declined_transaction.rb', line 2076

required :debtor_routing_number, String

#reasonSymbol, Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason

Why the transfer was declined.



2082
2083
# File 'lib/increase/models/declined_transaction.rb', line 2082

required :reason,
enum: -> { Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason }

#remittance_informationString?

Additional information included with the transfer.

Returns:

  • (String, nil)


2089
# File 'lib/increase/models/declined_transaction.rb', line 2089

required :remittance_information, String, nil?: true

#transaction_identificationString

The Real-Time Payments network identification of the declined transfer.

Returns:

  • (String)


2095
# File 'lib/increase/models/declined_transaction.rb', line 2095

required :transaction_identification, String

#transfer_idString

The identifier of the Real-Time Payments Transfer that led to this Transaction.

Returns:

  • (String)


2101
# File 'lib/increase/models/declined_transaction.rb', line 2101

required :transfer_id, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/declined_transaction.rb', line 2143