CardIssuer
enum CardIssuer
extension CardIssuer : CaseIterable, Decodable, Encodable, Equatable, Hashable, RawRepresentable
An enumeration of credit card issuers that a card can have. VISA, MASTER_CARD, AMEX, etc
-
Undocumented
Declaration
Swift
var addCardField: AddCardField? { get } -
American Express
Declaration
Swift
case amex -
CB Nationale
Declaration
Swift
case cbNationale -
Cetelem
Declaration
Swift
case cetelem -
Cofidis
Declaration
Swift
case cofidis -
Cofinoga
Declaration
Swift
case cofinoga -
Diner’s Club
Declaration
Swift
case dinersClub -
Discover
Declaration
Swift
case discover -
ELO
Declaration
Swift
case elo -
Hiper
Declaration
Swift
case hiper -
Hipercard
Declaration
Swift
case hipercard -
Creates a new instance with the specified raw value.
If there is no value of the type that corresponds with the specified raw value, this initializer returns
nil. For example:enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional("PaperSize.Legal")" print(PaperSize(rawValue: "Tabloid")) // Prints "nil"Declaration
Swift
init?(rawValue: String) -
JCB
Declaration
Swift
case jcb -
Maestro
Declaration
Swift
case maestro -
Returns the mask pattern for a card type’s csc
Declaration
Swift
var maskForCSC: String? { get } -
Returns the mask pattern for a card type’s card number
Declaration
Swift
var maskForCardType: String? { get } -
Master Card
Declaration
Swift
case masterCard -
RU Pay
Declaration
Swift
case ruPay -
Get all the supported card types for the user dependent on their local
Declaration
Swift
static var supportedTypes: [AddCardField] { get } -
China Union Pay
Declaration
Swift
case unionPay -
Get all the unsupported card types for the user dependent on their local
Declaration
Swift
static var unsupportedTypes: [CardIssuer] { get } -
Visa
Declaration
Swift
case visa
View on GitHub
Install in Dash
CardIssuer Enumeration Reference