goodylabsSdk

interface goodylabsSdk

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun canAddCards(lastDigits: List<String>): Map<String, Map<Wallet, Eligibility>>

Method allowed to check if card can be added to supported wallets.

Link copied to clipboard
abstract suspend fun checkCards(issuerId: String, cardHandles: List<CardHandle>): List<Card>

Check if cards are eligible and can be provisioned to wallet. The card handles may have been obtained directly from issuer.

Link copied to clipboard
abstract suspend fun findCardsByCardHolder(issuerId: String, cardHolderHandle: String): List<CardHandle>

Returns list of cards with cardHandle and issuer id which can be used in checkCards.

Link copied to clipboard
abstract fun notifyProvisioningCompleted(requestCode: Int, resultCode: Int, data: Intent)

Method allowed to notify in-app service of completed enrollment.

Link copied to clipboard
abstract suspend fun startPushProvisioning(activity: Activity, card: Card, userAuthorization: String, cardDisplayName: String, address: UserAddress, wallet: Wallet): Boolean

The method allowed to start in-app push provisioning.