Package-level declarations

Classes for adding Google Pay to your app.

Types

Link copied to clipboard
data class Config @JvmOverloads constructor(val environment: Environment, val companyName: String, val companyCountryCode: String = "US", val existingPaymentMethodRequired: Boolean = true, val emailRequired: Boolean = false, val phoneNumberRequired: Boolean = false, val addressFormat: Config.AddressFormat = AddressFormat.Min) : Parcelable

Google Pay Configuration class

Link copied to clipboard

Enum for determining what environment Google Pay will use

Link copied to clipboard

A drop-in class that presents a Google Pay sheet to collect a customer's payment details. When successful, will return an IPaymentMethod via Result.Completed.paymentMethod

Link copied to clipboard

An enum representing types of Google Pay Errors

Link copied to clipboard

Interface for mocking/testing purposes

Link copied to clipboard
fun interface ReadyCallback

Callback to know when Google Pay is ready

Link copied to clipboard
sealed class Result : Parcelable

Result class for generating payment methods via Google Pay

Link copied to clipboard
fun interface ResultCallback

Callback for Google Pay results