IGoogle Pay Context
Interface for mocking/testing purposes
Types
Properties
isReady
Link copied to clipboard
Whether or not Google Pay is ready. See GooglePayContext for documentation
readyCallback
Link copied to clipboard
Callback for when Google Pay is ready. See GooglePayContext for documentation
resultCallback
Link copied to clipboard
Callback for getting results from the Google Pay flow. See GooglePayContext for documentation
Functions
present
Link copied to clipboard
abstract fun present(currencyCode: String = defaultCurrency, amount: Int = defaultAmount)
Content copied to clipboard
abstract fun present(currencyCode: String = defaultCurrency, amount: Int = defaultAmount, transactionId: String? = defaultTransactionId)
Content copied to clipboard
Present the Google Pay UI. See GooglePayContext for documentation
Inheritors
GooglePayContext
Link copied to clipboard