Class DigitalCard


  • public final class DigitalCard
    extends Object
    Information about the digital card.
    Since:
    1.0.0
    • Method Detail

      • getCardID

        @NonNull
        public String getCardID()
        Gets the unique digital card ID.
        Returns:
        The card ID.
      • getState

        @NonNull
        public State getState()
        Gets the digital card status.
        Returns:
        The card status.
      • 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.
      • getDeviceID

        @Nullable
        public String getDeviceID()
        Gets the device ID.
        Returns:
        The device ID.
      • 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)