availability

abstract suspend fun availability(host: PaymentHost): WalletAvailability(source)

Ask the platform whether the wallet can be presented, before any UI is drawn.

Suspending because the Google Pay answer is a Play Services round-trip. Implementations must return WalletAvailability.NOT_CONFIGURED whenever merchantConfig is not WalletMerchantConfig.isProvisioned, without calling the vendor SDK at all.