Dispute constructor

const Dispute({
  1. required int amount,
  2. required List<BalanceTransaction> balanceTransactions,
  3. required ChargeOrId charge,
  4. required DateTime created,
  5. required String currency,
  6. required DisputeEvidence evidence,
  7. required DisputeEvidenceDetails evidenceDetails,
  8. required String id,
  9. required bool isChargeRefundable,
  10. required bool livemode,
  11. required Map<String, String> metadata,
  12. String? networkReasonCode,
  13. PaymentIntentOrId? paymentIntent,
  14. DisputePaymentMethodDetails? paymentMethodDetails,
  15. required String reason,
  16. required DisputeStatus status,
})

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)

Implementation

const Dispute({
  required this.amount,
  required this.balanceTransactions,
  required this.charge,
  required this.created,
  required this.currency,
  required this.evidence,
  required this.evidenceDetails,
  required this.id,
  required this.isChargeRefundable,
  required this.livemode,
  required this.metadata,
  this.networkReasonCode,
  this.paymentIntent,
  this.paymentMethodDetails,
  required this.reason,
  required this.status,
});