SetupError

@JsonClass(generateAdapter = true)
data class SetupError : Parcelable

Information for an erroneous SetupAttempt

Functions

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

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
val declineCode: String?

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
val docUrl: String?

A URL to more information about the error code reported.

Link copied to clipboard
val message: String?

A human-readable message providing more details about the error.

Link copied to clipboard
val param: String?

If the error is parameter-specific, the parameter related to the error.

Link copied to clipboard
val paymentMethod: PaymentMethod?

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

Link copied to clipboard
val paymentMethodType: String?

If the error is specific to the type of payment method, the payment method type that had a problem.

Link copied to clipboard
val type: SetupErrorType

The type of error returned.