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

    type

    e.g. Visa or Mastercard

    maskedCardNumber

    The masked card number, e.g. “489537xxxxxx6287”

    expiryDate

    Expiry 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

    type

    e.g. Visa or Mastercard

    maskedCardNumber

    The masked card number, e.g. “489537xxxxxx6287”

    expiryDate

    Expiry date

    cvv

    The CVV value to tokenize