SavedPayPal

public class SavedPayPal: SavedPaymentMethod

This class contains saved PayPal payment method details.

Just like any other SavedPaymentMethod subclass, this class can be used to finalize a payment without user interaction or to display a selection of saved payment methods to the user for fast checkouts.

A SavedPayPal can be created by successfully completing a PayPal payment or with a dedicated registration.

  • PayPal e-mail address. This will be used for displaying purposes.

    Declaration

    Swift

    public var payPalEmail: String?
  • This init method has to be used to initialize a saved PayPal payment method.

    Declaration

    Swift

    public init(alias: String, payPalEmail: String?)

    Parameters

    alias

    Alias for a PayPal account.

    payPalEmail

    PayPal e-mail address. This will be used for displaying purposes.