正在查看: Rilo v2.0.21 应用的 PaymentSheet.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Rilo v2.0.21 应用的 PaymentSheet.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.stripe.android.paymentsheet;
import android.content.Context;
import android.content.res.ColorStateList;
import android.os.Parcel;
import android.os.Parcelable;
import androidx.activity.ComponentActivity;
import androidx.compose.ui.graphics.Color;
import androidx.compose.ui.graphics.ColorKt;
import androidx.fragment.app.Fragment;
import com.stripe.android.googlepaylauncher.GooglePayPaymentMethodLauncher;
import com.stripe.android.link.account.CookieStore;
import com.stripe.android.model.CardBrand;
import com.stripe.android.model.CreateFinancialConnectionsSessionForDeferredPaymentParams;
import com.stripe.android.paymentsheet.addresselement.AddressDetails;
import com.stripe.android.paymentsheet.analytics.PaymentSheetEvent;
import com.stripe.android.paymentsheet.flowcontroller.FlowControllerFactory;
import com.stripe.android.paymentsheet.model.PaymentIntentClientSecret;
import com.stripe.android.paymentsheet.model.PaymentOption;
import com.stripe.android.paymentsheet.model.SetupIntentClientSecret;
import com.stripe.android.stripe3ds2.transactions.MessageExtension;
import com.stripe.android.uicore.StripeThemeDefaults;
import com.stripe.android.uicore.StripeThemeKt;
import com.tiktok.appevents.contents.TTContentsEventConstants;
import com.truecaller.android.sdk.TruecallerSdkScope;
import com.twilio.audioswitch.wired.WiredHeadsetReceiverKt;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import kotlin.Deprecated;
import kotlin.Metadata;
import kotlin.NoWhenBranchMatchedException;
import kotlin.ReplaceWith;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.JvmStatic;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000L\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0015\b\u0007\u0018\u0000 \"2\u00020\u0001:\u0012\u001d\u001e\u001f !\"#$%&'()*+,-.B\u0017\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006B\u001f\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\b\u0012\u0006\u0010\t\u001a\u00020\u0005¢\u0006\u0002\u0010\nB\u0017\b\u0016\u0012\u0006\u0010\u000b\u001a\u00020\f\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\rB\u001f\b\u0016\u0012\u0006\u0010\u000b\u001a\u00020\f\u0012\u0006\u0010\u0007\u001a\u00020\b\u0012\u0006\u0010\t\u001a\u00020\u0005¢\u0006\u0002\u0010\u000eB\u000f\b\u0000\u0012\u0006\u0010\u000f\u001a\u00020\u0010¢\u0006\u0002\u0010\u0011J\u001c\u0010\u0012\u001a\u00020\u00132\u0006\u0010\u0014\u001a\u00020\u00152\n\b\u0002\u0010\u0016\u001a\u0004\u0018\u00010\u0017H\u0007J\u001c\u0010\u0018\u001a\u00020\u00132\u0006\u0010\u0019\u001a\u00020\u001a2\n\b\u0002\u0010\u0016\u001a\u0004\u0018\u00010\u0017H\u0007J\u001c\u0010\u001b\u001a\u00020\u00132\u0006\u0010\u001c\u001a\u00020\u001a2\n\b\u0002\u0010\u0016\u001a\u0004\u0018\u00010\u0017H\u0007R\u000e\u0010\u000f\u001a\u00020\u0010X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006/"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet;", "", "activity", "Landroidx/activity/ComponentActivity;", "callback", "Lcom/stripe/android/paymentsheet/PaymentSheetResultCallback;", "(Landroidx/activity/ComponentActivity;Lcom/stripe/android/paymentsheet/PaymentSheetResultCallback;)V", "createIntentCallback", "Lcom/stripe/android/paymentsheet/CreateIntentCallback;", "paymentResultCallback", "(Landroidx/activity/ComponentActivity;Lcom/stripe/android/paymentsheet/CreateIntentCallback;Lcom/stripe/android/paymentsheet/PaymentSheetResultCallback;)V", "fragment", "Landroidx/fragment/app/Fragment;", "(Landroidx/fragment/app/Fragment;Lcom/stripe/android/paymentsheet/PaymentSheetResultCallback;)V", "(Landroidx/fragment/app/Fragment;Lcom/stripe/android/paymentsheet/CreateIntentCallback;Lcom/stripe/android/paymentsheet/PaymentSheetResultCallback;)V", "paymentSheetLauncher", "Lcom/stripe/android/paymentsheet/PaymentSheetLauncher;", "(Lcom/stripe/android/paymentsheet/PaymentSheetLauncher;)V", "presentWithIntentConfiguration", "", "intentConfiguration", "Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration;", "configuration", "Lcom/stripe/android/paymentsheet/PaymentSheet$Configuration;", "presentWithPaymentIntent", "paymentIntentClientSecret", "", "presentWithSetupIntent", "setupIntentClientSecret", "Address", "Appearance", "BillingDetails", "BillingDetailsCollectionConfiguration", "Colors", "Companion", "Configuration", "CustomerConfiguration", "FlowController", "GooglePayConfiguration", "InitializationMode", "IntentConfiguration", "PrimaryButton", "PrimaryButtonColors", "PrimaryButtonShape", "PrimaryButtonTypography", "Shapes", "Typography", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public final class PaymentSheet {
private final PaymentSheetLauncher paymentSheetLauncher;
public static final Companion INSTANCE = new Companion(null);
public static final int $stable = 8;
public final void presentWithIntentConfiguration(IntentConfiguration intentConfiguration) {
Intrinsics.checkNotNullParameter(intentConfiguration, "intentConfiguration");
presentWithIntentConfiguration$default(this, intentConfiguration, null, 2, null);
}
public final void presentWithPaymentIntent(String str) {
Intrinsics.checkNotNullParameter(str, "paymentIntentClientSecret");
presentWithPaymentIntent$default(this, str, null, 2, null);
}
public final void presentWithSetupIntent(String str) {
Intrinsics.checkNotNullParameter(str, "setupIntentClientSecret");
presentWithSetupIntent$default(this, str, null, 2, null);
}
public PaymentSheet(PaymentSheetLauncher paymentSheetLauncher) {
Intrinsics.checkNotNullParameter(paymentSheetLauncher, "paymentSheetLauncher");
this.paymentSheetLauncher = paymentSheetLauncher;
}
public PaymentSheet(ComponentActivity componentActivity, PaymentSheetResultCallback paymentSheetResultCallback) {
this(new DefaultPaymentSheetLauncher(componentActivity, paymentSheetResultCallback));
Intrinsics.checkNotNullParameter(componentActivity, "activity");
Intrinsics.checkNotNullParameter(paymentSheetResultCallback, "callback");
}
public PaymentSheet(ComponentActivity componentActivity, CreateIntentCallback createIntentCallback, PaymentSheetResultCallback paymentSheetResultCallback) {
this(new DefaultPaymentSheetLauncher(componentActivity, paymentSheetResultCallback));
Intrinsics.checkNotNullParameter(componentActivity, "activity");
Intrinsics.checkNotNullParameter(createIntentCallback, "createIntentCallback");
Intrinsics.checkNotNullParameter(paymentSheetResultCallback, "paymentResultCallback");
IntentConfirmationInterceptor.INSTANCE.setCreateIntentCallback(createIntentCallback);
}
public PaymentSheet(Fragment fragment, PaymentSheetResultCallback paymentSheetResultCallback) {
this(new DefaultPaymentSheetLauncher(fragment, paymentSheetResultCallback));
Intrinsics.checkNotNullParameter(fragment, "fragment");
Intrinsics.checkNotNullParameter(paymentSheetResultCallback, "callback");
}
public PaymentSheet(Fragment fragment, CreateIntentCallback createIntentCallback, PaymentSheetResultCallback paymentSheetResultCallback) {
this(new DefaultPaymentSheetLauncher(fragment, paymentSheetResultCallback));
Intrinsics.checkNotNullParameter(fragment, "fragment");
Intrinsics.checkNotNullParameter(createIntentCallback, "createIntentCallback");
Intrinsics.checkNotNullParameter(paymentSheetResultCallback, "paymentResultCallback");
IntentConfirmationInterceptor.INSTANCE.setCreateIntentCallback(createIntentCallback);
}
public static void presentWithPaymentIntent$default(PaymentSheet paymentSheet, String str, Configuration configuration, int i2, Object obj) {
if ((i2 & 2) != 0) {
configuration = null;
}
paymentSheet.presentWithPaymentIntent(str, configuration);
}
public final void presentWithPaymentIntent(String paymentIntentClientSecret, Configuration configuration) {
Intrinsics.checkNotNullParameter(paymentIntentClientSecret, "paymentIntentClientSecret");
this.paymentSheetLauncher.present(new InitializationMode.PaymentIntent(paymentIntentClientSecret), configuration);
}
public static void presentWithSetupIntent$default(PaymentSheet paymentSheet, String str, Configuration configuration, int i2, Object obj) {
if ((i2 & 2) != 0) {
configuration = null;
}
paymentSheet.presentWithSetupIntent(str, configuration);
}
public final void presentWithSetupIntent(String setupIntentClientSecret, Configuration configuration) {
Intrinsics.checkNotNullParameter(setupIntentClientSecret, "setupIntentClientSecret");
this.paymentSheetLauncher.present(new InitializationMode.SetupIntent(setupIntentClientSecret), configuration);
}
public static void presentWithIntentConfiguration$default(PaymentSheet paymentSheet, IntentConfiguration intentConfiguration, Configuration configuration, int i2, Object obj) {
if ((i2 & 2) != 0) {
configuration = null;
}
paymentSheet.presentWithIntentConfiguration(intentConfiguration, configuration);
}
public final void presentWithIntentConfiguration(IntentConfiguration intentConfiguration, Configuration configuration) {
Intrinsics.checkNotNullParameter(intentConfiguration, "intentConfiguration");
this.paymentSheetLauncher.present(new InitializationMode.DeferredIntent(intentConfiguration), configuration);
}
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b0\u0018\u00002\u00020\u0001:\u0003\u0006\u0007\bB\u0007\b\u0004¢\u0006\u0002\u0010\u0002J\r\u0010\u0003\u001a\u00020\u0004H ¢\u0006\u0002\b\u0005\u0082\u0001\u0003\t\n\u000b¨\u0006\f"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$InitializationMode;", "Landroid/os/Parcelable;", "()V", "validate", "", "validate$paymentsheet_release", "DeferredIntent", "PaymentIntent", "SetupIntent", "Lcom/stripe/android/paymentsheet/PaymentSheet$InitializationMode$DeferredIntent;", "Lcom/stripe/android/paymentsheet/PaymentSheet$InitializationMode$PaymentIntent;", "Lcom/stripe/android/paymentsheet/PaymentSheet$InitializationMode$SetupIntent;", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static abstract class InitializationMode implements Parcelable {
public InitializationMode(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public abstract void validate$paymentsheet_release();
private InitializationMode() {
}
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0081\b\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001J\u0013\u0010\u000b\u001a\u00020\f2\b\u0010\r\u001a\u0004\u0018\u00010\u000eHÖ\u0003J\t\u0010\u000f\u001a\u00020\nHÖ\u0001J\t\u0010\u0010\u001a\u00020\u0003HÖ\u0001J\r\u0010\u0011\u001a\u00020\u0012H\u0010¢\u0006\u0002\b\u0013J\u0019\u0010\u0014\u001a\u00020\u00122\u0006\u0010\u0015\u001a\u00020\u00162\u0006\u0010\u0017\u001a\u00020\nHÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0018"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$InitializationMode$PaymentIntent;", "Lcom/stripe/android/paymentsheet/PaymentSheet$InitializationMode;", "clientSecret", "", "(Ljava/lang/String;)V", "getClientSecret", "()Ljava/lang/String;", "component1", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "validate", "", "validate$paymentsheet_release", "writeToParcel", "parcel", "Landroid/os/Parcel;", "flags", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class PaymentIntent extends InitializationMode {
public static final Parcelable.Creator<PaymentIntent> CREATOR = new Creator();
private final String clientSecret;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<PaymentIntent> {
@Override
public final PaymentIntent createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new PaymentIntent(parcel.readString());
}
@Override
public final PaymentIntent[] newArray(int i2) {
return new PaymentIntent[i2];
}
}
public static PaymentIntent copy$default(PaymentIntent paymentIntent, String str, int i2, Object obj) {
if ((i2 & 1) != 0) {
str = paymentIntent.clientSecret;
}
return paymentIntent.copy(str);
}
public final String getClientSecret() {
return this.clientSecret;
}
public final PaymentIntent copy(String clientSecret) {
Intrinsics.checkNotNullParameter(clientSecret, "clientSecret");
return new PaymentIntent(clientSecret);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof PaymentIntent) && Intrinsics.areEqual(this.clientSecret, ((PaymentIntent) other).clientSecret);
}
public int hashCode() {
return this.clientSecret.hashCode();
}
public String toString() {
return "PaymentIntent(clientSecret=" + this.clientSecret + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.clientSecret);
}
public final String getClientSecret() {
return this.clientSecret;
}
public PaymentIntent(String str) {
super(null);
Intrinsics.checkNotNullParameter(str, "clientSecret");
this.clientSecret = str;
}
@Override
public void validate$paymentsheet_release() {
new PaymentIntentClientSecret(this.clientSecret).validate();
}
}
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0081\b\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001J\u0013\u0010\u000b\u001a\u00020\f2\b\u0010\r\u001a\u0004\u0018\u00010\u000eHÖ\u0003J\t\u0010\u000f\u001a\u00020\nHÖ\u0001J\t\u0010\u0010\u001a\u00020\u0003HÖ\u0001J\r\u0010\u0011\u001a\u00020\u0012H\u0010¢\u0006\u0002\b\u0013J\u0019\u0010\u0014\u001a\u00020\u00122\u0006\u0010\u0015\u001a\u00020\u00162\u0006\u0010\u0017\u001a\u00020\nHÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0018"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$InitializationMode$SetupIntent;", "Lcom/stripe/android/paymentsheet/PaymentSheet$InitializationMode;", "clientSecret", "", "(Ljava/lang/String;)V", "getClientSecret", "()Ljava/lang/String;", "component1", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "validate", "", "validate$paymentsheet_release", "writeToParcel", "parcel", "Landroid/os/Parcel;", "flags", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class SetupIntent extends InitializationMode {
public static final Parcelable.Creator<SetupIntent> CREATOR = new Creator();
private final String clientSecret;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<SetupIntent> {
@Override
public final SetupIntent createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new SetupIntent(parcel.readString());
}
@Override
public final SetupIntent[] newArray(int i2) {
return new SetupIntent[i2];
}
}
public static SetupIntent copy$default(SetupIntent setupIntent, String str, int i2, Object obj) {
if ((i2 & 1) != 0) {
str = setupIntent.clientSecret;
}
return setupIntent.copy(str);
}
public final String getClientSecret() {
return this.clientSecret;
}
public final SetupIntent copy(String clientSecret) {
Intrinsics.checkNotNullParameter(clientSecret, "clientSecret");
return new SetupIntent(clientSecret);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof SetupIntent) && Intrinsics.areEqual(this.clientSecret, ((SetupIntent) other).clientSecret);
}
public int hashCode() {
return this.clientSecret.hashCode();
}
public String toString() {
return "SetupIntent(clientSecret=" + this.clientSecret + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.clientSecret);
}
public final String getClientSecret() {
return this.clientSecret;
}
public SetupIntent(String str) {
super(null);
Intrinsics.checkNotNullParameter(str, "clientSecret");
this.clientSecret = str;
}
@Override
public void validate$paymentsheet_release() {
new SetupIntentClientSecret(this.clientSecret).validate();
}
}
@Metadata(d1 = {"\u0000<\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0081\b\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001J\u0013\u0010\u000b\u001a\u00020\f2\b\u0010\r\u001a\u0004\u0018\u00010\u000eHÖ\u0003J\t\u0010\u000f\u001a\u00020\nHÖ\u0001J\t\u0010\u0010\u001a\u00020\u0011HÖ\u0001J\r\u0010\u0012\u001a\u00020\u0013H\u0010¢\u0006\u0002\b\u0014J\u0019\u0010\u0015\u001a\u00020\u00132\u0006\u0010\u0016\u001a\u00020\u00172\u0006\u0010\u0018\u001a\u00020\nHÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0019"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$InitializationMode$DeferredIntent;", "Lcom/stripe/android/paymentsheet/PaymentSheet$InitializationMode;", "intentConfiguration", "Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration;", "(Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration;)V", "getIntentConfiguration", "()Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration;", "component1", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "", "validate", "", "validate$paymentsheet_release", "writeToParcel", "parcel", "Landroid/os/Parcel;", "flags", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class DeferredIntent extends InitializationMode {
public static final Parcelable.Creator<DeferredIntent> CREATOR = new Creator();
private final IntentConfiguration intentConfiguration;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<DeferredIntent> {
@Override
public final DeferredIntent createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new DeferredIntent(IntentConfiguration.CREATOR.createFromParcel(parcel));
}
@Override
public final DeferredIntent[] newArray(int i2) {
return new DeferredIntent[i2];
}
}
public static DeferredIntent copy$default(DeferredIntent deferredIntent, IntentConfiguration intentConfiguration, int i2, Object obj) {
if ((i2 & 1) != 0) {
intentConfiguration = deferredIntent.intentConfiguration;
}
return deferredIntent.copy(intentConfiguration);
}
public final IntentConfiguration getIntentConfiguration() {
return this.intentConfiguration;
}
public final DeferredIntent copy(IntentConfiguration intentConfiguration) {
Intrinsics.checkNotNullParameter(intentConfiguration, "intentConfiguration");
return new DeferredIntent(intentConfiguration);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof DeferredIntent) && Intrinsics.areEqual(this.intentConfiguration, ((DeferredIntent) other).intentConfiguration);
}
public int hashCode() {
return this.intentConfiguration.hashCode();
}
public String toString() {
return "DeferredIntent(intentConfiguration=" + this.intentConfiguration + ")";
}
@Override
public void validate$paymentsheet_release() {
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
this.intentConfiguration.writeToParcel(parcel, flags);
}
public final IntentConfiguration getIntentConfiguration() {
return this.intentConfiguration;
}
public DeferredIntent(IntentConfiguration intentConfiguration) {
super(null);
Intrinsics.checkNotNullParameter(intentConfiguration, "intentConfiguration");
this.intentConfiguration = intentConfiguration;
}
}
}
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0007\u0018\u0000 \u00172\u00020\u0001:\u0004\u0016\u0017\u0018\u0019B+\b\u0007\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u000e\b\u0002\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005\u0012\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u0006¢\u0006\u0002\u0010\bJ\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\u0019\u0010\u0011\u001a\u00020\u00122\u0006\u0010\u0013\u001a\u00020\u00142\u0006\u0010\u0015\u001a\u00020\u0010HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0013\u0010\u0007\u001a\u0004\u0018\u00010\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0017\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000e¨\u0006\u001a"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration;", "Landroid/os/Parcelable;", "mode", "Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$Mode;", "paymentMethodTypes", "", "", "onBehalfOf", "(Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$Mode;Ljava/util/List;Ljava/lang/String;)V", "getMode", "()Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$Mode;", "getOnBehalfOf", "()Ljava/lang/String;", "getPaymentMethodTypes", "()Ljava/util/List;", "describeContents", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "CaptureMethod", "Companion", "Mode", "SetupFutureUse", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class IntentConfiguration implements Parcelable {
public static final String COMPLETE_WITHOUT_CONFIRMING_INTENT = "COMPLETE_WITHOUT_CONFIRMING_INTENT";
private final Mode mode;
private final String onBehalfOf;
private final List<String> paymentMethodTypes;
public static final Companion INSTANCE = new Companion(null);
public static final int $stable = 8;
public static final Parcelable.Creator<IntentConfiguration> CREATOR = new Creator();
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0005\b\u0086\u0001\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005¨\u0006\u0006"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$CaptureMethod;", "", "(Ljava/lang/String;I)V", "Automatic", "AutomaticAsync", "Manual", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public enum CaptureMethod {
Automatic,
AutomaticAsync,
Manual
}
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<IntentConfiguration> {
@Override
public final IntentConfiguration createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new IntentConfiguration((Mode) parcel.readParcelable(IntentConfiguration.class.getClassLoader()), parcel.createStringArrayList(), parcel.readString());
}
@Override
public final IntentConfiguration[] newArray(int i2) {
return new IntentConfiguration[i2];
}
}
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0004\b\u0086\u0001\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004¨\u0006\u0005"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$SetupFutureUse;", "", "(Ljava/lang/String;I)V", "OnSession", "OffSession", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public enum SetupFutureUse {
OnSession,
OffSession
}
public IntentConfiguration(Mode mode) {
this(mode, null, null, 6, null);
Intrinsics.checkNotNullParameter(mode, "mode");
}
public IntentConfiguration(Mode mode, List<String> list) {
this(mode, list, null, 4, null);
Intrinsics.checkNotNullParameter(mode, "mode");
Intrinsics.checkNotNullParameter(list, "paymentMethodTypes");
}
@Override
public int describeContents() {
return 0;
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeParcelable(this.mode, flags);
parcel.writeStringList(this.paymentMethodTypes);
parcel.writeString(this.onBehalfOf);
}
public IntentConfiguration(Mode mode, List<String> list, String str) {
Intrinsics.checkNotNullParameter(mode, "mode");
Intrinsics.checkNotNullParameter(list, "paymentMethodTypes");
this.mode = mode;
this.paymentMethodTypes = list;
this.onBehalfOf = str;
}
public final Mode getMode() {
return this.mode;
}
public IntentConfiguration(Mode mode, List list, String str, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this(mode, (i2 & 2) != 0 ? CollectionsKt.emptyList() : list, (i2 & 4) != 0 ? null : str);
}
public final List<String> getPaymentMethodTypes() {
return this.paymentMethodTypes;
}
public final String getOnBehalfOf() {
return this.onBehalfOf;
}
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b7\u0018\u00002\u00020\u0001:\u0002\u000b\fB\u0007\b\u0004¢\u0006\u0002\u0010\u0002R\u0014\u0010\u0003\u001a\u0004\u0018\u00010\u0004X \u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u0004\u0018\u00010\bX \u0004¢\u0006\u0006\u001a\u0004\b\t\u0010\n\u0082\u0001\u0002\r\u000e¨\u0006\u000f"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$Mode;", "Landroid/os/Parcelable;", "()V", "captureMethod", "Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$CaptureMethod;", "getCaptureMethod$paymentsheet_release", "()Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$CaptureMethod;", "setupFutureUse", "Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$SetupFutureUse;", "getSetupFutureUse$paymentsheet_release", "()Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$SetupFutureUse;", "Payment", "Setup", "Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$Mode$Payment;", "Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$Mode$Setup;", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static abstract class Mode implements Parcelable {
public static final int $stable = 0;
public Mode(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public abstract CaptureMethod getCaptureMethod();
public abstract SetupFutureUse getSetupFutureUse();
private Mode() {
}
@Metadata(d1 = {"\u00008\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\n\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0007\u0018\u00002\u00020\u0001B-\b\u0007\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\b\b\u0002\u0010\b\u001a\u00020\t¢\u0006\u0002\u0010\nJ\t\u0010\u0013\u001a\u00020\u0014HÖ\u0001J\u0019\u0010\u0015\u001a\u00020\u00162\u0006\u0010\u0017\u001a\u00020\u00182\u0006\u0010\u0019\u001a\u00020\u0014HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0014\u0010\b\u001a\u00020\tX\u0090\u0004¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0016\u0010\u0006\u001a\u0004\u0018\u00010\u0007X\u0090\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012¨\u0006\u001a"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$Mode$Payment;", "Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$Mode;", CreateFinancialConnectionsSessionForDeferredPaymentParams.PARAM_AMOUNT, "", "currency", "", "setupFutureUse", "Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$SetupFutureUse;", "captureMethod", "Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$CaptureMethod;", "(JLjava/lang/String;Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$SetupFutureUse;Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$CaptureMethod;)V", "getAmount", "()J", "getCaptureMethod$paymentsheet_release", "()Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$CaptureMethod;", "getCurrency", "()Ljava/lang/String;", "getSetupFutureUse$paymentsheet_release", "()Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$SetupFutureUse;", "describeContents", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Payment extends Mode {
public static final int $stable = 0;
public static final Parcelable.Creator<Payment> CREATOR = new Creator();
private final long amount;
private final CaptureMethod captureMethod;
private final String currency;
private final SetupFutureUse setupFutureUse;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<Payment> {
@Override
public final Payment createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new Payment(parcel.readLong(), parcel.readString(), parcel.readInt() == 0 ? null : SetupFutureUse.valueOf(parcel.readString()), CaptureMethod.valueOf(parcel.readString()));
}
@Override
public final Payment[] newArray(int i2) {
return new Payment[i2];
}
}
public Payment(long j2, String str) {
this(j2, str, null, null, 12, null);
Intrinsics.checkNotNullParameter(str, "currency");
}
public Payment(long j2, String str, SetupFutureUse setupFutureUse) {
this(j2, str, setupFutureUse, null, 8, null);
Intrinsics.checkNotNullParameter(str, "currency");
}
@Override
public int describeContents() {
return 0;
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeLong(this.amount);
parcel.writeString(this.currency);
SetupFutureUse setupFutureUse = this.setupFutureUse;
if (setupFutureUse == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
parcel.writeString(setupFutureUse.name());
}
parcel.writeString(this.captureMethod.name());
}
public final long getAmount() {
return this.amount;
}
public final String getCurrency() {
return this.currency;
}
@Override
public SetupFutureUse getSetupFutureUse() {
return this.setupFutureUse;
}
public Payment(long j2, String str, SetupFutureUse setupFutureUse, CaptureMethod captureMethod, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this(j2, str, (i2 & 4) != 0 ? null : setupFutureUse, (i2 & 8) != 0 ? CaptureMethod.Automatic : captureMethod);
}
@Override
public CaptureMethod getCaptureMethod() {
return this.captureMethod;
}
public Payment(long j2, String str, SetupFutureUse setupFutureUse, CaptureMethod captureMethod) {
super(null);
Intrinsics.checkNotNullParameter(str, "currency");
Intrinsics.checkNotNullParameter(captureMethod, "captureMethod");
this.amount = j2;
this.currency = str;
this.setupFutureUse = setupFutureUse;
this.captureMethod = captureMethod;
}
}
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0007\u0018\u00002\u00020\u0001B\u001d\b\u0007\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\u0019\u0010\u0011\u001a\u00020\u00122\u0006\u0010\u0013\u001a\u00020\u00142\u0006\u0010\u0015\u001a\u00020\u0010HÖ\u0001R\u0016\u0010\u0007\u001a\u0004\u0018\u00010\b8PX\u0090\u0004¢\u0006\u0006\u001a\u0004\b\t\u0010\nR\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0014\u0010\u0004\u001a\u00020\u0005X\u0090\u0004¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000e¨\u0006\u0016"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$Mode$Setup;", "Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$Mode;", "currency", "", "setupFutureUse", "Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$SetupFutureUse;", "(Ljava/lang/String;Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$SetupFutureUse;)V", "captureMethod", "Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$CaptureMethod;", "getCaptureMethod$paymentsheet_release", "()Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$CaptureMethod;", "getCurrency", "()Ljava/lang/String;", "getSetupFutureUse$paymentsheet_release", "()Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$SetupFutureUse;", "describeContents", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Setup extends Mode {
public static final int $stable = 0;
public static final Parcelable.Creator<Setup> CREATOR = new Creator();
private final String currency;
private final SetupFutureUse setupFutureUse;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<Setup> {
@Override
public final Setup createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new Setup(parcel.readString(), SetupFutureUse.valueOf(parcel.readString()));
}
@Override
public final Setup[] newArray(int i2) {
return new Setup[i2];
}
}
public Setup() {
this(null, 0 == true ? 1 : 0, 3, 0 == true ? 1 : 0);
}
public Setup(java.lang.String r3) {
throw new UnsupportedOperationException("Method not decompiled: com.stripe.android.paymentsheet.PaymentSheet.IntentConfiguration.Mode.Setup.<init>(java.lang.String):void");
}
@Override
public int describeContents() {
return 0;
}
@Override
public CaptureMethod getCaptureMethod() {
return null;
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.currency);
parcel.writeString(this.setupFutureUse.name());
}
public final String getCurrency() {
return this.currency;
}
public Setup(String str, SetupFutureUse setupFutureUse, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this((i2 & 1) != 0 ? null : str, (i2 & 2) != 0 ? SetupFutureUse.OffSession : setupFutureUse);
}
@Override
public SetupFutureUse getSetupFutureUse() {
return this.setupFutureUse;
}
public Setup(String str, SetupFutureUse setupFutureUse) {
super(null);
Intrinsics.checkNotNullParameter(setupFutureUse, "setupFutureUse");
this.currency = str;
this.setupFutureUse = setupFutureUse;
}
}
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0016\u0010\u0003\u001a\u00020\u00048\u0006X\u0087T¢\u0006\b\n\u0000\u0012\u0004\b\u0005\u0010\u0002¨\u0006\u0006"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration$Companion;", "", "()V", "COMPLETE_WITHOUT_CONFIRMING_INTENT", "", "getCOMPLETE_WITHOUT_CONFIRMING_INTENT$annotations", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Companion {
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public static void getCOMPLETE_WITHOUT_CONFIRMING_INTENT$annotations() {
}
private Companion() {
}
}
}
@Metadata(d1 = {"\u0000n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b'\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0087\b\u0018\u0000 L2\u00020\u0001:\u0002KLB\u008f\u0001\b\u0007\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u000b\u0012\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\r\u0012\b\b\u0002\u0010\u000e\u001a\u00020\u000f\u0012\b\b\u0002\u0010\u0010\u001a\u00020\u000f\u0012\b\b\u0002\u0010\u0011\u001a\u00020\u0012\u0012\n\b\u0002\u0010\u0013\u001a\u0004\u0018\u00010\u0003\u0012\b\b\u0002\u0010\u0014\u001a\u00020\u0015\u0012\u000e\b\u0002\u0010\u0016\u001a\b\u0012\u0004\u0012\u00020\u00180\u0017¢\u0006\u0002\u0010\u0019J\t\u00102\u001a\u00020\u0003HÆ\u0003J\u000b\u00103\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u00104\u001a\u00020\u0015HÆ\u0003J\u000f\u00105\u001a\b\u0012\u0004\u0012\u00020\u00180\u0017HÆ\u0003J\u000b\u00106\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u00107\u001a\u0004\u0018\u00010\u0007HÆ\u0003J\u000b\u00108\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u00109\u001a\u0004\u0018\u00010\u000bHÆ\u0003J\u000b\u0010:\u001a\u0004\u0018\u00010\rHÆ\u0003J\t\u0010;\u001a\u00020\u000fHÆ\u0003J\t\u0010<\u001a\u00020\u000fHÆ\u0003J\t\u0010=\u001a\u00020\u0012HÆ\u0003J\u0093\u0001\u0010>\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00072\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u000b2\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\r2\b\b\u0002\u0010\u000e\u001a\u00020\u000f2\b\b\u0002\u0010\u0010\u001a\u00020\u000f2\b\b\u0002\u0010\u0011\u001a\u00020\u00122\n\b\u0002\u0010\u0013\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u0014\u001a\u00020\u00152\u000e\b\u0002\u0010\u0016\u001a\b\u0012\u0004\u0012\u00020\u00180\u0017HÆ\u0001J\t\u0010?\u001a\u00020@HÖ\u0001J\u0013\u0010A\u001a\u00020\u000f2\b\u0010B\u001a\u0004\u0018\u00010CHÖ\u0003J\t\u0010D\u001a\u00020@HÖ\u0001J\t\u0010E\u001a\u00020\u0003HÖ\u0001J\u0019\u0010F\u001a\u00020G2\u0006\u0010H\u001a\u00020I2\u0006\u0010J\u001a\u00020@HÖ\u0001R\u0011\u0010\u000e\u001a\u00020\u000f¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u001bR\u0011\u0010\u0010\u001a\u00020\u000f¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u001bR\u0011\u0010\u0011\u001a\u00020\u0012¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u001eR\u0011\u0010\u0014\u001a\u00020\u0015¢\u0006\b\n\u0000\u001a\u0004\b\u001f\u0010 R\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b!\u0010\"R\u0013\u0010\n\u001a\u0004\u0018\u00010\u000b¢\u0006\b\n\u0000\u001a\u0004\b#\u0010$R\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b%\u0010&R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b'\u0010(R\u0017\u0010\u0016\u001a\b\u0012\u0004\u0012\u00020\u00180\u0017¢\u0006\b\n\u0000\u001a\u0004\b)\u0010*R\u001e\u0010\b\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b+\u0010,\u001a\u0004\b-\u0010.R\u0013\u0010\u0013\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b/\u0010(R\u0013\u0010\f\u001a\u0004\u0018\u00010\r¢\u0006\b\n\u0000\u001a\u0004\b0\u00101¨\u0006M"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$Configuration;", "Landroid/os/Parcelable;", "merchantDisplayName", "", "customer", "Lcom/stripe/android/paymentsheet/PaymentSheet$CustomerConfiguration;", "googlePay", "Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration;", "primaryButtonColor", "Landroid/content/res/ColorStateList;", "defaultBillingDetails", "Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetails;", "shippingDetails", "Lcom/stripe/android/paymentsheet/addresselement/AddressDetails;", "allowsDelayedPaymentMethods", "", "allowsPaymentMethodsRequiringShippingAddress", PaymentSheetEvent.FIELD_APPEARANCE, "Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance;", "primaryButtonLabel", "billingDetailsCollectionConfiguration", "Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration;", "preferredNetworks", "", "Lcom/stripe/android/model/CardBrand;", "(Ljava/lang/String;Lcom/stripe/android/paymentsheet/PaymentSheet$CustomerConfiguration;Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration;Landroid/content/res/ColorStateList;Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetails;Lcom/stripe/android/paymentsheet/addresselement/AddressDetails;ZZLcom/stripe/android/paymentsheet/PaymentSheet$Appearance;Ljava/lang/String;Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration;Ljava/util/List;)V", "getAllowsDelayedPaymentMethods", "()Z", "getAllowsPaymentMethodsRequiringShippingAddress", "getAppearance", "()Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance;", "getBillingDetailsCollectionConfiguration", "()Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration;", "getCustomer", "()Lcom/stripe/android/paymentsheet/PaymentSheet$CustomerConfiguration;", "getDefaultBillingDetails", "()Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetails;", "getGooglePay", "()Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration;", "getMerchantDisplayName", "()Ljava/lang/String;", "getPreferredNetworks", "()Ljava/util/List;", "getPrimaryButtonColor$annotations", "()V", "getPrimaryButtonColor", "()Landroid/content/res/ColorStateList;", "getPrimaryButtonLabel", "getShippingDetails", "()Lcom/stripe/android/paymentsheet/addresselement/AddressDetails;", "component1", "component10", "component11", "component12", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "copy", "describeContents", "", "equals", "other", "", "hashCode", "toString", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "Builder", "Companion", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Configuration implements Parcelable {
private final boolean allowsDelayedPaymentMethods;
private final boolean allowsPaymentMethodsRequiringShippingAddress;
private final Appearance appearance;
private final BillingDetailsCollectionConfiguration billingDetailsCollectionConfiguration;
private final CustomerConfiguration customer;
private final BillingDetails defaultBillingDetails;
private final GooglePayConfiguration googlePay;
private final String merchantDisplayName;
private final List<CardBrand> preferredNetworks;
private final ColorStateList primaryButtonColor;
private final String primaryButtonLabel;
private final AddressDetails shippingDetails;
public static final Companion INSTANCE = new Companion(null);
public static final int $stable = 8;
public static final Parcelable.Creator<Configuration> CREATOR = new Creator();
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<Configuration> {
@Override
public final Configuration createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
String readString = parcel.readString();
CustomerConfiguration createFromParcel = parcel.readInt() == 0 ? null : CustomerConfiguration.CREATOR.createFromParcel(parcel);
GooglePayConfiguration createFromParcel2 = parcel.readInt() == 0 ? null : GooglePayConfiguration.CREATOR.createFromParcel(parcel);
ColorStateList colorStateList = (ColorStateList) parcel.readParcelable(Configuration.class.getClassLoader());
BillingDetails createFromParcel3 = parcel.readInt() != 0 ? BillingDetails.CREATOR.createFromParcel(parcel) : null;
AddressDetails addressDetails = (AddressDetails) parcel.readParcelable(Configuration.class.getClassLoader());
boolean z = parcel.readInt() != 0;
boolean z2 = parcel.readInt() != 0;
Appearance createFromParcel4 = Appearance.CREATOR.createFromParcel(parcel);
String readString2 = parcel.readString();
BillingDetailsCollectionConfiguration createFromParcel5 = BillingDetailsCollectionConfiguration.CREATOR.createFromParcel(parcel);
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i2 = 0; i2 != readInt; i2++) {
arrayList.add(CardBrand.valueOf(parcel.readString()));
}
return new Configuration(readString, createFromParcel, createFromParcel2, colorStateList, createFromParcel3, addressDetails, z, z2, createFromParcel4, readString2, createFromParcel5, arrayList);
}
@Override
public final Configuration[] newArray(int i2) {
return new Configuration[i2];
}
}
public Configuration(String str) {
this(str, null, null, null, null, null, false, false, null, null, null, null, 4094, null);
Intrinsics.checkNotNullParameter(str, "merchantDisplayName");
}
public Configuration(String str, CustomerConfiguration customerConfiguration) {
this(str, customerConfiguration, null, null, null, null, false, false, null, null, null, null, 4092, null);
Intrinsics.checkNotNullParameter(str, "merchantDisplayName");
}
public Configuration(String str, CustomerConfiguration customerConfiguration, GooglePayConfiguration googlePayConfiguration) {
this(str, customerConfiguration, googlePayConfiguration, null, null, null, false, false, null, null, null, null, 4088, null);
Intrinsics.checkNotNullParameter(str, "merchantDisplayName");
}
public Configuration(String str, CustomerConfiguration customerConfiguration, GooglePayConfiguration googlePayConfiguration, ColorStateList colorStateList) {
this(str, customerConfiguration, googlePayConfiguration, colorStateList, null, null, false, false, null, null, null, null, 4080, null);
Intrinsics.checkNotNullParameter(str, "merchantDisplayName");
}
public Configuration(String str, CustomerConfiguration customerConfiguration, GooglePayConfiguration googlePayConfiguration, ColorStateList colorStateList, BillingDetails billingDetails) {
this(str, customerConfiguration, googlePayConfiguration, colorStateList, billingDetails, null, false, false, null, null, null, null, 4064, null);
Intrinsics.checkNotNullParameter(str, "merchantDisplayName");
}
public Configuration(String str, CustomerConfiguration customerConfiguration, GooglePayConfiguration googlePayConfiguration, ColorStateList colorStateList, BillingDetails billingDetails, AddressDetails addressDetails) {
this(str, customerConfiguration, googlePayConfiguration, colorStateList, billingDetails, addressDetails, false, false, null, null, null, null, 4032, null);
Intrinsics.checkNotNullParameter(str, "merchantDisplayName");
}
public Configuration(String str, CustomerConfiguration customerConfiguration, GooglePayConfiguration googlePayConfiguration, ColorStateList colorStateList, BillingDetails billingDetails, AddressDetails addressDetails, boolean z) {
this(str, customerConfiguration, googlePayConfiguration, colorStateList, billingDetails, addressDetails, z, false, null, null, null, null, 3968, null);
Intrinsics.checkNotNullParameter(str, "merchantDisplayName");
}
public Configuration(String str, CustomerConfiguration customerConfiguration, GooglePayConfiguration googlePayConfiguration, ColorStateList colorStateList, BillingDetails billingDetails, AddressDetails addressDetails, boolean z, boolean z2) {
this(str, customerConfiguration, googlePayConfiguration, colorStateList, billingDetails, addressDetails, z, z2, null, null, null, null, 3840, null);
Intrinsics.checkNotNullParameter(str, "merchantDisplayName");
}
public Configuration(String str, CustomerConfiguration customerConfiguration, GooglePayConfiguration googlePayConfiguration, ColorStateList colorStateList, BillingDetails billingDetails, AddressDetails addressDetails, boolean z, boolean z2, Appearance appearance) {
this(str, customerConfiguration, googlePayConfiguration, colorStateList, billingDetails, addressDetails, z, z2, appearance, null, null, null, 3584, null);
Intrinsics.checkNotNullParameter(str, "merchantDisplayName");
Intrinsics.checkNotNullParameter(appearance, PaymentSheetEvent.FIELD_APPEARANCE);
}
public Configuration(String str, CustomerConfiguration customerConfiguration, GooglePayConfiguration googlePayConfiguration, ColorStateList colorStateList, BillingDetails billingDetails, AddressDetails addressDetails, boolean z, boolean z2, Appearance appearance, String str2) {
this(str, customerConfiguration, googlePayConfiguration, colorStateList, billingDetails, addressDetails, z, z2, appearance, str2, null, null, 3072, null);
Intrinsics.checkNotNullParameter(str, "merchantDisplayName");
Intrinsics.checkNotNullParameter(appearance, PaymentSheetEvent.FIELD_APPEARANCE);
}
public Configuration(String str, CustomerConfiguration customerConfiguration, GooglePayConfiguration googlePayConfiguration, ColorStateList colorStateList, BillingDetails billingDetails, AddressDetails addressDetails, boolean z, boolean z2, Appearance appearance, String str2, BillingDetailsCollectionConfiguration billingDetailsCollectionConfiguration) {
this(str, customerConfiguration, googlePayConfiguration, colorStateList, billingDetails, addressDetails, z, z2, appearance, str2, billingDetailsCollectionConfiguration, null, TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE, null);
Intrinsics.checkNotNullParameter(str, "merchantDisplayName");
Intrinsics.checkNotNullParameter(appearance, PaymentSheetEvent.FIELD_APPEARANCE);
Intrinsics.checkNotNullParameter(billingDetailsCollectionConfiguration, "billingDetailsCollectionConfiguration");
}
@Deprecated(message = "Use Appearance parameter to customize primary button color", replaceWith = @ReplaceWith(expression = "Appearance.colorsLight/colorsDark.primary or PrimaryButton.colorsLight/colorsDark.background", imports = {}))
public static void getPrimaryButtonColor$annotations() {
}
public final String getMerchantDisplayName() {
return this.merchantDisplayName;
}
public final String getPrimaryButtonLabel() {
return this.primaryButtonLabel;
}
public final BillingDetailsCollectionConfiguration getBillingDetailsCollectionConfiguration() {
return this.billingDetailsCollectionConfiguration;
}
public final List<CardBrand> component12() {
return this.preferredNetworks;
}
public final CustomerConfiguration getCustomer() {
return this.customer;
}
public final GooglePayConfiguration getGooglePay() {
return this.googlePay;
}
public final ColorStateList getPrimaryButtonColor() {
return this.primaryButtonColor;
}
public final BillingDetails getDefaultBillingDetails() {
return this.defaultBillingDetails;
}
public final AddressDetails getShippingDetails() {
return this.shippingDetails;
}
public final boolean getAllowsDelayedPaymentMethods() {
return this.allowsDelayedPaymentMethods;
}
public final boolean getAllowsPaymentMethodsRequiringShippingAddress() {
return this.allowsPaymentMethodsRequiringShippingAddress;
}
public final Appearance getAppearance() {
return this.appearance;
}
public final Configuration copy(String merchantDisplayName, CustomerConfiguration customer, GooglePayConfiguration googlePay, ColorStateList primaryButtonColor, BillingDetails defaultBillingDetails, AddressDetails shippingDetails, boolean allowsDelayedPaymentMethods, boolean allowsPaymentMethodsRequiringShippingAddress, Appearance appearance, String primaryButtonLabel, BillingDetailsCollectionConfiguration billingDetailsCollectionConfiguration, List<? extends CardBrand> preferredNetworks) {
Intrinsics.checkNotNullParameter(merchantDisplayName, "merchantDisplayName");
Intrinsics.checkNotNullParameter(appearance, PaymentSheetEvent.FIELD_APPEARANCE);
Intrinsics.checkNotNullParameter(billingDetailsCollectionConfiguration, "billingDetailsCollectionConfiguration");
Intrinsics.checkNotNullParameter(preferredNetworks, "preferredNetworks");
return new Configuration(merchantDisplayName, customer, googlePay, primaryButtonColor, defaultBillingDetails, shippingDetails, allowsDelayedPaymentMethods, allowsPaymentMethodsRequiringShippingAddress, appearance, primaryButtonLabel, billingDetailsCollectionConfiguration, preferredNetworks);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof Configuration)) {
return false;
}
Configuration configuration = (Configuration) other;
return Intrinsics.areEqual(this.merchantDisplayName, configuration.merchantDisplayName) && Intrinsics.areEqual(this.customer, configuration.customer) && Intrinsics.areEqual(this.googlePay, configuration.googlePay) && Intrinsics.areEqual(this.primaryButtonColor, configuration.primaryButtonColor) && Intrinsics.areEqual(this.defaultBillingDetails, configuration.defaultBillingDetails) && Intrinsics.areEqual(this.shippingDetails, configuration.shippingDetails) && this.allowsDelayedPaymentMethods == configuration.allowsDelayedPaymentMethods && this.allowsPaymentMethodsRequiringShippingAddress == configuration.allowsPaymentMethodsRequiringShippingAddress && Intrinsics.areEqual(this.appearance, configuration.appearance) && Intrinsics.areEqual(this.primaryButtonLabel, configuration.primaryButtonLabel) && Intrinsics.areEqual(this.billingDetailsCollectionConfiguration, configuration.billingDetailsCollectionConfiguration) && Intrinsics.areEqual(this.preferredNetworks, configuration.preferredNetworks);
}
public int hashCode() {
int hashCode = this.merchantDisplayName.hashCode() * 31;
CustomerConfiguration customerConfiguration = this.customer;
int hashCode2 = (hashCode + (customerConfiguration == null ? 0 : customerConfiguration.hashCode())) * 31;
GooglePayConfiguration googlePayConfiguration = this.googlePay;
int hashCode3 = (hashCode2 + (googlePayConfiguration == null ? 0 : googlePayConfiguration.hashCode())) * 31;
ColorStateList colorStateList = this.primaryButtonColor;
int hashCode4 = (hashCode3 + (colorStateList == null ? 0 : colorStateList.hashCode())) * 31;
BillingDetails billingDetails = this.defaultBillingDetails;
int hashCode5 = (hashCode4 + (billingDetails == null ? 0 : billingDetails.hashCode())) * 31;
AddressDetails addressDetails = this.shippingDetails;
int hashCode6 = (hashCode5 + (addressDetails == null ? 0 : addressDetails.hashCode())) * 31;
boolean z = this.allowsDelayedPaymentMethods;
int i2 = z;
if (z != 0) {
i2 = 1;
}
int i3 = (hashCode6 + i2) * 31;
boolean z2 = this.allowsPaymentMethodsRequiringShippingAddress;
int hashCode7 = (((i3 + (z2 ? 1 : z2 ? 1 : 0)) * 31) + this.appearance.hashCode()) * 31;
String str = this.primaryButtonLabel;
return ((((hashCode7 + (str != null ? str.hashCode() : 0)) * 31) + this.billingDetailsCollectionConfiguration.hashCode()) * 31) + this.preferredNetworks.hashCode();
}
public String toString() {
return "Configuration(merchantDisplayName=" + this.merchantDisplayName + ", customer=" + this.customer + ", googlePay=" + this.googlePay + ", primaryButtonColor=" + this.primaryButtonColor + ", defaultBillingDetails=" + this.defaultBillingDetails + ", shippingDetails=" + this.shippingDetails + ", allowsDelayedPaymentMethods=" + this.allowsDelayedPaymentMethods + ", allowsPaymentMethodsRequiringShippingAddress=" + this.allowsPaymentMethodsRequiringShippingAddress + ", appearance=" + this.appearance + ", primaryButtonLabel=" + this.primaryButtonLabel + ", billingDetailsCollectionConfiguration=" + this.billingDetailsCollectionConfiguration + ", preferredNetworks=" + this.preferredNetworks + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.merchantDisplayName);
CustomerConfiguration customerConfiguration = this.customer;
if (customerConfiguration == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
customerConfiguration.writeToParcel(parcel, flags);
}
GooglePayConfiguration googlePayConfiguration = this.googlePay;
if (googlePayConfiguration == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
googlePayConfiguration.writeToParcel(parcel, flags);
}
parcel.writeParcelable(this.primaryButtonColor, flags);
BillingDetails billingDetails = this.defaultBillingDetails;
if (billingDetails == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
billingDetails.writeToParcel(parcel, flags);
}
parcel.writeParcelable(this.shippingDetails, flags);
parcel.writeInt(this.allowsDelayedPaymentMethods ? 1 : 0);
parcel.writeInt(this.allowsPaymentMethodsRequiringShippingAddress ? 1 : 0);
this.appearance.writeToParcel(parcel, flags);
parcel.writeString(this.primaryButtonLabel);
this.billingDetailsCollectionConfiguration.writeToParcel(parcel, flags);
List<CardBrand> list = this.preferredNetworks;
parcel.writeInt(list.size());
Iterator<CardBrand> it2 = list.iterator();
while (it2.hasNext()) {
parcel.writeString(it2.next().name());
}
}
public Configuration(String str, CustomerConfiguration customerConfiguration, GooglePayConfiguration googlePayConfiguration, ColorStateList colorStateList, BillingDetails billingDetails, AddressDetails addressDetails, boolean z, boolean z2, Appearance appearance, String str2, BillingDetailsCollectionConfiguration billingDetailsCollectionConfiguration, List<? extends CardBrand> list) {
Intrinsics.checkNotNullParameter(str, "merchantDisplayName");
Intrinsics.checkNotNullParameter(appearance, PaymentSheetEvent.FIELD_APPEARANCE);
Intrinsics.checkNotNullParameter(billingDetailsCollectionConfiguration, "billingDetailsCollectionConfiguration");
Intrinsics.checkNotNullParameter(list, "preferredNetworks");
this.merchantDisplayName = str;
this.customer = customerConfiguration;
this.googlePay = googlePayConfiguration;
this.primaryButtonColor = colorStateList;
this.defaultBillingDetails = billingDetails;
this.shippingDetails = addressDetails;
this.allowsDelayedPaymentMethods = z;
this.allowsPaymentMethodsRequiringShippingAddress = z2;
this.appearance = appearance;
this.primaryButtonLabel = str2;
this.billingDetailsCollectionConfiguration = billingDetailsCollectionConfiguration;
this.preferredNetworks = list;
}
public final String getMerchantDisplayName() {
return this.merchantDisplayName;
}
public final CustomerConfiguration getCustomer() {
return this.customer;
}
public final GooglePayConfiguration getGooglePay() {
return this.googlePay;
}
public final ColorStateList getPrimaryButtonColor() {
return this.primaryButtonColor;
}
public final BillingDetails getDefaultBillingDetails() {
return this.defaultBillingDetails;
}
public final AddressDetails getShippingDetails() {
return this.shippingDetails;
}
public final boolean getAllowsDelayedPaymentMethods() {
return this.allowsDelayedPaymentMethods;
}
public final boolean getAllowsPaymentMethodsRequiringShippingAddress() {
return this.allowsPaymentMethodsRequiringShippingAddress;
}
public Configuration(String str, CustomerConfiguration customerConfiguration, GooglePayConfiguration googlePayConfiguration, ColorStateList colorStateList, BillingDetails billingDetails, AddressDetails addressDetails, boolean z, boolean z2, Appearance appearance, String str2, BillingDetailsCollectionConfiguration billingDetailsCollectionConfiguration, List list, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this(str, (i2 & 2) != 0 ? null : customerConfiguration, (i2 & 4) != 0 ? null : googlePayConfiguration, (i2 & 8) != 0 ? null : colorStateList, (i2 & 16) != 0 ? null : billingDetails, (i2 & 32) != 0 ? null : addressDetails, (i2 & 64) != 0 ? false : z, (i2 & 128) == 0 ? z2 : false, (i2 & 256) != 0 ? new Appearance(null, null, null, null, null, 31, null) : appearance, (i2 & TruecallerSdkScope.FOOTER_TYPE_MANUALLY) == 0 ? str2 : null, (i2 & TruecallerSdkScope.BUTTON_SHAPE_ROUNDED) != 0 ? new BillingDetailsCollectionConfiguration(null, null, null, null, false, 31, null) : billingDetailsCollectionConfiguration, (i2 & TruecallerSdkScope.BUTTON_SHAPE_RECTANGLE) != 0 ? CollectionsKt.emptyList() : list);
}
public final Appearance getAppearance() {
return this.appearance;
}
public final String getPrimaryButtonLabel() {
return this.primaryButtonLabel;
}
public final BillingDetailsCollectionConfiguration getBillingDetailsCollectionConfiguration() {
return this.billingDetailsCollectionConfiguration;
}
public final List<CardBrand> getPreferredNetworks() {
return this.preferredNetworks;
}
@Metadata(d1 = {"\u0000V\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0007\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\u000e\u0010\u0005\u001a\u00020\u00002\u0006\u0010\u0005\u001a\u00020\u0006J\u000e\u0010\u0007\u001a\u00020\u00002\u0006\u0010\u0007\u001a\u00020\u0006J\u000e\u0010\b\u001a\u00020\u00002\u0006\u0010\b\u001a\u00020\tJ\u000e\u0010\n\u001a\u00020\u00002\u0006\u0010\n\u001a\u00020\u000bJ\u0006\u0010\u001a\u001a\u00020\u001bJ\u0010\u0010\f\u001a\u00020\u00002\b\u0010\f\u001a\u0004\u0018\u00010\rJ\u0010\u0010\u000e\u001a\u00020\u00002\b\u0010\u000e\u001a\u0004\u0018\u00010\u000fJ\u0010\u0010\u0010\u001a\u00020\u00002\b\u0010\u0010\u001a\u0004\u0018\u00010\u0011J\u000e\u0010\u0002\u001a\u00020\u00002\u0006\u0010\u0002\u001a\u00020\u0003J\u0014\u0010\u0012\u001a\u00020\u00002\f\u0010\u0012\u001a\b\u0012\u0004\u0012\u00020\u00140\u0013J\u0012\u0010\u0015\u001a\u00020\u00002\b\u0010\u0015\u001a\u0004\u0018\u00010\u0016H\u0007J\u000e\u0010\u0017\u001a\u00020\u00002\u0006\u0010\u0017\u001a\u00020\u0003J\u0010\u0010\u0018\u001a\u00020\u00002\b\u0010\u0018\u001a\u0004\u0018\u00010\u0019R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0006X\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\b\u001a\u00020\tX\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\u000bX\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\f\u001a\u0004\u0018\u00010\rX\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u000e\u001a\u0004\u0018\u00010\u000fX\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u0010\u001a\u0004\u0018\u00010\u0011X\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u000e¢\u0006\u0002\n\u0000R\u0014\u0010\u0012\u001a\b\u0012\u0004\u0012\u00020\u00140\u0013X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u0015\u001a\u0004\u0018\u00010\u0016X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u0017\u001a\u0004\u0018\u00010\u0003X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u0018\u001a\u0004\u0018\u00010\u0019X\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\u001c"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$Configuration$Builder;", "", "merchantDisplayName", "", "(Ljava/lang/String;)V", "allowsDelayedPaymentMethods", "", "allowsPaymentMethodsRequiringShippingAddress", PaymentSheetEvent.FIELD_APPEARANCE, "Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance;", "billingDetailsCollectionConfiguration", "Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration;", "customer", "Lcom/stripe/android/paymentsheet/PaymentSheet$CustomerConfiguration;", "defaultBillingDetails", "Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetails;", "googlePay", "Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration;", "preferredNetworks", "", "Lcom/stripe/android/model/CardBrand;", "primaryButtonColor", "Landroid/content/res/ColorStateList;", "primaryButtonLabel", "shippingDetails", "Lcom/stripe/android/paymentsheet/addresselement/AddressDetails;", "build", "Lcom/stripe/android/paymentsheet/PaymentSheet$Configuration;", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Builder {
public static final int $stable = 8;
private boolean allowsDelayedPaymentMethods;
private boolean allowsPaymentMethodsRequiringShippingAddress;
private Appearance appearance;
private BillingDetailsCollectionConfiguration billingDetailsCollectionConfiguration;
private CustomerConfiguration customer;
private BillingDetails defaultBillingDetails;
private GooglePayConfiguration googlePay;
private String merchantDisplayName;
private List<? extends CardBrand> preferredNetworks;
private ColorStateList primaryButtonColor;
private String primaryButtonLabel;
private AddressDetails shippingDetails;
public Builder(String str) {
Intrinsics.checkNotNullParameter(str, "merchantDisplayName");
this.merchantDisplayName = str;
this.appearance = new Appearance(null, null, null, null, null, 31, null);
this.billingDetailsCollectionConfiguration = new BillingDetailsCollectionConfiguration(null, null, null, null, false, 31, null);
this.preferredNetworks = CollectionsKt.emptyList();
}
public final Builder merchantDisplayName(String merchantDisplayName) {
Intrinsics.checkNotNullParameter(merchantDisplayName, "merchantDisplayName");
this.merchantDisplayName = merchantDisplayName;
return this;
}
public final Builder customer(CustomerConfiguration customer) {
this.customer = customer;
return this;
}
public final Builder googlePay(GooglePayConfiguration googlePay) {
this.googlePay = googlePay;
return this;
}
@Deprecated(message = "Use Appearance parameter to customize primary button color", replaceWith = @ReplaceWith(expression = "Appearance.colorsLight/colorsDark.primary or PrimaryButton.colorsLight/colorsDark.background", imports = {}))
public final Builder primaryButtonColor(ColorStateList primaryButtonColor) {
this.primaryButtonColor = primaryButtonColor;
return this;
}
public final Builder defaultBillingDetails(BillingDetails defaultBillingDetails) {
this.defaultBillingDetails = defaultBillingDetails;
return this;
}
public final Builder shippingDetails(AddressDetails shippingDetails) {
this.shippingDetails = shippingDetails;
return this;
}
public final Builder allowsDelayedPaymentMethods(boolean allowsDelayedPaymentMethods) {
this.allowsDelayedPaymentMethods = allowsDelayedPaymentMethods;
return this;
}
public final Builder allowsPaymentMethodsRequiringShippingAddress(boolean allowsPaymentMethodsRequiringShippingAddress) {
this.allowsPaymentMethodsRequiringShippingAddress = allowsPaymentMethodsRequiringShippingAddress;
return this;
}
public final Builder appearance(Appearance appearance) {
Intrinsics.checkNotNullParameter(appearance, PaymentSheetEvent.FIELD_APPEARANCE);
this.appearance = appearance;
return this;
}
public final Builder primaryButtonLabel(String primaryButtonLabel) {
Intrinsics.checkNotNullParameter(primaryButtonLabel, "primaryButtonLabel");
this.primaryButtonLabel = primaryButtonLabel;
return this;
}
public final Builder billingDetailsCollectionConfiguration(BillingDetailsCollectionConfiguration billingDetailsCollectionConfiguration) {
Intrinsics.checkNotNullParameter(billingDetailsCollectionConfiguration, "billingDetailsCollectionConfiguration");
this.billingDetailsCollectionConfiguration = billingDetailsCollectionConfiguration;
return this;
}
public final Builder preferredNetworks(List<? extends CardBrand> preferredNetworks) {
Intrinsics.checkNotNullParameter(preferredNetworks, "preferredNetworks");
this.preferredNetworks = preferredNetworks;
return this;
}
public final Configuration build() {
return new Configuration(this.merchantDisplayName, this.customer, this.googlePay, this.primaryButtonColor, this.defaultBillingDetails, this.shippingDetails, this.allowsDelayedPaymentMethods, this.allowsPaymentMethodsRequiringShippingAddress, this.appearance, this.primaryButtonLabel, this.billingDetailsCollectionConfiguration, this.preferredNetworks);
}
}
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0080\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000e\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006¨\u0006\u0007"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$Configuration$Companion;", "", "()V", "default", "Lcom/stripe/android/paymentsheet/PaymentSheet$Configuration;", "context", "Landroid/content/Context;", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Companion {
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
public final Configuration m301default(Context context) {
Intrinsics.checkNotNullParameter(context, "context");
return new Configuration(context.getApplicationInfo().loadLabel(context.getPackageManager()).toString(), null, null, null, null, null, false, false, null, null, null, null, 4094, null);
}
}
}
@Metadata(d1 = {"\u0000N\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0011\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0087\b\u0018\u00002\u00020\u0001:\u0001+B7\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0005\u001a\u00020\u0006\u0012\b\b\u0002\u0010\u0007\u001a\u00020\b\u0012\b\b\u0002\u0010\t\u001a\u00020\n¢\u0006\u0002\u0010\u000bJ\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0016\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0017\u001a\u00020\u0006HÆ\u0003J\t\u0010\u0018\u001a\u00020\bHÆ\u0003J\t\u0010\u0019\u001a\u00020\nHÆ\u0003J;\u0010\u001a\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00062\b\b\u0002\u0010\u0007\u001a\u00020\b2\b\b\u0002\u0010\t\u001a\u00020\nHÆ\u0001J\t\u0010\u001b\u001a\u00020\u001cHÖ\u0001J\u0013\u0010\u001d\u001a\u00020\u001e2\b\u0010\u001f\u001a\u0004\u0018\u00010 HÖ\u0003J\u000e\u0010!\u001a\u00020\u00032\u0006\u0010\"\u001a\u00020\u001eJ\t\u0010#\u001a\u00020\u001cHÖ\u0001J\t\u0010$\u001a\u00020%HÖ\u0001J\u0019\u0010&\u001a\u00020'2\u0006\u0010(\u001a\u00020)2\u0006\u0010*\u001a\u00020\u001cHÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\rR\u0011\u0010\t\u001a\u00020\n¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0011\u0010\u0007\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014¨\u0006,"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance;", "Landroid/os/Parcelable;", PaymentSheetEvent.FIELD_COLORS_LIGHT, "Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;", PaymentSheetEvent.FIELD_COLORS_DARK, "shapes", "Lcom/stripe/android/paymentsheet/PaymentSheet$Shapes;", "typography", "Lcom/stripe/android/paymentsheet/PaymentSheet$Typography;", "primaryButton", "Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButton;", "(Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;Lcom/stripe/android/paymentsheet/PaymentSheet$Shapes;Lcom/stripe/android/paymentsheet/PaymentSheet$Typography;Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButton;)V", "getColorsDark", "()Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;", "getColorsLight", "getPrimaryButton", "()Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButton;", "getShapes", "()Lcom/stripe/android/paymentsheet/PaymentSheet$Shapes;", "getTypography", "()Lcom/stripe/android/paymentsheet/PaymentSheet$Typography;", "component1", "component2", "component3", "component4", "component5", "copy", "describeContents", "", "equals", "", "other", "", "getColors", "isDark", "hashCode", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "Builder", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Appearance implements Parcelable {
public static final int $stable = 0;
public static final Parcelable.Creator<Appearance> CREATOR = new Creator();
private final Colors colorsDark;
private final Colors colorsLight;
private final PrimaryButton primaryButton;
private final Shapes shapes;
private final Typography typography;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<Appearance> {
@Override
public final Appearance createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new Appearance(Colors.CREATOR.createFromParcel(parcel), Colors.CREATOR.createFromParcel(parcel), Shapes.CREATOR.createFromParcel(parcel), Typography.CREATOR.createFromParcel(parcel), PrimaryButton.CREATOR.createFromParcel(parcel));
}
@Override
public final Appearance[] newArray(int i2) {
return new Appearance[i2];
}
}
public Appearance() {
this(null, null, null, null, null, 31, null);
}
public static Appearance copy$default(Appearance appearance, Colors colors, Colors colors2, Shapes shapes, Typography typography, PrimaryButton primaryButton, int i2, Object obj) {
if ((i2 & 1) != 0) {
colors = appearance.colorsLight;
}
if ((i2 & 2) != 0) {
colors2 = appearance.colorsDark;
}
Colors colors3 = colors2;
if ((i2 & 4) != 0) {
shapes = appearance.shapes;
}
Shapes shapes2 = shapes;
if ((i2 & 8) != 0) {
typography = appearance.typography;
}
Typography typography2 = typography;
if ((i2 & 16) != 0) {
primaryButton = appearance.primaryButton;
}
return appearance.copy(colors, colors3, shapes2, typography2, primaryButton);
}
public final Colors getColorsLight() {
return this.colorsLight;
}
public final Colors getColorsDark() {
return this.colorsDark;
}
public final Shapes getShapes() {
return this.shapes;
}
public final Typography getTypography() {
return this.typography;
}
public final PrimaryButton getPrimaryButton() {
return this.primaryButton;
}
public final Appearance copy(Colors colorsLight, Colors colorsDark, Shapes shapes, Typography typography, PrimaryButton primaryButton) {
Intrinsics.checkNotNullParameter(colorsLight, PaymentSheetEvent.FIELD_COLORS_LIGHT);
Intrinsics.checkNotNullParameter(colorsDark, PaymentSheetEvent.FIELD_COLORS_DARK);
Intrinsics.checkNotNullParameter(shapes, "shapes");
Intrinsics.checkNotNullParameter(typography, "typography");
Intrinsics.checkNotNullParameter(primaryButton, "primaryButton");
return new Appearance(colorsLight, colorsDark, shapes, typography, primaryButton);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof Appearance)) {
return false;
}
Appearance appearance = (Appearance) other;
return Intrinsics.areEqual(this.colorsLight, appearance.colorsLight) && Intrinsics.areEqual(this.colorsDark, appearance.colorsDark) && Intrinsics.areEqual(this.shapes, appearance.shapes) && Intrinsics.areEqual(this.typography, appearance.typography) && Intrinsics.areEqual(this.primaryButton, appearance.primaryButton);
}
public int hashCode() {
return (((((((this.colorsLight.hashCode() * 31) + this.colorsDark.hashCode()) * 31) + this.shapes.hashCode()) * 31) + this.typography.hashCode()) * 31) + this.primaryButton.hashCode();
}
public String toString() {
return "Appearance(colorsLight=" + this.colorsLight + ", colorsDark=" + this.colorsDark + ", shapes=" + this.shapes + ", typography=" + this.typography + ", primaryButton=" + this.primaryButton + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
this.colorsLight.writeToParcel(parcel, flags);
this.colorsDark.writeToParcel(parcel, flags);
this.shapes.writeToParcel(parcel, flags);
this.typography.writeToParcel(parcel, flags);
this.primaryButton.writeToParcel(parcel, flags);
}
public Appearance(Colors colors, Colors colors2, Shapes shapes, Typography typography, PrimaryButton primaryButton) {
Intrinsics.checkNotNullParameter(colors, PaymentSheetEvent.FIELD_COLORS_LIGHT);
Intrinsics.checkNotNullParameter(colors2, PaymentSheetEvent.FIELD_COLORS_DARK);
Intrinsics.checkNotNullParameter(shapes, "shapes");
Intrinsics.checkNotNullParameter(typography, "typography");
Intrinsics.checkNotNullParameter(primaryButton, "primaryButton");
this.colorsLight = colors;
this.colorsDark = colors2;
this.shapes = shapes;
this.typography = typography;
this.primaryButton = primaryButton;
}
public Appearance(Colors colors, Colors colors2, Shapes shapes, Typography typography, PrimaryButton primaryButton, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this((i2 & 1) != 0 ? Colors.INSTANCE.getDefaultLight() : colors, (i2 & 2) != 0 ? Colors.INSTANCE.getDefaultDark() : colors2, (i2 & 4) != 0 ? Shapes.INSTANCE.getDefault() : shapes, (i2 & 8) != 0 ? Typography.INSTANCE.getDefault() : typography, (i2 & 16) != 0 ? new PrimaryButton(null, null, null, null, 15, null) : primaryButton);
}
public final Colors getColorsLight() {
return this.colorsLight;
}
public final Colors getColorsDark() {
return this.colorsDark;
}
public final Shapes getShapes() {
return this.shapes;
}
public final Typography getTypography() {
return this.typography;
}
public final PrimaryButton getPrimaryButton() {
return this.primaryButton;
}
public final Colors getColors(boolean isDark) {
return isDark ? this.colorsDark : this.colorsLight;
}
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0007\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J\u0006\u0010\f\u001a\u00020\rJ\u000e\u0010\u0003\u001a\u00020\u00002\u0006\u0010\u000e\u001a\u00020\u0004J\u000e\u0010\u0005\u001a\u00020\u00002\u0006\u0010\u000e\u001a\u00020\u0004J\u000e\u0010\u0006\u001a\u00020\u00002\u0006\u0010\u0006\u001a\u00020\u0007J\u000e\u0010\b\u001a\u00020\u00002\u0006\u0010\b\u001a\u00020\tJ\u000e\u0010\n\u001a\u00020\u00002\u0006\u0010\n\u001a\u00020\u000bR\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0007X\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\b\u001a\u00020\tX\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\u000bX\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\u000f"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance$Builder;", "", "()V", PaymentSheetEvent.FIELD_COLORS_DARK, "Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;", PaymentSheetEvent.FIELD_COLORS_LIGHT, "primaryButton", "Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButton;", "shapes", "Lcom/stripe/android/paymentsheet/PaymentSheet$Shapes;", "typography", "Lcom/stripe/android/paymentsheet/PaymentSheet$Typography;", "build", "Lcom/stripe/android/paymentsheet/PaymentSheet$Appearance;", "colors", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Builder {
public static final int $stable = 8;
private Colors colorsLight = Colors.INSTANCE.getDefaultLight();
private Colors colorsDark = Colors.INSTANCE.getDefaultDark();
private Shapes shapes = Shapes.INSTANCE.getDefault();
private Typography typography = Typography.INSTANCE.getDefault();
private PrimaryButton primaryButton = new PrimaryButton(null, null, null, null, 15, null);
public final Builder colorsLight(Colors colors) {
Intrinsics.checkNotNullParameter(colors, "colors");
this.colorsLight = colors;
return this;
}
public final Builder colorsDark(Colors colors) {
Intrinsics.checkNotNullParameter(colors, "colors");
this.colorsDark = colors;
return this;
}
public final Builder shapes(Shapes shapes) {
Intrinsics.checkNotNullParameter(shapes, "shapes");
this.shapes = shapes;
return this;
}
public final Builder typography(Typography typography) {
Intrinsics.checkNotNullParameter(typography, "typography");
this.typography = typography;
return this;
}
public final Builder primaryButton(PrimaryButton primaryButton) {
Intrinsics.checkNotNullParameter(primaryButton, "primaryButton");
this.primaryButton = primaryButton;
return this;
}
public final Appearance build() {
return new Appearance(this.colorsLight, this.colorsDark, this.shapes, this.typography, this.primaryButton);
}
}
}
@Metadata(d1 = {"\u0000<\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0010\b\n\u0002\b\u001b\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0087\b\u0018\u0000 62\u00020\u0001:\u00016Bb\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\u0006\u0010\b\u001a\u00020\u0003\u0012\u0006\u0010\t\u001a\u00020\u0003\u0012\u0006\u0010\n\u001a\u00020\u0003\u0012\u0006\u0010\u000b\u001a\u00020\u0003\u0012\u0006\u0010\f\u001a\u00020\u0003\u0012\u0006\u0010\r\u001a\u00020\u0003ø\u0001\u0000¢\u0006\u0002\u0010\u000eBs\u0012\b\b\u0001\u0010\u0002\u001a\u00020\u000f\u0012\b\b\u0001\u0010\u0004\u001a\u00020\u000f\u0012\b\b\u0001\u0010\u0005\u001a\u00020\u000f\u0012\b\b\u0001\u0010\u0006\u001a\u00020\u000f\u0012\b\b\u0001\u0010\u0007\u001a\u00020\u000f\u0012\b\b\u0001\u0010\b\u001a\u00020\u000f\u0012\b\b\u0001\u0010\u000b\u001a\u00020\u000f\u0012\b\b\u0001\u0010\t\u001a\u00020\u000f\u0012\b\b\u0001\u0010\n\u001a\u00020\u000f\u0012\b\b\u0001\u0010\f\u001a\u00020\u000f\u0012\b\b\u0001\u0010\r\u001a\u00020\u000f¢\u0006\u0002\u0010\u0010J\t\u0010\u001d\u001a\u00020\u000fHÆ\u0003J\t\u0010\u001e\u001a\u00020\u000fHÆ\u0003J\t\u0010\u001f\u001a\u00020\u000fHÆ\u0003J\t\u0010 \u001a\u00020\u000fHÆ\u0003J\t\u0010!\u001a\u00020\u000fHÆ\u0003J\t\u0010\"\u001a\u00020\u000fHÆ\u0003J\t\u0010#\u001a\u00020\u000fHÆ\u0003J\t\u0010$\u001a\u00020\u000fHÆ\u0003J\t\u0010%\u001a\u00020\u000fHÆ\u0003J\t\u0010&\u001a\u00020\u000fHÆ\u0003J\t\u0010'\u001a\u00020\u000fHÆ\u0003Jw\u0010(\u001a\u00020\u00002\b\b\u0003\u0010\u0002\u001a\u00020\u000f2\b\b\u0003\u0010\u0004\u001a\u00020\u000f2\b\b\u0003\u0010\u0005\u001a\u00020\u000f2\b\b\u0003\u0010\u0006\u001a\u00020\u000f2\b\b\u0003\u0010\u0007\u001a\u00020\u000f2\b\b\u0003\u0010\b\u001a\u00020\u000f2\b\b\u0003\u0010\u000b\u001a\u00020\u000f2\b\b\u0003\u0010\t\u001a\u00020\u000f2\b\b\u0003\u0010\n\u001a\u00020\u000f2\b\b\u0003\u0010\f\u001a\u00020\u000f2\b\b\u0003\u0010\r\u001a\u00020\u000fHÆ\u0001J\t\u0010)\u001a\u00020\u000fHÖ\u0001J\u0013\u0010*\u001a\u00020+2\b\u0010,\u001a\u0004\u0018\u00010-HÖ\u0003J\t\u0010.\u001a\u00020\u000fHÖ\u0001J\t\u0010/\u001a\u000200HÖ\u0001J\u0019\u00101\u001a\u0002022\u0006\u00103\u001a\u0002042\u0006\u00105\u001a\u00020\u000fHÖ\u0001R\u0011\u0010\f\u001a\u00020\u000f¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0011\u0010\u0005\u001a\u00020\u000f¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0012R\u0011\u0010\u0006\u001a\u00020\u000f¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0012R\u0011\u0010\u0007\u001a\u00020\u000f¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0012R\u0011\u0010\r\u001a\u00020\u000f¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0012R\u0011\u0010\b\u001a\u00020\u000f¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0012R\u0011\u0010\u000b\u001a\u00020\u000f¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0012R\u0011\u0010\n\u001a\u00020\u000f¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0012R\u0011\u0010\u0002\u001a\u00020\u000f¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u0012R\u0011\u0010\t\u001a\u00020\u000f¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u0012R\u0011\u0010\u0004\u001a\u00020\u000f¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u0012\u0082\u0002\u0004\n\u0002\b\u0019¨\u00067"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;", "Landroid/os/Parcelable;", "primary", "Landroidx/compose/ui/graphics/Color;", "surface", "component", "componentBorder", "componentDivider", "onComponent", "subtitle", "placeholderText", "onSurface", "appBarIcon", "error", "(JJJJJJJJJJJLkotlin/jvm/internal/DefaultConstructorMarker;)V", "", "(IIIIIIIIIII)V", "getAppBarIcon", "()I", "getComponent", "getComponentBorder", "getComponentDivider", "getError", "getOnComponent", "getOnSurface", "getPlaceholderText", "getPrimary", "getSubtitle", "getSurface", "component1", "component10", "component11", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "copy", "describeContents", "equals", "", "other", "", "hashCode", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "Companion", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Colors implements Parcelable {
public static final int $stable = 0;
private final int appBarIcon;
private final int component;
private final int componentBorder;
private final int componentDivider;
private final int error;
private final int onComponent;
private final int onSurface;
private final int placeholderText;
private final int primary;
private final int subtitle;
private final int surface;
public static final Companion INSTANCE = new Companion(null);
public static final Parcelable.Creator<Colors> CREATOR = new Creator();
private static final Colors defaultLight = new Colors(StripeThemeDefaults.INSTANCE.getColorsLight().getMaterialColors().getPrimary-0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsLight().getMaterialColors().getSurface-0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsLight().m809getComponent0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsLight().m810getComponentBorder0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsLight().m811getComponentDivider0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsLight().m812getOnComponent0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsLight().m814getSubtitle0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsLight().m813getPlaceholderText0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsLight().getMaterialColors().getOnSurface-0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsLight().m808getAppBarIcon0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsLight().getMaterialColors().getError-0d7_KjU(), null);
private static final Colors defaultDark = new Colors(StripeThemeDefaults.INSTANCE.getColorsDark().getMaterialColors().getPrimary-0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsDark().getMaterialColors().getSurface-0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsDark().m809getComponent0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsDark().m810getComponentBorder0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsDark().m811getComponentDivider0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsDark().m812getOnComponent0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsDark().m814getSubtitle0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsDark().m813getPlaceholderText0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsDark().getMaterialColors().getOnSurface-0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsDark().m808getAppBarIcon0d7_KjU(), StripeThemeDefaults.INSTANCE.getColorsDark().getMaterialColors().getError-0d7_KjU(), null);
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<Colors> {
@Override
public final Colors createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new Colors(parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readInt());
}
@Override
public final Colors[] newArray(int i2) {
return new Colors[i2];
}
}
public Colors(long j2, long j3, long j4, long j5, long j6, long j7, long j8, long j9, long j10, long j11, long j12, DefaultConstructorMarker defaultConstructorMarker) {
this(j2, j3, j4, j5, j6, j7, j8, j9, j10, j11, j12);
}
public final int getPrimary() {
return this.primary;
}
public final int getAppBarIcon() {
return this.appBarIcon;
}
public final int getError() {
return this.error;
}
public final int getSurface() {
return this.surface;
}
public final int getComponent() {
return this.component;
}
public final int getComponentBorder() {
return this.componentBorder;
}
public final int getComponentDivider() {
return this.componentDivider;
}
public final int getOnComponent() {
return this.onComponent;
}
public final int getOnSurface() {
return this.onSurface;
}
public final int getSubtitle() {
return this.subtitle;
}
public final int getPlaceholderText() {
return this.placeholderText;
}
public final Colors copy(int primary, int surface, int component, int componentBorder, int componentDivider, int onComponent, int onSurface, int subtitle, int placeholderText, int appBarIcon, int error) {
return new Colors(primary, surface, component, componentBorder, componentDivider, onComponent, onSurface, subtitle, placeholderText, appBarIcon, error);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof Colors)) {
return false;
}
Colors colors = (Colors) other;
return this.primary == colors.primary && this.surface == colors.surface && this.component == colors.component && this.componentBorder == colors.componentBorder && this.componentDivider == colors.componentDivider && this.onComponent == colors.onComponent && this.onSurface == colors.onSurface && this.subtitle == colors.subtitle && this.placeholderText == colors.placeholderText && this.appBarIcon == colors.appBarIcon && this.error == colors.error;
}
public int hashCode() {
return (((((((((((((((((((Integer.hashCode(this.primary) * 31) + Integer.hashCode(this.surface)) * 31) + Integer.hashCode(this.component)) * 31) + Integer.hashCode(this.componentBorder)) * 31) + Integer.hashCode(this.componentDivider)) * 31) + Integer.hashCode(this.onComponent)) * 31) + Integer.hashCode(this.onSurface)) * 31) + Integer.hashCode(this.subtitle)) * 31) + Integer.hashCode(this.placeholderText)) * 31) + Integer.hashCode(this.appBarIcon)) * 31) + Integer.hashCode(this.error);
}
public String toString() {
return "Colors(primary=" + this.primary + ", surface=" + this.surface + ", component=" + this.component + ", componentBorder=" + this.componentBorder + ", componentDivider=" + this.componentDivider + ", onComponent=" + this.onComponent + ", onSurface=" + this.onSurface + ", subtitle=" + this.subtitle + ", placeholderText=" + this.placeholderText + ", appBarIcon=" + this.appBarIcon + ", error=" + this.error + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeInt(this.primary);
parcel.writeInt(this.surface);
parcel.writeInt(this.component);
parcel.writeInt(this.componentBorder);
parcel.writeInt(this.componentDivider);
parcel.writeInt(this.onComponent);
parcel.writeInt(this.onSurface);
parcel.writeInt(this.subtitle);
parcel.writeInt(this.placeholderText);
parcel.writeInt(this.appBarIcon);
parcel.writeInt(this.error);
}
public Colors(int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10, int i11, int i12) {
this.primary = i2;
this.surface = i3;
this.component = i4;
this.componentBorder = i5;
this.componentDivider = i6;
this.onComponent = i7;
this.onSurface = i8;
this.subtitle = i9;
this.placeholderText = i10;
this.appBarIcon = i11;
this.error = i12;
}
public final int getPrimary() {
return this.primary;
}
public final int getSurface() {
return this.surface;
}
public final int getComponent() {
return this.component;
}
public final int getComponentBorder() {
return this.componentBorder;
}
public final int getComponentDivider() {
return this.componentDivider;
}
public final int getOnComponent() {
return this.onComponent;
}
public final int getOnSurface() {
return this.onSurface;
}
public final int getSubtitle() {
return this.subtitle;
}
public final int getPlaceholderText() {
return this.placeholderText;
}
public final int getAppBarIcon() {
return this.appBarIcon;
}
public final int getError() {
return this.error;
}
private Colors(long j2, long j3, long j4, long j5, long j6, long j7, long j8, long j9, long j10, long j11, long j12) {
this(ColorKt.toArgb-8_81llA(j2), ColorKt.toArgb-8_81llA(j3), ColorKt.toArgb-8_81llA(j4), ColorKt.toArgb-8_81llA(j5), ColorKt.toArgb-8_81llA(j6), ColorKt.toArgb-8_81llA(j7), ColorKt.toArgb-8_81llA(j10), ColorKt.toArgb-8_81llA(j8), ColorKt.toArgb-8_81llA(j9), ColorKt.toArgb-8_81llA(j11), ColorKt.toArgb-8_81llA(j12));
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006R\u0011\u0010\u0007\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0006¨\u0006\t"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$Colors$Companion;", "", "()V", "defaultDark", "Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;", "getDefaultDark", "()Lcom/stripe/android/paymentsheet/PaymentSheet$Colors;", "defaultLight", "getDefaultLight", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Companion {
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
public final Colors getDefaultLight() {
return Colors.defaultLight;
}
public final Colors getDefaultDark() {
return Colors.defaultDark;
}
}
}
@Metadata(d1 = {"\u0000B\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0007\n\u0002\b\t\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0087\b\u0018\u0000 \u001d2\u00020\u0001:\u0001\u001dB\u001f\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0005¢\u0006\u0002\u0010\u0007B\u0015\u0012\u0006\u0010\u0004\u001a\u00020\b\u0012\u0006\u0010\u0006\u001a\u00020\b¢\u0006\u0002\u0010\tJ\t\u0010\r\u001a\u00020\bHÆ\u0003J\t\u0010\u000e\u001a\u00020\bHÆ\u0003J\u001d\u0010\u000f\u001a\u00020\u00002\b\b\u0002\u0010\u0004\u001a\u00020\b2\b\b\u0002\u0010\u0006\u001a\u00020\bHÆ\u0001J\t\u0010\u0010\u001a\u00020\u0005HÖ\u0001J\u0013\u0010\u0011\u001a\u00020\u00122\b\u0010\u0013\u001a\u0004\u0018\u00010\u0014HÖ\u0003J\t\u0010\u0015\u001a\u00020\u0005HÖ\u0001J\t\u0010\u0016\u001a\u00020\u0017HÖ\u0001J\u0019\u0010\u0018\u001a\u00020\u00192\u0006\u0010\u001a\u001a\u00020\u001b2\u0006\u0010\u001c\u001a\u00020\u0005HÖ\u0001R\u0011\u0010\u0006\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\u0004\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\u000b¨\u0006\u001e"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$Shapes;", "Landroid/os/Parcelable;", "context", "Landroid/content/Context;", "cornerRadiusDp", "", "borderStrokeWidthDp", "(Landroid/content/Context;II)V", "", "(FF)V", "getBorderStrokeWidthDp", "()F", "getCornerRadiusDp", "component1", "component2", "copy", "describeContents", "equals", "", "other", "", "hashCode", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "Companion", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Shapes implements Parcelable {
public static final int $stable = 0;
private final float borderStrokeWidthDp;
private final float cornerRadiusDp;
public static final Companion INSTANCE = new Companion(null);
public static final Parcelable.Creator<Shapes> CREATOR = new Creator();
private static final Shapes f3default = new Shapes(StripeThemeDefaults.INSTANCE.getShapes().getCornerRadius(), StripeThemeDefaults.INSTANCE.getShapes().getBorderStrokeWidth());
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<Shapes> {
@Override
public final Shapes createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new Shapes(parcel.readFloat(), parcel.readFloat());
}
@Override
public final Shapes[] newArray(int i2) {
return new Shapes[i2];
}
}
public static Shapes copy$default(Shapes shapes, float f2, float f3, int i2, Object obj) {
if ((i2 & 1) != 0) {
f2 = shapes.cornerRadiusDp;
}
if ((i2 & 2) != 0) {
f3 = shapes.borderStrokeWidthDp;
}
return shapes.copy(f2, f3);
}
public final float getCornerRadiusDp() {
return this.cornerRadiusDp;
}
public final float getBorderStrokeWidthDp() {
return this.borderStrokeWidthDp;
}
public final Shapes copy(float cornerRadiusDp, float borderStrokeWidthDp) {
return new Shapes(cornerRadiusDp, borderStrokeWidthDp);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof Shapes)) {
return false;
}
Shapes shapes = (Shapes) other;
return Float.compare(this.cornerRadiusDp, shapes.cornerRadiusDp) == 0 && Float.compare(this.borderStrokeWidthDp, shapes.borderStrokeWidthDp) == 0;
}
public int hashCode() {
return (Float.hashCode(this.cornerRadiusDp) * 31) + Float.hashCode(this.borderStrokeWidthDp);
}
public String toString() {
return "Shapes(cornerRadiusDp=" + this.cornerRadiusDp + ", borderStrokeWidthDp=" + this.borderStrokeWidthDp + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeFloat(this.cornerRadiusDp);
parcel.writeFloat(this.borderStrokeWidthDp);
}
public Shapes(float f2, float f3) {
this.cornerRadiusDp = f2;
this.borderStrokeWidthDp = f3;
}
public final float getCornerRadiusDp() {
return this.cornerRadiusDp;
}
public final float getBorderStrokeWidthDp() {
return this.borderStrokeWidthDp;
}
public Shapes(Context context, int i2, int i3) {
this(StripeThemeKt.getRawValueFromDimenResource(context, i2), StripeThemeKt.getRawValueFromDimenResource(context, i3));
Intrinsics.checkNotNullParameter(context, "context");
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$Shapes$Companion;", "", "()V", "default", "Lcom/stripe/android/paymentsheet/PaymentSheet$Shapes;", "getDefault", "()Lcom/stripe/android/paymentsheet/PaymentSheet$Shapes;", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Companion {
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
public final Shapes getDefault() {
return Shapes.f3default;
}
}
}
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0007\n\u0000\n\u0002\u0010\b\n\u0002\b\f\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0087\b\u0018\u0000 \u001d2\u00020\u0001:\u0001\u001dB\u0019\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\n\b\u0001\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\f\u001a\u00020\u0003HÆ\u0003J\u0010\u0010\r\u001a\u0004\u0018\u00010\u0005HÆ\u0003¢\u0006\u0002\u0010\bJ$\u0010\u000e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0003\u0010\u0004\u001a\u0004\u0018\u00010\u0005HÆ\u0001¢\u0006\u0002\u0010\u000fJ\t\u0010\u0010\u001a\u00020\u0005HÖ\u0001J\u0013\u0010\u0011\u001a\u00020\u00122\b\u0010\u0013\u001a\u0004\u0018\u00010\u0014HÖ\u0003J\t\u0010\u0015\u001a\u00020\u0005HÖ\u0001J\t\u0010\u0016\u001a\u00020\u0017HÖ\u0001J\u0019\u0010\u0018\u001a\u00020\u00192\u0006\u0010\u001a\u001a\u00020\u001b2\u0006\u0010\u001c\u001a\u00020\u0005HÖ\u0001R\u0015\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\n\n\u0002\u0010\t\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b¨\u0006\u001e"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$Typography;", "Landroid/os/Parcelable;", "sizeScaleFactor", "", "fontResId", "", "(FLjava/lang/Integer;)V", "getFontResId", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getSizeScaleFactor", "()F", "component1", "component2", "copy", "(FLjava/lang/Integer;)Lcom/stripe/android/paymentsheet/PaymentSheet$Typography;", "describeContents", "equals", "", "other", "", "hashCode", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "Companion", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Typography implements Parcelable {
public static final int $stable = 0;
private final Integer fontResId;
private final float sizeScaleFactor;
public static final Companion INSTANCE = new Companion(null);
public static final Parcelable.Creator<Typography> CREATOR = new Creator();
private static final Typography f4default = new Typography(StripeThemeDefaults.INSTANCE.getTypography().getFontSizeMultiplier(), StripeThemeDefaults.INSTANCE.getTypography().getFontFamily());
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<Typography> {
@Override
public final Typography createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new Typography(parcel.readFloat(), parcel.readInt() == 0 ? null : Integer.valueOf(parcel.readInt()));
}
@Override
public final Typography[] newArray(int i2) {
return new Typography[i2];
}
}
public static Typography copy$default(Typography typography, float f2, Integer num, int i2, Object obj) {
if ((i2 & 1) != 0) {
f2 = typography.sizeScaleFactor;
}
if ((i2 & 2) != 0) {
num = typography.fontResId;
}
return typography.copy(f2, num);
}
public final float getSizeScaleFactor() {
return this.sizeScaleFactor;
}
public final Integer getFontResId() {
return this.fontResId;
}
public final Typography copy(float sizeScaleFactor, Integer fontResId) {
return new Typography(sizeScaleFactor, fontResId);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof Typography)) {
return false;
}
Typography typography = (Typography) other;
return Float.compare(this.sizeScaleFactor, typography.sizeScaleFactor) == 0 && Intrinsics.areEqual(this.fontResId, typography.fontResId);
}
public int hashCode() {
int hashCode = Float.hashCode(this.sizeScaleFactor) * 31;
Integer num = this.fontResId;
return hashCode + (num == null ? 0 : num.hashCode());
}
public String toString() {
return "Typography(sizeScaleFactor=" + this.sizeScaleFactor + ", fontResId=" + this.fontResId + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
int intValue;
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeFloat(this.sizeScaleFactor);
Integer num = this.fontResId;
if (num == null) {
intValue = 0;
} else {
parcel.writeInt(1);
intValue = num.intValue();
}
parcel.writeInt(intValue);
}
public Typography(float f2, Integer num) {
this.sizeScaleFactor = f2;
this.fontResId = num;
}
public final float getSizeScaleFactor() {
return this.sizeScaleFactor;
}
public final Integer getFontResId() {
return this.fontResId;
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$Typography$Companion;", "", "()V", "default", "Lcom/stripe/android/paymentsheet/PaymentSheet$Typography;", "getDefault", "()Lcom/stripe/android/paymentsheet/PaymentSheet$Typography;", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Companion {
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
public final Typography getDefault() {
return Typography.f4default;
}
}
}
@Metadata(d1 = {"\u0000H\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u000e\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B-\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0005\u001a\u00020\u0006\u0012\b\b\u0002\u0010\u0007\u001a\u00020\b¢\u0006\u0002\u0010\tJ\t\u0010\u0011\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0013\u001a\u00020\u0006HÆ\u0003J\t\u0010\u0014\u001a\u00020\bHÆ\u0003J1\u0010\u0015\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00062\b\b\u0002\u0010\u0007\u001a\u00020\bHÆ\u0001J\t\u0010\u0016\u001a\u00020\u0017HÖ\u0001J\u0013\u0010\u0018\u001a\u00020\u00192\b\u0010\u001a\u001a\u0004\u0018\u00010\u001bHÖ\u0003J\t\u0010\u001c\u001a\u00020\u0017HÖ\u0001J\t\u0010\u001d\u001a\u00020\u001eHÖ\u0001J\u0019\u0010\u001f\u001a\u00020 2\u0006\u0010!\u001a\u00020\"2\u0006\u0010#\u001a\u00020\u0017HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\u000bR\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\u0007\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010¨\u0006$"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButton;", "Landroid/os/Parcelable;", PaymentSheetEvent.FIELD_COLORS_LIGHT, "Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonColors;", PaymentSheetEvent.FIELD_COLORS_DARK, "shape", "Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonShape;", "typography", "Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonTypography;", "(Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonColors;Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonColors;Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonShape;Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonTypography;)V", "getColorsDark", "()Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonColors;", "getColorsLight", "getShape", "()Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonShape;", "getTypography", "()Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonTypography;", "component1", "component2", "component3", "component4", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class PrimaryButton implements Parcelable {
public static final int $stable = 0;
public static final Parcelable.Creator<PrimaryButton> CREATOR = new Creator();
private final PrimaryButtonColors colorsDark;
private final PrimaryButtonColors colorsLight;
private final PrimaryButtonShape shape;
private final PrimaryButtonTypography typography;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<PrimaryButton> {
@Override
public final PrimaryButton createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new PrimaryButton(PrimaryButtonColors.CREATOR.createFromParcel(parcel), PrimaryButtonColors.CREATOR.createFromParcel(parcel), PrimaryButtonShape.CREATOR.createFromParcel(parcel), PrimaryButtonTypography.CREATOR.createFromParcel(parcel));
}
@Override
public final PrimaryButton[] newArray(int i2) {
return new PrimaryButton[i2];
}
}
public PrimaryButton() {
this(null, null, null, null, 15, null);
}
public static PrimaryButton copy$default(PrimaryButton primaryButton, PrimaryButtonColors primaryButtonColors, PrimaryButtonColors primaryButtonColors2, PrimaryButtonShape primaryButtonShape, PrimaryButtonTypography primaryButtonTypography, int i2, Object obj) {
if ((i2 & 1) != 0) {
primaryButtonColors = primaryButton.colorsLight;
}
if ((i2 & 2) != 0) {
primaryButtonColors2 = primaryButton.colorsDark;
}
if ((i2 & 4) != 0) {
primaryButtonShape = primaryButton.shape;
}
if ((i2 & 8) != 0) {
primaryButtonTypography = primaryButton.typography;
}
return primaryButton.copy(primaryButtonColors, primaryButtonColors2, primaryButtonShape, primaryButtonTypography);
}
public final PrimaryButtonColors getColorsLight() {
return this.colorsLight;
}
public final PrimaryButtonColors getColorsDark() {
return this.colorsDark;
}
public final PrimaryButtonShape getShape() {
return this.shape;
}
public final PrimaryButtonTypography getTypography() {
return this.typography;
}
public final PrimaryButton copy(PrimaryButtonColors colorsLight, PrimaryButtonColors colorsDark, PrimaryButtonShape shape, PrimaryButtonTypography typography) {
Intrinsics.checkNotNullParameter(colorsLight, PaymentSheetEvent.FIELD_COLORS_LIGHT);
Intrinsics.checkNotNullParameter(colorsDark, PaymentSheetEvent.FIELD_COLORS_DARK);
Intrinsics.checkNotNullParameter(shape, "shape");
Intrinsics.checkNotNullParameter(typography, "typography");
return new PrimaryButton(colorsLight, colorsDark, shape, typography);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof PrimaryButton)) {
return false;
}
PrimaryButton primaryButton = (PrimaryButton) other;
return Intrinsics.areEqual(this.colorsLight, primaryButton.colorsLight) && Intrinsics.areEqual(this.colorsDark, primaryButton.colorsDark) && Intrinsics.areEqual(this.shape, primaryButton.shape) && Intrinsics.areEqual(this.typography, primaryButton.typography);
}
public int hashCode() {
return (((((this.colorsLight.hashCode() * 31) + this.colorsDark.hashCode()) * 31) + this.shape.hashCode()) * 31) + this.typography.hashCode();
}
public String toString() {
return "PrimaryButton(colorsLight=" + this.colorsLight + ", colorsDark=" + this.colorsDark + ", shape=" + this.shape + ", typography=" + this.typography + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
this.colorsLight.writeToParcel(parcel, flags);
this.colorsDark.writeToParcel(parcel, flags);
this.shape.writeToParcel(parcel, flags);
this.typography.writeToParcel(parcel, flags);
}
public PrimaryButton(PrimaryButtonColors primaryButtonColors, PrimaryButtonColors primaryButtonColors2, PrimaryButtonShape primaryButtonShape, PrimaryButtonTypography primaryButtonTypography) {
Intrinsics.checkNotNullParameter(primaryButtonColors, PaymentSheetEvent.FIELD_COLORS_LIGHT);
Intrinsics.checkNotNullParameter(primaryButtonColors2, PaymentSheetEvent.FIELD_COLORS_DARK);
Intrinsics.checkNotNullParameter(primaryButtonShape, "shape");
Intrinsics.checkNotNullParameter(primaryButtonTypography, "typography");
this.colorsLight = primaryButtonColors;
this.colorsDark = primaryButtonColors2;
this.shape = primaryButtonShape;
this.typography = primaryButtonTypography;
}
public PrimaryButton(com.stripe.android.paymentsheet.PaymentSheet.PrimaryButtonColors r3, com.stripe.android.paymentsheet.PaymentSheet.PrimaryButtonColors r4, com.stripe.android.paymentsheet.PaymentSheet.PrimaryButtonShape r5, com.stripe.android.paymentsheet.PaymentSheet.PrimaryButtonTypography r6, int r7, kotlin.jvm.internal.DefaultConstructorMarker r8) {
throw new UnsupportedOperationException("Method not decompiled: com.stripe.android.paymentsheet.PaymentSheet.PrimaryButton.<init>(com.stripe.android.paymentsheet.PaymentSheet$PrimaryButtonColors, com.stripe.android.paymentsheet.PaymentSheet$PrimaryButtonColors, com.stripe.android.paymentsheet.PaymentSheet$PrimaryButtonShape, com.stripe.android.paymentsheet.PaymentSheet$PrimaryButtonTypography, int, kotlin.jvm.internal.DefaultConstructorMarker):void");
}
public final PrimaryButtonColors getColorsLight() {
return this.colorsLight;
}
public final PrimaryButtonColors getColorsDark() {
return this.colorsDark;
}
public final PrimaryButtonShape getShape() {
return this.shape;
}
public final PrimaryButtonTypography getTypography() {
return this.typography;
}
}
@Metadata(d1 = {"\u0000<\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0016\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0087\b\u0018\u0000 )2\u00020\u0001:\u0001)B!\b\u0016\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003¢\u0006\u0002\u0010\u0006B$\b\u0016\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0007\u0012\u0006\u0010\u0004\u001a\u00020\u0007\u0012\u0006\u0010\u0005\u001a\u00020\u0007ø\u0001\u0000¢\u0006\u0002\u0010\bB8\b\u0016\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0007\u0012\u0006\u0010\u0004\u001a\u00020\u0007\u0012\u0006\u0010\u0005\u001a\u00020\u0007\u0012\b\b\u0002\u0010\t\u001a\u00020\u0007\u0012\b\b\u0002\u0010\n\u001a\u00020\u0007ø\u0001\u0000¢\u0006\u0002\u0010\u000bB9\u0012\n\b\u0001\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\b\u0001\u0010\u0004\u001a\u00020\u0003\u0012\b\b\u0001\u0010\u0005\u001a\u00020\u0003\u0012\b\b\u0003\u0010\t\u001a\u00020\u0003\u0012\b\b\u0003\u0010\n\u001a\u00020\u0003¢\u0006\u0002\u0010\fJ\u0010\u0010\u0015\u001a\u0004\u0018\u00010\u0003HÆ\u0003¢\u0006\u0002\u0010\u000eJ\t\u0010\u0016\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0017\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0018\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0019\u001a\u00020\u0003HÆ\u0003JB\u0010\u001a\u001a\u00020\u00002\n\b\u0003\u0010\u0002\u001a\u0004\u0018\u00010\u00032\b\b\u0003\u0010\u0004\u001a\u00020\u00032\b\b\u0003\u0010\u0005\u001a\u00020\u00032\b\b\u0003\u0010\t\u001a\u00020\u00032\b\b\u0003\u0010\n\u001a\u00020\u0003HÆ\u0001¢\u0006\u0002\u0010\u001bJ\t\u0010\u001c\u001a\u00020\u0003HÖ\u0001J\u0013\u0010\u001d\u001a\u00020\u001e2\b\u0010\u001f\u001a\u0004\u0018\u00010 HÖ\u0003J\t\u0010!\u001a\u00020\u0003HÖ\u0001J\t\u0010\"\u001a\u00020#HÖ\u0001J\u0019\u0010$\u001a\u00020%2\u0006\u0010&\u001a\u00020'2\u0006\u0010(\u001a\u00020\u0003HÖ\u0001R\u0015\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\n\n\u0002\u0010\u000f\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0011R\u0011\u0010\n\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0011R\u0011\u0010\t\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0011\u0082\u0002\u0004\n\u0002\b\u0019¨\u0006*"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonColors;", "Landroid/os/Parcelable;", "background", "", "onBackground", "border", "(Ljava/lang/Integer;II)V", "Landroidx/compose/ui/graphics/Color;", "(Landroidx/compose/ui/graphics/Color;JJLkotlin/jvm/internal/DefaultConstructorMarker;)V", "successBackgroundColor", "onSuccessBackgroundColor", "(Landroidx/compose/ui/graphics/Color;JJJJLkotlin/jvm/internal/DefaultConstructorMarker;)V", "(Ljava/lang/Integer;IIII)V", "getBackground", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getBorder", "()I", "getOnBackground", "getOnSuccessBackgroundColor", "getSuccessBackgroundColor", "component1", "component2", "component3", "component4", "component5", "copy", "(Ljava/lang/Integer;IIII)Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonColors;", "describeContents", "equals", "", "other", "", "hashCode", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "Companion", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class PrimaryButtonColors implements Parcelable {
public static final int $stable = 0;
private final Integer background;
private final int border;
private final int onBackground;
private final int onSuccessBackgroundColor;
private final int successBackgroundColor;
public static final Companion INSTANCE = new Companion(null);
public static final Parcelable.Creator<PrimaryButtonColors> CREATOR = new Creator();
private static final PrimaryButtonColors defaultLight = new PrimaryButtonColors((Integer) null, ColorKt.toArgb-8_81llA(StripeThemeDefaults.INSTANCE.getPrimaryButtonStyle().getColorsLight().m791getOnBackground0d7_KjU()), ColorKt.toArgb-8_81llA(StripeThemeDefaults.INSTANCE.getPrimaryButtonStyle().getColorsLight().m790getBorder0d7_KjU()), ColorKt.toArgb-8_81llA(StripeThemeDefaults.INSTANCE.getPrimaryButtonStyle().getColorsLight().m793getSuccessBackground0d7_KjU()), ColorKt.toArgb-8_81llA(StripeThemeDefaults.INSTANCE.getPrimaryButtonStyle().getColorsLight().m791getOnBackground0d7_KjU()));
private static final PrimaryButtonColors defaultDark = new PrimaryButtonColors((Integer) null, ColorKt.toArgb-8_81llA(StripeThemeDefaults.INSTANCE.getPrimaryButtonStyle().getColorsDark().m791getOnBackground0d7_KjU()), ColorKt.toArgb-8_81llA(StripeThemeDefaults.INSTANCE.getPrimaryButtonStyle().getColorsDark().m790getBorder0d7_KjU()), ColorKt.toArgb-8_81llA(StripeThemeDefaults.INSTANCE.getPrimaryButtonStyle().getColorsDark().m793getSuccessBackground0d7_KjU()), ColorKt.toArgb-8_81llA(StripeThemeDefaults.INSTANCE.getPrimaryButtonStyle().getColorsDark().m791getOnBackground0d7_KjU()));
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<PrimaryButtonColors> {
@Override
public final PrimaryButtonColors createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new PrimaryButtonColors(parcel.readInt() == 0 ? null : Integer.valueOf(parcel.readInt()), parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readInt());
}
@Override
public final PrimaryButtonColors[] newArray(int i2) {
return new PrimaryButtonColors[i2];
}
}
public PrimaryButtonColors(Color color, long j2, long j3, long j4, long j5, DefaultConstructorMarker defaultConstructorMarker) {
this(color, j2, j3, j4, j5);
}
public PrimaryButtonColors(Color color, long j2, long j3, DefaultConstructorMarker defaultConstructorMarker) {
this(color, j2, j3);
}
public static PrimaryButtonColors copy$default(PrimaryButtonColors primaryButtonColors, Integer num, int i2, int i3, int i4, int i5, int i6, Object obj) {
if ((i6 & 1) != 0) {
num = primaryButtonColors.background;
}
if ((i6 & 2) != 0) {
i2 = primaryButtonColors.onBackground;
}
int i7 = i2;
if ((i6 & 4) != 0) {
i3 = primaryButtonColors.border;
}
int i8 = i3;
if ((i6 & 8) != 0) {
i4 = primaryButtonColors.successBackgroundColor;
}
int i9 = i4;
if ((i6 & 16) != 0) {
i5 = primaryButtonColors.onSuccessBackgroundColor;
}
return primaryButtonColors.copy(num, i7, i8, i9, i5);
}
public final Integer getBackground() {
return this.background;
}
public final int getOnBackground() {
return this.onBackground;
}
public final int getBorder() {
return this.border;
}
public final int getSuccessBackgroundColor() {
return this.successBackgroundColor;
}
public final int getOnSuccessBackgroundColor() {
return this.onSuccessBackgroundColor;
}
public final PrimaryButtonColors copy(Integer background, int onBackground, int border, int successBackgroundColor, int onSuccessBackgroundColor) {
return new PrimaryButtonColors(background, onBackground, border, successBackgroundColor, onSuccessBackgroundColor);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof PrimaryButtonColors)) {
return false;
}
PrimaryButtonColors primaryButtonColors = (PrimaryButtonColors) other;
return Intrinsics.areEqual(this.background, primaryButtonColors.background) && this.onBackground == primaryButtonColors.onBackground && this.border == primaryButtonColors.border && this.successBackgroundColor == primaryButtonColors.successBackgroundColor && this.onSuccessBackgroundColor == primaryButtonColors.onSuccessBackgroundColor;
}
public int hashCode() {
Integer num = this.background;
return ((((((((num == null ? 0 : num.hashCode()) * 31) + Integer.hashCode(this.onBackground)) * 31) + Integer.hashCode(this.border)) * 31) + Integer.hashCode(this.successBackgroundColor)) * 31) + Integer.hashCode(this.onSuccessBackgroundColor);
}
public String toString() {
return "PrimaryButtonColors(background=" + this.background + ", onBackground=" + this.onBackground + ", border=" + this.border + ", successBackgroundColor=" + this.successBackgroundColor + ", onSuccessBackgroundColor=" + this.onSuccessBackgroundColor + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
int intValue;
Intrinsics.checkNotNullParameter(parcel, "out");
Integer num = this.background;
if (num == null) {
intValue = 0;
} else {
parcel.writeInt(1);
intValue = num.intValue();
}
parcel.writeInt(intValue);
parcel.writeInt(this.onBackground);
parcel.writeInt(this.border);
parcel.writeInt(this.successBackgroundColor);
parcel.writeInt(this.onSuccessBackgroundColor);
}
public PrimaryButtonColors(Integer num, int i2, int i3, int i4, int i5) {
this.background = num;
this.onBackground = i2;
this.border = i3;
this.successBackgroundColor = i4;
this.onSuccessBackgroundColor = i5;
}
public final Integer getBackground() {
return this.background;
}
public final int getOnBackground() {
return this.onBackground;
}
public final int getBorder() {
return this.border;
}
public PrimaryButtonColors(Integer num, int i2, int i3, int i4, int i5, int i6, DefaultConstructorMarker defaultConstructorMarker) {
this(num, i2, i3, (i6 & 8) != 0 ? ColorKt.toArgb-8_81llA(StripeThemeKt.getPRIMARY_BUTTON_SUCCESS_BACKGROUND_COLOR()) : i4, (i6 & 16) != 0 ? i2 : i5);
}
public final int getSuccessBackgroundColor() {
return this.successBackgroundColor;
}
public final int getOnSuccessBackgroundColor() {
return this.onSuccessBackgroundColor;
}
public PrimaryButtonColors(Integer num, int i2, int i3) {
this(num, i2, i3, ColorKt.toArgb-8_81llA(StripeThemeKt.getPRIMARY_BUTTON_SUCCESS_BACKGROUND_COLOR()), i2);
}
private PrimaryButtonColors(Color color, long j2, long j3) {
this(color != null ? Integer.valueOf(ColorKt.toArgb-8_81llA(color.unbox-impl())) : null, ColorKt.toArgb-8_81llA(j2), ColorKt.toArgb-8_81llA(j3));
}
public PrimaryButtonColors(Color color, long j2, long j3, long j4, long j5, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this(color, j2, j3, (i2 & 8) != 0 ? StripeThemeKt.getPRIMARY_BUTTON_SUCCESS_BACKGROUND_COLOR() : j4, (i2 & 16) != 0 ? j2 : j5, null);
}
private PrimaryButtonColors(Color color, long j2, long j3, long j4, long j5) {
this(color != null ? Integer.valueOf(ColorKt.toArgb-8_81llA(color.unbox-impl())) : null, ColorKt.toArgb-8_81llA(j2), ColorKt.toArgb-8_81llA(j3), ColorKt.toArgb-8_81llA(j4), ColorKt.toArgb-8_81llA(j5));
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006R\u0011\u0010\u0007\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0006¨\u0006\t"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonColors$Companion;", "", "()V", "defaultDark", "Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonColors;", "getDefaultDark", "()Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonColors;", "defaultLight", "getDefaultLight", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Companion {
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
public final PrimaryButtonColors getDefaultLight() {
return PrimaryButtonColors.defaultLight;
}
public final PrimaryButtonColors getDefaultDark() {
return PrimaryButtonColors.defaultDark;
}
}
}
@Metadata(d1 = {"\u0000B\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0007\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B'\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0005¢\u0006\u0002\u0010\u0007B\u001d\u0012\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\b\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\b¢\u0006\u0002\u0010\tJ\u0010\u0010\u000e\u001a\u0004\u0018\u00010\bHÆ\u0003¢\u0006\u0002\u0010\u000bJ\u0010\u0010\u000f\u001a\u0004\u0018\u00010\bHÆ\u0003¢\u0006\u0002\u0010\u000bJ&\u0010\u0010\u001a\u00020\u00002\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\b2\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\bHÆ\u0001¢\u0006\u0002\u0010\u0011J\t\u0010\u0012\u001a\u00020\u0005HÖ\u0001J\u0013\u0010\u0013\u001a\u00020\u00142\b\u0010\u0015\u001a\u0004\u0018\u00010\u0016HÖ\u0003J\t\u0010\u0017\u001a\u00020\u0005HÖ\u0001J\t\u0010\u0018\u001a\u00020\u0019HÖ\u0001J\u0019\u0010\u001a\u001a\u00020\u001b2\u0006\u0010\u001c\u001a\u00020\u001d2\u0006\u0010\u001e\u001a\u00020\u0005HÖ\u0001R\u0015\u0010\u0006\u001a\u0004\u0018\u00010\b¢\u0006\n\n\u0002\u0010\f\u001a\u0004\b\n\u0010\u000bR\u0015\u0010\u0004\u001a\u0004\u0018\u00010\b¢\u0006\n\n\u0002\u0010\f\u001a\u0004\b\r\u0010\u000b¨\u0006\u001f"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonShape;", "Landroid/os/Parcelable;", "context", "Landroid/content/Context;", "cornerRadiusDp", "", "borderStrokeWidthDp", "(Landroid/content/Context;Ljava/lang/Integer;Ljava/lang/Integer;)V", "", "(Ljava/lang/Float;Ljava/lang/Float;)V", "getBorderStrokeWidthDp", "()Ljava/lang/Float;", "Ljava/lang/Float;", "getCornerRadiusDp", "component1", "component2", "copy", "(Ljava/lang/Float;Ljava/lang/Float;)Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonShape;", "describeContents", "equals", "", "other", "", "hashCode", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class PrimaryButtonShape implements Parcelable {
public static final int $stable = 0;
public static final Parcelable.Creator<PrimaryButtonShape> CREATOR = new Creator();
private final Float borderStrokeWidthDp;
private final Float cornerRadiusDp;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<PrimaryButtonShape> {
@Override
public final PrimaryButtonShape createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new PrimaryButtonShape(parcel.readInt() == 0 ? null : Float.valueOf(parcel.readFloat()), parcel.readInt() != 0 ? Float.valueOf(parcel.readFloat()) : null);
}
@Override
public final PrimaryButtonShape[] newArray(int i2) {
return new PrimaryButtonShape[i2];
}
}
public PrimaryButtonShape() {
throw new UnsupportedOperationException("Method not decompiled: com.stripe.android.paymentsheet.PaymentSheet.PrimaryButtonShape.<init>():void");
}
public static PrimaryButtonShape copy$default(PrimaryButtonShape primaryButtonShape, Float f2, Float f3, int i2, Object obj) {
if ((i2 & 1) != 0) {
f2 = primaryButtonShape.cornerRadiusDp;
}
if ((i2 & 2) != 0) {
f3 = primaryButtonShape.borderStrokeWidthDp;
}
return primaryButtonShape.copy(f2, f3);
}
public final Float getCornerRadiusDp() {
return this.cornerRadiusDp;
}
public final Float getBorderStrokeWidthDp() {
return this.borderStrokeWidthDp;
}
public final PrimaryButtonShape copy(Float cornerRadiusDp, Float borderStrokeWidthDp) {
return new PrimaryButtonShape(cornerRadiusDp, borderStrokeWidthDp);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof PrimaryButtonShape)) {
return false;
}
PrimaryButtonShape primaryButtonShape = (PrimaryButtonShape) other;
return Intrinsics.areEqual(this.cornerRadiusDp, primaryButtonShape.cornerRadiusDp) && Intrinsics.areEqual(this.borderStrokeWidthDp, primaryButtonShape.borderStrokeWidthDp);
}
public int hashCode() {
Float f2 = this.cornerRadiusDp;
int hashCode = (f2 == null ? 0 : f2.hashCode()) * 31;
Float f3 = this.borderStrokeWidthDp;
return hashCode + (f3 != null ? f3.hashCode() : 0);
}
public String toString() {
return "PrimaryButtonShape(cornerRadiusDp=" + this.cornerRadiusDp + ", borderStrokeWidthDp=" + this.borderStrokeWidthDp + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
Float f2 = this.cornerRadiusDp;
if (f2 == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
parcel.writeFloat(f2.floatValue());
}
Float f3 = this.borderStrokeWidthDp;
if (f3 == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
parcel.writeFloat(f3.floatValue());
}
}
public PrimaryButtonShape(Float f2, Float f3) {
this.cornerRadiusDp = f2;
this.borderStrokeWidthDp = f3;
}
public PrimaryButtonShape(Float f2, Float f3, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this((i2 & 1) != 0 ? null : f2, (i2 & 2) != 0 ? null : f3);
}
public final Float getCornerRadiusDp() {
return this.cornerRadiusDp;
}
public final Float getBorderStrokeWidthDp() {
return this.borderStrokeWidthDp;
}
public PrimaryButtonShape(Context context, Integer num, Integer num2, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this(context, (i2 & 2) != 0 ? null : num, (i2 & 4) != 0 ? null : num2);
}
public PrimaryButtonShape(Context context, Integer num, Integer num2) {
this(num != null ? Float.valueOf(StripeThemeKt.getRawValueFromDimenResource(context, num.intValue())) : null, num2 != null ? Float.valueOf(StripeThemeKt.getRawValueFromDimenResource(context, num2.intValue())) : null);
Intrinsics.checkNotNullParameter(context, "context");
}
}
@Metadata(d1 = {"\u0000B\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0007\n\u0002\b\r\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B#\b\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0005¢\u0006\u0002\u0010\u0007B\u001d\u0012\n\b\u0003\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\b¢\u0006\u0002\u0010\tJ\u0010\u0010\u0010\u001a\u0004\u0018\u00010\u0005HÆ\u0003¢\u0006\u0002\u0010\u000bJ\u0010\u0010\u0011\u001a\u0004\u0018\u00010\bHÆ\u0003¢\u0006\u0002\u0010\u000eJ&\u0010\u0012\u001a\u00020\u00002\n\b\u0003\u0010\u0004\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\bHÆ\u0001¢\u0006\u0002\u0010\u0013J\t\u0010\u0014\u001a\u00020\u0005HÖ\u0001J\u0013\u0010\u0015\u001a\u00020\u00162\b\u0010\u0017\u001a\u0004\u0018\u00010\u0018HÖ\u0003J\t\u0010\u0019\u001a\u00020\u0005HÖ\u0001J\t\u0010\u001a\u001a\u00020\u001bHÖ\u0001J\u0019\u0010\u001c\u001a\u00020\u001d2\u0006\u0010\u001e\u001a\u00020\u001f2\u0006\u0010 \u001a\u00020\u0005HÖ\u0001R\u0015\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\n\n\u0002\u0010\f\u001a\u0004\b\n\u0010\u000bR\u0015\u0010\u0006\u001a\u0004\u0018\u00010\b¢\u0006\n\n\u0002\u0010\u000f\u001a\u0004\b\r\u0010\u000e¨\u0006!"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonTypography;", "Landroid/os/Parcelable;", "context", "Landroid/content/Context;", "fontResId", "", "fontSizeSp", "(Landroid/content/Context;Ljava/lang/Integer;I)V", "", "(Ljava/lang/Integer;Ljava/lang/Float;)V", "getFontResId", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getFontSizeSp", "()Ljava/lang/Float;", "Ljava/lang/Float;", "component1", "component2", "copy", "(Ljava/lang/Integer;Ljava/lang/Float;)Lcom/stripe/android/paymentsheet/PaymentSheet$PrimaryButtonTypography;", "describeContents", "equals", "", "other", "", "hashCode", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class PrimaryButtonTypography implements Parcelable {
public static final int $stable = 0;
public static final Parcelable.Creator<PrimaryButtonTypography> CREATOR = new Creator();
private final Integer fontResId;
private final Float fontSizeSp;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<PrimaryButtonTypography> {
@Override
public final PrimaryButtonTypography createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new PrimaryButtonTypography(parcel.readInt() == 0 ? null : Integer.valueOf(parcel.readInt()), parcel.readInt() != 0 ? Float.valueOf(parcel.readFloat()) : null);
}
@Override
public final PrimaryButtonTypography[] newArray(int i2) {
return new PrimaryButtonTypography[i2];
}
}
public PrimaryButtonTypography() {
this(null, 0 == true ? 1 : 0, 3, 0 == true ? 1 : 0);
}
public static PrimaryButtonTypography copy$default(PrimaryButtonTypography primaryButtonTypography, Integer num, Float f2, int i2, Object obj) {
if ((i2 & 1) != 0) {
num = primaryButtonTypography.fontResId;
}
if ((i2 & 2) != 0) {
f2 = primaryButtonTypography.fontSizeSp;
}
return primaryButtonTypography.copy(num, f2);
}
public final Integer getFontResId() {
return this.fontResId;
}
public final Float getFontSizeSp() {
return this.fontSizeSp;
}
public final PrimaryButtonTypography copy(Integer fontResId, Float fontSizeSp) {
return new PrimaryButtonTypography(fontResId, fontSizeSp);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof PrimaryButtonTypography)) {
return false;
}
PrimaryButtonTypography primaryButtonTypography = (PrimaryButtonTypography) other;
return Intrinsics.areEqual(this.fontResId, primaryButtonTypography.fontResId) && Intrinsics.areEqual(this.fontSizeSp, primaryButtonTypography.fontSizeSp);
}
public int hashCode() {
Integer num = this.fontResId;
int hashCode = (num == null ? 0 : num.hashCode()) * 31;
Float f2 = this.fontSizeSp;
return hashCode + (f2 != null ? f2.hashCode() : 0);
}
public String toString() {
return "PrimaryButtonTypography(fontResId=" + this.fontResId + ", fontSizeSp=" + this.fontSizeSp + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
Integer num = this.fontResId;
if (num == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
parcel.writeInt(num.intValue());
}
Float f2 = this.fontSizeSp;
if (f2 == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
parcel.writeFloat(f2.floatValue());
}
}
public PrimaryButtonTypography(Integer num, Float f2) {
this.fontResId = num;
this.fontSizeSp = f2;
}
public PrimaryButtonTypography(Integer num, Float f2, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this((i2 & 1) != 0 ? null : num, (i2 & 2) != 0 ? null : f2);
}
public final Integer getFontResId() {
return this.fontResId;
}
public final Float getFontSizeSp() {
return this.fontSizeSp;
}
public PrimaryButtonTypography(Context context, Integer num, int i2, int i3, DefaultConstructorMarker defaultConstructorMarker) {
this(context, (i3 & 2) != 0 ? null : num, i2);
}
public PrimaryButtonTypography(Context context, Integer num, int i2) {
this(num, Float.valueOf(StripeThemeKt.getRawValueFromDimenResource(context, i2)));
Intrinsics.checkNotNullParameter(context, "context");
}
}
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0015\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0087\b\u0018\u00002\u00020\u0001:\u0001%BM\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\tJ\u000b\u0010\u0011\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0012\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0013\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0014\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0015\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0016\u001a\u0004\u0018\u00010\u0003HÆ\u0003JQ\u0010\u0017\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\t\u0010\u0018\u001a\u00020\u0019HÖ\u0001J\u0013\u0010\u001a\u001a\u00020\u001b2\b\u0010\u001c\u001a\u0004\u0018\u00010\u001dHÖ\u0003J\t\u0010\u001e\u001a\u00020\u0019HÖ\u0001J\t\u0010\u001f\u001a\u00020\u0003HÖ\u0001J\u0019\u0010 \u001a\u00020!2\u0006\u0010\"\u001a\u00020#2\u0006\u0010$\u001a\u00020\u0019HÖ\u0001R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\u000bR\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000bR\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000bR\u0013\u0010\u0007\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000bR\u0013\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000b¨\u0006&"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$Address;", "Landroid/os/Parcelable;", "city", "", "country", "line1", "line2", "postalCode", WiredHeadsetReceiverKt.INTENT_STATE, "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getCity", "()Ljava/lang/String;", "getCountry", "getLine1", "getLine2", "getPostalCode", "getState", "component1", "component2", "component3", "component4", "component5", "component6", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "Builder", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Address implements Parcelable {
public static final int $stable = 0;
public static final Parcelable.Creator<Address> CREATOR = new Creator();
private final String city;
private final String country;
private final String line1;
private final String line2;
private final String postalCode;
private final String state;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<Address> {
@Override
public final Address createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new Address(parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString());
}
@Override
public final Address[] newArray(int i2) {
return new Address[i2];
}
}
public Address() {
this(null, null, null, null, null, null, 63, null);
}
public static Address copy$default(Address address, String str, String str2, String str3, String str4, String str5, String str6, int i2, Object obj) {
if ((i2 & 1) != 0) {
str = address.city;
}
if ((i2 & 2) != 0) {
str2 = address.country;
}
String str7 = str2;
if ((i2 & 4) != 0) {
str3 = address.line1;
}
String str8 = str3;
if ((i2 & 8) != 0) {
str4 = address.line2;
}
String str9 = str4;
if ((i2 & 16) != 0) {
str5 = address.postalCode;
}
String str10 = str5;
if ((i2 & 32) != 0) {
str6 = address.state;
}
return address.copy(str, str7, str8, str9, str10, str6);
}
public final String getCity() {
return this.city;
}
public final String getCountry() {
return this.country;
}
public final String getLine1() {
return this.line1;
}
public final String getLine2() {
return this.line2;
}
public final String getPostalCode() {
return this.postalCode;
}
public final String getState() {
return this.state;
}
public final Address copy(String city, String country, String line1, String line2, String postalCode, String state) {
return new Address(city, country, line1, line2, postalCode, state);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof Address)) {
return false;
}
Address address = (Address) other;
return Intrinsics.areEqual(this.city, address.city) && Intrinsics.areEqual(this.country, address.country) && Intrinsics.areEqual(this.line1, address.line1) && Intrinsics.areEqual(this.line2, address.line2) && Intrinsics.areEqual(this.postalCode, address.postalCode) && Intrinsics.areEqual(this.state, address.state);
}
public int hashCode() {
String str = this.city;
int hashCode = (str == null ? 0 : str.hashCode()) * 31;
String str2 = this.country;
int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
String str3 = this.line1;
int hashCode3 = (hashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31;
String str4 = this.line2;
int hashCode4 = (hashCode3 + (str4 == null ? 0 : str4.hashCode())) * 31;
String str5 = this.postalCode;
int hashCode5 = (hashCode4 + (str5 == null ? 0 : str5.hashCode())) * 31;
String str6 = this.state;
return hashCode5 + (str6 != null ? str6.hashCode() : 0);
}
public String toString() {
return "Address(city=" + this.city + ", country=" + this.country + ", line1=" + this.line1 + ", line2=" + this.line2 + ", postalCode=" + this.postalCode + ", state=" + this.state + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.city);
parcel.writeString(this.country);
parcel.writeString(this.line1);
parcel.writeString(this.line2);
parcel.writeString(this.postalCode);
parcel.writeString(this.state);
}
public Address(String str, String str2, String str3, String str4, String str5, String str6) {
this.city = str;
this.country = str2;
this.line1 = str3;
this.line2 = str4;
this.postalCode = str5;
this.state = str6;
}
public Address(String str, String str2, String str3, String str4, String str5, String str6, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this((i2 & 1) != 0 ? null : str, (i2 & 2) != 0 ? null : str2, (i2 & 4) != 0 ? null : str3, (i2 & 8) != 0 ? null : str4, (i2 & 16) != 0 ? null : str5, (i2 & 32) != 0 ? null : str6);
}
public final String getCity() {
return this.city;
}
public final String getCountry() {
return this.country;
}
public final String getLine1() {
return this.line1;
}
public final String getLine2() {
return this.line2;
}
public final String getPostalCode() {
return this.postalCode;
}
public final String getState() {
return this.state;
}
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0000\b\u0007\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J\u0006\u0010\n\u001a\u00020\u000bJ\u0010\u0010\u0003\u001a\u00020\u00002\b\u0010\u0003\u001a\u0004\u0018\u00010\u0004J\u0010\u0010\u0005\u001a\u00020\u00002\b\u0010\u0005\u001a\u0004\u0018\u00010\u0004J\u0010\u0010\u0006\u001a\u00020\u00002\b\u0010\u0006\u001a\u0004\u0018\u00010\u0004J\u0010\u0010\u0007\u001a\u00020\u00002\b\u0010\u0007\u001a\u0004\u0018\u00010\u0004J\u0010\u0010\b\u001a\u00020\u00002\b\u0010\b\u001a\u0004\u0018\u00010\u0004J\u0010\u0010\t\u001a\u00020\u00002\b\u0010\t\u001a\u0004\u0018\u00010\u0004R\u0010\u0010\u0003\u001a\u0004\u0018\u00010\u0004X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u0005\u001a\u0004\u0018\u00010\u0004X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u0006\u001a\u0004\u0018\u00010\u0004X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u0007\u001a\u0004\u0018\u00010\u0004X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\b\u001a\u0004\u0018\u00010\u0004X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\t\u001a\u0004\u0018\u00010\u0004X\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\f"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$Address$Builder;", "", "()V", "city", "", "country", "line1", "line2", "postalCode", WiredHeadsetReceiverKt.INTENT_STATE, "build", "Lcom/stripe/android/paymentsheet/PaymentSheet$Address;", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Builder {
public static final int $stable = 8;
private String city;
private String country;
private String line1;
private String line2;
private String postalCode;
private String state;
public final Builder city(String city) {
this.city = city;
return this;
}
public final Builder country(String country) {
this.country = country;
return this;
}
public final Builder line1(String line1) {
this.line1 = line1;
return this;
}
public final Builder line2(String line2) {
this.line2 = line2;
return this;
}
public final Builder postalCode(String postalCode) {
this.postalCode = postalCode;
return this;
}
public final Builder state(String state) {
this.state = state;
return this;
}
public final Address build() {
return new Address(this.city, this.country, this.line1, this.line2, this.postalCode, this.state);
}
}
}
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u000f\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0087\b\u0018\u00002\u00020\u0001:\u0001!B5\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0005\u0012\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u0005¢\u0006\u0002\u0010\bJ\u000b\u0010\u000f\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0010\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010\u0011\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000b\u0010\u0012\u001a\u0004\u0018\u00010\u0005HÆ\u0003J9\u0010\u0013\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u0005HÆ\u0001J\t\u0010\u0014\u001a\u00020\u0015HÖ\u0001J\u0013\u0010\u0016\u001a\u00020\u00172\b\u0010\u0018\u001a\u0004\u0018\u00010\u0019HÖ\u0003J\t\u0010\u001a\u001a\u00020\u0015HÖ\u0001J\t\u0010\u001b\u001a\u00020\u0005HÖ\u0001J\u0019\u0010\u001c\u001a\u00020\u001d2\u0006\u0010\u001e\u001a\u00020\u001f2\u0006\u0010 \u001a\u00020\u0015HÖ\u0001R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\fR\u0013\u0010\u0007\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\f¨\u0006\""}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetails;", "Landroid/os/Parcelable;", "address", "Lcom/stripe/android/paymentsheet/PaymentSheet$Address;", "email", "", "name", "phone", "(Lcom/stripe/android/paymentsheet/PaymentSheet$Address;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getAddress", "()Lcom/stripe/android/paymentsheet/PaymentSheet$Address;", "getEmail", "()Ljava/lang/String;", "getName", "getPhone", "component1", "component2", "component3", "component4", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "Builder", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class BillingDetails implements Parcelable {
public static final int $stable = 0;
public static final Parcelable.Creator<BillingDetails> CREATOR = new Creator();
private final Address address;
private final String email;
private final String name;
private final String phone;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<BillingDetails> {
@Override
public final BillingDetails createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new BillingDetails(parcel.readInt() == 0 ? null : Address.CREATOR.createFromParcel(parcel), parcel.readString(), parcel.readString(), parcel.readString());
}
@Override
public final BillingDetails[] newArray(int i2) {
return new BillingDetails[i2];
}
}
public BillingDetails() {
this(null, null, null, null, 15, null);
}
public static BillingDetails copy$default(BillingDetails billingDetails, Address address, String str, String str2, String str3, int i2, Object obj) {
if ((i2 & 1) != 0) {
address = billingDetails.address;
}
if ((i2 & 2) != 0) {
str = billingDetails.email;
}
if ((i2 & 4) != 0) {
str2 = billingDetails.name;
}
if ((i2 & 8) != 0) {
str3 = billingDetails.phone;
}
return billingDetails.copy(address, str, str2, str3);
}
public final Address getAddress() {
return this.address;
}
public final String getEmail() {
return this.email;
}
public final String getName() {
return this.name;
}
public final String getPhone() {
return this.phone;
}
public final BillingDetails copy(Address address, String email, String name, String phone) {
return new BillingDetails(address, email, name, phone);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof BillingDetails)) {
return false;
}
BillingDetails billingDetails = (BillingDetails) other;
return Intrinsics.areEqual(this.address, billingDetails.address) && Intrinsics.areEqual(this.email, billingDetails.email) && Intrinsics.areEqual(this.name, billingDetails.name) && Intrinsics.areEqual(this.phone, billingDetails.phone);
}
public int hashCode() {
Address address = this.address;
int hashCode = (address == null ? 0 : address.hashCode()) * 31;
String str = this.email;
int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31;
String str2 = this.name;
int hashCode3 = (hashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31;
String str3 = this.phone;
return hashCode3 + (str3 != null ? str3.hashCode() : 0);
}
public String toString() {
return "BillingDetails(address=" + this.address + ", email=" + this.email + ", name=" + this.name + ", phone=" + this.phone + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
Address address = this.address;
if (address == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
address.writeToParcel(parcel, flags);
}
parcel.writeString(this.email);
parcel.writeString(this.name);
parcel.writeString(this.phone);
}
public BillingDetails(Address address, String str, String str2, String str3) {
this.address = address;
this.email = str;
this.name = str2;
this.phone = str3;
}
public BillingDetails(Address address, String str, String str2, String str3, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this((i2 & 1) != 0 ? null : address, (i2 & 2) != 0 ? null : str, (i2 & 4) != 0 ? null : str2, (i2 & 8) != 0 ? null : str3);
}
public final Address getAddress() {
return this.address;
}
public final String getEmail() {
return this.email;
}
public final String getName() {
return this.name;
}
public final String getPhone() {
return this.phone;
}
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0007\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J\u000e\u0010\u0003\u001a\u00020\u00002\u0006\u0010\t\u001a\u00020\nJ\u0010\u0010\u0003\u001a\u00020\u00002\b\u0010\u0003\u001a\u0004\u0018\u00010\u0004J\u0006\u0010\u000b\u001a\u00020\fJ\u0010\u0010\u0005\u001a\u00020\u00002\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006J\u0010\u0010\u0007\u001a\u00020\u00002\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006J\u0010\u0010\b\u001a\u00020\u00002\b\u0010\b\u001a\u0004\u0018\u00010\u0006R\u0010\u0010\u0003\u001a\u0004\u0018\u00010\u0004X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u0005\u001a\u0004\u0018\u00010\u0006X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u0007\u001a\u0004\u0018\u00010\u0006X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\b\u001a\u0004\u0018\u00010\u0006X\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\r"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetails$Builder;", "", "()V", "address", "Lcom/stripe/android/paymentsheet/PaymentSheet$Address;", "email", "", "name", "phone", "addressBuilder", "Lcom/stripe/android/paymentsheet/PaymentSheet$Address$Builder;", "build", "Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetails;", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Builder {
public static final int $stable = 8;
private Address address;
private String email;
private String name;
private String phone;
public final Builder address(Address address) {
this.address = address;
return this;
}
public final Builder address(Address.Builder addressBuilder) {
Intrinsics.checkNotNullParameter(addressBuilder, "addressBuilder");
this.address = addressBuilder.build();
return this;
}
public final Builder email(String email) {
this.email = email;
return this;
}
public final Builder name(String name) {
this.name = name;
return this;
}
public final Builder phone(String phone) {
this.phone = phone;
return this;
}
public final BillingDetails build() {
return new BillingDetails(this.address, this.email, this.name, this.phone);
}
}
}
@Metadata(d1 = {"\u0000L\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0012\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0087\b\u0018\u00002\u00020\u0001:\u0002+,B7\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0005\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0007\u0012\b\b\u0002\u0010\b\u001a\u00020\t¢\u0006\u0002\u0010\nJ\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0016\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0017\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0018\u001a\u00020\u0007HÆ\u0003J\t\u0010\u0019\u001a\u00020\tHÆ\u0003J;\u0010\u001a\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\tHÆ\u0001J\t\u0010\u001b\u001a\u00020\u001cHÖ\u0001J\u0013\u0010\u001d\u001a\u00020\t2\b\u0010\u001e\u001a\u0004\u0018\u00010\u001fHÖ\u0003J\t\u0010 \u001a\u00020\u001cHÖ\u0001J\r\u0010!\u001a\u00020\"H\u0000¢\u0006\u0002\b#J\t\u0010$\u001a\u00020%HÖ\u0001J\u0019\u0010&\u001a\u00020'2\u0006\u0010(\u001a\u00020)2\u0006\u0010*\u001a\u00020\u001cHÖ\u0001R\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\b\u001a\u00020\t¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0014\u0010\u000f\u001a\u00020\t8@X\u0080\u0004¢\u0006\u0006\u001a\u0004\b\u0010\u0010\u000eR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0012R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0012¨\u0006-"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration;", "Landroid/os/Parcelable;", "name", "Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration$CollectionMode;", "phone", "email", "address", "Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration$AddressCollectionMode;", "attachDefaultsToPaymentMethod", "", "(Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration$CollectionMode;Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration$CollectionMode;Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration$CollectionMode;Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration$AddressCollectionMode;Z)V", "getAddress", "()Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration$AddressCollectionMode;", "getAttachDefaultsToPaymentMethod", "()Z", "collectsEmail", "getCollectsEmail$paymentsheet_release", "getEmail", "()Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration$CollectionMode;", "getName", "getPhone", "component1", "component2", "component3", "component4", "component5", "copy", "describeContents", "", "equals", "other", "", "hashCode", "toBillingAddressConfig", "Lcom/stripe/android/googlepaylauncher/GooglePayPaymentMethodLauncher$BillingAddressConfig;", "toBillingAddressConfig$paymentsheet_release", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "AddressCollectionMode", "CollectionMode", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class BillingDetailsCollectionConfiguration implements Parcelable {
public static final int $stable = 0;
public static final Parcelable.Creator<BillingDetailsCollectionConfiguration> CREATOR = new Creator();
private final AddressCollectionMode address;
private final boolean attachDefaultsToPaymentMethod;
private final CollectionMode email;
private final CollectionMode name;
private final CollectionMode phone;
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0005\b\u0086\u0001\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005¨\u0006\u0006"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration$AddressCollectionMode;", "", "(Ljava/lang/String;I)V", "Automatic", "Never", "Full", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public enum AddressCollectionMode {
Automatic,
Never,
Full
}
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0005\b\u0086\u0001\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005¨\u0006\u0006"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$BillingDetailsCollectionConfiguration$CollectionMode;", "", "(Ljava/lang/String;I)V", "Automatic", "Never", "Always", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public enum CollectionMode {
Automatic,
Never,
Always
}
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<BillingDetailsCollectionConfiguration> {
@Override
public final BillingDetailsCollectionConfiguration createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new BillingDetailsCollectionConfiguration(CollectionMode.valueOf(parcel.readString()), CollectionMode.valueOf(parcel.readString()), CollectionMode.valueOf(parcel.readString()), AddressCollectionMode.valueOf(parcel.readString()), parcel.readInt() != 0);
}
@Override
public final BillingDetailsCollectionConfiguration[] newArray(int i2) {
return new BillingDetailsCollectionConfiguration[i2];
}
}
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public class WhenMappings {
public static final int[] $EnumSwitchMapping$0;
static {
int[] iArr = new int[AddressCollectionMode.values().length];
try {
iArr[AddressCollectionMode.Never.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
iArr[AddressCollectionMode.Automatic.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
iArr[AddressCollectionMode.Full.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
$EnumSwitchMapping$0 = iArr;
}
}
public BillingDetailsCollectionConfiguration() {
this(null, null, null, null, false, 31, null);
}
public static BillingDetailsCollectionConfiguration copy$default(BillingDetailsCollectionConfiguration billingDetailsCollectionConfiguration, CollectionMode collectionMode, CollectionMode collectionMode2, CollectionMode collectionMode3, AddressCollectionMode addressCollectionMode, boolean z, int i2, Object obj) {
if ((i2 & 1) != 0) {
collectionMode = billingDetailsCollectionConfiguration.name;
}
if ((i2 & 2) != 0) {
collectionMode2 = billingDetailsCollectionConfiguration.phone;
}
CollectionMode collectionMode4 = collectionMode2;
if ((i2 & 4) != 0) {
collectionMode3 = billingDetailsCollectionConfiguration.email;
}
CollectionMode collectionMode5 = collectionMode3;
if ((i2 & 8) != 0) {
addressCollectionMode = billingDetailsCollectionConfiguration.address;
}
AddressCollectionMode addressCollectionMode2 = addressCollectionMode;
if ((i2 & 16) != 0) {
z = billingDetailsCollectionConfiguration.attachDefaultsToPaymentMethod;
}
return billingDetailsCollectionConfiguration.copy(collectionMode, collectionMode4, collectionMode5, addressCollectionMode2, z);
}
public final CollectionMode getName() {
return this.name;
}
public final CollectionMode getPhone() {
return this.phone;
}
public final CollectionMode getEmail() {
return this.email;
}
public final AddressCollectionMode getAddress() {
return this.address;
}
public final boolean getAttachDefaultsToPaymentMethod() {
return this.attachDefaultsToPaymentMethod;
}
public final BillingDetailsCollectionConfiguration copy(CollectionMode name, CollectionMode phone, CollectionMode email, AddressCollectionMode address, boolean attachDefaultsToPaymentMethod) {
Intrinsics.checkNotNullParameter(name, "name");
Intrinsics.checkNotNullParameter(phone, "phone");
Intrinsics.checkNotNullParameter(email, "email");
Intrinsics.checkNotNullParameter(address, "address");
return new BillingDetailsCollectionConfiguration(name, phone, email, address, attachDefaultsToPaymentMethod);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof BillingDetailsCollectionConfiguration)) {
return false;
}
BillingDetailsCollectionConfiguration billingDetailsCollectionConfiguration = (BillingDetailsCollectionConfiguration) other;
return this.name == billingDetailsCollectionConfiguration.name && this.phone == billingDetailsCollectionConfiguration.phone && this.email == billingDetailsCollectionConfiguration.email && this.address == billingDetailsCollectionConfiguration.address && this.attachDefaultsToPaymentMethod == billingDetailsCollectionConfiguration.attachDefaultsToPaymentMethod;
}
public int hashCode() {
int hashCode = ((((((this.name.hashCode() * 31) + this.phone.hashCode()) * 31) + this.email.hashCode()) * 31) + this.address.hashCode()) * 31;
boolean z = this.attachDefaultsToPaymentMethod;
int i2 = z;
if (z != 0) {
i2 = 1;
}
return hashCode + i2;
}
public String toString() {
return "BillingDetailsCollectionConfiguration(name=" + this.name + ", phone=" + this.phone + ", email=" + this.email + ", address=" + this.address + ", attachDefaultsToPaymentMethod=" + this.attachDefaultsToPaymentMethod + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.name.name());
parcel.writeString(this.phone.name());
parcel.writeString(this.email.name());
parcel.writeString(this.address.name());
parcel.writeInt(this.attachDefaultsToPaymentMethod ? 1 : 0);
}
public BillingDetailsCollectionConfiguration(CollectionMode collectionMode, CollectionMode collectionMode2, CollectionMode collectionMode3, AddressCollectionMode addressCollectionMode, boolean z) {
Intrinsics.checkNotNullParameter(collectionMode, "name");
Intrinsics.checkNotNullParameter(collectionMode2, "phone");
Intrinsics.checkNotNullParameter(collectionMode3, "email");
Intrinsics.checkNotNullParameter(addressCollectionMode, "address");
this.name = collectionMode;
this.phone = collectionMode2;
this.email = collectionMode3;
this.address = addressCollectionMode;
this.attachDefaultsToPaymentMethod = z;
}
public BillingDetailsCollectionConfiguration(CollectionMode collectionMode, CollectionMode collectionMode2, CollectionMode collectionMode3, AddressCollectionMode addressCollectionMode, boolean z, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this((i2 & 1) != 0 ? CollectionMode.Automatic : collectionMode, (i2 & 2) != 0 ? CollectionMode.Automatic : collectionMode2, (i2 & 4) != 0 ? CollectionMode.Automatic : collectionMode3, (i2 & 8) != 0 ? AddressCollectionMode.Automatic : addressCollectionMode, (i2 & 16) != 0 ? false : z);
}
public final CollectionMode getName() {
return this.name;
}
public final CollectionMode getPhone() {
return this.phone;
}
public final CollectionMode getEmail() {
return this.email;
}
public final AddressCollectionMode getAddress() {
return this.address;
}
public final boolean getAttachDefaultsToPaymentMethod() {
return this.attachDefaultsToPaymentMethod;
}
public final boolean getCollectsEmail$paymentsheet_release() {
return this.email == CollectionMode.Always;
}
public final GooglePayPaymentMethodLauncher.BillingAddressConfig toBillingAddressConfig$paymentsheet_release() {
GooglePayPaymentMethodLauncher.BillingAddressConfig.Format format;
boolean z = this.address == AddressCollectionMode.Full;
boolean z2 = this.phone == CollectionMode.Always;
int i2 = WhenMappings.$EnumSwitchMapping$0[this.address.ordinal()];
if (i2 == 1 || i2 == 2) {
format = GooglePayPaymentMethodLauncher.BillingAddressConfig.Format.Min;
} else {
if (i2 != 3) {
throw new NoWhenBranchMatchedException();
}
format = GooglePayPaymentMethodLauncher.BillingAddressConfig.Format.Full;
}
return new GooglePayPaymentMethodLauncher.BillingAddressConfig(z || z2, format, z2);
}
}
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005J\t\u0010\t\u001a\u00020\u0003HÆ\u0003J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\u000b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\t\u0010\f\u001a\u00020\rHÖ\u0001J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0011HÖ\u0003J\t\u0010\u0012\u001a\u00020\rHÖ\u0001J\t\u0010\u0013\u001a\u00020\u0003HÖ\u0001J\u0019\u0010\u0014\u001a\u00020\u00152\u0006\u0010\u0016\u001a\u00020\u00172\u0006\u0010\u0018\u001a\u00020\rHÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0019"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$CustomerConfiguration;", "Landroid/os/Parcelable;", MessageExtension.FIELD_ID, "", "ephemeralKeySecret", "(Ljava/lang/String;Ljava/lang/String;)V", "getEphemeralKeySecret", "()Ljava/lang/String;", "getId", "component1", "component2", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class CustomerConfiguration implements Parcelable {
public static final int $stable = 0;
public static final Parcelable.Creator<CustomerConfiguration> CREATOR = new Creator();
private final String ephemeralKeySecret;
private final String id;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<CustomerConfiguration> {
@Override
public final CustomerConfiguration createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new CustomerConfiguration(parcel.readString(), parcel.readString());
}
@Override
public final CustomerConfiguration[] newArray(int i2) {
return new CustomerConfiguration[i2];
}
}
public static CustomerConfiguration copy$default(CustomerConfiguration customerConfiguration, String str, String str2, int i2, Object obj) {
if ((i2 & 1) != 0) {
str = customerConfiguration.id;
}
if ((i2 & 2) != 0) {
str2 = customerConfiguration.ephemeralKeySecret;
}
return customerConfiguration.copy(str, str2);
}
public final String getId() {
return this.id;
}
public final String getEphemeralKeySecret() {
return this.ephemeralKeySecret;
}
public final CustomerConfiguration copy(String id, String ephemeralKeySecret) {
Intrinsics.checkNotNullParameter(id, MessageExtension.FIELD_ID);
Intrinsics.checkNotNullParameter(ephemeralKeySecret, "ephemeralKeySecret");
return new CustomerConfiguration(id, ephemeralKeySecret);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof CustomerConfiguration)) {
return false;
}
CustomerConfiguration customerConfiguration = (CustomerConfiguration) other;
return Intrinsics.areEqual(this.id, customerConfiguration.id) && Intrinsics.areEqual(this.ephemeralKeySecret, customerConfiguration.ephemeralKeySecret);
}
public int hashCode() {
return (this.id.hashCode() * 31) + this.ephemeralKeySecret.hashCode();
}
public String toString() {
return "CustomerConfiguration(id=" + this.id + ", ephemeralKeySecret=" + this.ephemeralKeySecret + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.id);
parcel.writeString(this.ephemeralKeySecret);
}
public CustomerConfiguration(String str, String str2) {
Intrinsics.checkNotNullParameter(str, MessageExtension.FIELD_ID);
Intrinsics.checkNotNullParameter(str2, "ephemeralKeySecret");
this.id = str;
this.ephemeralKeySecret = str2;
}
public final String getId() {
return this.id;
}
public final String getEphemeralKeySecret() {
return this.ephemeralKeySecret;
}
}
@Metadata(d1 = {"\u0000J\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0015\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0087\b\u0018\u00002\u00020\u0001:\u0002-.BE\b\u0007\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0005\u0012\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\b\u0012\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u0005\u0012\b\b\u0002\u0010\n\u001a\u00020\u000b¢\u0006\u0002\u0010\fJ\t\u0010\u0018\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0019\u001a\u00020\u0005HÆ\u0003J\u000b\u0010\u001a\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u0010\u0010\u001b\u001a\u0004\u0018\u00010\bHÆ\u0003¢\u0006\u0002\u0010\u000eJ\u000b\u0010\u001c\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\t\u0010\u001d\u001a\u00020\u000bHÆ\u0003JP\u0010\u001e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\b2\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u00052\b\b\u0002\u0010\n\u001a\u00020\u000bHÆ\u0001¢\u0006\u0002\u0010\u001fJ\t\u0010 \u001a\u00020!HÖ\u0001J\u0013\u0010\"\u001a\u00020#2\b\u0010$\u001a\u0004\u0018\u00010%HÖ\u0003J\t\u0010&\u001a\u00020!HÖ\u0001J\t\u0010'\u001a\u00020\u0005HÖ\u0001J\u0019\u0010(\u001a\u00020)2\u0006\u0010*\u001a\u00020+2\u0006\u0010,\u001a\u00020!HÖ\u0001R\u0015\u0010\u0007\u001a\u0004\u0018\u00010\b¢\u0006\n\n\u0002\u0010\u000f\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\n\u001a\u00020\u000b¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0013R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0016R\u0013\u0010\t\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0013¨\u0006/"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration;", "Landroid/os/Parcelable;", "environment", "Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration$Environment;", "countryCode", "", "currencyCode", CreateFinancialConnectionsSessionForDeferredPaymentParams.PARAM_AMOUNT, "", "label", "buttonType", "Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration$ButtonType;", "(Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration$Environment;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration$ButtonType;)V", "getAmount", "()Ljava/lang/Long;", "Ljava/lang/Long;", "getButtonType", "()Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration$ButtonType;", "getCountryCode", "()Ljava/lang/String;", "getCurrencyCode", "getEnvironment", "()Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration$Environment;", "getLabel", "component1", "component2", "component3", "component4", "component5", "component6", "copy", "(Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration$Environment;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/String;Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration$ButtonType;)Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration;", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "ButtonType", "Environment", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class GooglePayConfiguration implements Parcelable {
public static final int $stable = 0;
public static final Parcelable.Creator<GooglePayConfiguration> CREATOR = new Creator();
private final Long amount;
private final ButtonType buttonType;
private final String countryCode;
private final String currencyCode;
private final Environment environment;
private final String label;
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\n\b\u0086\u0001\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005j\u0002\b\u0006j\u0002\b\u0007j\u0002\b\bj\u0002\b\tj\u0002\b\n¨\u0006\u000b"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration$ButtonType;", "", "(Ljava/lang/String;I)V", "Buy", "Book", TTContentsEventConstants.ContentsEventName.EVENT_NAME_CHECK_OUT, "Donate", "Order", "Pay", "Subscribe", "Plain", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public enum ButtonType {
Buy,
Book,
Checkout,
Donate,
Order,
Pay,
Subscribe,
Plain
}
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<GooglePayConfiguration> {
@Override
public final GooglePayConfiguration createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new GooglePayConfiguration(Environment.valueOf(parcel.readString()), parcel.readString(), parcel.readString(), parcel.readInt() == 0 ? null : Long.valueOf(parcel.readLong()), parcel.readString(), ButtonType.valueOf(parcel.readString()));
}
@Override
public final GooglePayConfiguration[] newArray(int i2) {
return new GooglePayConfiguration[i2];
}
}
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0004\b\u0086\u0001\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004¨\u0006\u0005"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$GooglePayConfiguration$Environment;", "", "(Ljava/lang/String;I)V", "Production", "Test", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public enum Environment {
Production,
Test
}
public GooglePayConfiguration(Environment environment, String str) {
this(environment, str, null, null, null, null, 60, null);
Intrinsics.checkNotNullParameter(environment, "environment");
Intrinsics.checkNotNullParameter(str, "countryCode");
}
public GooglePayConfiguration(Environment environment, String str, String str2) {
this(environment, str, str2, null, null, null, 56, null);
Intrinsics.checkNotNullParameter(environment, "environment");
Intrinsics.checkNotNullParameter(str, "countryCode");
}
public GooglePayConfiguration(Environment environment, String str, String str2, Long l) {
this(environment, str, str2, l, null, null, 48, null);
Intrinsics.checkNotNullParameter(environment, "environment");
Intrinsics.checkNotNullParameter(str, "countryCode");
}
public GooglePayConfiguration(Environment environment, String str, String str2, Long l, String str3) {
this(environment, str, str2, l, str3, null, 32, null);
Intrinsics.checkNotNullParameter(environment, "environment");
Intrinsics.checkNotNullParameter(str, "countryCode");
}
public static GooglePayConfiguration copy$default(GooglePayConfiguration googlePayConfiguration, Environment environment, String str, String str2, Long l, String str3, ButtonType buttonType, int i2, Object obj) {
if ((i2 & 1) != 0) {
environment = googlePayConfiguration.environment;
}
if ((i2 & 2) != 0) {
str = googlePayConfiguration.countryCode;
}
String str4 = str;
if ((i2 & 4) != 0) {
str2 = googlePayConfiguration.currencyCode;
}
String str5 = str2;
if ((i2 & 8) != 0) {
l = googlePayConfiguration.amount;
}
Long l2 = l;
if ((i2 & 16) != 0) {
str3 = googlePayConfiguration.label;
}
String str6 = str3;
if ((i2 & 32) != 0) {
buttonType = googlePayConfiguration.buttonType;
}
return googlePayConfiguration.copy(environment, str4, str5, l2, str6, buttonType);
}
public final Environment getEnvironment() {
return this.environment;
}
public final String getCountryCode() {
return this.countryCode;
}
public final String getCurrencyCode() {
return this.currencyCode;
}
public final Long getAmount() {
return this.amount;
}
public final String getLabel() {
return this.label;
}
public final ButtonType getButtonType() {
return this.buttonType;
}
public final GooglePayConfiguration copy(Environment environment, String countryCode, String currencyCode, Long amount, String label, ButtonType buttonType) {
Intrinsics.checkNotNullParameter(environment, "environment");
Intrinsics.checkNotNullParameter(countryCode, "countryCode");
Intrinsics.checkNotNullParameter(buttonType, "buttonType");
return new GooglePayConfiguration(environment, countryCode, currencyCode, amount, label, buttonType);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof GooglePayConfiguration)) {
return false;
}
GooglePayConfiguration googlePayConfiguration = (GooglePayConfiguration) other;
return this.environment == googlePayConfiguration.environment && Intrinsics.areEqual(this.countryCode, googlePayConfiguration.countryCode) && Intrinsics.areEqual(this.currencyCode, googlePayConfiguration.currencyCode) && Intrinsics.areEqual(this.amount, googlePayConfiguration.amount) && Intrinsics.areEqual(this.label, googlePayConfiguration.label) && this.buttonType == googlePayConfiguration.buttonType;
}
public int hashCode() {
int hashCode = ((this.environment.hashCode() * 31) + this.countryCode.hashCode()) * 31;
String str = this.currencyCode;
int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31;
Long l = this.amount;
int hashCode3 = (hashCode2 + (l == null ? 0 : l.hashCode())) * 31;
String str2 = this.label;
return ((hashCode3 + (str2 != null ? str2.hashCode() : 0)) * 31) + this.buttonType.hashCode();
}
public String toString() {
return "GooglePayConfiguration(environment=" + this.environment + ", countryCode=" + this.countryCode + ", currencyCode=" + this.currencyCode + ", amount=" + this.amount + ", label=" + this.label + ", buttonType=" + this.buttonType + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.environment.name());
parcel.writeString(this.countryCode);
parcel.writeString(this.currencyCode);
Long l = this.amount;
if (l == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
parcel.writeLong(l.longValue());
}
parcel.writeString(this.label);
parcel.writeString(this.buttonType.name());
}
public GooglePayConfiguration(Environment environment, String str, String str2, Long l, String str3, ButtonType buttonType) {
Intrinsics.checkNotNullParameter(environment, "environment");
Intrinsics.checkNotNullParameter(str, "countryCode");
Intrinsics.checkNotNullParameter(buttonType, "buttonType");
this.environment = environment;
this.countryCode = str;
this.currencyCode = str2;
this.amount = l;
this.label = str3;
this.buttonType = buttonType;
}
public final Environment getEnvironment() {
return this.environment;
}
public final String getCountryCode() {
return this.countryCode;
}
public final String getCurrencyCode() {
return this.currencyCode;
}
public final Long getAmount() {
return this.amount;
}
public final String getLabel() {
return this.label;
}
public GooglePayConfiguration(Environment environment, String str, String str2, Long l, String str3, ButtonType buttonType, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this(environment, str, (i2 & 4) != 0 ? null : str2, (i2 & 8) != 0 ? null : l, (i2 & 16) != 0 ? null : str3, (i2 & 32) != 0 ? ButtonType.Pay : buttonType);
}
public final ButtonType getButtonType() {
return this.buttonType;
}
}
@Metadata(d1 = {"\u0000<\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0005\bf\u0018\u0000 \u00192\u00020\u0001:\u0003\u0019\u001a\u001bJ$\u0010\b\u001a\u00020\t2\u0006\u0010\n\u001a\u00020\u000b2\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\r2\u0006\u0010\u000e\u001a\u00020\u000fH&J$\u0010\u0010\u001a\u00020\t2\u0006\u0010\u0011\u001a\u00020\u00122\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\r2\u0006\u0010\u000e\u001a\u00020\u000fH&J$\u0010\u0013\u001a\u00020\t2\u0006\u0010\u0014\u001a\u00020\u00122\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\r2\u0006\u0010\u000e\u001a\u00020\u000fH&J\b\u0010\u0015\u001a\u00020\tH&J\n\u0010\u0016\u001a\u0004\u0018\u00010\u0017H&J\b\u0010\u0018\u001a\u00020\tH&R\u001a\u0010\u0002\u001a\u0004\u0018\u00010\u0003X¦\u000e¢\u0006\f\u001a\u0004\b\u0004\u0010\u0005\"\u0004\b\u0006\u0010\u0007¨\u0006\u001c"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$FlowController;", "", "shippingDetails", "Lcom/stripe/android/paymentsheet/addresselement/AddressDetails;", "getShippingDetails", "()Lcom/stripe/android/paymentsheet/addresselement/AddressDetails;", "setShippingDetails", "(Lcom/stripe/android/paymentsheet/addresselement/AddressDetails;)V", "configureWithIntentConfiguration", "", "intentConfiguration", "Lcom/stripe/android/paymentsheet/PaymentSheet$IntentConfiguration;", "configuration", "Lcom/stripe/android/paymentsheet/PaymentSheet$Configuration;", "callback", "Lcom/stripe/android/paymentsheet/PaymentSheet$FlowController$ConfigCallback;", "configureWithPaymentIntent", "paymentIntentClientSecret", "", "configureWithSetupIntent", "setupIntentClientSecret", "confirm", "getPaymentOption", "Lcom/stripe/android/paymentsheet/model/PaymentOption;", "presentPaymentOptions", "Companion", "ConfigCallback", "Result", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public interface FlowController {
public static final Companion INSTANCE = Companion.$$INSTANCE;
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0003\n\u0000\bæ\u0080\u0001\u0018\u00002\u00020\u0001J\u001a\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00052\b\u0010\u0006\u001a\u0004\u0018\u00010\u0007H&¨\u0006\b"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$FlowController$ConfigCallback;", "", "onConfigured", "", "success", "", "error", "", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public interface ConfigCallback {
void onConfigured(boolean success, Throwable error);
}
@JvmStatic
static FlowController create(ComponentActivity componentActivity, PaymentOptionCallback paymentOptionCallback, CreateIntentCallback createIntentCallback, PaymentSheetResultCallback paymentSheetResultCallback) {
return INSTANCE.create(componentActivity, paymentOptionCallback, createIntentCallback, paymentSheetResultCallback);
}
@JvmStatic
static FlowController create(ComponentActivity componentActivity, PaymentOptionCallback paymentOptionCallback, PaymentSheetResultCallback paymentSheetResultCallback) {
return INSTANCE.create(componentActivity, paymentOptionCallback, paymentSheetResultCallback);
}
@JvmStatic
static FlowController create(Fragment fragment, PaymentOptionCallback paymentOptionCallback, CreateIntentCallback createIntentCallback, PaymentSheetResultCallback paymentSheetResultCallback) {
return INSTANCE.create(fragment, paymentOptionCallback, createIntentCallback, paymentSheetResultCallback);
}
@JvmStatic
static FlowController create(Fragment fragment, PaymentOptionCallback paymentOptionCallback, PaymentSheetResultCallback paymentSheetResultCallback) {
return INSTANCE.create(fragment, paymentOptionCallback, paymentSheetResultCallback);
}
void configureWithIntentConfiguration(IntentConfiguration intentConfiguration, Configuration configuration, ConfigCallback callback);
void configureWithPaymentIntent(String paymentIntentClientSecret, Configuration configuration, ConfigCallback callback);
void configureWithSetupIntent(String setupIntentClientSecret, Configuration configuration, ConfigCallback callback);
void confirm();
PaymentOption getPaymentOption();
AddressDetails getShippingDetails();
void presentPaymentOptions();
void setShippingDetails(AddressDetails addressDetails);
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class DefaultImpls {
public static void configureWithPaymentIntent$default(FlowController flowController, String str, Configuration configuration, ConfigCallback configCallback, int i2, Object obj) {
if (obj != null) {
throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: configureWithPaymentIntent");
}
if ((i2 & 2) != 0) {
configuration = null;
}
flowController.configureWithPaymentIntent(str, configuration, configCallback);
}
public static void configureWithSetupIntent$default(FlowController flowController, String str, Configuration configuration, ConfigCallback configCallback, int i2, Object obj) {
if (obj != null) {
throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: configureWithSetupIntent");
}
if ((i2 & 2) != 0) {
configuration = null;
}
flowController.configureWithSetupIntent(str, configuration, configCallback);
}
public static void configureWithIntentConfiguration$default(FlowController flowController, IntentConfiguration intentConfiguration, Configuration configuration, ConfigCallback configCallback, int i2, Object obj) {
if (obj != null) {
throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: configureWithIntentConfiguration");
}
if ((i2 & 2) != 0) {
configuration = null;
}
flowController.configureWithIntentConfiguration(intentConfiguration, configuration, configCallback);
}
}
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b7\u0018\u00002\u00020\u0001:\u0002\u0003\u0004B\u0007\b\u0004¢\u0006\u0002\u0010\u0002\u0082\u0001\u0002\u0005\u0006¨\u0006\u0007"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$FlowController$Result;", "", "()V", "Failure", "Success", "Lcom/stripe/android/paymentsheet/PaymentSheet$FlowController$Result$Failure;", "Lcom/stripe/android/paymentsheet/PaymentSheet$FlowController$Result$Success;", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static abstract class Result {
public static final int $stable = 0;
public Result(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\bÇ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002¨\u0006\u0003"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$FlowController$Result$Success;", "Lcom/stripe/android/paymentsheet/PaymentSheet$FlowController$Result;", "()V", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Success extends Result {
public static final int $stable = 0;
public static final Success INSTANCE = new Success();
private Success() {
super(null);
}
}
private Result() {
}
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0003\n\u0002\b\u0004\b\u0007\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$FlowController$Result$Failure;", "Lcom/stripe/android/paymentsheet/PaymentSheet$FlowController$Result;", "error", "", "(Ljava/lang/Throwable;)V", "getError", "()Ljava/lang/Throwable;", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Failure extends Result {
public static final int $stable = 8;
private final Throwable error;
public final Throwable getError() {
return this.error;
}
public Failure(Throwable th) {
super(null);
Intrinsics.checkNotNullParameter(th, "error");
this.error = th;
}
}
}
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J(\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\fH\u0007J \u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\u000b\u001a\u00020\fH\u0007J(\u0010\u0003\u001a\u00020\u00042\u0006\u0010\r\u001a\u00020\u000e2\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\fH\u0007J \u0010\u0003\u001a\u00020\u00042\u0006\u0010\r\u001a\u00020\u000e2\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\u000b\u001a\u00020\fH\u0007¨\u0006\u000f"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$FlowController$Companion;", "", "()V", "create", "Lcom/stripe/android/paymentsheet/PaymentSheet$FlowController;", "activity", "Landroidx/activity/ComponentActivity;", "paymentOptionCallback", "Lcom/stripe/android/paymentsheet/PaymentOptionCallback;", "createIntentCallback", "Lcom/stripe/android/paymentsheet/CreateIntentCallback;", "paymentResultCallback", "Lcom/stripe/android/paymentsheet/PaymentSheetResultCallback;", "fragment", "Landroidx/fragment/app/Fragment;", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Companion {
static final Companion $$INSTANCE = new Companion();
private Companion() {
}
@JvmStatic
public final FlowController create(ComponentActivity activity, PaymentOptionCallback paymentOptionCallback, PaymentSheetResultCallback paymentResultCallback) {
Intrinsics.checkNotNullParameter(activity, "activity");
Intrinsics.checkNotNullParameter(paymentOptionCallback, "paymentOptionCallback");
Intrinsics.checkNotNullParameter(paymentResultCallback, "paymentResultCallback");
return new FlowControllerFactory(activity, paymentOptionCallback, paymentResultCallback).create();
}
@JvmStatic
public final FlowController create(ComponentActivity activity, PaymentOptionCallback paymentOptionCallback, CreateIntentCallback createIntentCallback, PaymentSheetResultCallback paymentResultCallback) {
Intrinsics.checkNotNullParameter(activity, "activity");
Intrinsics.checkNotNullParameter(paymentOptionCallback, "paymentOptionCallback");
Intrinsics.checkNotNullParameter(createIntentCallback, "createIntentCallback");
Intrinsics.checkNotNullParameter(paymentResultCallback, "paymentResultCallback");
IntentConfirmationInterceptor.INSTANCE.setCreateIntentCallback(createIntentCallback);
return new FlowControllerFactory(activity, paymentOptionCallback, paymentResultCallback).create();
}
@JvmStatic
public final FlowController create(Fragment fragment, PaymentOptionCallback paymentOptionCallback, PaymentSheetResultCallback paymentResultCallback) {
Intrinsics.checkNotNullParameter(fragment, "fragment");
Intrinsics.checkNotNullParameter(paymentOptionCallback, "paymentOptionCallback");
Intrinsics.checkNotNullParameter(paymentResultCallback, "paymentResultCallback");
return new FlowControllerFactory(fragment, paymentOptionCallback, paymentResultCallback).create();
}
@JvmStatic
public final FlowController create(Fragment fragment, PaymentOptionCallback paymentOptionCallback, CreateIntentCallback createIntentCallback, PaymentSheetResultCallback paymentResultCallback) {
Intrinsics.checkNotNullParameter(fragment, "fragment");
Intrinsics.checkNotNullParameter(paymentOptionCallback, "paymentOptionCallback");
Intrinsics.checkNotNullParameter(createIntentCallback, "createIntentCallback");
Intrinsics.checkNotNullParameter(paymentResultCallback, "paymentResultCallback");
IntentConfirmationInterceptor.INSTANCE.setCreateIntentCallback(createIntentCallback);
return new FlowControllerFactory(fragment, paymentOptionCallback, paymentResultCallback).create();
}
}
}
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000e\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006¨\u0006\u0007"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheet$Companion;", "", "()V", "resetCustomer", "", "context", "Landroid/content/Context;", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Companion {
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
public final void resetCustomer(Context context) {
Intrinsics.checkNotNullParameter(context, "context");
new CookieStore(context).clear();
}
}
}