TreasuryCreditReversal class final

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.

Implemented types

Constructors

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
const
TreasuryCreditReversal.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
livemode → bool
final
metadata → Map<String, String>
final
network → TreasuryCreditReversalNetwork
final
object → String
The resource's type.
final
receivedCredit → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → TreasuryCreditReversalStatus
final
statusTransitions → TreasuryReceivedCreditsResourceStatusTransitions
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>(TreasuryCreditReversal instance, Encoder<V> encoder) → V