SavedReka
@objc(DTSavedReka)
@objcMembers
public class SavedReka : SavedCard
This class contains saved Reka 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 SavedReka
can be created by successfully completing a Reka payment or
with a dedicated registration.
-
This init method has to be used to initialize a saved Reka payment method.
Declaration
Swift
public convenience init(alias: String, cardExpiryDate: CardExpiryDate, maskedCardNumber: String?, cardholder: String?)
Parameters
alias
Alias for a Reka 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 first 6 digits and the last 4 digits of the card, e.g. 123456xxxxxxxxx1234.
cardholder
Cardholder’s name