OPPCheckoutBrandDetectionType

enum OPPCheckoutBrandDetectionType : NSInteger {}

An enumeration for the possible ways of automatic card brand detection

  • Uses regular expressions to analyze card number (supports a limited number of brands)

    Declaration

    Objective-C

    OPPCheckoutBrandDetectionTypeRegex

    Swift

    case regex = 0
  • Searches card bin in the bin list (more precise)

    Declaration

    Objective-C

    OPPCheckoutBrandDetectionTypeBinList

    Swift

    case binList = 1