Class PaymentPasskey

java.lang.Object
com.thalesgroup.gemalto.d1.paymentpasskey.PaymentPasskey

public final class PaymentPasskey extends Object
Represents a payment passkey binding between a card and a device.

A payment passkey binding enables secure authentication for card transactions using device-based credentials. Each binding is associated with a specific device and contains information about the binding status and device details.

Since:
4.5.0
  • Constructor Details

    • PaymentPasskey

      public PaymentPasskey(@NonNull String cardID, @NonNull String paymentPasskeyID, @Nullable String creationTime, @Nullable String state, @Nullable String deviceName, @Nullable String deviceNickname, @Nullable Boolean onCurrentDevice)
      Constructs a new `PaymentPasskey` instance.
      Parameters:
      cardID - The card identifier.
      paymentPasskeyID - The binding identifier.
      creationTime - The creation time of the binding.
      state - The status of the binding.
      deviceName - The device name.
      deviceNickname - The device nickname.
      onCurrentDevice - Indicates whether the binding is on the current device.
      Since:
      4.5.0
  • Method Details

    • getCardID

      @NonNull public String getCardID()
      Gets the card identifier.
      Returns:
      The card identifier.
      Since:
      4.5.0
    • getPaymentPasskeyID

      @NonNull public String getPaymentPasskeyID()
      Gets the binding identifier.
      Returns:
      The binding identifier.
      Since:
      4.5.0
    • getCreationTime

      @Nullable public String getCreationTime()
      Gets the creation time of the binding.
      Returns:
      The creation time, or null if it is not available.
      Since:
      4.5.0
    • getState

      @Nullable public String getState()
      Gets the status of the binding.
      Returns:
      The status, or null if it is not available.
      Since:
      4.5.0
    • getDeviceName

      @Nullable public String getDeviceName()
      Gets the device name.
      Returns:
      The device name, or null if it is not available.
      Since:
      4.5.0
    • getDeviceNickname

      @Nullable public String getDeviceNickname()
      Gets the device nickname.
      Returns:
      The device nickname, or null if it is not available.
      Since:
      4.5.0
    • isOnCurrentDevice

      @Nullable public Boolean isOnCurrentDevice()
      Checks whether the binding is on the current device.
      Returns:
      A boolean true value if the binding is on the current device, false otherwise, or null if the binding is not available.
      Since:
      4.5.0