PCIPCVVOnlyCard
@objc(DTPCIPCVVOnlyCard)
@objcMembers
public final class PCIPCVVOnlyCard : NSObject
This class represents a previously tokenized card used in the CVV-only tokenization/verification flow.
-
The masked card number, e.g. “489537xxxxxx6287”
Declaration
Swift
public var maskedCardNumber: String -
Expiry date
Declaration
Swift
public var expiryDate: CardExpiryDate -
Card type, e.g. Visa or Mastercard
Declaration
Swift
public var type: PaymentMethodType -
Use this init method to display a CVV input screen and tokenize the entered CVV.
Declaration
Swift
public init(type: PaymentMethodType, maskedCardNumber: String, expiryDate: CardExpiryDate)Parameters
typee.g. Visa or Mastercard
maskedCardNumberThe masked card number, e.g. “489537xxxxxx6287”
expiryDateExpiry date
-
Use this init method to tokenize a provided CVV value.
Declaration
Swift
public convenience init(type: PaymentMethodType, maskedCardNumber: String, expiryDate: CardExpiryDate, cvv: String)Parameters
typee.g. Visa or Mastercard
maskedCardNumberThe masked card number, e.g. “489537xxxxxx6287”
expiryDateExpiry date
cvvThe CVV value to tokenize
View on GitHub