BraintreeError

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val code: Int

Error code if one exists; defaults to .UNKNOWN_CODE otherwise

Link copied to clipboard
val field: String? = null

Field name this object represents.

Link copied to clipboard

BraintreeError objects for any errors nested under this field.

Link copied to clipboard
val message: String? = null

Human readable summary of the error for field. May be null.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard

Method to extract an error for an individual field, e.g. creditCard, customer, etc.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)