@@ -43,7 +43,7 @@ private constructor(
4343 private val tier: JsonField <String >,
4444 private val paymentAllocation: JsonField <CategoryBalances >,
4545 private val minimumPaymentBalance: JsonField <BalanceDetails >,
46- private val statementBalance : JsonField <BalanceDetails >,
46+ private val previousStatementBalance : JsonField <BalanceDetails >,
4747 private val additionalProperties: Map <String , JsonValue >,
4848) {
4949
@@ -117,7 +117,8 @@ private constructor(
117117 fun minimumPaymentBalance (): BalanceDetails =
118118 minimumPaymentBalance.getRequired(" minimum_payment_balance" )
119119
120- fun statementBalance (): BalanceDetails = statementBalance.getRequired(" statement_balance" )
120+ fun previousStatementBalance (): BalanceDetails =
121+ previousStatementBalance.getRequired(" previous_statement_balance" )
121122
122123 /* * Globally unique identifier for a loan tape */
123124 @JsonProperty(" token" ) @ExcludeMissing fun _token () = token
@@ -189,7 +190,9 @@ private constructor(
189190 @ExcludeMissing
190191 fun _minimumPaymentBalance () = minimumPaymentBalance
191192
192- @JsonProperty(" statement_balance" ) @ExcludeMissing fun _statementBalance () = statementBalance
193+ @JsonProperty(" previous_statement_balance" )
194+ @ExcludeMissing
195+ fun _previousStatementBalance () = previousStatementBalance
193196
194197 @JsonAnyGetter
195198 @ExcludeMissing
@@ -216,7 +219,7 @@ private constructor(
216219 tier()
217220 paymentAllocation().validate()
218221 minimumPaymentBalance().validate()
219- statementBalance ().validate()
222+ previousStatementBalance ().validate()
220223 validated = true
221224 }
222225 }
@@ -248,7 +251,7 @@ private constructor(
248251 this .tier == other.tier &&
249252 this .paymentAllocation == other.paymentAllocation &&
250253 this .minimumPaymentBalance == other.minimumPaymentBalance &&
251- this .statementBalance == other.statementBalance &&
254+ this .previousStatementBalance == other.previousStatementBalance &&
252255 this .additionalProperties == other.additionalProperties
253256 }
254257
@@ -275,15 +278,15 @@ private constructor(
275278 tier,
276279 paymentAllocation,
277280 minimumPaymentBalance,
278- statementBalance ,
281+ previousStatementBalance ,
279282 additionalProperties,
280283 )
281284 }
282285 return hashCode
283286 }
284287
285288 override fun toString () =
286- " LoanTape{token=$token , financialAccountToken=$financialAccountToken , date=$date , created=$created , updated=$updated , version=$version , ytdTotals=$ytdTotals , periodTotals=$periodTotals , dayTotals=$dayTotals , balancePastDue=$balancePastDue , balanceDue=$balanceDue , balanceNextDue=$balanceNextDue , creditLimit=$creditLimit , excessCredits=$excessCredits , accountStanding=$accountStanding , creditProductToken=$creditProductToken , tier=$tier , paymentAllocation=$paymentAllocation , minimumPaymentBalance=$minimumPaymentBalance , statementBalance= $statementBalance , additionalProperties=$additionalProperties }"
289+ " LoanTape{token=$token , financialAccountToken=$financialAccountToken , date=$date , created=$created , updated=$updated , version=$version , ytdTotals=$ytdTotals , periodTotals=$periodTotals , dayTotals=$dayTotals , balancePastDue=$balancePastDue , balanceDue=$balanceDue , balanceNextDue=$balanceNextDue , creditLimit=$creditLimit , excessCredits=$excessCredits , accountStanding=$accountStanding , creditProductToken=$creditProductToken , tier=$tier , paymentAllocation=$paymentAllocation , minimumPaymentBalance=$minimumPaymentBalance , previousStatementBalance= $previousStatementBalance , additionalProperties=$additionalProperties }"
287290
288291 companion object {
289292
@@ -311,7 +314,7 @@ private constructor(
311314 private var tier: JsonField <String > = JsonMissing .of()
312315 private var paymentAllocation: JsonField <CategoryBalances > = JsonMissing .of()
313316 private var minimumPaymentBalance: JsonField <BalanceDetails > = JsonMissing .of()
314- private var statementBalance : JsonField <BalanceDetails > = JsonMissing .of()
317+ private var previousStatementBalance : JsonField <BalanceDetails > = JsonMissing .of()
315318 private var additionalProperties: MutableMap <String , JsonValue > = mutableMapOf ()
316319
317320 @JvmSynthetic
@@ -335,7 +338,7 @@ private constructor(
335338 this .tier = loanTape.tier
336339 this .paymentAllocation = loanTape.paymentAllocation
337340 this .minimumPaymentBalance = loanTape.minimumPaymentBalance
338- this .statementBalance = loanTape.statementBalance
341+ this .previousStatementBalance = loanTape.previousStatementBalance
339342 additionalProperties(loanTape.additionalProperties)
340343 }
341344
@@ -532,13 +535,13 @@ private constructor(
532535 this .minimumPaymentBalance = minimumPaymentBalance
533536 }
534537
535- fun statementBalance ( statementBalance : BalanceDetails ) =
536- statementBalance (JsonField .of(statementBalance ))
538+ fun previousStatementBalance ( previousStatementBalance : BalanceDetails ) =
539+ previousStatementBalance (JsonField .of(previousStatementBalance ))
537540
538- @JsonProperty(" statement_balance " )
541+ @JsonProperty(" previous_statement_balance " )
539542 @ExcludeMissing
540- fun statementBalance ( statementBalance : JsonField <BalanceDetails >) = apply {
541- this .statementBalance = statementBalance
543+ fun previousStatementBalance ( previousStatementBalance : JsonField <BalanceDetails >) = apply {
544+ this .previousStatementBalance = previousStatementBalance
542545 }
543546
544547 fun additionalProperties (additionalProperties : Map <String , JsonValue >) = apply {
@@ -576,7 +579,7 @@ private constructor(
576579 tier,
577580 paymentAllocation,
578581 minimumPaymentBalance,
579- statementBalance ,
582+ previousStatementBalance ,
580583 additionalProperties.toUnmodifiable(),
581584 )
582585 }
0 commit comments