public class PaymentCard
Holds data about the card that performed the payment.
public PaymentCard(@Nullable java.lang.String tokenId, @Nullable java.lang.String cardNumber, @Nullable java.lang.String track2Data, @Nullable CardDate expiryDate, @Nullable PaymentCardType type, @Nullable java.lang.String issuerCode, @Nullable java.lang.String countryCode, @Nullable java.lang.String panSequenceNumber, @Nullable java.lang.String applicationLabel, @Nullable java.lang.String applicationIdentifier, @Nullable java.lang.String applicationEffectiveDate)
Holds data about the card that performed the payment.
tokenId
- A token representing a card used in a payment. This will be returned in the result of a card payment if tokenisation is enabled, and can be sent in the request for payment with a card/token payment instrument.cardNumber
- The Primary Account Number of the card. For whitelisted cards the full card number can be returned, for all other cards the number is masked. The first 6 digits and last 4 digits are returned, the middle digits are replaced by X.track2Data
- The Track 2 data of the card as defined by ISO 7813. Available for whitelisted BIN ranges for check-card and check-card-payment transactions.expiryDate
- The expiry date of the card. Omitted of the card does not have an expiry date.type
- Indicator for the type of card.issuerCode
- A reference which can be used to identify the issuer of card.countryCode
- The 3-digit numeric ISO 3166 code for the country the card was issued in.panSequenceNumber
- The PAN Sequence number for ICC payments, and the card's issue number for swiped UK Maestro/Solo card payments.applicationLabel
- The mnemonic associated with the application ID (AID) of the card used for the payment according to ISO/IEC 7816-5.applicationIdentifier
- The application ID (AID) of the card used for the payment according to ISO/IEC 7816-5. Note – For VISA Contactless Cards, truncated EMV Card Data Element Application Identifier (AID) will be received instead Extended AID.applicationEffectiveDate
- The date from which the application can be used. Represented as a full-date according to RFC 3339, section 5.6.public PaymentCard()
Holds data about the card that performed the payment.
@NotNull public java.lang.String toString()
@Nullable public java.lang.String getTokenId()
@Nullable public java.lang.String getCardNumber()
@Nullable public java.lang.String getTrack2Data()
@Nullable public CardDate getExpiryDate()
@Nullable public PaymentCardType getType()
@Nullable public java.lang.String getIssuerCode()
@Nullable public java.lang.String getCountryCode()
@Nullable public java.lang.String getPanSequenceNumber()
@Nullable public java.lang.String getApplicationLabel()
@Nullable public java.lang.String getApplicationIdentifier()
@Nullable public java.lang.String getApplicationEffectiveDate()
@Nullable public java.lang.String component1()
@Nullable public java.lang.String component2()
@Nullable public java.lang.String component3()
@Nullable public CardDate component4()
@Nullable public PaymentCardType component5()
@Nullable public java.lang.String component6()
@Nullable public java.lang.String component7()
@Nullable public java.lang.String component8()
@Nullable public java.lang.String component9()
@Nullable public java.lang.String component10()
@Nullable public java.lang.String component11()
@NotNull public PaymentCard copy(@Nullable java.lang.String tokenId, @Nullable java.lang.String cardNumber, @Nullable java.lang.String track2Data, @Nullable CardDate expiryDate, @Nullable PaymentCardType type, @Nullable java.lang.String issuerCode, @Nullable java.lang.String countryCode, @Nullable java.lang.String panSequenceNumber, @Nullable java.lang.String applicationLabel, @Nullable java.lang.String applicationIdentifier, @Nullable java.lang.String applicationEffectiveDate)
Holds data about the card that performed the payment.
tokenId
- A token representing a card used in a payment. This will be returned in the result of a card payment if tokenisation is enabled, and can be sent in the request for payment with a card/token payment instrument.cardNumber
- The Primary Account Number of the card. For whitelisted cards the full card number can be returned, for all other cards the number is masked. The first 6 digits and last 4 digits are returned, the middle digits are replaced by X.track2Data
- The Track 2 data of the card as defined by ISO 7813. Available for whitelisted BIN ranges for check-card and check-card-payment transactions.expiryDate
- The expiry date of the card. Omitted of the card does not have an expiry date.type
- Indicator for the type of card.issuerCode
- A reference which can be used to identify the issuer of card.countryCode
- The 3-digit numeric ISO 3166 code for the country the card was issued in.panSequenceNumber
- The PAN Sequence number for ICC payments, and the card's issue number for swiped UK Maestro/Solo card payments.applicationLabel
- The mnemonic associated with the application ID (AID) of the card used for the payment according to ISO/IEC 7816-5.applicationIdentifier
- The application ID (AID) of the card used for the payment according to ISO/IEC 7816-5. Note – For VISA Contactless Cards, truncated EMV Card Data Element Application Identifier (AID) will be received instead Extended AID.applicationEffectiveDate
- The date from which the application can be used. Represented as a full-date according to RFC 3339, section 5.6.public int hashCode()
Holds data about the card that performed the payment.
public boolean equals(@Nullable java.lang.Object p)
Holds data about the card that performed the payment.