OPCardField

@objc
public enum OPCardField : Int, CustomStringConvertible

Represents the different credit card fields

  • The card’s number field

    Declaration

    Swift

    case number
  • The card’s expiration field

    Declaration

    Swift

    case expiration
  • cvv

    The card’s security code (CVV) field

    Declaration

    Swift

    case cvv
  • The card’s postal code field

    Declaration

    Swift

    case postalCode
  • An unknown card field

    Declaration

    Swift

    case unknown
  • A string representation of the card field

    Declaration

    Swift

    public var description: String { get }