IGooglePayContext

Interface for mocking/testing purposes

Inheritors

Types

Link copied to clipboard
object Defaults

Default values for constructor parameters

Properties

Link copied to clipboard
abstract val isReady: Boolean

Whether or not Google Pay is ready. See GooglePayContext for documentation

Link copied to clipboard

Callback for when Google Pay is ready. See GooglePayContext for documentation

Link copied to clipboard

Callback for getting results from the Google Pay flow. See GooglePayContext for documentation

Functions

Link copied to clipboard
abstract fun present()
abstract fun present(currencyCode: String = defaultCurrency)
abstract fun present(currencyCode: String = defaultCurrency, amount: Int = defaultAmount)
abstract fun present(currencyCode: String = defaultCurrency, amount: Int = defaultAmount, transactionId: String? = defaultTransactionId)

Present the Google Pay UI. See GooglePayContext for documentation