Refund constructor

Refund({
  1. int? transactionStatusCode,
  2. String? parentPaymentUUID,
  3. String? refundName,
  4. String? refundLastname,
  5. String? refundAvatar,
  6. PaymentAmount? amount,
  7. String? description,
})

Implementation

Refund({
  this.transactionStatusCode,
  this.parentPaymentUUID,
  this.refundName,
  this.refundLastname,
  this.refundAvatar,
  PaymentAmount? amount,
  String? description,
}) : super(
  amount: amount,
  description: description,
) {
  statusCode ??= transactionStatusCode;
}