@@ -5,7 +5,7 @@ import com.lithic.api.core.toUnmodifiable
55import com.lithic.api.models.*
66import java.util.Objects
77
8- class ThreeDAuthenticationRetrieveParams
8+ class ThreeDSAuthenticationRetrieveParams
99constructor (
1010 private val threeDSAuthenticationToken: String ,
1111 private val additionalQueryParams: Map <String , List <String >>,
@@ -34,7 +34,7 @@ constructor(
3434 return true
3535 }
3636
37- return other is ThreeDAuthenticationRetrieveParams &&
37+ return other is ThreeDSAuthenticationRetrieveParams &&
3838 this .threeDSAuthenticationToken == other.threeDSAuthenticationToken &&
3939 this .additionalQueryParams == other.additionalQueryParams &&
4040 this .additionalHeaders == other.additionalHeaders
@@ -49,7 +49,7 @@ constructor(
4949 }
5050
5151 override fun toString () =
52- " ThreeDAuthenticationRetrieveParams {threeDSAuthenticationToken=$threeDSAuthenticationToken , additionalQueryParams=$additionalQueryParams , additionalHeaders=$additionalHeaders }"
52+ " ThreeDSAuthenticationRetrieveParams {threeDSAuthenticationToken=$threeDSAuthenticationToken , additionalQueryParams=$additionalQueryParams , additionalHeaders=$additionalHeaders }"
5353
5454 fun toBuilder () = Builder ().from(this )
5555
@@ -66,13 +66,14 @@ constructor(
6666 private var additionalHeaders: MutableMap <String , MutableList <String >> = mutableMapOf ()
6767
6868 @JvmSynthetic
69- internal fun from (threeDAuthenticationRetrieveParams : ThreeDAuthenticationRetrieveParams ) =
70- apply {
71- this .threeDSAuthenticationToken =
72- threeDAuthenticationRetrieveParams.threeDSAuthenticationToken
73- additionalQueryParams(threeDAuthenticationRetrieveParams.additionalQueryParams)
74- additionalHeaders(threeDAuthenticationRetrieveParams.additionalHeaders)
75- }
69+ internal fun from (
70+ threeDSAuthenticationRetrieveParams : ThreeDSAuthenticationRetrieveParams
71+ ) = apply {
72+ this .threeDSAuthenticationToken =
73+ threeDSAuthenticationRetrieveParams.threeDSAuthenticationToken
74+ additionalQueryParams(threeDSAuthenticationRetrieveParams.additionalQueryParams)
75+ additionalHeaders(threeDSAuthenticationRetrieveParams.additionalHeaders)
76+ }
7677
7778 fun threeDSAuthenticationToken (threeDSAuthenticationToken : String ) = apply {
7879 this .threeDSAuthenticationToken = threeDSAuthenticationToken
@@ -118,8 +119,8 @@ constructor(
118119
119120 fun removeHeader (name : String ) = apply { this .additionalHeaders.put(name, mutableListOf ()) }
120121
121- fun build (): ThreeDAuthenticationRetrieveParams =
122- ThreeDAuthenticationRetrieveParams (
122+ fun build (): ThreeDSAuthenticationRetrieveParams =
123+ ThreeDSAuthenticationRetrieveParams (
123124 checkNotNull(threeDSAuthenticationToken) {
124125 " `threeDSAuthenticationToken` is required but was not set"
125126 },
0 commit comments