Package-level declarations

The main entry point of the Sudo Platform Virtual Cards SDK for Android. Use the SudoVirtualCardsClient.builder() to construct an instance of the Sudo Platform Virtual Cards SDK.

Types

Link copied to clipboard

Interface encapsulating a library for interacting with the Sudo Platform Virtual Cards service.

Functions

Link copied to clipboard
suspend fun SudoVirtualCardsClient.subscribeToFundingSources(id: String, onConnectionChange: (status: Subscriber.ConnectionState) -> Unit = {}, onFundingSourceChanged: (fundingSource: FundingSource) -> Unit)

Subscribes to be notified of modified FundingSources.

Link copied to clipboard
suspend fun SudoVirtualCardsClient.subscribeToTransactions(id: String, onConnectionChange: (status: TransactionSubscriber.ConnectionState) -> Unit = {}, onTransactionChange: (transaction: Transaction) -> Unit)

Subscribes to be notified of new, updated and deleted Transactions.