Package-level declarations

Types used by the methods of the Sudo Platform Virtual Cards SDK an inputs.

Types

Link copied to clipboard
data class CompleteFundingSourceInput(val id: String, val completionData: ProviderCompletionData, val updateCardFundingSource: Boolean? = null)

Input object containing the information required to complete the creation of a funding source.

Link copied to clipboard
data class CreditCardFundingSourceInput(val cardNumber: String, val expirationMonth: Int, val expirationYear: Int, val securityCode: String, val addressLine1: String, val addressLine2: String? = null, val city: String, val state: String, val postalCode: String, val country: String, val name: String? = null)

Input object containing the information required to create a credit card funding source.

Link copied to clipboard
data class ProvisionVirtualCardInput(val clientRefId: String = UUID.randomUUID().toString(), val ownershipProofs: List<String>, val fundingSourceId: String, val cardHolder: String, val alias: String? = null, val metadata: JsonValue<Any>? = null, val billingAddress: BillingAddress? = null, val currency: String)

Input object containing the information required to provision a virtual card.

Link copied to clipboard
data class RefreshFundingSourceInput(val id: String, val refreshData: ProviderRefreshData, val applicationData: ClientApplicationData, val language: String? = null)

Input object containing the information required to complete the refresh of a funding source.

Link copied to clipboard
data class SetupFundingSourceInput(val currency: String, val type: FundingSourceType, val applicationData: ClientApplicationData, val supportedProviders: List<String>? = null, val language: String? = null)

Input object containing the information required to setup a funding source.

Link copied to clipboard
data class UpdateVirtualCardInput(val id: String, val expectedCardVersion: Int? = null, val cardHolder: String, val alias: String? = null, val metadata: JsonValue<Any>? = null, val billingAddress: BillingAddress? = null)

Input object containing the information required to update a virtual card.