@@ -35,6 +35,7 @@ private constructor(
3535 private val lastFour: JsonField <String >,
3636 private val memo: JsonField <String >,
3737 private val pan: JsonField <String >,
38+ private val productId: JsonField <String >,
3839 private val spendLimit: JsonField <Long >,
3940 private val spendLimitDuration: JsonField <SpendLimitDuration >,
4041 private val state: JsonField <State >,
@@ -100,6 +101,13 @@ private constructor(
100101 */
101102 fun pan (): Optional <String > = Optional .ofNullable(pan.getNullable(" pan" ))
102103
104+ /* *
105+ * Only applicable to cards of type `PHYSICAL`. This must be configured with Lithic before use.
106+ * Specifies the configuration (i.e., physical card art) that the card should be manufactured
107+ * with.
108+ */
109+ fun productId (): Optional <String > = Optional .ofNullable(productId.getNullable(" product_id" ))
110+
103111 /* *
104112 * Amount (in cents) to limit approved authorizations. Transaction requests above the spend
105113 * limit will be declined.
@@ -209,6 +217,13 @@ private constructor(
209217 */
210218 @JsonProperty(" pan" ) @ExcludeMissing fun _pan () = pan
211219
220+ /* *
221+ * Only applicable to cards of type `PHYSICAL`. This must be configured with Lithic before use.
222+ * Specifies the configuration (i.e., physical card art) that the card should be manufactured
223+ * with.
224+ */
225+ @JsonProperty(" product_id" ) @ExcludeMissing fun _productId () = productId
226+
212227 /* *
213228 * Amount (in cents) to limit approved authorizations. Transaction requests above the spend
214229 * limit will be declined.
@@ -285,6 +300,7 @@ private constructor(
285300 lastFour()
286301 memo()
287302 pan()
303+ productId()
288304 spendLimit()
289305 spendLimitDuration()
290306 state()
@@ -315,6 +331,7 @@ private constructor(
315331 this .lastFour == other.lastFour &&
316332 this .memo == other.memo &&
317333 this .pan == other.pan &&
334+ this .productId == other.productId &&
318335 this .spendLimit == other.spendLimit &&
319336 this .spendLimitDuration == other.spendLimitDuration &&
320337 this .state == other.state &&
@@ -340,6 +357,7 @@ private constructor(
340357 lastFour,
341358 memo,
342359 pan,
360+ productId,
343361 spendLimit,
344362 spendLimitDuration,
345363 state,
@@ -352,7 +370,7 @@ private constructor(
352370 }
353371
354372 override fun toString () =
355- " 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 , spendLimit=$spendLimit , spendLimitDuration=$spendLimitDuration , state=$state , token=$token , type=$type , additionalProperties=$additionalProperties }"
373+ " 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 }"
356374
357375 companion object {
358376
@@ -374,6 +392,7 @@ private constructor(
374392 private var lastFour: JsonField <String > = JsonMissing .of()
375393 private var memo: JsonField <String > = JsonMissing .of()
376394 private var pan: JsonField <String > = JsonMissing .of()
395+ private var productId: JsonField <String > = JsonMissing .of()
377396 private var spendLimit: JsonField <Long > = JsonMissing .of()
378397 private var spendLimitDuration: JsonField <SpendLimitDuration > = JsonMissing .of()
379398 private var state: JsonField <State > = JsonMissing .of()
@@ -396,6 +415,7 @@ private constructor(
396415 this .lastFour = card.lastFour
397416 this .memo = card.memo
398417 this .pan = card.pan
418+ this .productId = card.productId
399419 this .spendLimit = card.spendLimit
400420 this .spendLimitDuration = card.spendLimitDuration
401421 this .state = card.state
@@ -543,6 +563,22 @@ private constructor(
543563 @ExcludeMissing
544564 fun pan (pan : JsonField <String >) = apply { this .pan = pan }
545565
566+ /* *
567+ * Only applicable to cards of type `PHYSICAL`. This must be configured with Lithic before
568+ * use. Specifies the configuration (i.e., physical card art) that the card should be
569+ * manufactured with.
570+ */
571+ fun productId (productId : String ) = productId(JsonField .of(productId))
572+
573+ /* *
574+ * Only applicable to cards of type `PHYSICAL`. This must be configured with Lithic before
575+ * use. Specifies the configuration (i.e., physical card art) that the card should be
576+ * manufactured with.
577+ */
578+ @JsonProperty(" product_id" )
579+ @ExcludeMissing
580+ fun productId (productId : JsonField <String >) = apply { this .productId = productId }
581+
546582 /* *
547583 * Amount (in cents) to limit approved authorizations. Transaction requests above the spend
548584 * limit will be declined.
@@ -699,6 +735,7 @@ private constructor(
699735 lastFour,
700736 memo,
701737 pan,
738+ productId,
702739 spendLimit,
703740 spendLimitDuration,
704741 state,
0 commit comments