Package-level declarations

Types

Link copied to clipboard

Exception thrown when a ModelObject does not meet the requirement of having a SERIALIZER object.

Link copied to clipboard
open class CancellationException(errorMessage: String) : ComponentException

This exception indicates that the payment flow was manually cancelled by the user.

Link copied to clipboard
open class CheckoutException @JvmOverloads constructor(errorMessage: String, cause: Throwable? = null) : RuntimeException

Exception generated by Checkout to indicate an error. Usually related to an implementation error.

Link copied to clipboard
open class ComponentException(errorMessage: String, cause: Throwable? = null) : CheckoutException

Exception generated by the Checkout components to indicate an error. Usually related to an implementation error.

Link copied to clipboard
class HttpException(val code: Int, message: String, val errorBody: ErrorResponseBody?) : CheckoutException

Indicates that an internal API call has failed.

Link copied to clipboard
class MethodNotImplementedException(errorMessage: String, cause: Throwable? = null) : CheckoutException

Indicates that a required method was not implemented.

Link copied to clipboard

Exception thrown when an issue occurs during serialization of a ModelObject.

Link copied to clipboard
class PermissionException(errorMessage: String, val requiredPermission: String) : CheckoutException

This exception indicates that the required runtime permission is not granted.