MBCCardNumberAnonymizationSettings

Objective-C


@interface MBCCardNumberAnonymizationSettings : NSObject <NSCopying>

Swift

class MBCCardNumberAnonymizationSettings : NSObject, NSCopying

Holds the settings which control card number anonymization.

  • Defines the mode of card number anonymization.

    Default: MBCBlinkCardAnonymizationModeNone

    Declaration

    Objective-C

    @property (nonatomic) MBCBlinkCardAnonymizationMode mode;

    Swift

    var mode: MBCBlinkCardAnonymizationMode { get set }
  • Defines how many digits at the beginning of the card number remain visible after anonymization.

    Default: 0

    Declaration

    Objective-C

    @property (nonatomic) NSInteger prefixDigitsVisible;

    Swift

    var prefixDigitsVisible: Int { get set }
  • Defines how many digits at the end of the card number remain visible after anonymization.

    Default: 0

    Declaration

    Objective-C

    @property (nonatomic) NSInteger suffixDigitsVisible;

    Swift

    var suffixDigitsVisible: Int { get set }