TreasuryDebitReversal constructor

const TreasuryDebitReversal({
  1. required int amount,
  2. required DateTime created,
  3. required String currency,
  4. String? financialAccount,
  5. String? hostedRegulatoryReceiptUrl,
  6. required String id,
  7. TreasuryDebitReversalLinkedFlows? linkedFlows,
  8. required bool livemode,
  9. required Map<String, String> metadata,
  10. required TreasuryDebitReversalNetwork network,
  11. required String receivedDebit,
  12. required TreasuryDebitReversalStatus status,
  13. required TreasuryReceivedDebitsResourceStatusTransitions statusTransitions,
  14. 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,
});