TreasuryCreditReversal constructor
const
TreasuryCreditReversal({
- required int amount,
- required DateTime created,
- required String currency,
- required String financialAccount,
- String? hostedRegulatoryReceiptUrl,
- required String id,
- required bool livemode,
- required Map<
String, String> metadata, - required TreasuryCreditReversalNetwork network,
- required String receivedCredit,
- required TreasuryCreditReversalStatus status,
- required TreasuryReceivedCreditsResourceStatusTransitions statusTransitions,
- 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,
});