diff --git a/example/build.gradle b/example/build.gradle index cc635fb0b0e..74f9ef04274 100644 --- a/example/build.gradle +++ b/example/build.gradle @@ -1,8 +1,8 @@ plugins { id 'com.android.application' id 'kotlin-android' - id 'kotlin-android-extensions' id 'checkstyle' + id 'org.jetbrains.kotlin.plugin.parcelize' } assemble.dependsOn('lint') @@ -167,10 +167,6 @@ android { } } -androidExtensions { - features = [] -} - task ktlint(type: JavaExec, group: "verification") { description = "Check Kotlin code style." main = "com.pinterest.ktlint.Main" diff --git a/stripe/build.gradle b/stripe/build.gradle index 804ae150377..82013d3ff44 100644 --- a/stripe/build.gradle +++ b/stripe/build.gradle @@ -1,9 +1,9 @@ plugins { id 'com.android.library' id 'kotlin-android' - id 'kotlin-android-extensions' id 'checkstyle' id 'org.jetbrains.dokka' + id 'org.jetbrains.kotlin.plugin.parcelize' id 'maven' id 'signing' @@ -127,11 +127,6 @@ android { } } -androidExtensions { - features = ['parcelize'] - experimental = true -} - task ktlint(type: JavaExec, group: "verification") { description = "Check Kotlin code style." main = "com.pinterest.ktlint.Main" diff --git a/stripe/src/main/java/com/stripe/android/AppInfo.kt b/stripe/src/main/java/com/stripe/android/AppInfo.kt index 1ffbf59d8c5..6a907afdc8c 100644 --- a/stripe/src/main/java/com/stripe/android/AppInfo.kt +++ b/stripe/src/main/java/com/stripe/android/AppInfo.kt @@ -1,7 +1,7 @@ package com.stripe.android import android.os.Parcelable -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * Data for identifying your plug-in or library. diff --git a/stripe/src/main/java/com/stripe/android/EphemeralKey.kt b/stripe/src/main/java/com/stripe/android/EphemeralKey.kt index b629a2451ee..bef25e9f7fa 100644 --- a/stripe/src/main/java/com/stripe/android/EphemeralKey.kt +++ b/stripe/src/main/java/com/stripe/android/EphemeralKey.kt @@ -1,7 +1,7 @@ package com.stripe.android import com.stripe.android.model.StripeModel -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * Represents an Ephemeral Key that can be used temporarily for API operations that typically diff --git a/stripe/src/main/java/com/stripe/android/EphemeralOperation.kt b/stripe/src/main/java/com/stripe/android/EphemeralOperation.kt index bb633974e7d..6608f95a7d5 100644 --- a/stripe/src/main/java/com/stripe/android/EphemeralOperation.kt +++ b/stripe/src/main/java/com/stripe/android/EphemeralOperation.kt @@ -4,7 +4,7 @@ import android.os.Parcelable import com.stripe.android.model.PaymentMethod import com.stripe.android.model.ShippingInformation import com.stripe.android.model.Source -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize internal sealed class EphemeralOperation : Parcelable { internal abstract val id: String diff --git a/stripe/src/main/java/com/stripe/android/FingerprintData.kt b/stripe/src/main/java/com/stripe/android/FingerprintData.kt index fff22ca7ab7..c22905a6b3e 100644 --- a/stripe/src/main/java/com/stripe/android/FingerprintData.kt +++ b/stripe/src/main/java/com/stripe/android/FingerprintData.kt @@ -1,7 +1,7 @@ package com.stripe.android import com.stripe.android.model.StripeModel -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import org.json.JSONObject import java.util.concurrent.TimeUnit diff --git a/stripe/src/main/java/com/stripe/android/GooglePayJsonFactory.kt b/stripe/src/main/java/com/stripe/android/GooglePayJsonFactory.kt index 36a5cb9fa81..fd3bed02a14 100644 --- a/stripe/src/main/java/com/stripe/android/GooglePayJsonFactory.kt +++ b/stripe/src/main/java/com/stripe/android/GooglePayJsonFactory.kt @@ -2,7 +2,7 @@ package com.stripe.android import android.content.Context import android.os.Parcelable -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import org.json.JSONArray import org.json.JSONObject import java.util.Currency diff --git a/stripe/src/main/java/com/stripe/android/PaymentAuthWebViewStarter.kt b/stripe/src/main/java/com/stripe/android/PaymentAuthWebViewStarter.kt index 5bf112c25e4..dba6b09070e 100644 --- a/stripe/src/main/java/com/stripe/android/PaymentAuthWebViewStarter.kt +++ b/stripe/src/main/java/com/stripe/android/PaymentAuthWebViewStarter.kt @@ -5,7 +5,7 @@ import androidx.core.os.bundleOf import com.stripe.android.stripe3ds2.init.ui.StripeToolbarCustomization import com.stripe.android.view.AuthActivityStarter import com.stripe.android.view.PaymentAuthWebViewActivity -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * A class that manages starting a [PaymentAuthWebViewActivity] instance with the correct diff --git a/stripe/src/main/java/com/stripe/android/PaymentConfiguration.kt b/stripe/src/main/java/com/stripe/android/PaymentConfiguration.kt index a86428308b4..81bfa3c1aaa 100644 --- a/stripe/src/main/java/com/stripe/android/PaymentConfiguration.kt +++ b/stripe/src/main/java/com/stripe/android/PaymentConfiguration.kt @@ -3,7 +3,7 @@ package com.stripe.android import android.content.Context import android.content.SharedPreferences import android.os.Parcelable -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize @Parcelize data class PaymentConfiguration internal constructor( diff --git a/stripe/src/main/java/com/stripe/android/PaymentController.kt b/stripe/src/main/java/com/stripe/android/PaymentController.kt index 2823d222fe5..73d811d2590 100644 --- a/stripe/src/main/java/com/stripe/android/PaymentController.kt +++ b/stripe/src/main/java/com/stripe/android/PaymentController.kt @@ -10,8 +10,8 @@ import com.stripe.android.model.Source import com.stripe.android.model.StripeIntent import com.stripe.android.networking.ApiRequest import com.stripe.android.view.AuthActivityStarter -import kotlinx.android.parcel.Parceler -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parceler +import kotlinx.parcelize.Parcelize internal interface PaymentController { /** diff --git a/stripe/src/main/java/com/stripe/android/PaymentIntentResult.kt b/stripe/src/main/java/com/stripe/android/PaymentIntentResult.kt index 5decba9dd16..109bd64142e 100644 --- a/stripe/src/main/java/com/stripe/android/PaymentIntentResult.kt +++ b/stripe/src/main/java/com/stripe/android/PaymentIntentResult.kt @@ -1,7 +1,7 @@ package com.stripe.android import com.stripe.android.model.PaymentIntent -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * A model representing the result of a [PaymentIntent] confirmation via [Stripe.confirmPayment] diff --git a/stripe/src/main/java/com/stripe/android/PaymentRelayStarter.kt b/stripe/src/main/java/com/stripe/android/PaymentRelayStarter.kt index 4b2ec29b174..e623058ef8e 100644 --- a/stripe/src/main/java/com/stripe/android/PaymentRelayStarter.kt +++ b/stripe/src/main/java/com/stripe/android/PaymentRelayStarter.kt @@ -9,8 +9,8 @@ import com.stripe.android.model.Source import com.stripe.android.model.StripeIntent import com.stripe.android.view.AuthActivityStarter import com.stripe.android.view.PaymentRelayActivity -import kotlinx.android.parcel.Parceler -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parceler +import kotlinx.parcelize.Parcelize /** * Starts an instance of [PaymentRelayStarter]. diff --git a/stripe/src/main/java/com/stripe/android/PaymentSessionConfig.kt b/stripe/src/main/java/com/stripe/android/PaymentSessionConfig.kt index 9be4e139ddd..26a65865a05 100644 --- a/stripe/src/main/java/com/stripe/android/PaymentSessionConfig.kt +++ b/stripe/src/main/java/com/stripe/android/PaymentSessionConfig.kt @@ -14,7 +14,7 @@ import com.stripe.android.view.PaymentMethodsActivity import com.stripe.android.view.SelectShippingMethodWidget import com.stripe.android.view.ShippingInfoWidget import com.stripe.android.view.ShippingInfoWidget.CustomizableShippingField -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import java.io.Serializable import java.util.Locale diff --git a/stripe/src/main/java/com/stripe/android/PaymentSessionData.kt b/stripe/src/main/java/com/stripe/android/PaymentSessionData.kt index bff86a5f228..e18f8d5c170 100644 --- a/stripe/src/main/java/com/stripe/android/PaymentSessionData.kt +++ b/stripe/src/main/java/com/stripe/android/PaymentSessionData.kt @@ -4,7 +4,7 @@ import android.os.Parcelable import com.stripe.android.model.PaymentMethod import com.stripe.android.model.ShippingInformation import com.stripe.android.model.ShippingMethod -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * A data class representing the state of the associated [PaymentSession]. diff --git a/stripe/src/main/java/com/stripe/android/SetupIntentResult.kt b/stripe/src/main/java/com/stripe/android/SetupIntentResult.kt index dc373eff64f..5f978e72101 100644 --- a/stripe/src/main/java/com/stripe/android/SetupIntentResult.kt +++ b/stripe/src/main/java/com/stripe/android/SetupIntentResult.kt @@ -1,7 +1,7 @@ package com.stripe.android import com.stripe.android.model.SetupIntent -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * A model representing the result of a [SetupIntent] confirmation via [Stripe.confirmSetupIntent] diff --git a/stripe/src/main/java/com/stripe/android/StripeError.kt b/stripe/src/main/java/com/stripe/android/StripeError.kt index b091a3963e9..a647ebe8d99 100644 --- a/stripe/src/main/java/com/stripe/android/StripeError.kt +++ b/stripe/src/main/java/com/stripe/android/StripeError.kt @@ -1,7 +1,7 @@ package com.stripe.android import com.stripe.android.model.StripeModel -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import java.io.Serializable /** diff --git a/stripe/src/main/java/com/stripe/android/cards/Bin.kt b/stripe/src/main/java/com/stripe/android/cards/Bin.kt index 9fc4146749b..eb0b29e121c 100644 --- a/stripe/src/main/java/com/stripe/android/cards/Bin.kt +++ b/stripe/src/main/java/com/stripe/android/cards/Bin.kt @@ -1,7 +1,7 @@ package com.stripe.android.cards import com.stripe.android.model.StripeModel -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize @Parcelize internal data class Bin internal constructor( diff --git a/stripe/src/main/java/com/stripe/android/model/AccountParams.kt b/stripe/src/main/java/com/stripe/android/model/AccountParams.kt index 4f7ec45007a..5b11f20abee 100644 --- a/stripe/src/main/java/com/stripe/android/model/AccountParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/AccountParams.kt @@ -2,7 +2,7 @@ package com.stripe.android.model import android.os.Parcelable import com.stripe.android.ObjectBuilder -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * [Create an account token](https://stripe.com/docs/api/tokens/create_account) diff --git a/stripe/src/main/java/com/stripe/android/model/AccountRange.kt b/stripe/src/main/java/com/stripe/android/model/AccountRange.kt index 6c2e797024a..228fd6f119e 100644 --- a/stripe/src/main/java/com/stripe/android/model/AccountRange.kt +++ b/stripe/src/main/java/com/stripe/android/model/AccountRange.kt @@ -1,6 +1,6 @@ package com.stripe.android.model -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize @Parcelize internal data class AccountRange internal constructor( diff --git a/stripe/src/main/java/com/stripe/android/model/Address.kt b/stripe/src/main/java/com/stripe/android/model/Address.kt index 9412ae2a88d..ca79a59c852 100644 --- a/stripe/src/main/java/com/stripe/android/model/Address.kt +++ b/stripe/src/main/java/com/stripe/android/model/Address.kt @@ -2,7 +2,7 @@ package com.stripe.android.model import com.stripe.android.ObjectBuilder import com.stripe.android.model.parsers.AddressJsonParser -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import org.json.JSONObject import java.util.Locale diff --git a/stripe/src/main/java/com/stripe/android/model/AddressJapanParams.kt b/stripe/src/main/java/com/stripe/android/model/AddressJapanParams.kt index 1472a79302c..7c78985d69b 100644 --- a/stripe/src/main/java/com/stripe/android/model/AddressJapanParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/AddressJapanParams.kt @@ -2,7 +2,7 @@ package com.stripe.android.model import android.os.Parcelable import com.stripe.android.ObjectBuilder -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import java.util.Locale @Parcelize diff --git a/stripe/src/main/java/com/stripe/android/model/AlipayAuthResult.kt b/stripe/src/main/java/com/stripe/android/model/AlipayAuthResult.kt index 03c6d715220..435223be5e2 100644 --- a/stripe/src/main/java/com/stripe/android/model/AlipayAuthResult.kt +++ b/stripe/src/main/java/com/stripe/android/model/AlipayAuthResult.kt @@ -1,7 +1,7 @@ package com.stripe.android.model import com.stripe.android.StripeIntentResult -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize @Parcelize internal data class AlipayAuthResult( diff --git a/stripe/src/main/java/com/stripe/android/model/BankAccount.kt b/stripe/src/main/java/com/stripe/android/model/BankAccount.kt index 503b20ed35a..d0558db8341 100644 --- a/stripe/src/main/java/com/stripe/android/model/BankAccount.kt +++ b/stripe/src/main/java/com/stripe/android/model/BankAccount.kt @@ -1,7 +1,7 @@ package com.stripe.android.model import androidx.annotation.Size -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * [The bank account object](https://stripe.com/docs/api/customer_bank_accounts/object) diff --git a/stripe/src/main/java/com/stripe/android/model/BankAccountTokenParams.kt b/stripe/src/main/java/com/stripe/android/model/BankAccountTokenParams.kt index fef1f5fe9b7..c4b41efeb6b 100644 --- a/stripe/src/main/java/com/stripe/android/model/BankAccountTokenParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/BankAccountTokenParams.kt @@ -1,6 +1,6 @@ package com.stripe.android.model -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * [Create a bank account token](https://stripe.com/docs/api/tokens/create_bank_account) diff --git a/stripe/src/main/java/com/stripe/android/model/BinRange.kt b/stripe/src/main/java/com/stripe/android/model/BinRange.kt index 3b70db0b8fa..f86686e892b 100644 --- a/stripe/src/main/java/com/stripe/android/model/BinRange.kt +++ b/stripe/src/main/java/com/stripe/android/model/BinRange.kt @@ -1,7 +1,7 @@ package com.stripe.android.model import com.stripe.android.cards.CardNumber -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize @Parcelize internal data class BinRange( diff --git a/stripe/src/main/java/com/stripe/android/model/Card.kt b/stripe/src/main/java/com/stripe/android/model/Card.kt index 4aec3f3c176..9134afd1027 100644 --- a/stripe/src/main/java/com/stripe/android/model/Card.kt +++ b/stripe/src/main/java/com/stripe/android/model/Card.kt @@ -5,7 +5,7 @@ import androidx.annotation.Size import com.stripe.android.CardUtils import com.stripe.android.ObjectBuilder import com.stripe.android.model.parsers.CardJsonParser -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import org.json.JSONObject import java.util.Calendar diff --git a/stripe/src/main/java/com/stripe/android/model/CardMetadata.kt b/stripe/src/main/java/com/stripe/android/model/CardMetadata.kt index 956a62ec6c3..d8e85eb7dce 100644 --- a/stripe/src/main/java/com/stripe/android/model/CardMetadata.kt +++ b/stripe/src/main/java/com/stripe/android/model/CardMetadata.kt @@ -1,7 +1,7 @@ package com.stripe.android.model import com.stripe.android.cards.Bin -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize @Parcelize internal data class CardMetadata internal constructor( diff --git a/stripe/src/main/java/com/stripe/android/model/CardParams.kt b/stripe/src/main/java/com/stripe/android/model/CardParams.kt index 6ebbf819ab9..28f4b71445f 100644 --- a/stripe/src/main/java/com/stripe/android/model/CardParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/CardParams.kt @@ -1,6 +1,6 @@ package com.stripe.android.model -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * [Create a card token](https://stripe.com/docs/api/tokens/create_card) diff --git a/stripe/src/main/java/com/stripe/android/model/ConfirmPaymentIntentParams.kt b/stripe/src/main/java/com/stripe/android/model/ConfirmPaymentIntentParams.kt index 3137a299c5a..d4b9a36eb26 100644 --- a/stripe/src/main/java/com/stripe/android/model/ConfirmPaymentIntentParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/ConfirmPaymentIntentParams.kt @@ -10,7 +10,7 @@ import com.stripe.android.model.ConfirmStripeIntentParams.Companion.PARAM_PAYMEN import com.stripe.android.model.ConfirmStripeIntentParams.Companion.PARAM_PAYMENT_METHOD_ID import com.stripe.android.model.ConfirmStripeIntentParams.Companion.PARAM_RETURN_URL import com.stripe.android.model.ConfirmStripeIntentParams.Companion.PARAM_USE_STRIPE_SDK -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * Model representing parameters for [confirming a PaymentIntent](https://stripe.com/docs/api/payment_intents/confirm). diff --git a/stripe/src/main/java/com/stripe/android/model/ConfirmSetupIntentParams.kt b/stripe/src/main/java/com/stripe/android/model/ConfirmSetupIntentParams.kt index def71e73381..4ca2cb3b668 100644 --- a/stripe/src/main/java/com/stripe/android/model/ConfirmSetupIntentParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/ConfirmSetupIntentParams.kt @@ -8,7 +8,7 @@ import com.stripe.android.model.ConfirmStripeIntentParams.Companion.PARAM_PAYMEN import com.stripe.android.model.ConfirmStripeIntentParams.Companion.PARAM_PAYMENT_METHOD_ID import com.stripe.android.model.ConfirmStripeIntentParams.Companion.PARAM_RETURN_URL import com.stripe.android.model.ConfirmStripeIntentParams.Companion.PARAM_USE_STRIPE_SDK -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * Model representing parameters for [confirming a SetupIntent](https://stripe.com/docs/api/setup_intents/confirm). diff --git a/stripe/src/main/java/com/stripe/android/model/Customer.kt b/stripe/src/main/java/com/stripe/android/model/Customer.kt index b3e35ec8450..bac3e52106c 100644 --- a/stripe/src/main/java/com/stripe/android/model/Customer.kt +++ b/stripe/src/main/java/com/stripe/android/model/Customer.kt @@ -1,7 +1,7 @@ package com.stripe.android.model import com.stripe.android.model.parsers.CustomerJsonParser -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import org.json.JSONObject /** diff --git a/stripe/src/main/java/com/stripe/android/model/CustomerSource.kt b/stripe/src/main/java/com/stripe/android/model/CustomerSource.kt index 4893a47a51a..fbd0af69f90 100644 --- a/stripe/src/main/java/com/stripe/android/model/CustomerSource.kt +++ b/stripe/src/main/java/com/stripe/android/model/CustomerSource.kt @@ -1,6 +1,6 @@ package com.stripe.android.model -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * Model of the "data" object inside a [Customer] "source" object. diff --git a/stripe/src/main/java/com/stripe/android/model/CvcTokenParams.kt b/stripe/src/main/java/com/stripe/android/model/CvcTokenParams.kt index 41a07d48bfb..6d3dca2ad7d 100644 --- a/stripe/src/main/java/com/stripe/android/model/CvcTokenParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/CvcTokenParams.kt @@ -1,6 +1,6 @@ package com.stripe.android.model -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize @Parcelize data class CvcTokenParams( diff --git a/stripe/src/main/java/com/stripe/android/model/DateOfBirth.kt b/stripe/src/main/java/com/stripe/android/model/DateOfBirth.kt index d0f2302b56f..68aa69417c1 100644 --- a/stripe/src/main/java/com/stripe/android/model/DateOfBirth.kt +++ b/stripe/src/main/java/com/stripe/android/model/DateOfBirth.kt @@ -1,7 +1,7 @@ package com.stripe.android.model import android.os.Parcelable -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize @Parcelize data class DateOfBirth( diff --git a/stripe/src/main/java/com/stripe/android/model/FpxBankStatuses.kt b/stripe/src/main/java/com/stripe/android/model/FpxBankStatuses.kt index c025c3d1a0a..3465b0a3ddb 100644 --- a/stripe/src/main/java/com/stripe/android/model/FpxBankStatuses.kt +++ b/stripe/src/main/java/com/stripe/android/model/FpxBankStatuses.kt @@ -1,7 +1,7 @@ package com.stripe.android.model import com.stripe.android.view.FpxBank -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import org.jetbrains.annotations.TestOnly @Parcelize diff --git a/stripe/src/main/java/com/stripe/android/model/GooglePayResult.kt b/stripe/src/main/java/com/stripe/android/model/GooglePayResult.kt index f4e36789584..52dbf2c7aa0 100644 --- a/stripe/src/main/java/com/stripe/android/model/GooglePayResult.kt +++ b/stripe/src/main/java/com/stripe/android/model/GooglePayResult.kt @@ -3,7 +3,7 @@ package com.stripe.android.model import android.os.Parcelable import com.stripe.android.model.StripeJsonUtils.optString import com.stripe.android.model.parsers.TokenJsonParser -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import org.json.JSONException import org.json.JSONObject diff --git a/stripe/src/main/java/com/stripe/android/model/IssuingCardPin.kt b/stripe/src/main/java/com/stripe/android/model/IssuingCardPin.kt index 4e7ad14ec1c..bc444af7076 100644 --- a/stripe/src/main/java/com/stripe/android/model/IssuingCardPin.kt +++ b/stripe/src/main/java/com/stripe/android/model/IssuingCardPin.kt @@ -1,6 +1,6 @@ package com.stripe.android.model -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize @Parcelize data class IssuingCardPin( diff --git a/stripe/src/main/java/com/stripe/android/model/KlarnaSourceParams.kt b/stripe/src/main/java/com/stripe/android/model/KlarnaSourceParams.kt index be677eda2b7..dcaca12a4a8 100644 --- a/stripe/src/main/java/com/stripe/android/model/KlarnaSourceParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/KlarnaSourceParams.kt @@ -2,7 +2,7 @@ package com.stripe.android.model import android.os.Parcelable import com.stripe.android.model.KlarnaSourceParams.LineItem -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * Model representing parameters for creating a Klarna Source. diff --git a/stripe/src/main/java/com/stripe/android/model/ListPaymentMethodsParams.kt b/stripe/src/main/java/com/stripe/android/model/ListPaymentMethodsParams.kt index e176f985d10..ac2015ca6e2 100644 --- a/stripe/src/main/java/com/stripe/android/model/ListPaymentMethodsParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/ListPaymentMethodsParams.kt @@ -1,7 +1,7 @@ package com.stripe.android.model import android.os.Parcelable -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize @Parcelize internal data class ListPaymentMethodsParams( diff --git a/stripe/src/main/java/com/stripe/android/model/MandateDataParams.kt b/stripe/src/main/java/com/stripe/android/model/MandateDataParams.kt index 0106a187ef0..ac6ee51c2f5 100644 --- a/stripe/src/main/java/com/stripe/android/model/MandateDataParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/MandateDataParams.kt @@ -1,7 +1,7 @@ package com.stripe.android.model import android.os.Parcelable -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * Mandate Data parameters for diff --git a/stripe/src/main/java/com/stripe/android/model/PaymentIntent.kt b/stripe/src/main/java/com/stripe/android/model/PaymentIntent.kt index 5299e85d926..69d5b9ebdd7 100644 --- a/stripe/src/main/java/com/stripe/android/model/PaymentIntent.kt +++ b/stripe/src/main/java/com/stripe/android/model/PaymentIntent.kt @@ -1,8 +1,8 @@ package com.stripe.android.model import com.stripe.android.model.parsers.PaymentIntentJsonParser -import kotlinx.android.parcel.Parcelize -import kotlinx.android.parcel.RawValue +import kotlinx.parcelize.Parcelize +import kotlinx.parcelize.RawValue import org.json.JSONObject import java.util.regex.Pattern diff --git a/stripe/src/main/java/com/stripe/android/model/PaymentMethod.kt b/stripe/src/main/java/com/stripe/android/model/PaymentMethod.kt index fc37c298c3d..3555665c79b 100644 --- a/stripe/src/main/java/com/stripe/android/model/PaymentMethod.kt +++ b/stripe/src/main/java/com/stripe/android/model/PaymentMethod.kt @@ -4,7 +4,7 @@ import android.os.Parcelable import com.stripe.android.ObjectBuilder import com.stripe.android.model.parsers.PaymentMethodJsonParser import com.stripe.android.model.wallets.Wallet -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import org.json.JSONObject /** diff --git a/stripe/src/main/java/com/stripe/android/model/PaymentMethodCreateParams.kt b/stripe/src/main/java/com/stripe/android/model/PaymentMethodCreateParams.kt index 71bc80588c8..f99d7f2bb56 100644 --- a/stripe/src/main/java/com/stripe/android/model/PaymentMethodCreateParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/PaymentMethodCreateParams.kt @@ -3,7 +3,7 @@ package com.stripe.android.model import android.os.Parcelable import com.stripe.android.ObjectBuilder import com.stripe.android.Stripe -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import org.json.JSONException import org.json.JSONObject import java.util.Locale diff --git a/stripe/src/main/java/com/stripe/android/model/PaymentMethodOptionsParams.kt b/stripe/src/main/java/com/stripe/android/model/PaymentMethodOptionsParams.kt index d6b93d30600..3c8ba722b97 100644 --- a/stripe/src/main/java/com/stripe/android/model/PaymentMethodOptionsParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/PaymentMethodOptionsParams.kt @@ -1,7 +1,7 @@ package com.stripe.android.model import android.os.Parcelable -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize sealed class PaymentMethodOptionsParams( val type: PaymentMethod.Type diff --git a/stripe/src/main/java/com/stripe/android/model/PaymentMethodsList.kt b/stripe/src/main/java/com/stripe/android/model/PaymentMethodsList.kt index 53e9eb4b14e..bdcf55af936 100644 --- a/stripe/src/main/java/com/stripe/android/model/PaymentMethodsList.kt +++ b/stripe/src/main/java/com/stripe/android/model/PaymentMethodsList.kt @@ -1,6 +1,6 @@ package com.stripe.android.model -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize @Parcelize internal data class PaymentMethodsList( diff --git a/stripe/src/main/java/com/stripe/android/model/PersonTokenParams.kt b/stripe/src/main/java/com/stripe/android/model/PersonTokenParams.kt index 0c212819c95..eb83574e913 100644 --- a/stripe/src/main/java/com/stripe/android/model/PersonTokenParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/PersonTokenParams.kt @@ -2,7 +2,7 @@ package com.stripe.android.model import android.os.Parcelable import com.stripe.android.ObjectBuilder -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * Creates a single-use token that represents the details for a person. Use this when creating or diff --git a/stripe/src/main/java/com/stripe/android/model/PiiTokenParams.kt b/stripe/src/main/java/com/stripe/android/model/PiiTokenParams.kt index bdda0e4aad8..70a7b8a56a9 100644 --- a/stripe/src/main/java/com/stripe/android/model/PiiTokenParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/PiiTokenParams.kt @@ -1,6 +1,6 @@ package com.stripe.android.model -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * [TokenParams] for creating a PII token. diff --git a/stripe/src/main/java/com/stripe/android/model/SetupIntent.kt b/stripe/src/main/java/com/stripe/android/model/SetupIntent.kt index dceb8e6d181..401d40bb310 100644 --- a/stripe/src/main/java/com/stripe/android/model/SetupIntent.kt +++ b/stripe/src/main/java/com/stripe/android/model/SetupIntent.kt @@ -1,7 +1,7 @@ package com.stripe.android.model import com.stripe.android.model.parsers.SetupIntentJsonParser -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import org.json.JSONObject import java.util.regex.Pattern diff --git a/stripe/src/main/java/com/stripe/android/model/ShippingInformation.kt b/stripe/src/main/java/com/stripe/android/model/ShippingInformation.kt index d9c48642ac4..f27c06f2a64 100644 --- a/stripe/src/main/java/com/stripe/android/model/ShippingInformation.kt +++ b/stripe/src/main/java/com/stripe/android/model/ShippingInformation.kt @@ -1,6 +1,6 @@ package com.stripe.android.model -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * Model representing a shipping address object diff --git a/stripe/src/main/java/com/stripe/android/model/ShippingMethod.kt b/stripe/src/main/java/com/stripe/android/model/ShippingMethod.kt index b6775c199b3..3825fe013d8 100644 --- a/stripe/src/main/java/com/stripe/android/model/ShippingMethod.kt +++ b/stripe/src/main/java/com/stripe/android/model/ShippingMethod.kt @@ -1,7 +1,7 @@ package com.stripe.android.model import androidx.annotation.Size -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import java.util.Currency /** diff --git a/stripe/src/main/java/com/stripe/android/model/Source.kt b/stripe/src/main/java/com/stripe/android/model/Source.kt index 1657e993a39..44a9742f492 100644 --- a/stripe/src/main/java/com/stripe/android/model/Source.kt +++ b/stripe/src/main/java/com/stripe/android/model/Source.kt @@ -4,8 +4,8 @@ import androidx.annotation.StringDef import com.stripe.android.model.Source.Flow import com.stripe.android.model.Source.SourceType import com.stripe.android.model.parsers.SourceJsonParser -import kotlinx.android.parcel.Parcelize -import kotlinx.android.parcel.RawValue +import kotlinx.parcelize.Parcelize +import kotlinx.parcelize.RawValue import org.json.JSONObject /** diff --git a/stripe/src/main/java/com/stripe/android/model/SourceOrder.kt b/stripe/src/main/java/com/stripe/android/model/SourceOrder.kt index 6c16baf46dc..73b2b978fe7 100644 --- a/stripe/src/main/java/com/stripe/android/model/SourceOrder.kt +++ b/stripe/src/main/java/com/stripe/android/model/SourceOrder.kt @@ -1,7 +1,7 @@ package com.stripe.android.model import com.stripe.android.model.SourceOrder.Item.Type -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * Information about the items and shipping associated with the source. diff --git a/stripe/src/main/java/com/stripe/android/model/SourceOrderParams.kt b/stripe/src/main/java/com/stripe/android/model/SourceOrderParams.kt index 7be270068fd..998f4e8b17e 100644 --- a/stripe/src/main/java/com/stripe/android/model/SourceOrderParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/SourceOrderParams.kt @@ -2,7 +2,7 @@ package com.stripe.android.model import android.os.Parcelable import com.stripe.android.model.SourceOrderParams.Item.Type -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * Information about the items and shipping associated with the source. Required for transactional diff --git a/stripe/src/main/java/com/stripe/android/model/SourceParams.kt b/stripe/src/main/java/com/stripe/android/model/SourceParams.kt index 500bfb13cbc..81fcc7edf24 100644 --- a/stripe/src/main/java/com/stripe/android/model/SourceParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/SourceParams.kt @@ -5,7 +5,7 @@ import androidx.annotation.IntRange import androidx.annotation.Size import com.stripe.android.model.Source.Companion.asSourceType import com.stripe.android.model.Source.SourceType -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import org.json.JSONException import org.json.JSONObject import java.util.Objects diff --git a/stripe/src/main/java/com/stripe/android/model/SourceTypeModel.kt b/stripe/src/main/java/com/stripe/android/model/SourceTypeModel.kt index ea61f05e2c5..acb91cc381d 100644 --- a/stripe/src/main/java/com/stripe/android/model/SourceTypeModel.kt +++ b/stripe/src/main/java/com/stripe/android/model/SourceTypeModel.kt @@ -1,6 +1,6 @@ package com.stripe.android.model -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * Models for [Source] type-specific data diff --git a/stripe/src/main/java/com/stripe/android/model/Stripe3ds2AuthParams.kt b/stripe/src/main/java/com/stripe/android/model/Stripe3ds2AuthParams.kt index 3c767ddb039..a4cb91dbafd 100644 --- a/stripe/src/main/java/com/stripe/android/model/Stripe3ds2AuthParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/Stripe3ds2AuthParams.kt @@ -2,7 +2,7 @@ package com.stripe.android.model import android.os.Parcelable import androidx.annotation.VisibleForTesting -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import org.json.JSONArray import org.json.JSONObject diff --git a/stripe/src/main/java/com/stripe/android/model/Stripe3ds2AuthResult.kt b/stripe/src/main/java/com/stripe/android/model/Stripe3ds2AuthResult.kt index e81b912e917..ab6e2e260dc 100644 --- a/stripe/src/main/java/com/stripe/android/model/Stripe3ds2AuthResult.kt +++ b/stripe/src/main/java/com/stripe/android/model/Stripe3ds2AuthResult.kt @@ -1,6 +1,6 @@ package com.stripe.android.model -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize @Parcelize internal data class Stripe3ds2AuthResult internal constructor( diff --git a/stripe/src/main/java/com/stripe/android/model/StripeFile.kt b/stripe/src/main/java/com/stripe/android/model/StripeFile.kt index c927a9c75e2..df13c4ec5a2 100644 --- a/stripe/src/main/java/com/stripe/android/model/StripeFile.kt +++ b/stripe/src/main/java/com/stripe/android/model/StripeFile.kt @@ -1,6 +1,6 @@ package com.stripe.android.model -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * [The file object](https://stripe.com/docs/api/files/object) diff --git a/stripe/src/main/java/com/stripe/android/model/StripeFileParams.kt b/stripe/src/main/java/com/stripe/android/model/StripeFileParams.kt index ad004fa2bcb..f765be82703 100644 --- a/stripe/src/main/java/com/stripe/android/model/StripeFileParams.kt +++ b/stripe/src/main/java/com/stripe/android/model/StripeFileParams.kt @@ -1,7 +1,7 @@ package com.stripe.android.model import android.os.Parcelable -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import java.io.File /** diff --git a/stripe/src/main/java/com/stripe/android/model/StripeIntent.kt b/stripe/src/main/java/com/stripe/android/model/StripeIntent.kt index 8d8d75ce77a..2087fe99abd 100644 --- a/stripe/src/main/java/com/stripe/android/model/StripeIntent.kt +++ b/stripe/src/main/java/com/stripe/android/model/StripeIntent.kt @@ -3,7 +3,7 @@ package com.stripe.android.model import android.net.Uri import android.os.Parcelable import com.stripe.android.utils.StripeUrlUtils -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * An interface for methods available in [PaymentIntent] and [SetupIntent] diff --git a/stripe/src/main/java/com/stripe/android/model/Token.kt b/stripe/src/main/java/com/stripe/android/model/Token.kt index 1dcede09543..abdc8e4de68 100644 --- a/stripe/src/main/java/com/stripe/android/model/Token.kt +++ b/stripe/src/main/java/com/stripe/android/model/Token.kt @@ -2,7 +2,7 @@ package com.stripe.android.model import com.stripe.android.model.Token.Type import com.stripe.android.model.parsers.TokenJsonParser -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import org.json.JSONObject import java.util.Date diff --git a/stripe/src/main/java/com/stripe/android/model/WeChat.kt b/stripe/src/main/java/com/stripe/android/model/WeChat.kt index e4c484f5eff..623a58b0038 100644 --- a/stripe/src/main/java/com/stripe/android/model/WeChat.kt +++ b/stripe/src/main/java/com/stripe/android/model/WeChat.kt @@ -1,6 +1,6 @@ package com.stripe.android.model -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * [WeChat Pay Payments with Sources](https://stripe.com/docs/sources/wechat-pay) diff --git a/stripe/src/main/java/com/stripe/android/model/wallets/Wallet.kt b/stripe/src/main/java/com/stripe/android/model/wallets/Wallet.kt index f47f2345bd4..7f2953bc8fe 100644 --- a/stripe/src/main/java/com/stripe/android/model/wallets/Wallet.kt +++ b/stripe/src/main/java/com/stripe/android/model/wallets/Wallet.kt @@ -3,7 +3,7 @@ package com.stripe.android.model.wallets import android.os.Parcelable import com.stripe.android.model.Address import com.stripe.android.model.StripeModel -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * Details of the card wallet. diff --git a/stripe/src/main/java/com/stripe/android/networking/ApiRequest.kt b/stripe/src/main/java/com/stripe/android/networking/ApiRequest.kt index 65e675478f8..3b0af338e66 100644 --- a/stripe/src/main/java/com/stripe/android/networking/ApiRequest.kt +++ b/stripe/src/main/java/com/stripe/android/networking/ApiRequest.kt @@ -6,7 +6,7 @@ import com.stripe.android.ApiVersion import com.stripe.android.AppInfo import com.stripe.android.Stripe import com.stripe.android.exception.InvalidRequestException -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import java.io.UnsupportedEncodingException /** diff --git a/stripe/src/main/java/com/stripe/android/paymentsheet/DefaultPaymentSheetFlowController.kt b/stripe/src/main/java/com/stripe/android/paymentsheet/DefaultPaymentSheetFlowController.kt index cae0196f1e8..3c39803f2e1 100644 --- a/stripe/src/main/java/com/stripe/android/paymentsheet/DefaultPaymentSheetFlowController.kt +++ b/stripe/src/main/java/com/stripe/android/paymentsheet/DefaultPaymentSheetFlowController.kt @@ -4,7 +4,7 @@ import android.os.Parcelable import androidx.activity.ComponentActivity import com.stripe.android.model.PaymentMethod import com.stripe.android.paymentsheet.model.PaymentOption -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize internal class DefaultPaymentSheetFlowController internal constructor( private val args: Args, diff --git a/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentOptionResult.kt b/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentOptionResult.kt index 9a98c95ecd3..1e26658d4bd 100644 --- a/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentOptionResult.kt +++ b/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentOptionResult.kt @@ -7,7 +7,7 @@ import android.os.Parcelable import androidx.core.os.bundleOf import com.stripe.android.model.PaymentMethod import com.stripe.android.view.ActivityStarter -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize internal sealed class PaymentOptionResult( val resultCode: Int diff --git a/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentOptionsActivityStarter.kt b/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentOptionsActivityStarter.kt index 5f6cb59a93a..725c877714e 100644 --- a/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentOptionsActivityStarter.kt +++ b/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentOptionsActivityStarter.kt @@ -4,7 +4,7 @@ import android.app.Activity import android.content.Intent import com.stripe.android.model.PaymentMethod import com.stripe.android.view.ActivityStarter -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize internal class PaymentOptionsActivityStarter internal constructor( activity: Activity diff --git a/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentResult.kt b/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentResult.kt index 66db2095061..60a190847ce 100644 --- a/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentResult.kt +++ b/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentResult.kt @@ -3,7 +3,7 @@ package com.stripe.android.paymentsheet import android.app.Activity import android.os.Parcelable import com.stripe.android.model.PaymentIntent -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize internal sealed class PaymentResult( val resultCode: Int diff --git a/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentSheet.kt b/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentSheet.kt index 79caa009229..b6a22233a60 100644 --- a/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentSheet.kt +++ b/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentSheet.kt @@ -5,7 +5,7 @@ import android.os.Bundle import androidx.activity.ComponentActivity import androidx.core.os.bundleOf import com.stripe.android.view.ActivityStarter -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize internal class PaymentSheet internal constructor( private val args: PaymentSheetActivityStarter.Args diff --git a/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentSheetActivityStarter.kt b/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentSheetActivityStarter.kt index adff12d24ec..2bba05bcee8 100644 --- a/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentSheetActivityStarter.kt +++ b/stripe/src/main/java/com/stripe/android/paymentsheet/PaymentSheetActivityStarter.kt @@ -3,7 +3,7 @@ package com.stripe.android.paymentsheet import android.app.Activity import android.content.Intent import com.stripe.android.view.ActivityStarter -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize internal class PaymentSheetActivityStarter internal constructor( activity: Activity diff --git a/stripe/src/main/java/com/stripe/android/view/AddPaymentMethodActivityStarter.kt b/stripe/src/main/java/com/stripe/android/view/AddPaymentMethodActivityStarter.kt index 81d3d6607ce..ebac0de096d 100644 --- a/stripe/src/main/java/com/stripe/android/view/AddPaymentMethodActivityStarter.kt +++ b/stripe/src/main/java/com/stripe/android/view/AddPaymentMethodActivityStarter.kt @@ -12,7 +12,7 @@ import com.stripe.android.model.PaymentMethod import com.stripe.android.view.AddPaymentMethodActivityStarter.Args import com.stripe.android.view.AddPaymentMethodActivityStarter.Companion.REQUEST_CODE import com.stripe.android.view.AddPaymentMethodActivityStarter.Result.Companion.fromIntent -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * A class to start [AddPaymentMethodActivity]. Arguments for the activity can be diff --git a/stripe/src/main/java/com/stripe/android/view/BecsDebitBanks.kt b/stripe/src/main/java/com/stripe/android/view/BecsDebitBanks.kt index 02cb84b88f4..06d89b9d0d4 100644 --- a/stripe/src/main/java/com/stripe/android/view/BecsDebitBanks.kt +++ b/stripe/src/main/java/com/stripe/android/view/BecsDebitBanks.kt @@ -3,7 +3,7 @@ package com.stripe.android.view import android.content.Context import android.os.Parcelable import com.stripe.android.model.StripeJsonUtils -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize import org.json.JSONObject import java.util.Scanner diff --git a/stripe/src/main/java/com/stripe/android/view/PaymentFlowActivityStarter.kt b/stripe/src/main/java/com/stripe/android/view/PaymentFlowActivityStarter.kt index 0e3c0e3a00c..9c4a980970a 100644 --- a/stripe/src/main/java/com/stripe/android/view/PaymentFlowActivityStarter.kt +++ b/stripe/src/main/java/com/stripe/android/view/PaymentFlowActivityStarter.kt @@ -6,7 +6,7 @@ import androidx.fragment.app.Fragment import com.stripe.android.ObjectBuilder import com.stripe.android.PaymentSessionConfig import com.stripe.android.PaymentSessionData -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize class PaymentFlowActivityStarter : ActivityStarter { diff --git a/stripe/src/main/java/com/stripe/android/view/PaymentMethodsActivityStarter.kt b/stripe/src/main/java/com/stripe/android/view/PaymentMethodsActivityStarter.kt index b3507a46fbb..195d58747f2 100644 --- a/stripe/src/main/java/com/stripe/android/view/PaymentMethodsActivityStarter.kt +++ b/stripe/src/main/java/com/stripe/android/view/PaymentMethodsActivityStarter.kt @@ -13,7 +13,7 @@ import com.stripe.android.view.PaymentMethodsActivityStarter.Args import com.stripe.android.view.PaymentMethodsActivityStarter.Companion.REQUEST_CODE import com.stripe.android.view.PaymentMethodsActivityStarter.Result import com.stripe.android.view.PaymentMethodsActivityStarter.Result.Companion.fromIntent -import kotlinx.android.parcel.Parcelize +import kotlinx.parcelize.Parcelize /** * A class to start [PaymentMethodsActivity]. Arguments for the activity can be specified