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.
      • getTokenRequestorID

        @Nullable
        public String getTokenRequestorID()
        Gets the identifier of the digital card's token requestor.
        Returns:
        The token requestor identifier.
      • getTokenRequestorName

        @Nullable
        public String getTokenRequestorName()
        Gets the name of the digital card's token requestor. It is only supported for MasterCard.
        Returns:
        The token requestor name.
      • isOnCurrentDevice

        public boolean isOnCurrentDevice()
        Identify if the digital card is on the current device (only for GooglePay, SamsungPay and D1Pay).
        Since:
        3.4.0