PaymentModel constructor

PaymentModel({
  1. required String amount,
  2. required String currencyCode,
  3. required String customerName,
  4. required String paymentDescription,
  5. required String paymentReference,
  6. required String customerEmail,
  7. String? customerPhoneNumber = "",
  8. required PaymentMethod paymentMethod,
})

Implementation

PaymentModel(
    {required this.amount,
    required this.currencyCode,
    required this.customerName,
    required this.paymentDescription,
    required this.paymentReference,
    required this.customerEmail,
      this.customerPhoneNumber ="",
    required this.paymentMethod});