createGooglePayPaymentMethod method
- @Deprecated('Use [createPlatformPayPaymentMethod instead.')
- CreateGooglePayPaymentParams params
Create a payment method for google pay.
Throws a StripeException in case it is failing
Implementation
@Deprecated('Use [createPlatformPayPaymentMethod instead.')
Future<PaymentMethod> createGooglePayPaymentMethod(
CreateGooglePayPaymentParams params,
) async {
return await _platform.createGooglePayPaymentMethod(params);
}