TreasuryDebitReversal class final

TreasuryReceivedDebitsResourceDebitReversal

You can reverse some [ReceivedDebits](https://stripe.com/docs/api#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal.

Implemented types

Constructors

TreasuryDebitReversal({required int amount, required DateTime created, required String currency, String? financialAccount, String? hostedRegulatoryReceiptUrl, required String id, TreasuryDebitReversalLinkedFlows? linkedFlows, required bool livemode, required Map<String, String> metadata, required TreasuryDebitReversalNetwork network, required String receivedDebit, required TreasuryDebitReversalStatus status, required TreasuryReceivedDebitsResourceStatusTransitions statusTransitions, TreasuryTransactionOrId? transaction})
TreasuryReceivedDebitsResourceDebitReversal
const
TreasuryDebitReversal.fromJson(Object? json)
factory

Properties

amount → int
final
created → DateTime
final
currency → String
final
financialAccount → String?
final
hashCode → int
The hash code for this object.
no setterinherited
hostedRegulatoryReceiptUrl → String?
final
id → String
final
linkedFlows → TreasuryDebitReversalLinkedFlows?
Other flows linked to a DebitReversal.
final
livemode → bool
final
metadata → Map<String, String>
final
network → TreasuryDebitReversalNetwork
final
object → String
The resource's type.
final
receivedDebit → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → TreasuryDebitReversalStatus
final
statusTransitions → TreasuryReceivedDebitsResourceStatusTransitions
final
transaction → TreasuryTransactionOrId?
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>(TreasuryDebitReversal instance, Encoder<V> encoder) → V