Package com.gemalto.mfs.mwsdk.dcm
Interface DigitalizedCardDetails
public interface DigitalizedCardDetails
This is an interface that will be used to retrieve the card details that has been
provisioned. It is through this interface where the user of the SDK is able
to retrieve the card information in the card profile. This interface also
provides a method to retrieve, update, and save any additional custom card data.
-
Method Summary
Modifier and TypeMethodDescriptionOnly available for auxiliary card Retrieves the last four digits of the digitalized PAN.Only available for auxiliary card Retrieves the auxiliary scheme.intRetrieves the credential reset timeout value of CVM.intRetrieves the second tap reset timeout value.Retrieves the string representation of the card's last four digits..Retrieves the last four digits of the digitalized PAN.Retrieves the string representation of the physical card's expiry date.Retrieves the product ID.Retrieves all the supported AIDs.Retrieves the scheme.Retrieves the tokenized card ID that identifies this instance of the DigitalizedCardDetails object.Generic method to retrieve the non-sensitive card profile data that corresponds to the given JSON key.booleanVerifies if the digitalized card supports the given payment type.booleanVerifies if the Visa ODA certificate is expired.booleanVerifies if the digitalized card supports Visa ODA.Returns all the supportedPaymentTypefor this card.
-
Method Details
-
isPaymentTypeSupported
Verifies if the digitalized card supports the given payment type.- Parameters:
type-PaymentType- Returns:
- boolean True, if the payment type is supported by the DigitalizedCard. Otherwise, false.
-
getTokenizedCardID
String getTokenizedCardID()Retrieves the tokenized card ID that identifies this instance of the DigitalizedCardDetails object.- Returns:
- tokenized card id
-
getProductID
String getProductID()Retrieves the product ID. The product ID is an ASCII-encoded string.- Returns:
- The product ID. An "UNKNOWN" value is returned if this DigitalizedCardDetails instance does not have a product ID.
-
getScheme
String getScheme()Retrieves the scheme.- Returns:
- The scheme as dictated by the CPS server. A null value is returned if this DigitalizedCardDetails instance does not have a scheme.
-
getAuxiliaryScheme
String getAuxiliaryScheme()Only available for auxiliary card Retrieves the auxiliary scheme.- Returns:
- The scheme as dictated by CPS. A null value is returned if no scheme is associated with this `DigitalizedCardDetails` instance.
- Since:
- 6.12
-
getAuxiliaryLastFourDigitsOfDPAN
String getAuxiliaryLastFourDigitsOfDPAN()Only available for auxiliary card Retrieves the last four digits of the digitalized PAN.- Returns:
- The card's last four digits of DPAN.
- Since:
- 6.12
-
getLastFourDigits
String getLastFourDigits()Retrieves the string representation of the card's last four digits..- Returns:
- The card's last four digits.
-
getPanExpiry
String getPanExpiry()Retrieves the string representation of the physical card's expiry date.- Returns:
- The PAN expiry date. A null value is returned if the profile of the physical card does not contain the expiry date.
-
getLastFourDigitsOfDPAN
String getLastFourDigitsOfDPAN()Retrieves the last four digits of the digitalized PAN.- Returns:
- The last four digits of DPAN.
-
getCVMResetTimeout
int getCVMResetTimeout()Retrieves the credential reset timeout value of CVM. If the CVM verification method is BIO-FP or device keyguard, the value set in profile will be overridden by the value set in the wallet if the customer has set a value in the wallet. For wallet PIN, use the value from the profile.- Returns:
- The timeout value.
-
getDualTapResetTimeout
int getDualTapResetTimeout()Retrieves the second tap reset timeout value.- Returns:
- The timeout value.
-
getValue
Generic method to retrieve the non-sensitive card profile data that corresponds to the given JSON key. This is useful to acquire data that is specific for different schemes.- Parameters:
key- The JSON key of the value to be retrieved. Refer toDigitalizedCardProfileKeysfor the list of known keys.- Returns:
- The value for the key retrieved from the card profile details.
-
paymentTypeSupported
PaymentType[] paymentTypeSupported()Returns all the supportedPaymentTypefor this card.- Returns:
- An array containing
PaymentTypevalues. Otherwise, an empty array is returned.
-
getQrAIDs
Retrieves all the supported AIDs.- Returns:
- An array containing the string of AIDs where index 0 represents the main AID.
-
isVisaODASupported
boolean isVisaODASupported()Verifies if the digitalized card supports Visa ODA.- Returns:
- A boolean true value if Visa ODA is supported by DigitalizedCard. Otherwise, a boolean false value is returned.
-
isVisaODACertificateExpired
boolean isVisaODACertificateExpired()Verifies if the Visa ODA certificate is expired.- Returns:
- A boolean true value if Visa ODA certificate is expired. Otherwise, a boolean false value is returned.
-