Args
Parameters
the GooglePayPaymentMethodLauncher.Config for this transaction
ISO 4217 alphabetic currency code. (e.g. "USD", "EUR")
if the amount of the transaction is unknown at this time, set to 0
.
Parameters
the GooglePayPaymentMethodLauncher.Config for this transaction
ISO 4217 alphabetic currency code. (e.g. "USD", "EUR")
if the amount of the transaction is unknown at this time, set to 0
.
a unique ID that identifies a transaction attempt. Merchants may use an existing ID or generate a specific one for Google Pay transaction attempts. This field is required when you send callbacks to the Google Transaction Events API.
Args
-Args for launching GooglePayPaymentMethodLauncherContract to create a PaymentMethod.
Args for launching GooglePayPaymentMethodLauncherContract to create a PaymentMethod.
Parameters
the GooglePayPaymentMethodLauncher.Config for this transaction
ISO 4217 alphabetic currency code. (e.g. "USD", "EUR")
if the amount of the transaction is unknown at this time, set to 0
.
the GooglePayPaymentMethodLauncher.Config for this transaction
ISO 4217 alphabetic currency code. (e.g. "USD", "EUR")
if the amount of the transaction is unknown at this time, set to 0
.
a unique ID that identifies a transaction attempt. Merchants may use an existing ID or generate a specific one for Google Pay transaction attempts. This field is required when you send callbacks to the Google Transaction Events API.
Constructors
Types
Canceled
-Represents a transaction that was canceled by the user.
Completed
Parameters
The resulting payment method.
Completed
-Represents a successful transaction.
Parameters
+The resulting payment method.
Constructors
+Functions
diff --git a/docs/payments-core/com.stripe.android.googlepaylauncher/-google-pay-payment-method-launcher/-result/-completed/payment-method.html b/docs/payments-core/com.stripe.android.googlepaylauncher/-google-pay-payment-method-launcher/-result/-completed/payment-method.html index f5cbe162d7c..0e3513f2f13 100644 --- a/docs/payments-core/com.stripe.android.googlepaylauncher/-google-pay-payment-method-launcher/-result/-completed/payment-method.html +++ b/docs/payments-core/com.stripe.android.googlepaylauncher/-google-pay-payment-method-launcher/-result/-completed/payment-method.html @@ -29,7 +29,7 @@paymentMethod
Parameters
The resulting payment method.
error
-Parameters
The failure reason.
Failed
-Represents a failed transaction.
Parameters
+The failure reason.
The failure ErrorCode.
Constructors
+Functions
+Types
Types
Types
GooglePayPaymentMethodLauncher
- A drop-in class that presents a Google Pay sheet to collect a customer's payment details. When successful, will return a PaymentMethod via Result.Completed.paymentMethod.
Use GooglePayPaymentMethodLauncher for Jetpack Compose integrations.
See the Google Pay integration guide for more details.
A drop-in class that presents a Google Pay sheet to collect a customer's payment details. When successful, will return a PaymentMethod via Result.Completed.paymentMethod.
Use GooglePayPaymentMethodLauncher for Jetpack Compose integrations.
See the Google Pay integration guide for more details.