Class: Plaid::Types::WalletTransactionRelation

Inherits:
Internal::Types::Model show all
Defined in:
lib/plaid/types/wallet_transaction_relation.rb

Overview

Transactions are related when they have a logical connection.

For example, a PAYOUT transaction can be returned by the sender, creating a RETURN transaction. Each PAYOUT transaction can have at most one corresponding RETURN transaction in case of reversal.

These relationships are bi-directional, meaning that both entities have references to each other. For instance, when a transaction of type RETURN occurs, it is linked to the original transaction being returned. Likewise, the original transaction has a reference back to the RETURN transaction that represents the return.

This field is only populated for transactions of type RETURN, FUNDS_SWEEP, REFUND and PAYOUT.

The relationship between a PIS_PAY_IN payment and its corresponding REFUND transactions is only available through the refund_ids property in the payment object. See /payment_initiation/payment/get.

Method Summary

Methods inherited from Internal::Types::Model

#==, ===, add_extra_field_definition, coerce, drop_extra_key?, extra_fields, field, fields, #initialize, #inspect, literal, load, serialize_hash_values, serialize_nested_value, #to_h

Methods included from Internal::Types::Type

#coerce, #strict!, #strict?

Methods included from Internal::JSON::Serializable

#dump, #load

Constructor Details

This class inherits a constructor from Plaid::Internal::Types::Model