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
alias
Alias for a PostFinance Card.
cardExpiryDate
Expiry date
maskedCardNumber
The 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.
cardholder
Cardholder’s name