BankConnection

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)

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