TreasuryDebitReversal constructor
const
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
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.
Implementation
const TreasuryDebitReversal({
required this.amount,
required this.created,
required this.currency,
this.financialAccount,
this.hostedRegulatoryReceiptUrl,
required this.id,
this.linkedFlows,
required this.livemode,
required this.metadata,
required this.network,
required this.receivedDebit,
required this.status,
required this.statusTransitions,
this.transaction,
});