McdCardDataImages
Objective-C
@interface McdCardDataImages : NSObjectSwift
class McdCardDataImages : NSObjectProvides API for interacting with received card data.
- 
                  
                  Returns UIImage with PAN. DeclarationObjective-C - (nonnull UIImage *)getPanImage:(UIFont *_Nonnull)font color:(UIColor *_Nonnull)color spacing:(CGFloat)spacing;Swift func getPanImage(_ font: UIFont, color: UIColor, spacing: CGFloat) -> UIImageParametersfontThe font of the text. colorThe color of the text. spacingCharacter spacing. Return ValueReturns UIImage with PAN. 
- 
                  
                  Returns UIImage with part of a PAN. DeclarationObjective-C - (nonnull UIImage *)getPanImage:(UIFont *_Nonnull)font color:(UIColor *_Nonnull)color spacing:(CGFloat)spacing startDigit:(NSUInteger)startDigit length:(NSUInteger)length;Swift func getPanImage(_ font: UIFont, color: UIColor, spacing: CGFloat, startDigit: UInt, length: UInt) -> UIImageParametersfontThe font of the text. colorThe color of the text. spacingCharacter spacing. startDigitThe beginning index. lengthLength of the substring. Return ValueReturns UIImage with PAN. 
- 
                  
                  Returns UIImagewith expiry date inMM/YYformat.DeclarationObjective-C - (nonnull UIImage *)getExpiryImage:(UIFont *_Nonnull)font color:(UIColor *_Nonnull)color spacing:(CGFloat)spacing;Swift func getExpiryImage(_ font: UIFont, color: UIColor, spacing: CGFloat) -> UIImageParametersfontThe font of the text. colorThe color of the text. spacingCharacter spacing. Return ValueUIImagewith expiry date inMM/YYformat.
- 
                  
                  Returns UIImageimage with emboss name.DeclarationObjective-C - (nonnull UIImage *)getEmbossNameImage:(UIFont *_Nonnull)font color:(UIColor *_Nonnull)color spacing:(CGFloat)spacing;Swift func getEmbossNameImage(_ font: UIFont, color: UIColor, spacing: CGFloat) -> UIImageParametersfontThe font of the text. colorThe color of the text. spacingCharacter spacing. Return ValueUIImageimage with emboss name.
- 
                  
                  Returns UIImageimage with CVV.DeclarationObjective-C - (nonnull UIImage *)getCvvImage:(UIFont *_Nonnull)font color:(UIColor *_Nonnull)color spacing:(CGFloat)spacing;Swift func getCvvImage(_ font: UIFont, color: UIColor, spacing: CGFloat) -> UIImageParametersfontThe font of the text. colorThe color of the text. spacingCharacter spacing. Return ValueUIImageimage with CVV.
- 
                  
                  Copies PAN to clipboard. DeclarationObjective-C - (BOOL)copyPanToClipboard;Swift func copyPanToClipboard() -> BoolReturn ValueTrue if card data copied to clipboard. False otherwise. 
- 
                  
                  Copies Expiry date in MM/YYformat to clipboard.DeclarationObjective-C - (BOOL)copyExpiryToClipboard;Swift func copyExpiryToClipboard() -> BoolReturn ValueTrue if card data copied to clipboard. False otherwise. 
- 
                  
                  Copies emboss name to clipboard. DeclarationObjective-C - (BOOL)copyEmbossNameToClipboard;Swift func copyEmbossNameToClipboard() -> BoolReturn ValueTrue if card data copied to clipboard. False otherwise. 
- 
                  
                  Copies CVV to clipboard. DeclarationObjective-C - (BOOL)copyCvvToClipboard;Swift func copyCvvToClipboard() -> BoolReturn ValueTrue if card data copied to clipboard. False otherwise. 
- 
                  
                  Clears internal card data. DeclarationObjective-C - (void)clearData;Swift func clearData()
- 
                  
                  Sets handler for card data wipe event. DeclarationObjective-C @property (nullable) void (^)(void) cardDataClearedBlock;Swift var cardDataClearedBlock: (() -> Void)? { get set }
- 
                  
                  Constructs card data images from McdCardData object. DeclarationObjective-C + (nonnull instancetype)cardDataImagesWithCardData: (McdCardData *_Nonnull)cardData;Swift convenience init(cardData: McdCardData)ParameterscardDataMcdCardData to create an instance of card data images. Return ValueCard data images as instance of McdCardDataImages. 
- 
                  
                  Verify if card data are valid. DeclarationObjective-C - (BOOL)isValid;Swift func isValid() -> BoolReturn ValueBool value if card data are valid. 
 McdCardDataImages Class Reference
        McdCardDataImages Class Reference