CardBaseDataDto
data class CardBaseDataDto(var cardName: String? = null, var cardNumber: String? = null, var cardType: String? = null, var cardClass: CardClassEnumDto? = null, var cardHolder: String? = null, var cardActivationStatus: ActiveEnumDto? = null, var cardControlStatus: CardControlStatusEnumDto? = null, var cardControlStatusReason: CardControlStatusReasonEnumDto? = null, var cardCurrency: CurrencyDto? = null, var cardExpiringDate: LocalDate? = null, var referenceAccountIBAN: String? = null, var referenceAccountId: String? = null, var bankId: String? = null, var favoriteCard: Boolean? = null, var locked: Boolean? = null)
Represents the base data of a card.
Parameters
cardName
Name of the card. This can be a user-assigned name of the card, but also the default bank name.
cardNumber
The card number. To cover all possible values, this field is a string. In most cases the result will be a number.
cardType
Describes the card type. Examples:
- VISA
- Mastercard
- American Express
cardClass
cardHolder
Name of the card holder.
cardActivationStatus
cardControlStatus
cardControlStatusReason
cardCurrency
cardExpiringDate
Date when the card is expired. Hint: This field depends on the card type.
referenceAccountIBAN
IBAN of the reference account.
referenceAccountId
Reference Account ID
bankId
ID of the bank where the card is held.
favoriteCard
If a user has set the card as a favorite, the value is true. Otherwise it is false.
locked
Shows, if the card is locked. Hint: This field depends on the card type.
Constructors
Link copied to clipboard
constructor(cardName: String? = null, cardNumber: String? = null, cardType: String? = null, cardClass: CardClassEnumDto? = null, cardHolder: String? = null, cardActivationStatus: ActiveEnumDto? = null, cardControlStatus: CardControlStatusEnumDto? = null, cardControlStatusReason: CardControlStatusReasonEnumDto? = null, cardCurrency: CurrencyDto? = null, cardExpiringDate: LocalDate? = null, referenceAccountIBAN: String? = null, referenceAccountId: String? = null, bankId: String? = null, favoriteCard: Boolean? = null, locked: Boolean? = null)