SavedCard
@objcMembers
public final class SavedCard : NSObject, OptionallyIdentifiableWithString
Saved Card model.
-
Identifier.
Declaration
Swift
public private(set) var identifier: String? -
Object type.
Declaration
Swift
public let object: String -
First six digits of card number.
Declaration
Swift
public let firstSixDigits: String -
Last 4 digits of card number.
Declaration
Swift
public let lastFourDigits: String -
Card brand.
Declaration
Swift
public let brand: CardBrand -
Card fingerprint.
Declaration
Swift
public let fingerprint: String? -
Expiration month.
Declaration
Swift
public var expirationMonth: Int { get } -
Expiration year.
Declaration
Swift
public var expirationYear: Int { get } -
Cardholder name.
Declaration
Swift
public let cardholderName: String?
-
Checks whether two saved cards are equal.
Declaration
Swift
public static func == (lhs: SavedCard, rhs: SavedCard) -> BoolParameters
lhsLeft side.
rhsRide side.
Return Value
trueif two saved cards are equal,falseotherwise.
-
Declaration
Swift
public convenience init(from decoder: Decoder) throws
SavedCard Class Reference