SavedApplePay

@objc(DTSavedApplePay)
@objcMembers
public class SavedApplePay : SavedPaymentMethod

This class contains saved Apple Pay payment method details.

Like any other SavedPaymentMethod subclass, it can be used to initiate follow-up payments with the same method. Note: Using this class will still present the Apple Pay sheet to the user when they are in session.

A SavedApplePay object can be created by successfully completing an Apple Pay payment or with a dedicated registration.

  • The payment method type of the card used for Apple Pay.

    Declaration

    Swift

    public var cardPaymentMethod: PaymentMethodType
  • The last 4 digits of the real card number used in the transaction. Note: This information may not be available for all card types.

    Declaration

    Swift

    public var last4: String?
  • Additional card metadata of the tokenized card.

    Note

    The information is based on the device token. It usually corresponds to the real card information, but this is not guaranteed.

    Declaration

    Swift

    public var cardInfo: CardInfo?
  • A human readable title.

    Declaration

    Swift

    override public var displayTitle: String { get }
  • For VoiceOver this title is used instead of displayTitle.

    Declaration

    Swift

    override public var accessibilityTitle: String { get }