TreasuryCreditReversal constructor

const TreasuryCreditReversal({
  1. required int amount,
  2. required DateTime created,
  3. required String currency,
  4. required String financialAccount,
  5. String? hostedRegulatoryReceiptUrl,
  6. required String id,
  7. required bool livemode,
  8. required Map<String, String> metadata,
  9. required TreasuryCreditReversalNetwork network,
  10. required String receivedCredit,
  11. required TreasuryCreditReversalStatus status,
  12. required TreasuryReceivedCreditsResourceStatusTransitions statusTransitions,
  13. TreasuryTransactionOrId? transaction,
})

TreasuryReceivedCreditsResourceCreditReversal

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

Implementation

const TreasuryCreditReversal({
  required this.amount,
  required this.created,
  required this.currency,
  required this.financialAccount,
  this.hostedRegulatoryReceiptUrl,
  required this.id,
  required this.livemode,
  required this.metadata,
  required this.network,
  required this.receivedCredit,
  required this.status,
  required this.statusTransitions,
  this.transaction,
});