@@ -26,6 +26,7 @@ private constructor(
2626 private val accountToken: JsonField <String >,
2727 private val authRuleTokens: JsonField <List <String >>,
2828 private val cardProgramToken: JsonField <String >,
29+ private val cardholderCurrency: JsonField <String >,
2930 private val created: JsonField <OffsetDateTime >,
3031 private val cvv: JsonField <String >,
3132 private val digitalCardArtToken: JsonField <String >,
@@ -64,6 +65,10 @@ private constructor(
6465 /* * Globally unique identifier for the card program on which the card exists. */
6566 fun cardProgramToken (): String = cardProgramToken.getRequired(" card_program_token" )
6667
68+ /* * 3-digit alphabetic ISO 4217 code for the currency of the cardholder. */
69+ fun cardholderCurrency (): Optional <String > =
70+ Optional .ofNullable(cardholderCurrency.getNullable(" cardholder_currency" ))
71+
6772 /* * An RFC 3339 timestamp for when the card was created. UTC time zone. */
6873 fun created (): OffsetDateTime = created.getRequired(" created" )
6974
@@ -183,6 +188,11 @@ private constructor(
183188 /* * Globally unique identifier for the card program on which the card exists. */
184189 @JsonProperty(" card_program_token" ) @ExcludeMissing fun _cardProgramToken () = cardProgramToken
185190
191+ /* * 3-digit alphabetic ISO 4217 code for the currency of the cardholder. */
192+ @JsonProperty(" cardholder_currency" )
193+ @ExcludeMissing
194+ fun _cardholderCurrency () = cardholderCurrency
195+
186196 /* * An RFC 3339 timestamp for when the card was created. UTC time zone. */
187197 @JsonProperty(" created" ) @ExcludeMissing fun _created () = created
188198
@@ -299,6 +309,7 @@ private constructor(
299309 accountToken()
300310 authRuleTokens()
301311 cardProgramToken()
312+ cardholderCurrency()
302313 created()
303314 cvv()
304315 digitalCardArtToken()
@@ -330,6 +341,7 @@ private constructor(
330341 this .accountToken == other.accountToken &&
331342 this .authRuleTokens == other.authRuleTokens &&
332343 this .cardProgramToken == other.cardProgramToken &&
344+ this .cardholderCurrency == other.cardholderCurrency &&
333345 this .created == other.created &&
334346 this .cvv == other.cvv &&
335347 this .digitalCardArtToken == other.digitalCardArtToken &&
@@ -356,6 +368,7 @@ private constructor(
356368 accountToken,
357369 authRuleTokens,
358370 cardProgramToken,
371+ cardholderCurrency,
359372 created,
360373 cvv,
361374 digitalCardArtToken,
@@ -379,7 +392,7 @@ private constructor(
379392 }
380393
381394 override fun toString () =
382- " Card{accountToken=$accountToken , authRuleTokens=$authRuleTokens , cardProgramToken=$cardProgramToken , created=$created , cvv=$cvv , digitalCardArtToken=$digitalCardArtToken , expMonth=$expMonth , expYear=$expYear , funding=$funding , hostname=$hostname , lastFour=$lastFour , memo=$memo , pan=$pan , productId=$productId , spendLimit=$spendLimit , spendLimitDuration=$spendLimitDuration , state=$state , token=$token , type=$type , additionalProperties=$additionalProperties }"
395+ " Card{accountToken=$accountToken , authRuleTokens=$authRuleTokens , cardProgramToken=$cardProgramToken , cardholderCurrency= $cardholderCurrency , created=$created , cvv=$cvv , digitalCardArtToken=$digitalCardArtToken , expMonth=$expMonth , expYear=$expYear , funding=$funding , hostname=$hostname , lastFour=$lastFour , memo=$memo , pan=$pan , productId=$productId , spendLimit=$spendLimit , spendLimitDuration=$spendLimitDuration , state=$state , token=$token , type=$type , additionalProperties=$additionalProperties }"
383396
384397 companion object {
385398
@@ -391,6 +404,7 @@ private constructor(
391404 private var accountToken: JsonField <String > = JsonMissing .of()
392405 private var authRuleTokens: JsonField <List <String >> = JsonMissing .of()
393406 private var cardProgramToken: JsonField <String > = JsonMissing .of()
407+ private var cardholderCurrency: JsonField <String > = JsonMissing .of()
394408 private var created: JsonField <OffsetDateTime > = JsonMissing .of()
395409 private var cvv: JsonField <String > = JsonMissing .of()
396410 private var digitalCardArtToken: JsonField <String > = JsonMissing .of()
@@ -414,6 +428,7 @@ private constructor(
414428 this .accountToken = card.accountToken
415429 this .authRuleTokens = card.authRuleTokens
416430 this .cardProgramToken = card.cardProgramToken
431+ this .cardholderCurrency = card.cardholderCurrency
417432 this .created = card.created
418433 this .cvv = card.cvv
419434 this .digitalCardArtToken = card.digitalCardArtToken
@@ -475,6 +490,17 @@ private constructor(
475490 this .cardProgramToken = cardProgramToken
476491 }
477492
493+ /* * 3-digit alphabetic ISO 4217 code for the currency of the cardholder. */
494+ fun cardholderCurrency (cardholderCurrency : String ) =
495+ cardholderCurrency(JsonField .of(cardholderCurrency))
496+
497+ /* * 3-digit alphabetic ISO 4217 code for the currency of the cardholder. */
498+ @JsonProperty(" cardholder_currency" )
499+ @ExcludeMissing
500+ fun cardholderCurrency (cardholderCurrency : JsonField <String >) = apply {
501+ this .cardholderCurrency = cardholderCurrency
502+ }
503+
478504 /* * An RFC 3339 timestamp for when the card was created. UTC time zone. */
479505 fun created (created : OffsetDateTime ) = created(JsonField .of(created))
480506
@@ -742,6 +768,7 @@ private constructor(
742768 accountToken,
743769 authRuleTokens.map { it.toUnmodifiable() },
744770 cardProgramToken,
771+ cardholderCurrency,
745772 created,
746773 cvv,
747774 digitalCardArtToken,
0 commit comments