@@ -20,6 +20,7 @@ constructor(
2020 private val creditLimit: Long? ,
2121 private val creditProductToken: String? ,
2222 private val externalBankAccountToken: String? ,
23+ private val tier: String? ,
2324 private val additionalQueryParams: Map <String , List <String >>,
2425 private val additionalHeaders: Map <String , List <String >>,
2526 private val additionalBodyProperties: Map <String , JsonValue >,
@@ -33,12 +34,15 @@ constructor(
3334
3435 fun externalBankAccountToken (): Optional <String > = Optional .ofNullable(externalBankAccountToken)
3536
37+ fun tier (): Optional <String > = Optional .ofNullable(tier)
38+
3639 @JvmSynthetic
3740 internal fun getBody (): FinancialAccountCreditConfigurationUpdateBody {
3841 return FinancialAccountCreditConfigurationUpdateBody (
3942 creditLimit,
4043 creditProductToken,
4144 externalBankAccountToken,
45+ tier,
4246 additionalBodyProperties,
4347 )
4448 }
@@ -61,6 +65,7 @@ constructor(
6165 private val creditLimit: Long? ,
6266 private val creditProductToken: String? ,
6367 private val externalBankAccountToken: String? ,
68+ private val tier: String? ,
6469 private val additionalProperties: Map <String , JsonValue >,
6570 ) {
6671
@@ -74,6 +79,9 @@ constructor(
7479 @JsonProperty(" external_bank_account_token" )
7580 fun externalBankAccountToken (): String? = externalBankAccountToken
7681
82+ /* * Tier to assign to a financial account */
83+ @JsonProperty(" tier" ) fun tier (): String? = tier
84+
7785 @JsonAnyGetter
7886 @ExcludeMissing
7987 fun _additionalProperties (): Map <String , JsonValue > = additionalProperties
@@ -89,6 +97,7 @@ constructor(
8997 this .creditLimit == other.creditLimit &&
9098 this .creditProductToken == other.creditProductToken &&
9199 this .externalBankAccountToken == other.externalBankAccountToken &&
100+ this .tier == other.tier &&
92101 this .additionalProperties == other.additionalProperties
93102 }
94103
@@ -99,14 +108,15 @@ constructor(
99108 creditLimit,
100109 creditProductToken,
101110 externalBankAccountToken,
111+ tier,
102112 additionalProperties,
103113 )
104114 }
105115 return hashCode
106116 }
107117
108118 override fun toString () =
109- " FinancialAccountCreditConfigurationUpdateBody{creditLimit=$creditLimit , creditProductToken=$creditProductToken , externalBankAccountToken=$externalBankAccountToken , additionalProperties=$additionalProperties }"
119+ " FinancialAccountCreditConfigurationUpdateBody{creditLimit=$creditLimit , creditProductToken=$creditProductToken , externalBankAccountToken=$externalBankAccountToken , tier= $tier , additionalProperties=$additionalProperties }"
110120
111121 companion object {
112122
@@ -118,6 +128,7 @@ constructor(
118128 private var creditLimit: Long? = null
119129 private var creditProductToken: String? = null
120130 private var externalBankAccountToken: String? = null
131+ private var tier: String? = null
121132 private var additionalProperties: MutableMap <String , JsonValue > = mutableMapOf ()
122133
123134 @JvmSynthetic
@@ -130,6 +141,7 @@ constructor(
130141 financialAccountCreditConfigurationUpdateBody.creditProductToken
131142 this .externalBankAccountToken =
132143 financialAccountCreditConfigurationUpdateBody.externalBankAccountToken
144+ this .tier = financialAccountCreditConfigurationUpdateBody.tier
133145 additionalProperties(
134146 financialAccountCreditConfigurationUpdateBody.additionalProperties
135147 )
@@ -149,6 +161,9 @@ constructor(
149161 this .externalBankAccountToken = externalBankAccountToken
150162 }
151163
164+ /* * Tier to assign to a financial account */
165+ @JsonProperty(" tier" ) fun tier (tier : String ) = apply { this .tier = tier }
166+
152167 fun additionalProperties (additionalProperties : Map <String , JsonValue >) = apply {
153168 this .additionalProperties.clear()
154169 this .additionalProperties.putAll(additionalProperties)
@@ -168,6 +183,7 @@ constructor(
168183 creditLimit,
169184 creditProductToken,
170185 externalBankAccountToken,
186+ tier,
171187 additionalProperties.toUnmodifiable(),
172188 )
173189 }
@@ -189,6 +205,7 @@ constructor(
189205 this .creditLimit == other.creditLimit &&
190206 this .creditProductToken == other.creditProductToken &&
191207 this .externalBankAccountToken == other.externalBankAccountToken &&
208+ this .tier == other.tier &&
192209 this .additionalQueryParams == other.additionalQueryParams &&
193210 this .additionalHeaders == other.additionalHeaders &&
194211 this .additionalBodyProperties == other.additionalBodyProperties
@@ -200,14 +217,15 @@ constructor(
200217 creditLimit,
201218 creditProductToken,
202219 externalBankAccountToken,
220+ tier,
203221 additionalQueryParams,
204222 additionalHeaders,
205223 additionalBodyProperties,
206224 )
207225 }
208226
209227 override fun toString () =
210- " FinancialAccountCreditConfigurationUpdateParams{financialAccountToken=$financialAccountToken , creditLimit=$creditLimit , creditProductToken=$creditProductToken , externalBankAccountToken=$externalBankAccountToken , additionalQueryParams=$additionalQueryParams , additionalHeaders=$additionalHeaders , additionalBodyProperties=$additionalBodyProperties }"
228+ " FinancialAccountCreditConfigurationUpdateParams{financialAccountToken=$financialAccountToken , creditLimit=$creditLimit , creditProductToken=$creditProductToken , externalBankAccountToken=$externalBankAccountToken , tier= $tier , additionalQueryParams=$additionalQueryParams , additionalHeaders=$additionalHeaders , additionalBodyProperties=$additionalBodyProperties }"
211229
212230 fun toBuilder () = Builder ().from(this )
213231
@@ -223,6 +241,7 @@ constructor(
223241 private var creditLimit: Long? = null
224242 private var creditProductToken: String? = null
225243 private var externalBankAccountToken: String? = null
244+ private var tier: String? = null
226245 private var additionalQueryParams: MutableMap <String , MutableList <String >> = mutableMapOf ()
227246 private var additionalHeaders: MutableMap <String , MutableList <String >> = mutableMapOf ()
228247 private var additionalBodyProperties: MutableMap <String , JsonValue > = mutableMapOf ()
@@ -239,6 +258,7 @@ constructor(
239258 financialAccountCreditConfigurationUpdateParams.creditProductToken
240259 this .externalBankAccountToken =
241260 financialAccountCreditConfigurationUpdateParams.externalBankAccountToken
261+ this .tier = financialAccountCreditConfigurationUpdateParams.tier
242262 additionalQueryParams(
243263 financialAccountCreditConfigurationUpdateParams.additionalQueryParams
244264 )
@@ -263,6 +283,9 @@ constructor(
263283 this .externalBankAccountToken = externalBankAccountToken
264284 }
265285
286+ /* * Tier to assign to a financial account */
287+ fun tier (tier : String ) = apply { this .tier = tier }
288+
266289 fun additionalQueryParams (additionalQueryParams : Map <String , List <String >>) = apply {
267290 this .additionalQueryParams.clear()
268291 putAllQueryParams(additionalQueryParams)
@@ -325,6 +348,7 @@ constructor(
325348 creditLimit,
326349 creditProductToken,
327350 externalBankAccountToken,
351+ tier,
328352 additionalQueryParams.mapValues { it.value.toUnmodifiable() }.toUnmodifiable(),
329353 additionalHeaders.mapValues { it.value.toUnmodifiable() }.toUnmodifiable(),
330354 additionalBodyProperties.toUnmodifiable(),
0 commit comments