ActivePerksSavedCard

data class ActivePerksSavedCard(val savedCardId: Int, val lastFour: String?, val nickname: String?, val isDefault: Boolean)

A payment method saved on the member's ActivePerks account.

Constructors

Link copied to clipboard
constructor(savedCardId: Int, lastFour: String?, nickname: String?, isDefault: Boolean)

Properties

Link copied to clipboard

Whether this card is the member's default.

Link copied to clipboard

Last four digits as a zero-padded string ("0042").

Link copied to clipboard

Member-given card name; the server sends an empty string when none was set.

Link copied to clipboard

Server id of the saved card - the handle for setDefaultPaymentMethod and removePaymentMethod.