Interface CardArt
public interface CardArt
CardArt provides the card information used by MPA for display.
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetBitmap(CardArtType cardArtType, MGAbstractAsyncHandler<CardBitmap> asyncHandler) Fetches the bitmap of the card corresponding to the card type.byte[]Fetches the last digits of the PAN.Fetches the product name.byte[]Fetches the token expiry date.byte[]Fetches the last digits of token.
-
Method Details
-
getProductName
String getProductName()Fetches the product name.- Returns:
- The product name of the card.
-
getBitmap
Fetches the bitmap of the card corresponding to the card type.- Parameters:
cardArtType- The type of card art.asyncHandler- The async handler to post the result to the UI.
-
getPANLastDigits
byte[] getPANLastDigits()Fetches 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()Fetches 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()Fetches 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.
-