CardDataDto

data class CardDataDto(var cardNumber: String, var cardActivationStatus: ActiveEnumDto, var bankId: String, var cardId: String, var cardName: String? = null, var cardType: String? = null, var cardClass: CardClassEnumDto? = null, var cardHolder: String? = 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 favoriteCard: Boolean? = null, var locked: Boolean? = null, var balance: AmountDto? = null, var bankName: String? = null, var bank: BankDto? = null, var cardCvv: Int? = null, var contactLessPaymentEnabled: Boolean? = null)

Data of a card. The bank field is returned only for endpoints where the includeBankData flag is supported and set to true.

Parameters

cardNumber

The card number. To cover all possible values, this field is a string. In most cases the result will be a number.

cardActivationStatus
bankId

ID of the bank where the card is held.

cardId

ID of the card. This field is required for further actions with an card (e.g. retrieving transactions).

cardName

Name of the card. This can be a user-assigned name of the card, but also the default bank name.

cardType

Describes the card type. Examples:

  • VISA
  • Mastercard
  • American Express

cardClass
cardHolder

Name of the card holder.

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

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.

balance
bankName

Name of the bank where the card is held.

bank
cardCvv

CVV (credit card checksum/security code) of the card. Hint: This field depends on the card type.

contactLessPaymentEnabled

Can the card be used contactless? Hint: This field depends on the card type.

Constructors

Link copied to clipboard
constructor(cardNumber: String, cardActivationStatus: ActiveEnumDto, bankId: String, cardId: String, cardName: String? = null, cardType: String? = null, cardClass: CardClassEnumDto? = null, cardHolder: String? = null, cardControlStatus: CardControlStatusEnumDto? = null, cardControlStatusReason: CardControlStatusReasonEnumDto? = null, cardCurrency: CurrencyDto? = null, cardExpiringDate: LocalDate? = null, referenceAccountIBAN: String? = null, referenceAccountId: String? = null, favoriteCard: Boolean? = null, locked: Boolean? = null, balance: AmountDto? = null, bankName: String? = null, bank: BankDto? = null, cardCvv: Int? = null, contactLessPaymentEnabled: Boolean? = null)

Properties

Link copied to clipboard
@Valid
var balance: AmountDto?
Link copied to clipboard
@Valid
var bank: BankDto?
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
var cardCvv: Int?
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
Link copied to clipboard
Link copied to clipboard
@get:Size(min = 15, max = 34)
var referenceAccountIBAN: String?
Link copied to clipboard