CardProvisioning

Provides methods to check if a given payment card can be added to Google Wallet and to add the card.

A separate instance of CardProvisioning is required for each payment card to be provisioned. CardProvisioning instances are created using the CardProvisioningProvider.create function.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun canProvision(): CanProvisionResult

Confirms whether or not the card can be provisioned in Google Wallet.

Link copied to clipboard
abstract suspend fun createSdkOutput(): CreateSdkOutputResult

Requests the sdkOutput value which is required when retrieving the opaque card data.

Link copied to clipboard
abstract suspend fun provision(sdkInput: String, cardDisplayName: String, cardAddress: CardAddress): ProvisionResult

Attempts to provision the given card.