Interface CardArt


  • public interface CardArt
    CardArt provides the Card information used by the MPA for display.
    • Method Detail

      • getProductName

        java.lang.String getProductName()
        Fetch the product name.
        Returns:
        the product name of the card.
      • getBitmap

        void getBitmap​(CardArtType cardArtType,
                       MGAbstractAsyncHandler<CardBitmap> asyncHandler)
        Fetch the bitmap of the card corresponding to tht e card type.
        Parameters:
        cardArtType - the type of card art.
        asyncHandler - the async handler to post the result to the UI.
      • getPANLastDigits

        byte[] getPANLastDigits()
        Fetch the last digits of the PAN. This method is only applicable for payment products.
        Returns:
        the last digits of PAN for payment products or an empty byte array for non-payment products.
      • getTokenLastDigits

        byte[] getTokenLastDigits()
        Fetch the last digits of token. This method is only applicable for payment products.
        Returns:
        the last digits of token for payment products or an empty byte array for non-payment products.
      • getTokenExpiryDate

        byte[] getTokenExpiryDate()
        Fetch the token Expiry date. This method is only applicable for payment products.
        Returns:
        the token expiry date for payment products or an empty byte array for non-payment products.