@@ -21,7 +21,6 @@ import java.util.Optional
2121class CardUpdateParams
2222constructor (
2323 private val cardToken: String ,
24- private val authRuleToken: String? ,
2524 private val digitalCardArtToken: String? ,
2625 private val memo: String? ,
2726 private val pin: String? ,
@@ -35,8 +34,6 @@ constructor(
3534
3635 fun cardToken (): String = cardToken
3736
38- fun authRuleToken (): Optional <String > = Optional .ofNullable(authRuleToken)
39-
4037 fun digitalCardArtToken (): Optional <String > = Optional .ofNullable(digitalCardArtToken)
4138
4239 fun memo (): Optional <String > = Optional .ofNullable(memo)
@@ -52,7 +49,6 @@ constructor(
5249 @JvmSynthetic
5350 internal fun getBody (): CardUpdateBody {
5451 return CardUpdateBody (
55- authRuleToken,
5652 digitalCardArtToken,
5753 memo,
5854 pin,
@@ -78,7 +74,6 @@ constructor(
7874 @NoAutoDetect
7975 class CardUpdateBody
8076 internal constructor (
81- private val authRuleToken: String? ,
8277 private val digitalCardArtToken: String? ,
8378 private val memo: String? ,
8479 private val pin: String? ,
@@ -90,12 +85,6 @@ constructor(
9085
9186 private var hashCode: Int = 0
9287
93- /* *
94- * Identifier for any Auth Rules that will be applied to transactions taking place with the
95- * card.
96- */
97- @JsonProperty(" auth_rule_token" ) fun authRuleToken (): String? = authRuleToken
98-
9988 /* *
10089 * Specifies the digital card art to be displayed in the user’s digital wallet after
10190 * tokenization. This artwork must be approved by Mastercard and configured by Lithic to
@@ -161,7 +150,6 @@ constructor(
161150 }
162151
163152 return other is CardUpdateBody &&
164- this .authRuleToken == other.authRuleToken &&
165153 this .digitalCardArtToken == other.digitalCardArtToken &&
166154 this .memo == other.memo &&
167155 this .pin == other.pin &&
@@ -175,7 +163,6 @@ constructor(
175163 if (hashCode == 0 ) {
176164 hashCode =
177165 Objects .hash(
178- authRuleToken,
179166 digitalCardArtToken,
180167 memo,
181168 pin,
@@ -189,7 +176,7 @@ constructor(
189176 }
190177
191178 override fun toString () =
192- " CardUpdateBody{authRuleToken= $authRuleToken , digitalCardArtToken=$digitalCardArtToken , memo=$memo , pin=$pin , spendLimit=$spendLimit , spendLimitDuration=$spendLimitDuration , state=$state , additionalProperties=$additionalProperties }"
179+ " CardUpdateBody{digitalCardArtToken=$digitalCardArtToken , memo=$memo , pin=$pin , spendLimit=$spendLimit , spendLimitDuration=$spendLimitDuration , state=$state , additionalProperties=$additionalProperties }"
193180
194181 companion object {
195182
@@ -198,7 +185,6 @@ constructor(
198185
199186 class Builder {
200187
201- private var authRuleToken: String? = null
202188 private var digitalCardArtToken: String? = null
203189 private var memo: String? = null
204190 private var pin: String? = null
@@ -209,7 +195,6 @@ constructor(
209195
210196 @JvmSynthetic
211197 internal fun from (cardUpdateBody : CardUpdateBody ) = apply {
212- this .authRuleToken = cardUpdateBody.authRuleToken
213198 this .digitalCardArtToken = cardUpdateBody.digitalCardArtToken
214199 this .memo = cardUpdateBody.memo
215200 this .pin = cardUpdateBody.pin
@@ -219,13 +204,6 @@ constructor(
219204 additionalProperties(cardUpdateBody.additionalProperties)
220205 }
221206
222- /* *
223- * Identifier for any Auth Rules that will be applied to transactions taking place with
224- * the card.
225- */
226- @JsonProperty(" auth_rule_token" )
227- fun authRuleToken (authRuleToken : String ) = apply { this .authRuleToken = authRuleToken }
228-
229207 /* *
230208 * Specifies the digital card art to be displayed in the user’s digital wallet after
231209 * tokenization. This artwork must be approved by Mastercard and configured by Lithic to
@@ -303,7 +281,6 @@ constructor(
303281
304282 fun build (): CardUpdateBody =
305283 CardUpdateBody (
306- authRuleToken,
307284 digitalCardArtToken,
308285 memo,
309286 pin,
@@ -328,7 +305,6 @@ constructor(
328305
329306 return other is CardUpdateParams &&
330307 this .cardToken == other.cardToken &&
331- this .authRuleToken == other.authRuleToken &&
332308 this .digitalCardArtToken == other.digitalCardArtToken &&
333309 this .memo == other.memo &&
334310 this .pin == other.pin &&
@@ -343,7 +319,6 @@ constructor(
343319 override fun hashCode (): Int {
344320 return Objects .hash(
345321 cardToken,
346- authRuleToken,
347322 digitalCardArtToken,
348323 memo,
349324 pin,
@@ -357,7 +332,7 @@ constructor(
357332 }
358333
359334 override fun toString () =
360- " CardUpdateParams{cardToken=$cardToken , authRuleToken= $authRuleToken , digitalCardArtToken=$digitalCardArtToken , memo=$memo , pin=$pin , spendLimit=$spendLimit , spendLimitDuration=$spendLimitDuration , state=$state , additionalQueryParams=$additionalQueryParams , additionalHeaders=$additionalHeaders , additionalBodyProperties=$additionalBodyProperties }"
335+ " CardUpdateParams{cardToken=$cardToken , digitalCardArtToken=$digitalCardArtToken , memo=$memo , pin=$pin , spendLimit=$spendLimit , spendLimitDuration=$spendLimitDuration , state=$state , additionalQueryParams=$additionalQueryParams , additionalHeaders=$additionalHeaders , additionalBodyProperties=$additionalBodyProperties }"
361336
362337 fun toBuilder () = Builder ().from(this )
363338
@@ -370,7 +345,6 @@ constructor(
370345 class Builder {
371346
372347 private var cardToken: String? = null
373- private var authRuleToken: String? = null
374348 private var digitalCardArtToken: String? = null
375349 private var memo: String? = null
376350 private var pin: String? = null
@@ -384,7 +358,6 @@ constructor(
384358 @JvmSynthetic
385359 internal fun from (cardUpdateParams : CardUpdateParams ) = apply {
386360 this .cardToken = cardUpdateParams.cardToken
387- this .authRuleToken = cardUpdateParams.authRuleToken
388361 this .digitalCardArtToken = cardUpdateParams.digitalCardArtToken
389362 this .memo = cardUpdateParams.memo
390363 this .pin = cardUpdateParams.pin
@@ -398,12 +371,6 @@ constructor(
398371
399372 fun cardToken (cardToken : String ) = apply { this .cardToken = cardToken }
400373
401- /* *
402- * Identifier for any Auth Rules that will be applied to transactions taking place with the
403- * card.
404- */
405- fun authRuleToken (authRuleToken : String ) = apply { this .authRuleToken = authRuleToken }
406-
407374 /* *
408375 * Specifies the digital card art to be displayed in the user’s digital wallet after
409376 * tokenization. This artwork must be approved by Mastercard and configured by Lithic to
@@ -516,7 +483,6 @@ constructor(
516483 fun build (): CardUpdateParams =
517484 CardUpdateParams (
518485 checkNotNull(cardToken) { " `cardToken` is required but was not set" },
519- authRuleToken,
520486 digitalCardArtToken,
521487 memo,
522488 pin,
0 commit comments