CardParams

data class CardParams : TokenParams

Create a card token

Constructors

Link copied to clipboard
fun CardParams(    number: String,     expMonth: Int,     expYear: Int,     cvc: String? = null,     name: String? = null,     address: Address? = null,     currency: String? = null,     metadata: Map<String, String>? = null)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toParamMap(): Map<String, Any>
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
var address: Address? = null
Link copied to clipboard
val attribution: Set<String>
Link copied to clipboard
val brand: CardBrand

The likely CardBrand based on the number.

Link copied to clipboard
var currency: String? = null
Link copied to clipboard
val last4: String
Link copied to clipboard
var metadata: Map<String, String>? = null
Link copied to clipboard
var name: String? = null
Link copied to clipboard
val tokenType: Token.Type
Link copied to clipboard
open override val typeDataParams: Map<String, Any>