SavedPostFinanceCard
public class SavedPostFinanceCard: SavedCard
This class contains saved PostFinance Card 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 SavedPostFinanceCard can be created by successfully completing a
PostFinance Card payment or with a dedicated registration.
-
This init method has to be used to initialize a saved PostFinance Card payment method.
Declaration
Swift
public init(alias: String, cardExpiryDate: CardExpiryDate?, maskedCardNumber: String?, cardholder: String?)Parameters
aliasAlias for a PostFinance Card.
cardExpiryDateExpiry date
maskedCardNumberThe masked card number you can use to display that specific card in your app. The masked card number shows the last 4 digits of the card, e.g. **** 1234.
cardholderCardholder’s name
View on GitHub