SEPAToken

@objc(DTSEPAToken)
@objcMembers
public class SEPAToken : PaymentMethodToken

This class contains the token information about a SEPA (ELV) registration from a previously completed transaction. Just like any other PaymentMethodToken subclass, this class can be used to finalize a payment without user interaction or to show a selection of saved token payments to the user for fast checkouts. A token can be returned after completing a successful 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 tokens created before April 15th 2015.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public convenience init(token: String)

    Parameters

    token

    Token for SEPA (ELV).

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

    Declaration

    Swift

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

    Parameters

    token

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

    bankCode

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

  • A human readable title.

    Declaration

    Swift

    override public var displayTitle: String { get }
  • For VoiceOver this title is used instead of displayTitle.

    Declaration

    Swift

    override public var accessibilityTitle: String? { get }
  • Refer to the NSCopying protocol

    Declaration

    Swift

    override public func copy(with zone: NSZone? = nil) -> Any