CardInfo
@objc(DTCardInfo)
@objcMembers
public final class CardInfo : NSObject, Codable, NSCopying
This class provides additional details about a debit or credit card.
-
The brand of the card, e.g. “VISA”
Declaration
Swift
public let brand: String -
The country of the card, e.g. “US”
Declaration
Swift
public let countryCode: String -
The issuer of the card, e.g. “U.S. REGION”
Declaration
Swift
public let issuer: String -
The type of the card, e.g. “debit”
Declaration
Swift
public let type: String -
The usage of the card, e.g. “consumer”
Declaration
Swift
public let usage: String
-
Declaration
Swift
public init(from decoder: any Decoder) throws
View on GitHub