BankConnection

data class BankConnection(@Json(name = idid: String, @Json(name = transactiontransaction: String, @Json(name = bicbic: String?, @Json(name = bank_namebankName: String, @Json(name = country_idcountryId: CountryId?, @Json(name = sync_modesyncMode: BankConnection.SyncMode?, @Json(name = sync_activesyncActive: Boolean, @Json(name = sync_messagesyncMessage: String, @Json(name = sync_fail_countersyncFailCounter: Int, @Json(name = last_syncedlastSynced: LocalDateTime, @Json(name = consent_valid_untilconsentValidUntil: LocalDate?, @Json(name = testmodetestmode: Boolean, @Json(name = created_atcreatedAt: LocalDateTime, @Json(name = objectobject: String)

Parameters

id

Bank Connection ID

transaction

Internally used XS2A transaction id.

bic

BIC of the bank of the bank connection

bankName

The name of the bank of the bank connection

countryId

2 letter country ID

syncMode

The mode how the bank connection is synced. full, shared or none.

syncActive

Indicates whether the sync is active

syncMessage

???

syncFailCounter

A counter of failed syncs for this connection

lastSynced

The date when the connection was last synced

consentValidUntil

The consent is valid until the given date (Format: YYYY-MM-DD).

testmode

Indicates whether this bank connection is in test mode

createdAt

Date of creation

object The value bank_connection

Constructors

BankConnection
Link copied to clipboard
fun BankConnection(@Json(name = idid: String, @Json(name = transactiontransaction: String, @Json(name = bicbic: String? = null, @Json(name = bank_namebankName: String, @Json(name = country_idcountryId: CountryId? = null, @Json(name = sync_modesyncMode: BankConnection.SyncMode? = null, @Json(name = sync_activesyncActive: Boolean, @Json(name = sync_messagesyncMessage: String, @Json(name = sync_fail_countersyncFailCounter: Int, @Json(name = last_syncedlastSynced: LocalDateTime, @Json(name = consent_valid_untilconsentValidUntil: LocalDate? = null, @Json(name = testmodetestmode: Boolean, @Json(name = created_atcreatedAt: LocalDateTime, @Json(name = objectobject: String)
Bank Connection ID

Types

AccountSelection
Link copied to clipboard
enum AccountSelection : Enum<BankConnection.AccountSelection>
Mode of account selection.
Language
Link copied to clipboard
enum Language : Enum<BankConnection.Language>
Desired language in which the customer interface will be rendered with.
SyncMode
Link copied to clipboard
enum SyncMode : Enum<BankConnection.SyncMode>
The mode, how to sync the bank connection.

Properties

bankName
Link copied to clipboard
var bankName: String
The name of the bank of the bank connection
bic
Link copied to clipboard
var bic: String? = null
BIC of the bank of the bank connection
consentValidUntil
Link copied to clipboard
var consentValidUntil: LocalDate? = null
The consent is valid until the given date (Format: YYYY-MM-DD).
countryId
Link copied to clipboard
var countryId: CountryId? = null
2 letter country ID
createdAt
Link copied to clipboard
var createdAt: LocalDateTime
Date of creation
id
Link copied to clipboard
var id: String
Bank Connection ID
lastSynced
Link copied to clipboard
var lastSynced: LocalDateTime
The date when the connection was last synced
object
Link copied to clipboard
var object: String
syncActive
Link copied to clipboard
var syncActive: Boolean
Indicates whether the sync is active
syncFailCounter
Link copied to clipboard
var syncFailCounter: Int
A counter of failed syncs for this connection
syncMessage
Link copied to clipboard
var syncMessage: String
???
syncMode
Link copied to clipboard
var syncMode: BankConnection.SyncMode? = null
The mode how the bank connection is synced.
testmode
Link copied to clipboard
var testmode: Boolean
Indicates whether this bank connection is in test mode
transaction
Link copied to clipboard
var transaction: String
Internally used XS2A transaction id.