TransferReversal class final

TransferReversal

[Stripe Connect](https://stripe.com/docs/connect) platforms can reverse transfers made to a connected account, either entirely or partially, and can also specify whether to refund any related application fees. Transfer reversals add to the platform's balance and subtract from the destination account's balance. Reversing a transfer that was made for a [destination charge](/docs/connect/destination-charges) is allowed only up to the amount of the charge. It is possible to reverse a [transfer_group](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) transfer only if the destination account has enough balance to cover the reversal. Related guide: [Reversing transfers](https://stripe.com/docs/connect/separate-charges-and-transfers#reversing-transfers)

Implemented types

Constructors

TransferReversal({required int amount, BalanceTransactionOrId? balanceTransaction, required DateTime created, required String currency, RefundOrId? destinationPaymentRefund, required String id, Map<String, String>? metadata, RefundOrId? sourceRefund, required TransferOrId transfer})
TransferReversal
const
TransferReversal.fromJson(Object? json)
factory

Properties

amount int
final
balanceTransaction BalanceTransactionOrId?
final
created DateTime
final
currency String
final
destinationPaymentRefund RefundOrId?
final
hashCode int
The hash code for this object.
no setterinherited
id String
The ID of the BalanceTransactionSource.
final
metadata Map<String, String>?
final
object String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceRefund RefundOrId?
final
transfer TransferOrId
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

encode<V>(TransferReversal instance, Encoder<V> encoder) → V
override