正在查看: Biko v2.0.23 应用的 CollectBankAccountContract.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Biko v2.0.23 应用的 CollectBankAccountContract.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.stripe.android.payments.bankaccount.navigation;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import androidx.activity.result.contract.ActivityResultContract;
import androidx.core.os.BundleKt;
import com.stripe.android.model.CreateFinancialConnectionsSessionForDeferredPaymentParams;
import com.stripe.android.payments.bankaccount.CollectBankAccountConfiguration;
import com.stripe.android.payments.bankaccount.navigation.CollectBankAccountResultInternal;
import com.stripe.android.payments.bankaccount.ui.CollectBankAccountActivity;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.TuplesKt;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0005\b\u0007\u0018\u0000 \u000f2\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001:\u0003\u000e\u000f\u0010B\u0005¢\u0006\u0002\u0010\u0004J\u0018\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\u0002H\u0016J\u001a\u0010\n\u001a\u00020\u00032\u0006\u0010\u000b\u001a\u00020\f2\b\u0010\r\u001a\u0004\u0018\u00010\u0006H\u0016¨\u0006\u0011"}, d2 = {"Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract;", "Landroidx/activity/result/contract/ActivityResultContract;", "Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args;", "Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountResultInternal;", "()V", "createIntent", "Landroid/content/Intent;", "context", "Landroid/content/Context;", "input", "parseResult", "resultCode", "", "intent", "Args", "Companion", "Result", "payments-core_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public final class CollectBankAccountContract extends ActivityResultContract<Args, CollectBankAccountResultInternal> {
public static final int $stable = 0;
public static final Companion INSTANCE = new Companion(null);
public static final String EXTRA_ARGS = "com.stripe.android.payments.bankaccount.navigation.CollectBankAccountContract.extra_args";
private static final String EXTRA_RESULT = "com.stripe.android.payments.bankaccount.navigation.CollectBankAccountContract.extra_result";
public Intent createIntent(Context context, Args input) {
Intrinsics.checkNotNullParameter(context, "context");
Intrinsics.checkNotNullParameter(input, "input");
Intent putExtra = new Intent(context, (Class<?>) CollectBankAccountActivity.class).putExtra(EXTRA_ARGS, input);
Intrinsics.checkNotNullExpressionValue(putExtra, "Intent(context, CollectB…tExtra(EXTRA_ARGS, input)");
return putExtra;
}
public CollectBankAccountResultInternal m206parseResult(int resultCode, Intent intent) {
Result result;
CollectBankAccountResultInternal collectBankAccountResult = (intent == null || (result = (Result) intent.getParcelableExtra(EXTRA_RESULT)) == null) ? null : result.getCollectBankAccountResult();
return collectBankAccountResult == null ? new CollectBankAccountResultInternal.Failed(new IllegalArgumentException("Failed to retrieve a CollectBankAccountResult.")) : collectBankAccountResult;
}
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\n\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b7\u0018\u0000 \u00152\u00020\u0001:\u0005\u0015\u0016\u0017\u0018\u0019B3\b\u0004\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\t¢\u0006\u0002\u0010\nJ\u0006\u0010\u0013\u001a\u00020\u0014R\u0014\u0010\b\u001a\u00020\tX\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0016\u0010\u0005\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0014\u0010\u0006\u001a\u00020\u0007X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u000eR\u0016\u0010\u0004\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u000e\u0082\u0001\u0004\u001a\u001b\u001c\u001d¨\u0006\u001e"}, d2 = {"Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args;", "Landroid/os/Parcelable;", "publishableKey", "", "stripeAccountId", "clientSecret", "configuration", "Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;", "attachToIntent", "", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;Z)V", "getAttachToIntent", "()Z", "getClientSecret", "()Ljava/lang/String;", "getConfiguration", "()Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;", "getPublishableKey", "getStripeAccountId", "toBundle", "Landroid/os/Bundle;", "Companion", "ForDeferredPaymentIntent", "ForDeferredSetupIntent", "ForPaymentIntent", "ForSetupIntent", "Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args$ForDeferredPaymentIntent;", "Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args$ForDeferredSetupIntent;", "Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args$ForPaymentIntent;", "Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args$ForSetupIntent;", "payments-core_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static abstract class Args implements Parcelable {
public static final int $stable = 0;
public static final Companion INSTANCE = new Companion(null);
private final boolean attachToIntent;
private final String clientSecret;
private final CollectBankAccountConfiguration configuration;
private final String publishableKey;
private final String stripeAccountId;
public Args(String str, String str2, String str3, CollectBankAccountConfiguration collectBankAccountConfiguration, boolean z, DefaultConstructorMarker defaultConstructorMarker) {
this(str, str2, str3, collectBankAccountConfiguration, z);
}
private Args(String str, String str2, String str3, CollectBankAccountConfiguration collectBankAccountConfiguration, boolean z) {
this.publishableKey = str;
this.stripeAccountId = str2;
this.clientSecret = str3;
this.configuration = collectBankAccountConfiguration;
this.attachToIntent = z;
}
public String getPublishableKey() {
return this.publishableKey;
}
public String getStripeAccountId() {
return this.stripeAccountId;
}
public String getClientSecret() {
return this.clientSecret;
}
public CollectBankAccountConfiguration getConfiguration() {
return this.configuration;
}
public boolean getAttachToIntent() {
return this.attachToIntent;
}
public final Bundle toBundle() {
return BundleKt.bundleOf(new Pair[]{TuplesKt.to(CollectBankAccountContract.EXTRA_ARGS, this)});
}
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0010\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\u0002\b\u0087\b\u0018\u00002\u00020\u0001B/\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\t¢\u0006\u0002\u0010\nJ\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0014\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0016\u001a\u00020\u0007HÆ\u0003J\t\u0010\u0017\u001a\u00020\tHÆ\u0003J=\u0010\u0018\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\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\u0019\u001a\u00020\u001aHÖ\u0001J\u0013\u0010\u001b\u001a\u00020\t2\b\u0010\u001c\u001a\u0004\u0018\u00010\u001dHÖ\u0003J\t\u0010\u001e\u001a\u00020\u001aHÖ\u0001J\t\u0010\u001f\u001a\u00020\u0003HÖ\u0001J\u0019\u0010 \u001a\u00020!2\u0006\u0010\"\u001a\u00020#2\u0006\u0010$\u001a\u00020\u001aHÖ\u0001R\u0014\u0010\b\u001a\u00020\tX\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0014\u0010\u0005\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0014\u0010\u0006\u001a\u00020\u0007X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u000eR\u0016\u0010\u0004\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u000e¨\u0006%"}, d2 = {"Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args$ForPaymentIntent;", "Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args;", "publishableKey", "", "stripeAccountId", "clientSecret", "configuration", "Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;", "attachToIntent", "", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;Z)V", "getAttachToIntent", "()Z", "getClientSecret", "()Ljava/lang/String;", "getConfiguration", "()Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;", "getPublishableKey", "getStripeAccountId", "component1", "component2", "component3", "component4", "component5", "copy", "describeContents", "", "equals", "other", "", "hashCode", "toString", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "payments-core_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class ForPaymentIntent extends Args {
public static final int $stable = 0;
public static final Parcelable.Creator<ForPaymentIntent> CREATOR = new Creator();
private final boolean attachToIntent;
private final String clientSecret;
private final CollectBankAccountConfiguration configuration;
private final String publishableKey;
private final String stripeAccountId;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<ForPaymentIntent> {
@Override
public final ForPaymentIntent createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new ForPaymentIntent(parcel.readString(), parcel.readString(), parcel.readString(), (CollectBankAccountConfiguration) parcel.readParcelable(ForPaymentIntent.class.getClassLoader()), parcel.readInt() != 0);
}
@Override
public final ForPaymentIntent[] newArray(int i2) {
return new ForPaymentIntent[i2];
}
}
public static ForPaymentIntent copy$default(ForPaymentIntent forPaymentIntent, String str, String str2, String str3, CollectBankAccountConfiguration collectBankAccountConfiguration, boolean z, int i2, Object obj) {
if ((i2 & 1) != 0) {
str = forPaymentIntent.publishableKey;
}
if ((i2 & 2) != 0) {
str2 = forPaymentIntent.stripeAccountId;
}
String str4 = str2;
if ((i2 & 4) != 0) {
str3 = forPaymentIntent.clientSecret;
}
String str5 = str3;
if ((i2 & 8) != 0) {
collectBankAccountConfiguration = forPaymentIntent.configuration;
}
CollectBankAccountConfiguration collectBankAccountConfiguration2 = collectBankAccountConfiguration;
if ((i2 & 16) != 0) {
z = forPaymentIntent.attachToIntent;
}
return forPaymentIntent.copy(str, str4, str5, collectBankAccountConfiguration2, z);
}
public final String getPublishableKey() {
return this.publishableKey;
}
public final String getStripeAccountId() {
return this.stripeAccountId;
}
public final String getClientSecret() {
return this.clientSecret;
}
public final CollectBankAccountConfiguration getConfiguration() {
return this.configuration;
}
public final boolean getAttachToIntent() {
return this.attachToIntent;
}
public final ForPaymentIntent copy(String publishableKey, String stripeAccountId, String clientSecret, CollectBankAccountConfiguration configuration, boolean attachToIntent) {
Intrinsics.checkNotNullParameter(publishableKey, "publishableKey");
Intrinsics.checkNotNullParameter(clientSecret, "clientSecret");
Intrinsics.checkNotNullParameter(configuration, "configuration");
return new ForPaymentIntent(publishableKey, stripeAccountId, clientSecret, configuration, attachToIntent);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof ForPaymentIntent)) {
return false;
}
ForPaymentIntent forPaymentIntent = (ForPaymentIntent) other;
return Intrinsics.areEqual(this.publishableKey, forPaymentIntent.publishableKey) && Intrinsics.areEqual(this.stripeAccountId, forPaymentIntent.stripeAccountId) && Intrinsics.areEqual(this.clientSecret, forPaymentIntent.clientSecret) && Intrinsics.areEqual(this.configuration, forPaymentIntent.configuration) && this.attachToIntent == forPaymentIntent.attachToIntent;
}
public int hashCode() {
int hashCode = this.publishableKey.hashCode() * 31;
String str = this.stripeAccountId;
int hashCode2 = (((((hashCode + (str == null ? 0 : str.hashCode())) * 31) + this.clientSecret.hashCode()) * 31) + this.configuration.hashCode()) * 31;
boolean z = this.attachToIntent;
int i2 = z;
if (z != 0) {
i2 = 1;
}
return hashCode2 + i2;
}
public String toString() {
return "ForPaymentIntent(publishableKey=" + this.publishableKey + ", stripeAccountId=" + this.stripeAccountId + ", clientSecret=" + this.clientSecret + ", configuration=" + this.configuration + ", attachToIntent=" + this.attachToIntent + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.publishableKey);
parcel.writeString(this.stripeAccountId);
parcel.writeString(this.clientSecret);
parcel.writeParcelable(this.configuration, flags);
parcel.writeInt(this.attachToIntent ? 1 : 0);
}
@Override
public String getPublishableKey() {
return this.publishableKey;
}
@Override
public String getStripeAccountId() {
return this.stripeAccountId;
}
@Override
public String getClientSecret() {
return this.clientSecret;
}
@Override
public CollectBankAccountConfiguration getConfiguration() {
return this.configuration;
}
@Override
public boolean getAttachToIntent() {
return this.attachToIntent;
}
public ForPaymentIntent(String str, String str2, String str3, CollectBankAccountConfiguration collectBankAccountConfiguration, boolean z) {
super(str, str2, str3, collectBankAccountConfiguration, z, null);
Intrinsics.checkNotNullParameter(str, "publishableKey");
Intrinsics.checkNotNullParameter(str3, "clientSecret");
Intrinsics.checkNotNullParameter(collectBankAccountConfiguration, "configuration");
this.publishableKey = str;
this.stripeAccountId = str2;
this.clientSecret = str3;
this.configuration = collectBankAccountConfiguration;
this.attachToIntent = z;
}
}
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0010\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\u0002\b\u0087\b\u0018\u00002\u00020\u0001B/\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\t¢\u0006\u0002\u0010\nJ\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0014\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0016\u001a\u00020\u0007HÆ\u0003J\t\u0010\u0017\u001a\u00020\tHÆ\u0003J=\u0010\u0018\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\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\u0019\u001a\u00020\u001aHÖ\u0001J\u0013\u0010\u001b\u001a\u00020\t2\b\u0010\u001c\u001a\u0004\u0018\u00010\u001dHÖ\u0003J\t\u0010\u001e\u001a\u00020\u001aHÖ\u0001J\t\u0010\u001f\u001a\u00020\u0003HÖ\u0001J\u0019\u0010 \u001a\u00020!2\u0006\u0010\"\u001a\u00020#2\u0006\u0010$\u001a\u00020\u001aHÖ\u0001R\u0014\u0010\b\u001a\u00020\tX\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0014\u0010\u0005\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0014\u0010\u0006\u001a\u00020\u0007X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u000eR\u0016\u0010\u0004\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u000e¨\u0006%"}, d2 = {"Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args$ForSetupIntent;", "Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args;", "publishableKey", "", "stripeAccountId", "clientSecret", "configuration", "Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;", "attachToIntent", "", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;Z)V", "getAttachToIntent", "()Z", "getClientSecret", "()Ljava/lang/String;", "getConfiguration", "()Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;", "getPublishableKey", "getStripeAccountId", "component1", "component2", "component3", "component4", "component5", "copy", "describeContents", "", "equals", "other", "", "hashCode", "toString", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "payments-core_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class ForSetupIntent extends Args {
public static final int $stable = 0;
public static final Parcelable.Creator<ForSetupIntent> CREATOR = new Creator();
private final boolean attachToIntent;
private final String clientSecret;
private final CollectBankAccountConfiguration configuration;
private final String publishableKey;
private final String stripeAccountId;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<ForSetupIntent> {
@Override
public final ForSetupIntent createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new ForSetupIntent(parcel.readString(), parcel.readString(), parcel.readString(), (CollectBankAccountConfiguration) parcel.readParcelable(ForSetupIntent.class.getClassLoader()), parcel.readInt() != 0);
}
@Override
public final ForSetupIntent[] newArray(int i2) {
return new ForSetupIntent[i2];
}
}
public static ForSetupIntent copy$default(ForSetupIntent forSetupIntent, String str, String str2, String str3, CollectBankAccountConfiguration collectBankAccountConfiguration, boolean z, int i2, Object obj) {
if ((i2 & 1) != 0) {
str = forSetupIntent.publishableKey;
}
if ((i2 & 2) != 0) {
str2 = forSetupIntent.stripeAccountId;
}
String str4 = str2;
if ((i2 & 4) != 0) {
str3 = forSetupIntent.clientSecret;
}
String str5 = str3;
if ((i2 & 8) != 0) {
collectBankAccountConfiguration = forSetupIntent.configuration;
}
CollectBankAccountConfiguration collectBankAccountConfiguration2 = collectBankAccountConfiguration;
if ((i2 & 16) != 0) {
z = forSetupIntent.attachToIntent;
}
return forSetupIntent.copy(str, str4, str5, collectBankAccountConfiguration2, z);
}
public final String getPublishableKey() {
return this.publishableKey;
}
public final String getStripeAccountId() {
return this.stripeAccountId;
}
public final String getClientSecret() {
return this.clientSecret;
}
public final CollectBankAccountConfiguration getConfiguration() {
return this.configuration;
}
public final boolean getAttachToIntent() {
return this.attachToIntent;
}
public final ForSetupIntent copy(String publishableKey, String stripeAccountId, String clientSecret, CollectBankAccountConfiguration configuration, boolean attachToIntent) {
Intrinsics.checkNotNullParameter(publishableKey, "publishableKey");
Intrinsics.checkNotNullParameter(clientSecret, "clientSecret");
Intrinsics.checkNotNullParameter(configuration, "configuration");
return new ForSetupIntent(publishableKey, stripeAccountId, clientSecret, configuration, attachToIntent);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof ForSetupIntent)) {
return false;
}
ForSetupIntent forSetupIntent = (ForSetupIntent) other;
return Intrinsics.areEqual(this.publishableKey, forSetupIntent.publishableKey) && Intrinsics.areEqual(this.stripeAccountId, forSetupIntent.stripeAccountId) && Intrinsics.areEqual(this.clientSecret, forSetupIntent.clientSecret) && Intrinsics.areEqual(this.configuration, forSetupIntent.configuration) && this.attachToIntent == forSetupIntent.attachToIntent;
}
public int hashCode() {
int hashCode = this.publishableKey.hashCode() * 31;
String str = this.stripeAccountId;
int hashCode2 = (((((hashCode + (str == null ? 0 : str.hashCode())) * 31) + this.clientSecret.hashCode()) * 31) + this.configuration.hashCode()) * 31;
boolean z = this.attachToIntent;
int i2 = z;
if (z != 0) {
i2 = 1;
}
return hashCode2 + i2;
}
public String toString() {
return "ForSetupIntent(publishableKey=" + this.publishableKey + ", stripeAccountId=" + this.stripeAccountId + ", clientSecret=" + this.clientSecret + ", configuration=" + this.configuration + ", attachToIntent=" + this.attachToIntent + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.publishableKey);
parcel.writeString(this.stripeAccountId);
parcel.writeString(this.clientSecret);
parcel.writeParcelable(this.configuration, flags);
parcel.writeInt(this.attachToIntent ? 1 : 0);
}
@Override
public String getPublishableKey() {
return this.publishableKey;
}
@Override
public String getStripeAccountId() {
return this.stripeAccountId;
}
@Override
public String getClientSecret() {
return this.clientSecret;
}
@Override
public CollectBankAccountConfiguration getConfiguration() {
return this.configuration;
}
@Override
public boolean getAttachToIntent() {
return this.attachToIntent;
}
public ForSetupIntent(String str, String str2, String str3, CollectBankAccountConfiguration collectBankAccountConfiguration, boolean z) {
super(str, str2, str3, collectBankAccountConfiguration, z, null);
Intrinsics.checkNotNullParameter(str, "publishableKey");
Intrinsics.checkNotNullParameter(str3, "clientSecret");
Intrinsics.checkNotNullParameter(collectBankAccountConfiguration, "configuration");
this.publishableKey = str;
this.stripeAccountId = str2;
this.clientSecret = str3;
this.configuration = collectBankAccountConfiguration;
this.attachToIntent = z;
}
}
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u001a\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\u0001BO\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\t\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u000b\u0012\b\u0010\f\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\rJ\t\u0010\u001a\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001b\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\u001c\u001a\u00020\u0006HÆ\u0003J\t\u0010\u001d\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001e\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001f\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0010\u0010 \u001a\u0004\u0018\u00010\u000bHÆ\u0003¢\u0006\u0002\u0010\u000fJ\u000b\u0010!\u001a\u0004\u0018\u00010\u0003HÆ\u0003Jh\u0010\"\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00062\b\b\u0002\u0010\u0007\u001a\u00020\u00032\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u000b2\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u0003HÆ\u0001¢\u0006\u0002\u0010#J\t\u0010$\u001a\u00020\u000bHÖ\u0001J\u0013\u0010%\u001a\u00020&2\b\u0010'\u001a\u0004\u0018\u00010(HÖ\u0003J\t\u0010)\u001a\u00020\u000bHÖ\u0001J\t\u0010*\u001a\u00020\u0003HÖ\u0001J\u0019\u0010+\u001a\u00020,2\u0006\u0010-\u001a\u00020.2\u0006\u0010/\u001a\u00020\u000bHÖ\u0001R\u0015\u0010\n\u001a\u0004\u0018\u00010\u000b¢\u0006\n\n\u0002\u0010\u0010\u001a\u0004\b\u000e\u0010\u000fR\u0014\u0010\u0005\u001a\u00020\u0006X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0013\u0010\f\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u0013\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0014R\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0014R\u0013\u0010\t\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0014R\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0014R\u0016\u0010\u0004\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0014¨\u00060"}, d2 = {"Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args$ForDeferredPaymentIntent;", "Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args;", "publishableKey", "", "stripeAccountId", "configuration", "Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;", "elementsSessionId", "customerId", "onBehalfOf", CreateFinancialConnectionsSessionForDeferredPaymentParams.PARAM_AMOUNT, "", "currency", "(Ljava/lang/String;Ljava/lang/String;Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;)V", "getAmount", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getConfiguration", "()Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;", "getCurrency", "()Ljava/lang/String;", "getCustomerId", "getElementsSessionId", "getOnBehalfOf", "getPublishableKey", "getStripeAccountId", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "copy", "(Ljava/lang/String;Ljava/lang/String;Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;)Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args$ForDeferredPaymentIntent;", "describeContents", "equals", "", "other", "", "hashCode", "toString", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "payments-core_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class ForDeferredPaymentIntent extends Args {
public static final int $stable = 0;
public static final Parcelable.Creator<ForDeferredPaymentIntent> CREATOR = new Creator();
private final Integer amount;
private final CollectBankAccountConfiguration configuration;
private final String currency;
private final String customerId;
private final String elementsSessionId;
private final String onBehalfOf;
private final String publishableKey;
private final String stripeAccountId;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<ForDeferredPaymentIntent> {
@Override
public final ForDeferredPaymentIntent createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new ForDeferredPaymentIntent(parcel.readString(), parcel.readString(), (CollectBankAccountConfiguration) parcel.readParcelable(ForDeferredPaymentIntent.class.getClassLoader()), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readInt() == 0 ? null : Integer.valueOf(parcel.readInt()), parcel.readString());
}
@Override
public final ForDeferredPaymentIntent[] newArray(int i2) {
return new ForDeferredPaymentIntent[i2];
}
}
public final String getPublishableKey() {
return this.publishableKey;
}
public final String getStripeAccountId() {
return this.stripeAccountId;
}
public final CollectBankAccountConfiguration getConfiguration() {
return this.configuration;
}
public final String getElementsSessionId() {
return this.elementsSessionId;
}
public final String getCustomerId() {
return this.customerId;
}
public final String getOnBehalfOf() {
return this.onBehalfOf;
}
public final Integer getAmount() {
return this.amount;
}
public final String getCurrency() {
return this.currency;
}
public final ForDeferredPaymentIntent copy(String publishableKey, String stripeAccountId, CollectBankAccountConfiguration configuration, String elementsSessionId, String customerId, String onBehalfOf, Integer amount, String currency) {
Intrinsics.checkNotNullParameter(publishableKey, "publishableKey");
Intrinsics.checkNotNullParameter(configuration, "configuration");
Intrinsics.checkNotNullParameter(elementsSessionId, "elementsSessionId");
return new ForDeferredPaymentIntent(publishableKey, stripeAccountId, configuration, elementsSessionId, customerId, onBehalfOf, amount, currency);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof ForDeferredPaymentIntent)) {
return false;
}
ForDeferredPaymentIntent forDeferredPaymentIntent = (ForDeferredPaymentIntent) other;
return Intrinsics.areEqual(this.publishableKey, forDeferredPaymentIntent.publishableKey) && Intrinsics.areEqual(this.stripeAccountId, forDeferredPaymentIntent.stripeAccountId) && Intrinsics.areEqual(this.configuration, forDeferredPaymentIntent.configuration) && Intrinsics.areEqual(this.elementsSessionId, forDeferredPaymentIntent.elementsSessionId) && Intrinsics.areEqual(this.customerId, forDeferredPaymentIntent.customerId) && Intrinsics.areEqual(this.onBehalfOf, forDeferredPaymentIntent.onBehalfOf) && Intrinsics.areEqual(this.amount, forDeferredPaymentIntent.amount) && Intrinsics.areEqual(this.currency, forDeferredPaymentIntent.currency);
}
public int hashCode() {
int hashCode = this.publishableKey.hashCode() * 31;
String str = this.stripeAccountId;
int hashCode2 = (((((hashCode + (str == null ? 0 : str.hashCode())) * 31) + this.configuration.hashCode()) * 31) + this.elementsSessionId.hashCode()) * 31;
String str2 = this.customerId;
int hashCode3 = (hashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31;
String str3 = this.onBehalfOf;
int hashCode4 = (hashCode3 + (str3 == null ? 0 : str3.hashCode())) * 31;
Integer num = this.amount;
int hashCode5 = (hashCode4 + (num == null ? 0 : num.hashCode())) * 31;
String str4 = this.currency;
return hashCode5 + (str4 != null ? str4.hashCode() : 0);
}
public String toString() {
return "ForDeferredPaymentIntent(publishableKey=" + this.publishableKey + ", stripeAccountId=" + this.stripeAccountId + ", configuration=" + this.configuration + ", elementsSessionId=" + this.elementsSessionId + ", customerId=" + this.customerId + ", onBehalfOf=" + this.onBehalfOf + ", amount=" + this.amount + ", currency=" + this.currency + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
int intValue;
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.publishableKey);
parcel.writeString(this.stripeAccountId);
parcel.writeParcelable(this.configuration, flags);
parcel.writeString(this.elementsSessionId);
parcel.writeString(this.customerId);
parcel.writeString(this.onBehalfOf);
Integer num = this.amount;
if (num == null) {
intValue = 0;
} else {
parcel.writeInt(1);
intValue = num.intValue();
}
parcel.writeInt(intValue);
parcel.writeString(this.currency);
}
@Override
public String getPublishableKey() {
return this.publishableKey;
}
@Override
public String getStripeAccountId() {
return this.stripeAccountId;
}
@Override
public CollectBankAccountConfiguration getConfiguration() {
return this.configuration;
}
public final String getElementsSessionId() {
return this.elementsSessionId;
}
public final String getCustomerId() {
return this.customerId;
}
public final String getOnBehalfOf() {
return this.onBehalfOf;
}
public final Integer getAmount() {
return this.amount;
}
public final String getCurrency() {
return this.currency;
}
public ForDeferredPaymentIntent(String str, String str2, CollectBankAccountConfiguration collectBankAccountConfiguration, String str3, String str4, String str5, Integer num, String str6) {
super(str, str2, null, collectBankAccountConfiguration, false, null);
Intrinsics.checkNotNullParameter(str, "publishableKey");
Intrinsics.checkNotNullParameter(collectBankAccountConfiguration, "configuration");
Intrinsics.checkNotNullParameter(str3, "elementsSessionId");
this.publishableKey = str;
this.stripeAccountId = str2;
this.configuration = collectBankAccountConfiguration;
this.elementsSessionId = str3;
this.customerId = str4;
this.onBehalfOf = str5;
this.amount = num;
this.currency = str6;
}
}
@Metadata(d1 = {"\u0000<\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0014\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;\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\t\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\nJ\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0014\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0006HÆ\u0003J\t\u0010\u0016\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u0017\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u0018\u001a\u0004\u0018\u00010\u0003HÆ\u0003JK\u0010\u0019\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00062\b\b\u0002\u0010\u0007\u001a\u00020\u00032\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\t\u0010\u001a\u001a\u00020\u001bHÖ\u0001J\u0013\u0010\u001c\u001a\u00020\u001d2\b\u0010\u001e\u001a\u0004\u0018\u00010\u001fHÖ\u0003J\t\u0010 \u001a\u00020\u001bHÖ\u0001J\t\u0010!\u001a\u00020\u0003HÖ\u0001J\u0019\u0010\"\u001a\u00020#2\u0006\u0010$\u001a\u00020%2\u0006\u0010&\u001a\u00020\u001bHÖ\u0001R\u0014\u0010\u0005\u001a\u00020\u0006X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0013\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000eR\u0013\u0010\t\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000eR\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u000eR\u0016\u0010\u0004\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u000e¨\u0006'"}, d2 = {"Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args$ForDeferredSetupIntent;", "Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args;", "publishableKey", "", "stripeAccountId", "configuration", "Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;", "elementsSessionId", "customerId", "onBehalfOf", "(Ljava/lang/String;Ljava/lang/String;Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getConfiguration", "()Lcom/stripe/android/payments/bankaccount/CollectBankAccountConfiguration;", "getCustomerId", "()Ljava/lang/String;", "getElementsSessionId", "getOnBehalfOf", "getPublishableKey", "getStripeAccountId", "component1", "component2", "component3", "component4", "component5", "component6", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "payments-core_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class ForDeferredSetupIntent extends Args {
public static final int $stable = 0;
public static final Parcelable.Creator<ForDeferredSetupIntent> CREATOR = new Creator();
private final CollectBankAccountConfiguration configuration;
private final String customerId;
private final String elementsSessionId;
private final String onBehalfOf;
private final String publishableKey;
private final String stripeAccountId;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<ForDeferredSetupIntent> {
@Override
public final ForDeferredSetupIntent createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new ForDeferredSetupIntent(parcel.readString(), parcel.readString(), (CollectBankAccountConfiguration) parcel.readParcelable(ForDeferredSetupIntent.class.getClassLoader()), parcel.readString(), parcel.readString(), parcel.readString());
}
@Override
public final ForDeferredSetupIntent[] newArray(int i2) {
return new ForDeferredSetupIntent[i2];
}
}
public static ForDeferredSetupIntent copy$default(ForDeferredSetupIntent forDeferredSetupIntent, String str, String str2, CollectBankAccountConfiguration collectBankAccountConfiguration, String str3, String str4, String str5, int i2, Object obj) {
if ((i2 & 1) != 0) {
str = forDeferredSetupIntent.publishableKey;
}
if ((i2 & 2) != 0) {
str2 = forDeferredSetupIntent.stripeAccountId;
}
String str6 = str2;
if ((i2 & 4) != 0) {
collectBankAccountConfiguration = forDeferredSetupIntent.configuration;
}
CollectBankAccountConfiguration collectBankAccountConfiguration2 = collectBankAccountConfiguration;
if ((i2 & 8) != 0) {
str3 = forDeferredSetupIntent.elementsSessionId;
}
String str7 = str3;
if ((i2 & 16) != 0) {
str4 = forDeferredSetupIntent.customerId;
}
String str8 = str4;
if ((i2 & 32) != 0) {
str5 = forDeferredSetupIntent.onBehalfOf;
}
return forDeferredSetupIntent.copy(str, str6, collectBankAccountConfiguration2, str7, str8, str5);
}
public final String getPublishableKey() {
return this.publishableKey;
}
public final String getStripeAccountId() {
return this.stripeAccountId;
}
public final CollectBankAccountConfiguration getConfiguration() {
return this.configuration;
}
public final String getElementsSessionId() {
return this.elementsSessionId;
}
public final String getCustomerId() {
return this.customerId;
}
public final String getOnBehalfOf() {
return this.onBehalfOf;
}
public final ForDeferredSetupIntent copy(String publishableKey, String stripeAccountId, CollectBankAccountConfiguration configuration, String elementsSessionId, String customerId, String onBehalfOf) {
Intrinsics.checkNotNullParameter(publishableKey, "publishableKey");
Intrinsics.checkNotNullParameter(configuration, "configuration");
Intrinsics.checkNotNullParameter(elementsSessionId, "elementsSessionId");
return new ForDeferredSetupIntent(publishableKey, stripeAccountId, configuration, elementsSessionId, customerId, onBehalfOf);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof ForDeferredSetupIntent)) {
return false;
}
ForDeferredSetupIntent forDeferredSetupIntent = (ForDeferredSetupIntent) other;
return Intrinsics.areEqual(this.publishableKey, forDeferredSetupIntent.publishableKey) && Intrinsics.areEqual(this.stripeAccountId, forDeferredSetupIntent.stripeAccountId) && Intrinsics.areEqual(this.configuration, forDeferredSetupIntent.configuration) && Intrinsics.areEqual(this.elementsSessionId, forDeferredSetupIntent.elementsSessionId) && Intrinsics.areEqual(this.customerId, forDeferredSetupIntent.customerId) && Intrinsics.areEqual(this.onBehalfOf, forDeferredSetupIntent.onBehalfOf);
}
public int hashCode() {
int hashCode = this.publishableKey.hashCode() * 31;
String str = this.stripeAccountId;
int hashCode2 = (((((hashCode + (str == null ? 0 : str.hashCode())) * 31) + this.configuration.hashCode()) * 31) + this.elementsSessionId.hashCode()) * 31;
String str2 = this.customerId;
int hashCode3 = (hashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31;
String str3 = this.onBehalfOf;
return hashCode3 + (str3 != null ? str3.hashCode() : 0);
}
public String toString() {
return "ForDeferredSetupIntent(publishableKey=" + this.publishableKey + ", stripeAccountId=" + this.stripeAccountId + ", configuration=" + this.configuration + ", elementsSessionId=" + this.elementsSessionId + ", customerId=" + this.customerId + ", onBehalfOf=" + this.onBehalfOf + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.publishableKey);
parcel.writeString(this.stripeAccountId);
parcel.writeParcelable(this.configuration, flags);
parcel.writeString(this.elementsSessionId);
parcel.writeString(this.customerId);
parcel.writeString(this.onBehalfOf);
}
@Override
public String getPublishableKey() {
return this.publishableKey;
}
@Override
public String getStripeAccountId() {
return this.stripeAccountId;
}
@Override
public CollectBankAccountConfiguration getConfiguration() {
return this.configuration;
}
public final String getElementsSessionId() {
return this.elementsSessionId;
}
public final String getCustomerId() {
return this.customerId;
}
public final String getOnBehalfOf() {
return this.onBehalfOf;
}
public ForDeferredSetupIntent(String str, String str2, CollectBankAccountConfiguration collectBankAccountConfiguration, String str3, String str4, String str5) {
super(str, str2, null, collectBankAccountConfiguration, false, null);
Intrinsics.checkNotNullParameter(str, "publishableKey");
Intrinsics.checkNotNullParameter(collectBankAccountConfiguration, "configuration");
Intrinsics.checkNotNullParameter(str3, "elementsSessionId");
this.publishableKey = str;
this.stripeAccountId = str2;
this.configuration = collectBankAccountConfiguration;
this.elementsSessionId = str3;
this.customerId = str4;
this.onBehalfOf = str5;
}
}
@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\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0010\u0010\u0003\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0005\u001a\u00020\u0006¨\u0006\u0007"}, d2 = {"Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args$Companion;", "", "()V", "fromIntent", "Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Args;", "intent", "Landroid/content/Intent;", "payments-core_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Companion {
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
public final Args fromIntent(Intent intent) {
Intrinsics.checkNotNullParameter(intent, "intent");
return (Args) intent.getParcelableExtra(CollectBankAccountContract.EXTRA_ARGS);
}
}
}
@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\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\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\u0006\u0010\u0010\u001a\u00020\u0011J\t\u0010\u0012\u001a\u00020\u0013HÖ\u0001J\u0019\u0010\u0014\u001a\u00020\u00152\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/payments/bankaccount/navigation/CollectBankAccountContract$Result;", "Landroid/os/Parcelable;", "collectBankAccountResult", "Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountResultInternal;", "(Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountResultInternal;)V", "getCollectBankAccountResult", "()Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountResultInternal;", "component1", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toBundle", "Landroid/os/Bundle;", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "payments-core_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Result implements Parcelable {
public static final Parcelable.Creator<Result> CREATOR = new Creator();
private final CollectBankAccountResultInternal collectBankAccountResult;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<Result> {
@Override
public final Result createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new Result((CollectBankAccountResultInternal) parcel.readParcelable(Result.class.getClassLoader()));
}
@Override
public final Result[] newArray(int i2) {
return new Result[i2];
}
}
public static Result copy$default(Result result, CollectBankAccountResultInternal collectBankAccountResultInternal, int i2, Object obj) {
if ((i2 & 1) != 0) {
collectBankAccountResultInternal = result.collectBankAccountResult;
}
return result.copy(collectBankAccountResultInternal);
}
public final CollectBankAccountResultInternal getCollectBankAccountResult() {
return this.collectBankAccountResult;
}
public final Result copy(CollectBankAccountResultInternal collectBankAccountResult) {
Intrinsics.checkNotNullParameter(collectBankAccountResult, "collectBankAccountResult");
return new Result(collectBankAccountResult);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof Result) && Intrinsics.areEqual(this.collectBankAccountResult, ((Result) other).collectBankAccountResult);
}
public int hashCode() {
return this.collectBankAccountResult.hashCode();
}
public String toString() {
return "Result(collectBankAccountResult=" + this.collectBankAccountResult + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeParcelable(this.collectBankAccountResult, flags);
}
public Result(CollectBankAccountResultInternal collectBankAccountResultInternal) {
Intrinsics.checkNotNullParameter(collectBankAccountResultInternal, "collectBankAccountResult");
this.collectBankAccountResult = collectBankAccountResultInternal;
}
public final CollectBankAccountResultInternal getCollectBankAccountResult() {
return this.collectBankAccountResult;
}
public final Bundle toBundle() {
return BundleKt.bundleOf(new Pair[]{TuplesKt.to(CollectBankAccountContract.EXTRA_RESULT, this)});
}
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\b\u0081\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\u0002R\u000e\u0010\u0006\u001a\u00020\u0004X\u0082T¢\u0006\u0002\n\u0000¨\u0006\u0007"}, d2 = {"Lcom/stripe/android/payments/bankaccount/navigation/CollectBankAccountContract$Companion;", "", "()V", "EXTRA_ARGS", "", "getEXTRA_ARGS$annotations", "EXTRA_RESULT", "payments-core_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class Companion {
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public static void getEXTRA_ARGS$annotations() {
}
private Companion() {
}
}
}