Dispute class final

Dispute

A dispute occurs when a customer questions your charge with their card issuer. When this happens, you have the opportunity to respond to the dispute with evidence that shows that the charge is legitimate. Related guide: [Disputes and fraud](https://stripe.com/docs/disputes)

Implemented types

Constructors

Dispute({required int amount, required List<BalanceTransaction> balanceTransactions, required ChargeOrId charge, required DateTime created, required String currency, required DisputeEvidence evidence, required DisputeEvidenceDetails evidenceDetails, required String id, required bool isChargeRefundable, required bool livemode, required Map<String, String> metadata, String? networkReasonCode, PaymentIntentOrId? paymentIntent, DisputePaymentMethodDetails? paymentMethodDetails, required String reason, required DisputeStatus status})
Dispute
const
Dispute.fromJson(Object? json)
factory

Properties

amount int
final
balanceTransactions List<BalanceTransaction>
final
charge ChargeOrId
final
created DateTime
final
currency String
final
evidence DisputeEvidence
final
evidenceDetails DisputeEvidenceDetails
final
hashCode int
The hash code for this object.
no setterinherited
id String
The ID of the BalanceTransactionSource.
final
isChargeRefundable bool
final
livemode bool
final
metadata Map<String, String>
final
networkReasonCode String?
final
object String
final
paymentIntent PaymentIntentOrId?
final
paymentMethodDetails DisputePaymentMethodDetails?
final
reason String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status DisputeStatus
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>(Dispute instance, Encoder<V> encoder) → V
override