Package-level declarations

Types

Link copied to clipboard

The authentication methods accepted by Google Pay.

Link copied to clipboard

The card networks accepted by Google Pay.

Link copied to clipboard
data class BillingAddressParameters(var format: String? = null, var isPhoneNumberRequired: Boolean = false) : ModelObject

Pass this object to GooglePayConfiguration.billingAddressParameters to set additional fields to be returned for the requested billing address. This object is a mapping of the BillingAddressParameters object from the Google Pay SDK.

Link copied to clipboard
data class GooglePayButtonParameters(val allowedPaymentMethods: String)

Class containing some of the parameters required to initialize the Google Pay button.

Link copied to clipboard
data class GooglePayComponentState(val data: PaymentComponentData<GooglePayPaymentMethod>, val isInputValid: Boolean, val isReady: Boolean, val paymentData: PaymentData?) : PaymentComponentState<GooglePayPaymentMethod>

Represents the state of GooglePayComponent.

Link copied to clipboard

Configuration class for the GooglePayComponent.

Link copied to clipboard
data class MerchantInfo(var merchantName: String? = null, var merchantId: String? = null) : ModelObject

Pass this object to GooglePayConfiguration.merchantInfo to set information about the merchant requesting the payment.

Link copied to clipboard
data class ShippingAddressParameters(var allowedCountryCodes: List<String?>? = null, var isPhoneNumberRequired: Boolean = false) : ModelObject

Pass this object to GooglePayConfiguration.shippingAddressParameters to the required shipping address details. This object is a mapping of the ShippingAddressParameters object from the Google Pay SDK.

Functions

Link copied to clipboard