DisplayInformation

public struct DisplayInformation : Equatable

Describes a payment method display information.

  • The title for the payment method, adapted for displaying in a list. In the case of stored payment methods, this will include information identifying the stored payment method. For example, this could be the last 4 digits of the card number, or the used email address.

    Declaration

    Swift

    public let title: String
  • The subtitle for the payment method, adapted for displaying in a list. This property represents optional data that can help identify a payment method. For example, this could be the expiration date of a stored credit card.

    Declaration

    Swift

    public let subtitle: String?
  • Initializes aDisplayInformation.

    Declaration

    Swift

    public init(title: String,
                subtitle: String?,
                logoName: String,
                disclosureText: String? = nil,
                footnoteText: String? = nil)

    Parameters

    title

    The title.

    subtitle

    The subtitle.

    logoName

    The logo name.

    disclosureText

    The trailing disclosure text.

    footnoteText

    The footnote text if any.