Class StepUpAuthenticationDetails

java.lang.Object
com.thalesgroup.gemalto.d1.digitalcard.stepup.StepUpAuthenticationDetails

public final class StepUpAuthenticationDetails extends Object
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 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

      @NonNull public String getDigitalCardID()
      Gets the unique identifier of the digital card.
      Returns:
      The digital card ID
    • getAuthenticationID

      @Nullable public String getAuthenticationID()
      Gets the authentication identifier.

      This field may be null for Mastercard provisioning payloads.

      Returns:
      the authentication ID, or null if unavailable.
    • getReason

      @Nullable public Reason 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

      @Nullable public String getLast4()
      Gets the last 4 digits of the card PAN.
      Returns:
      The last 4 digits, or null if unavailable.
    • getExpiryDate

      @Nullable public String 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

      @Nullable public String 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

      @Nullable public String 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.