Package com.thalesgroup.gemalto.d1.card
Class CardDetails
java.lang.Object
com.thalesgroup.gemalto.d1.card.CardDetails
Deprecated.
The card details for D1 Core.
For security reasons, CardDetails uses byte[] as a variable type which can be wiped (refer to wipe()).
Use the following example to convert the variable from byte[] to String if necessary:
String pan = new String(cardDetails.getPan(), StandardCharsets.UTF_8);
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCardDetails(byte[] pan, byte[] expiryDate, byte[] cvv, byte[] cardHolderName) Deprecated.Public Constructor -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Deprecated.Gets the name of the cardholder.byte[]getCvv()Deprecated.Gets the CVV number of the card.byte[]Deprecated.Gets the expiry date of the card in MMYY format.byte[]getPan()Deprecated.Gets the full PAN number of the card.voidwipe()Deprecated.Wipes the sensitive data of the object.
-
Constructor Details
-
CardDetails
public CardDetails(@NonNull byte[] pan, @NonNull byte[] expiryDate, @NonNull byte[] cvv, @Nullable byte[] cardHolderName) Deprecated.Public ConstructorConstructing new object
- Parameters:
pan- The PAN valueexpiryDate- The expiry datecvv- The CVV valuecardHolderName- The card holder name
-
-
Method Details
-
getPan
Deprecated.Gets the full PAN number of the card. -
getExpiryDate
Deprecated.Gets the expiry date of the card in MMYY format. -
getCvv
Deprecated.Gets the CVV number of the card. -
getCardHolderName
Deprecated.Gets the name of the cardholder. -
wipe
public void wipe()Deprecated.Wipes the sensitive data of the object.
-
CardDetailsinstead.