MLKitEntityExtraction Framework Reference

  • PaymentCardNetwork is an enum that defines the various supported payment card networks.

  • It includes a comprehensive list of major card networks such as Visa, Mastercard, Amex, Discover, and more.

  • Each network is represented by a specific case within the enum, allowing for easy identification.

  • The unknown case is used when the payment card network cannot be determined.

  • This enum facilitates the detection and handling of different payment card types within an application.

PaymentCardNetwork

enum PaymentCardNetwork : Int

@enum PaymentCardNetwork The supported payment card networks that can be detected.

  • The payment card network is unknown.

    Declaration

    Swift

    case unknown = 0
  • The payment card is part of the Amex network.

    Declaration

    Swift

    case amex = 1
  • The payment card is part of the DinersClub network.

    Declaration

    Swift

    case dinersClub = 2
  • The payment card is part of the Discover network.

    Declaration

    Swift

    case discover = 3
  • The payment card is part of the InterPayment network.

    Declaration

    Swift

    case interPayment = 4
  • JCB

    The payment card is part of the JCB network.

    Declaration

    Swift

    case JCB = 5
  • The payment card is part of the Maestro network.

    Declaration

    Swift

    case maestro = 6
  • The payment card is part of the Mastercard network.

    Declaration

    Swift

    case mastercard = 7
  • mir

    The payment card is part of the Mir network.

    Declaration

    Swift

    case mir = 8
  • The payment card is part of the Troy network.

    Declaration

    Swift

    case troy = 9
  • The payment card is part of the Unionpay network.

    Declaration

    Swift

    case unionpay = 10
  • The payment card is part of the Visa network.

    Declaration

    Swift

    case visa = 11