BrdgeCardData

data class BrdgeCardData(val nameOnCard: String? = null, val pan: String, val expiryDate: String, val startDate: String? = null, val issueNumber: Int? = null, val cv2: String? = null)

A type of Payment Instrument representing a credit or debit payment card.

Parameter Formats

nameOnCard format:

  • between 2 and 45 characters, using only letters, spaces and symbols: -\'."

pan possible formats:

  • 4444 3333 2222 1111

  • 4444333322221111

  • 4444-3333-2222-1111

expiryDate and startDate possible formats:

  • MM-YY

issueNumber format:

  • a number between 1 and 9.

cv2 format:

  • numeric string

Parameters

nameOnCard

Name on the credit or debit card. This may be required by the payment services provider (PSP).

pan

PAN of the credit or debit card.

expiryDate

Expiry date of the credit or debit card.

startDate

Start date of the credit or debit card.

issueNumber

Issue number of the credit or debit card.

cv2

CV2 of the credit or debit card.

Constructors

Link copied to clipboard
constructor(nameOnCard: String? = null, pan: String, expiryDate: String, startDate: String? = null, issueNumber: Int? = null, cv2: String? = null)

Properties

Link copied to clipboard
val cv2: String? = null
Link copied to clipboard
Link copied to clipboard
val issueNumber: Int? = null
Link copied to clipboard
val nameOnCard: String? = null
Link copied to clipboard
val pan: String
Link copied to clipboard
val startDate: String? = null