Interface CardArt
-
public interface CardArtCardArt provides the Card information used by the MPA for display.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidgetBitmap(CardArtType cardArtType, MGAbstractAsyncHandler<CardBitmap> asyncHandler)Fetch the bitmap of the card corresponding to tht e card type.byte[]getPANLastDigits()Fetch the last digits of the PAN.java.lang.StringgetProductName()Fetch the product name.byte[]getTokenExpiryDate()Fetch the token Expiry date.byte[]getTokenLastDigits()Fetch the last digits of token.
-
-
-
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.
-
-