getCardPrime abstract method
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,
});