Error

data class Error : StripeModel

The error encountered in the previous SetupIntent confirmation.

See last_setup_error.

Types

Link copied to clipboard

Properties

Link copied to clipboard
val code: String?

For some errors that could be handled programmatically, a short string indicating the error code reported.

Link copied to clipboard

For card errors resulting from a card issuer decline, a short string indicating the card issuer’s reason for the decline if they provide one.

Link copied to clipboard

A URL to more information about the error code reported.

Link copied to clipboard

A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.

Link copied to clipboard

If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.

Link copied to clipboard

The PaymentMethod object for errors returned on a request involving a PaymentMethod.

Link copied to clipboard

The type of error returned.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)