Package-level declarations

Types

Link copied to clipboard

The billing address format required for the transaction

Link copied to clipboard

PaymentMethodNonce representing a Google Pay card.

Link copied to clipboard

Used to create and tokenize Google Pay payment methods. For more information see the documentation

Link copied to clipboard
Link copied to clipboard

Responsible for launching the Google Pay payment sheet

Link copied to clipboard

Callback used to instantiate a GooglePayLauncher to handle Activity results from the Google Pay payment flow

Link copied to clipboard

A request used to launch the continuation of the Google Pay flow.

Link copied to clipboard

Used to request Google Pay payment authorization via GooglePayLauncher.launch

Link copied to clipboard

Result returned from the callback used to instantiate GooglePayLauncher that should be passed to GooglePayClient.tokenize

Link copied to clipboard
Link copied to clipboard
class GooglePayRequest @JvmOverloads constructor(var currencyCode: String, var totalPrice: String, var totalPriceStatus: GooglePayTotalPriceStatus, var isEmailRequired: Boolean = false, var isPhoneNumberRequired: Boolean = false, var isBillingAddressRequired: Boolean = false, var billingAddressFormat: GooglePayBillingAddressFormat? = GooglePayBillingAddressFormat.MIN, var isShippingAddressRequired: Boolean = false, var shippingAddressParameters: GooglePayShippingAddressParameters? = null, var allowPrepaidCards: Boolean = false, var isPayPalEnabled: Boolean = true, var googleMerchantName: String? = null, var countryCode: String? = null, var totalPriceLabel: String? = null, var allowCreditCards: Boolean = true, environment: String? = null, allowedPaymentMethods: MutableMap<String, String> = HashMap(), tokenizationSpecifications: MutableMap<String, String> = HashMap(), allowedAuthMethods: MutableMap<String, String> = HashMap(), allowedCardNetworks: MutableMap<String, String> = HashMap()) : Parcelable

Represents the parameters that are needed to use the Google Pay API.

Link copied to clipboard
sealed class GooglePayResult

Result of tokenizing a Google Pay payment method

Link copied to clipboard
data class GooglePayShippingAddressParameters @JvmOverloads constructor(var allowedCountryCodes: List<String>? = null, var isPhoneNumberRequired: Boolean = false) : Parcelable

Used to set shipping requirements.

Link copied to clipboard

A request used to get Braintree specific tokenization parameters for a Google Pay

Link copied to clipboard

Callback for receiving result of GooglePayClient.tokenize.

Link copied to clipboard

The status of the Google Pay transaction total price.

Link copied to clipboard
data class ReadyForGooglePayRequest(var isExistingPaymentMethodRequired: Boolean = false)

Optional parameters to use when checking whether Google Pay is supported and set up on the customer's device.