Refund constructor

Refund({
  1. required String id,
  2. required String paymentId,
  3. required int amount,
  4. required String currency,
  5. required RefundStatus status,
  6. String? reason,
  7. required DateTime createdAt,
})

Implementation

Refund({
  required this.id,
  required this.paymentId,
  required this.amount,
  required this.currency,
  required this.status,
  this.reason,
  required this.createdAt,
});