SavedSEPA

@objc(DTSavedSEPA)
@objcMembers
public class SavedSEPA : SavedPaymentMethod

This class contains saved SEPA (ELV) 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 SavedSEPA can be created by successfully completing a SEPA payment or with a dedicated registration.

  • A bank code (German: Bankleitzahl) is a unique identification code for a particular bank. This is required for aliases created before April 15th 2015.

    Declaration

    Swift

    public var bankCode: String? { get }
  • Alias for SEPA (ELV).

    Declaration

    Swift

    override public var alias: String { get set }
  • This init method has to be used to initialize a saved SEPA (ELV) payment method.

    Declaration

    Swift

    public convenience init(alias: String)

    Parameters

    alias

    Alias for SEPA (ELV).

  • This init method has to be used with SEPA (ELV) aliases created before April 15th 2015. Please refer to init(alias:) for newer aliases.

    Declaration

    Swift

    public convenience init(alias: String, bankCode: String)

    Parameters

    alias

    Alias for SEPA (ELV). This value was returned for aliases created before April 15th 2015.

    bankCode

    A bank code (German: Bankleitzahl) is a unique identification code for a particular bank. This is required for aliases created before April 15th 2015.