Payment constructor

Payment({
  1. PaymentMethodType? paymentMethodType,
  2. String? processor,
  3. String? fullNameOnCard,
  4. String? paymentMethodId,
  5. CreditCardDetail? creditCardDetail,
  6. BankAccountDetails? bankAccountDetails,
})

Implementation

Payment(
    {this.paymentMethodType,
    this.processor,
    this.fullNameOnCard,
    this.paymentMethodId,
    this.creditCardDetail,
    this.bankAccountDetails});