GooglePayLauncher
Used to launch the Google Pay payment sheet from within an Android Fragment. This class must be instantiated before the Fragment is created.
Parameters
fragment
the Android Fragment from which you will launch the Google Pay payment sheet
callback
a GooglePayLauncherCallback to receive the result of the Google Pay payment flow
Used to launch the Google Pay payment sheet from within an Android Activity. This class must be instantiated before the Activity is created.
Parameters
activity
the Android Activity from which you will launch the Google Pay payment sheet
callback
a GooglePayLauncherCallback to receive the result of the Google Pay payment flow