OPPCheckoutCardBrandsDisplayMode

enum OPPCheckoutCardBrandsDisplayMode : NSInteger {}

An enumeration for the possible display modes of card brands on payment method selection screen.

  • Display card brands in the list along with other payment methods.

    Declaration

    Objective-C

    OPPCheckoutCardBrandsDisplayModeSeparate

    Swift

    case separate = 0
  • Display all card brands grouped in one row. This mode allows shopper to skip choosing concrete card brand, the brand will be detected automatically based on card number.

    Declaration

    Objective-C

    OPPCheckoutCardBrandsDisplayModeGrouped

    Swift

    case grouped = 1