ProccessCreditCard constructor
ProccessCreditCard({})
Creates a new instance of ProccessCreditCard.
The checkCreditCardNumber
, checkCreditCardName
, and checkCreditCardExpiryDate
parameters
determine whether the processor should attempt to extract those pieces of information.
Implementation
ProccessCreditCard({
this.cardNumber = "",
this.cardName = "",
this.cardExpirationMonth = "",
this.cardExpirationYear = "",
this.useLuhnValidation = true,
required this.checkCreditCardNumber,
required this.checkCreditCardName,
required this.checkCreditCardExpiryDate,
});