Package com.thalesgroup.gemalto.d1.card
Class DigitalCard
- java.lang.Object
-
- com.thalesgroup.gemalto.d1.card.DigitalCard
-
public final class DigitalCard extends Object
Information about the digital card.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetCardID()Gets the unique digital card ID.StringgetDeviceID()Gets the device ID.StringgetDeviceName()Gets the device name.StringgetDeviceType()Gets the device type.StringgetExpiryDate()Gets the expiry date of the digital card in MMYY format.StringgetLast4()Gets the last 4 digits of the digital card.SchemegetScheme()Gets the digital card scheme.StategetState()Gets the digital card status.List<AssetContent>getWalletAsset()Deprecated.Due to scheme limitation, it is not possible to have real time the token requestor name and logo.StringgetWalletID()Gets the identifier of the digital card's wallet.StringgetWalletName()Gets the name of the digital card's wallet.
-
-
-
Constructor Detail
-
DigitalCard
public DigitalCard(@NonNull String cardID, @NonNull State state, @NonNull Scheme scheme, @Nullable String last4, @Nullable String expiryDate, @Nullable String deviceName, @Nullable String deviceType, @Nullable String deviceID, @Nullable String walletID, @Nullable String walletName, @Nullable List<AssetContent> walletAsset)
Public Constructor
-
-
Method Detail
-
getScheme
@NonNull public Scheme getScheme()
Gets the digital card scheme.- Returns:
- The card scheme.
-
getLast4
@Nullable public String getLast4()
Gets the last 4 digits of the digital card.- Returns:
- The last 4 digits of the digital card.
-
getExpiryDate
@Nullable public String getExpiryDate()
Gets the expiry date of the digital card in MMYY format.- Returns:
- The expiry date of the card.
-
getDeviceName
@Nullable public String getDeviceName()
Gets the device name.- Returns:
- The device name.
-
getDeviceType
@Nullable public String getDeviceType()
Gets the device type.- Returns:
- The device type.
-
getWalletID
@Nullable public String getWalletID()
Gets the identifier of the digital card's wallet.- Returns:
- The wallet identifier.
-
getWalletName
@Nullable public String getWalletName()
Gets the name of the digital card's wallet. It is only supported for MasterCard.- Returns:
- The wallet name.
-
getWalletAsset
@Nullable public List<AssetContent> getWalletAsset()
Deprecated.Due to scheme limitation, it is not possible to have real time the token requestor name and logo. It is advised that the issuer application identifies the top 5-10 token requestor identifiers and hardcode a merchant/wallet facing name and logo.Gets the digital card's wallet asset (image)- Returns:
- The wallet asset (image)
-
-