MBIIbanParser


@interface MBIIbanParser : MBIParser <NSCopying>

MBIAmountParser that can extract IBAN (International Bank Account Number) from OCR result.

  • Undocumented

    Declaration

    Objective-C

    MB_INIT

    Swift

    init()
  • Iban parser result

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) MBIIbanParserResult *_Nonnull result;

    Swift

    var result: MBIIbanParserResult { get }
  • Should prefix (country code) always be returned.

    Default: NO

    Declaration

    Objective-C

    @property (nonatomic) BOOL alwaysReturnPrefix;

    Swift

    var alwaysReturnPrefix: Bool { get set }
  • Set of allowed country codes. If whitelist is defined, only IBANs with defined country codes will be recognized. For example to allow only Croatian IBANs define whitelist with country code “HR”. If whitelist is not defined, or if it is set to nil, all valid IBANs will be returned.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<NSString *> *countryCodeWhitelist;

    Swift

    var countryCodeWhitelist: [String]? { get set }