Class StepUpAuthenticationDetails
java.lang.Object
com.thalesgroup.gemalto.d1.digitalcard.stepup.StepUpAuthenticationDetails
Details extracted from a step-up verification payload.
This class contains information required to perform step-up authentication for digital card operations such as provisioning, device binding, and cardholder verification.
- Since:
- 4.6.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the authentication identifier.Gets the device identifier.Gets the device reference (binding reference).Gets the unique identifier of the digital card.Gets the card expiry date.getLast4()Gets the last 4 digits of the card PAN.Gets the reason for step-up verification.
-
Constructor Details
-
StepUpAuthenticationDetails
public StepUpAuthenticationDetails(@NonNull String digitalCardID, @Nullable String authenticationID, @Nullable Reason reason, @Nullable String last4, @Nullable String expiryDate, @Nullable String deviceID, @Nullable String deviceReference) Public constructor for internal implementation use only.- Parameters:
digitalCardID- The unique identifier of the digital card.authenticationID- The unique identifier for the authentication .reason- The reason for step-up verification.last4- The last 4 digits of the card PAN.expiryDate- The card expiry date.deviceID- The device identifier.deviceReference- The device reference used for binding.
-
-
Method Details
-
getDigitalCardID
Gets the unique identifier of the digital card.- Returns:
- The digital card ID
-
getAuthenticationID
Gets the authentication identifier.This field may be null for Mastercard provisioning payloads.
- Returns:
- the authentication ID, or null if unavailable.
-
getReason
Gets the reason for step-up verification.This field is only available for Visa payloads. It will be null for Mastercard payloads.
- Returns:
- The verification reason, or null if not unavailable.
-
getLast4
Gets the last 4 digits of the card PAN.- Returns:
- The last 4 digits, or null if unavailable.
-
getExpiryDate
Gets the card expiry date.This field is only available for Mastercard payloads. It will be null for Visa payloads.
- Returns:
- The expiry date, or null if unavailable.
-
getDeviceID
Gets the device identifier.This field is only available for Visa payloads. It will be null for Mastercard payloads.
- Returns:
- The device ID, or null if unavailable.
-
getDeviceReference
Gets the device reference (binding reference).This field is only available for Visa payloads. It will be null for Mastercard payloads.
- Returns:
- The device reference, or null if unavailable.
-