SavedPostFinancePay

public class SavedPostFinancePay: SavedPaymentMethod

This class contains saved PostFinance Pay payment method details.

Like any other SavedPaymentMethod subclass, this class can be used to pay with a previously registered payment method or to present a list of saved payment methods to the user for fast checkouts.

A SavedPostFinancePay object can be created either by successfully completing a PostFinance Pay payment or through a dedicated registration process.

  • Masked PostFinance account number (IBAN). This will be used for displaying purposes.

    Declaration

    Swift

    public var maskedAccountNumber: String?
  • A human readable title.

    Declaration

    Swift

    override public var displayTitle: String
  • Initializes a SavedPostFinancePay object.

    Declaration

    Swift

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

    Parameters

    alias

    Alias for a PostFinance account.

    maskedAccountNumber

    Masked PostFinance account number (IBAN). This will be used for displaying purposes.