Package-level declarations

Types

Link copied to clipboard
sealed class ApiEnvironment
sealed class ApiEnvironment
Link copied to clipboard
class DataException(val details: ErrorDetails, val errorId: String?) : WalletException

Exception representing a data-related issue with details provided.

Link copied to clipboard
data class ErrorDetails(val code: String, val message: String, val details: List<String>, val fieldErrors: List<FieldError>, val httpStatus: Int)

Data class representing detailed information about an error.

Link copied to clipboard

Enum class representing various reasons for errors.

Link copied to clipboard
data class FieldError(val field: String, val error: String)

Data class representing an error associated with a specific field.

Link copied to clipboard
class InternalErrorException(val reason: ErrorReason, val errorId: String? = null) : WalletException

Exception representing an internal error with a specified reason.

Link copied to clipboard

Exception indicating that there is no internet connection.

Link copied to clipboard

Exception thrown when PaysafeWallet is not configured.

Link copied to clipboard
class ScaRequiredException(val authenticationEvent: ScaAuthenticationEventResponse, val errorId: String?) : WalletException

Exception indicating that a Strong Customer Authentication is required.

Link copied to clipboard

Exception indicating that the service is currently unavailable.

Link copied to clipboard

Exception indicating an SSL handshake failure.

Link copied to clipboard

Exception indicating a timeout during an operation.

Link copied to clipboard

Exception indicating that the token has expired.

Link copied to clipboard
interface Wallet

Interface for interacting with a Wallet, providing methods for configuration, authentication, and accessing services related to user profiles and transaction history.

Link copied to clipboard
interface WalletCallback<R>

Interface for handling wallet-related callbacks.

Link copied to clipboard

Base class for exceptions related to the Wallet functionality.