POCard

@JsonClass(generateAdapter = true)
data class POCard(val id: String, @Json(name = "project_id") val projectId: String, val scheme: String?, @Json(name = "co_scheme") val coScheme: String?, @Json(name = "preferred_scheme") val preferredScheme: String?, val type: String?, @Json(name = "bank_name") val bankName: String?, val brand: String?, val category: String?, val iin: String?, @Json(name = "last_4_digits") val last4Digits: String?, val fingerprint: String?, @Json(name = "exp_month") val expMonth: Int?, @Json(name = "exp_year") val expYear: Int?, @Json(name = "cvc_check") val cvcCheck: String?, @Json(name = "avs_check") val avsCheck: String?, @Json(name = "token_type") val tokenType: String?, val name: String?, val address1: String?, val address2: String?, val city: String?, val state: String?, @Json(name = "country_code") val countryCode: String?, val zip: String?, @Json(name = "expires_soon") val expiresSoon: Boolean, val metadata: Map<String, String>?, val sandbox: Boolean, @Json(name = "created_at") val createdAt: Date, @Json(name = "updated_at") val updatedAt: Date, @Json(name = "update_type") val updateType: String?) : Parcelable

A card object represents a credit or debit card. It contains many useful pieces of information about the card but it does not contain the full card number and CVC which are kept securely in the ProcessOut Vault.

Parameters

id

Value that uniquely identifies the card.

projectId

Project that the card belongs to.

scheme

Scheme of the card.

coScheme

Co-scheme of the card, such as Carte Bancaire.

preferredScheme

Preferred scheme defined by the Customer.

type

Card type.

bankName

Name of the card’s issuing bank.

brand

Brand of the card.

category

Card category.

iin

Issuer Identification Number. Corresponds to the first 6 or 8 digits of the main card number.

last4Digits

Last 4 digits of the card.

fingerprint

Hash value that remains the same for this card even if it is tokenized several times.

expMonth

Month of the expiration date.

expYear

Year of the expiration date.

cvcCheck

CVC check status.

avsCheck

AVS check status.

tokenType

Contains the name of a third party tokenization method.

name

Cardholder’s name.

address1

First line of cardholder’s address.

address2

Second line of cardholder’s address.

city

City of cardholder’s address.

state

State or county of cardholder’s address.

countryCode

Country code of cardholder’s address.

zip

ZIP code of cardholder’s address.

expiresSoon

Set to true if the card will expire soon, otherwise false.

metadata

Metadata related to the card, in the form of key-value pairs.

sandbox

Denotes whether or not this card was created in the sandbox testing environment.

createdAt

Date and time when this card was created.

updatedAt

Date and time when this card was updated.

updateType

Type of card update.

Constructors

Link copied to clipboard
constructor(id: String, @Json(name = "project_id") projectId: String, scheme: String?, @Json(name = "co_scheme") coScheme: String?, @Json(name = "preferred_scheme") preferredScheme: String?, type: String?, @Json(name = "bank_name") bankName: String?, brand: String?, category: String?, iin: String?, @Json(name = "last_4_digits") last4Digits: String?, fingerprint: String?, @Json(name = "exp_month") expMonth: Int?, @Json(name = "exp_year") expYear: Int?, @Json(name = "cvc_check") cvcCheck: String?, @Json(name = "avs_check") avsCheck: String?, @Json(name = "token_type") tokenType: String?, name: String?, address1: String?, address2: String?, city: String?, state: String?, @Json(name = "country_code") countryCode: String?, zip: String?, @Json(name = "expires_soon") expiresSoon: Boolean, metadata: Map<String, String>?, sandbox: Boolean, @Json(name = "created_at") createdAt: Date, @Json(name = "updated_at") updatedAt: Date, @Json(name = "update_type") updateType: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val city: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val expYear: Int?
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
val iin: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val name: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val zip: String?

Functions

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