getCardPrime abstract method

Future<TapPayPrime?> getCardPrime({
  1. required String cardNumber,
  2. required String dueMonth,
  3. required String dueYear,
  4. required String cvv,
})

Get card's prime

cardNumber is the card number dueMonth is the month of the card's expiration date dueYear is the year of the card's expiration date cvv is the card's CVV(Card Verification Value)

return TapPayPrime with value success as true if success. return TapPayPrime with value success as false if fail. return TapPayPrime with value status as int if fail. (The value of status is defined by TapPay.) return TapPayPrime with value message as String if fail. return TapPayPrime with value prime as String if success. return null if the card information is incomplete

Implementation

Future<TapPayPrime?> getCardPrime({
  required String cardNumber,
  required String dueMonth,
  required String dueYear,
  required String cvv,
});