com.fintecsystems.xs2a.java.models.api.bankcodes.BankObject.kt Maven / Gradle / Ivy
The newest version!
package com.fintecsystems.xs2a.java.models.api.bankcodes
import com.fintecsystems.xs2a.java.models.common.CountryId
import com.squareup.moshi.Json
/**
*
* @param bankCode bank code of the bank
* @param bic BIC of the bank
* @param name Name of the bank
* @param shortName Abbreviated bank name
* @param zipcode National ZIP code of the bank
* @param city City
* @param countryId Two letter country code id, e.g. AT, CH, DE
* @param testmode '1', if this bank is a testbank
* @param xs2aProducts array of xs2a products supported
* @param xs2aSupported true, if this bank is supported by XS2A
*/
data class BankObject (
/* bank code of the bank */
@Json(name = "bank_code")
var bankCode: String,
/* BIC of the bank */
@Json(name = "bic")
var bic: String? = null,
/* Name of the bank */
@Json(name = "name")
var name: String,
/* Abbreviated bank name */
@Json(name = "short_name")
var shortName: String,
/* National ZIP code of the bank */
@Json(name = "zipcode")
var zipcode: String? = null,
/* City */
@Json(name = "city")
var city: String,
/* Two letter country code id, e.g. AT, CH, DE */
@Json(name = "country_id")
var countryId: CountryId? = null,
/* '1', if this bank is a testbank */
@Json(name = "testmode")
var testmode: Boolean,
/* array of xs2a products supported */
@Json(name = "xs2a_products")
var xs2aProducts: List,
/* true, if this bank is supported by XS2A */
@Json(name = "xs2a_supported")
var xs2aSupported: Boolean
)