Class PaymentPasskey
java.lang.Object
com.thalesgroup.gemalto.d1.paymentpasskey.PaymentPasskey
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the card identifier.Gets the creation time of the binding.Gets the device name.Gets the device nickname.Gets the binding identifier.getState()Gets the status of the binding.Checks whether the binding is on the current device.
-
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
Gets the card identifier.- Returns:
- The card identifier.
- Since:
- 4.5.0
-
getPaymentPasskeyID
Gets the binding identifier.- Returns:
- The binding identifier.
- Since:
- 4.5.0
-
getCreationTime
Gets the creation time of the binding.- Returns:
- The creation time, or null if it is not available.
- Since:
- 4.5.0
-
getState
Gets the status of the binding.- Returns:
- The status, or null if it is not available.
- Since:
- 4.5.0
-
getDeviceName
Gets the device name.- Returns:
- The device name, or null if it is not available.
- Since:
- 4.5.0
-
getDeviceNickname
Gets the device nickname.- Returns:
- The device nickname, or null if it is not available.
- Since:
- 4.5.0
-
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
-