requestGooglePay abstract method
Request Google Pay
price
is the price of the transaction
currencyCode
is the currency code of the transaction
return GooglePayResult
with value success
as true
if success.
return GooglePayResult
with value success
as false
if fail.
return GooglePayResult
with value message
as String if fail.
return GooglePayResult
with value prime
as String if success.
return null
if the request is incomplete
Implementation
Future<TapPayPrime?> requestGooglePay({
required double price,
required String currencyCode,
});