@@ -5,23 +5,21 @@ import com.mercadopago.sdk.android.threeds.data.model.ThreeDSAuthRequestParamete
55import com.mercadopago.sdk.android.threeds.domain.model.MPThreeDSAuthenticationModel
66import com.mercadopago.sdk.android.threeds.domain.model.params.MPThreeDSRequestParams
77
8- internal fun ThreeDSAuthRequestParameters.toModel (): MPThreeDSRequestParams {
9- return MPThreeDSRequestParams (
8+ internal fun ThreeDSAuthRequestParameters.toModel (): MPThreeDSRequestParams =
9+ MPThreeDSRequestParams (
1010 sdkAppId = this .sdkAppId,
1111 deviceData = this .deviceData,
1212 sdkEphemeralPublicKey = this .sdkEphemeralPublicKey,
1313 sdkReferenceNumber = this .sdkReferenceNumber,
1414 sdkTransactionId = this .sdkTransactionId,
1515 )
16- }
1716
18- internal fun MPThreeDSAuthenticationModel.toParams (): MPThreeDSAuthenticationParams {
19- return MPThreeDSAuthenticationParams (
17+ internal fun MPThreeDSAuthenticationModel.toParams (): MPThreeDSAuthenticationParams =
18+ MPThreeDSAuthenticationParams (
2019 response = this .response,
2120 threeDSServerTransID = this .threeDSServerTransID,
2221 acsReferenceNumber = this .acsReferenceNumber,
2322 dsTransID = this .dsTransID,
2423 acsTransID = this .acsTransID,
2524 acsSignedContent = this .acsSignedContent,
2625 )
27- }
0 commit comments