SavedSEPA

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.

Parameters

alias

Alias for SEPA (ELV)

Constructors

Link copied to clipboard
constructor(alias: String, bankCode: String)

This constructor has to be used with SEPA (ELV) aliases created before April 15th 2015. Please refer to the primary constructor for newer aliases.

constructor(alias: String)

This constructor has to be used to initialize a saved SEPA (ELV) payment method.

Properties

Link copied to clipboard
open override var alias: String

Alias for SEPA (ELV)

Link copied to clipboard

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

Link copied to clipboard
open val isValid: Boolean = true

Checks if the saved payment method is valid.

Link copied to clipboard

Payment method type, e.g. Visa.

Functions

Link copied to clipboard
open override fun clone(): SavedSEPA
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

For TalkBack this title is used instead of getInternalDisplayTitle.

Link copied to clipboard
open fun getDisplayTitle(context: Context): String

A human readable title.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun toJson(): String

Returns a JSON string representation of this saved payment method object to be deserialized with create.

Link copied to clipboard
open override fun toString(): String