正在查看: Biko v2.0.23 应用的 PaymentLauncherContract.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Biko v2.0.23 应用的 PaymentLauncherContract.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.stripe.android.payments.paymentlauncher;
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.ConfirmStripeIntentParams;
import com.stripe.android.payments.core.injection.NamedConstantsKt;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.Set;
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\u0003\b\u0007\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001:\u0001\u000eB\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\u000f"}, d2 = {"Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract;", "Landroidx/activity/result/contract/ActivityResultContract;", "Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args;", "Lcom/stripe/android/payments/paymentlauncher/InternalPaymentResult;", "()V", "createIntent", "Landroid/content/Intent;", "context", "Landroid/content/Context;", "input", "parseResult", "resultCode", "", "intent", "Args", "payments-core_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public final class PaymentLauncherContract extends ActivityResultContract<Args, InternalPaymentResult> {
public static final int $stable = 0;
public Intent createIntent(Context context, Args input) {
Intrinsics.checkNotNullParameter(context, "context");
Intrinsics.checkNotNullParameter(input, "input");
Intent putExtras = new Intent(context, (Class<?>) PaymentLauncherConfirmationActivity.class).putExtras(input.toBundle());
Intrinsics.checkNotNullExpressionValue(putExtras, "Intent(\n cont…tExtras(input.toBundle())");
return putExtras;
}
public InternalPaymentResult m254parseResult(int resultCode, Intent intent) {
return InternalPaymentResult.INSTANCE.fromIntent(intent);
}
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\"\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u000f\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b7\u0018\u0000 \u001c2\u00020\u0001:\u0004\u001c\u001d\u001e\u001fBC\b\u0004\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00030\b\u0012\u0006\u0010\t\u001a\u00020\u0006\u0012\n\b\u0003\u0010\n\u001a\u0004\u0018\u00010\u000b¢\u0006\u0002\u0010\fJ\u0006\u0010\u001a\u001a\u00020\u001bR\u0014\u0010\u0005\u001a\u00020\u0006X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0014\u0010\t\u001a\u00020\u0006X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000eR\u001a\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00030\bX\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u001e\u0010\n\u001a\u0004\u0018\u00010\u000bX\u0096\u000e¢\u0006\u0010\n\u0002\u0010\u0018\u001a\u0004\b\u0014\u0010\u0015\"\u0004\b\u0016\u0010\u0017R\u0016\u0010\u0004\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u0013\u0082\u0001\u0003 !\"¨\u0006#"}, d2 = {"Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args;", "Landroid/os/Parcelable;", "publishableKey", "", "stripeAccountId", "enableLogging", "", NamedConstantsKt.PRODUCT_USAGE, "", "includePaymentSheetAuthenticators", "statusBarColor", "", "(Ljava/lang/String;Ljava/lang/String;ZLjava/util/Set;ZLjava/lang/Integer;)V", "getEnableLogging", "()Z", "getIncludePaymentSheetAuthenticators", "getProductUsage", "()Ljava/util/Set;", "getPublishableKey", "()Ljava/lang/String;", "getStatusBarColor", "()Ljava/lang/Integer;", "setStatusBarColor", "(Ljava/lang/Integer;)V", "Ljava/lang/Integer;", "getStripeAccountId", "toBundle", "Landroid/os/Bundle;", "Companion", "IntentConfirmationArgs", "PaymentIntentNextActionArgs", "SetupIntentNextActionArgs", "Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args$IntentConfirmationArgs;", "Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args$PaymentIntentNextActionArgs;", "Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args$SetupIntentNextActionArgs;", "payments-core_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static abstract class Args implements Parcelable {
private static final String EXTRA_ARGS = "extra_args";
private final boolean enableLogging;
private final boolean includePaymentSheetAuthenticators;
private final Set<String> productUsage;
private final String publishableKey;
private Integer statusBarColor;
private final String stripeAccountId;
public static final Companion INSTANCE = new Companion(null);
public static final int $stable = 8;
public Args(String str, String str2, boolean z, Set set, boolean z2, Integer num, DefaultConstructorMarker defaultConstructorMarker) {
this(str, str2, z, set, z2, num);
}
private Args(String str, String str2, boolean z, Set<String> set, boolean z2, Integer num) {
this.publishableKey = str;
this.stripeAccountId = str2;
this.enableLogging = z;
this.productUsage = set;
this.includePaymentSheetAuthenticators = z2;
this.statusBarColor = num;
}
public Args(String str, String str2, boolean z, Set set, boolean z2, Integer num, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this(str, str2, z, set, z2, (i2 & 32) != 0 ? null : num, null);
}
public String getPublishableKey() {
return this.publishableKey;
}
public String getStripeAccountId() {
return this.stripeAccountId;
}
public boolean getEnableLogging() {
return this.enableLogging;
}
public Set<String> getProductUsage() {
return this.productUsage;
}
public boolean getIncludePaymentSheetAuthenticators() {
return this.includePaymentSheetAuthenticators;
}
public Integer getStatusBarColor() {
return this.statusBarColor;
}
public void setStatusBarColor(Integer num) {
this.statusBarColor = num;
}
public final Bundle toBundle() {
return BundleKt.bundleOf(new Pair[]{TuplesKt.to(EXTRA_ARGS, this)});
}
@Metadata(d1 = {"\u0000D\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\"\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u001c\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\u0001BK\b\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00030\b\u0012\u0006\u0010\t\u001a\u00020\u0006\u0012\u0006\u0010\n\u001a\u00020\u000b\u0012\n\b\u0001\u0010\f\u001a\u0004\u0018\u00010\r¢\u0006\u0002\u0010\u000eJ\t\u0010\u001e\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001f\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010 \u001a\u00020\u0006HÆ\u0003J\u000f\u0010!\u001a\b\u0012\u0004\u0012\u00020\u00030\bHÆ\u0003J\t\u0010\"\u001a\u00020\u0006HÆ\u0003J\t\u0010#\u001a\u00020\u000bHÆ\u0003J\u0010\u0010$\u001a\u0004\u0018\u00010\rHÆ\u0003¢\u0006\u0002\u0010\u0019J^\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\u000e\b\u0002\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00030\b2\b\b\u0002\u0010\t\u001a\u00020\u00062\b\b\u0002\u0010\n\u001a\u00020\u000b2\n\b\u0003\u0010\f\u001a\u0004\u0018\u00010\rHÆ\u0001¢\u0006\u0002\u0010&J\t\u0010'\u001a\u00020\rHÖ\u0001J\u0013\u0010(\u001a\u00020\u00062\b\u0010)\u001a\u0004\u0018\u00010*HÖ\u0003J\t\u0010+\u001a\u00020\rHÖ\u0001J\t\u0010,\u001a\u00020\u0003HÖ\u0001J\u0019\u0010-\u001a\u00020.2\u0006\u0010/\u001a\u0002002\u0006\u00101\u001a\u00020\rHÖ\u0001R\u0011\u0010\n\u001a\u00020\u000b¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0014\u0010\u0005\u001a\u00020\u0006X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0014\u0010\t\u001a\u00020\u0006X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0012R\u001a\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00030\bX\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015R\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0017R\u001e\u0010\f\u001a\u0004\u0018\u00010\rX\u0096\u000e¢\u0006\u0010\n\u0002\u0010\u001c\u001a\u0004\b\u0018\u0010\u0019\"\u0004\b\u001a\u0010\u001bR\u0016\u0010\u0004\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u0017¨\u00062"}, d2 = {"Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args$IntentConfirmationArgs;", "Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args;", "publishableKey", "", "stripeAccountId", "enableLogging", "", NamedConstantsKt.PRODUCT_USAGE, "", "includePaymentSheetAuthenticators", "confirmStripeIntentParams", "Lcom/stripe/android/model/ConfirmStripeIntentParams;", "statusBarColor", "", "(Ljava/lang/String;Ljava/lang/String;ZLjava/util/Set;ZLcom/stripe/android/model/ConfirmStripeIntentParams;Ljava/lang/Integer;)V", "getConfirmStripeIntentParams", "()Lcom/stripe/android/model/ConfirmStripeIntentParams;", "getEnableLogging", "()Z", "getIncludePaymentSheetAuthenticators", "getProductUsage", "()Ljava/util/Set;", "getPublishableKey", "()Ljava/lang/String;", "getStatusBarColor", "()Ljava/lang/Integer;", "setStatusBarColor", "(Ljava/lang/Integer;)V", "Ljava/lang/Integer;", "getStripeAccountId", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "(Ljava/lang/String;Ljava/lang/String;ZLjava/util/Set;ZLcom/stripe/android/model/ConfirmStripeIntentParams;Ljava/lang/Integer;)Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args$IntentConfirmationArgs;", "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 IntentConfirmationArgs extends Args {
public static final int $stable = 8;
public static final Parcelable.Creator<IntentConfirmationArgs> CREATOR = new Creator();
private final ConfirmStripeIntentParams confirmStripeIntentParams;
private final boolean enableLogging;
private final boolean includePaymentSheetAuthenticators;
private final Set<String> productUsage;
private final String publishableKey;
private Integer statusBarColor;
private final String stripeAccountId;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<IntentConfirmationArgs> {
@Override
public final IntentConfirmationArgs createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
String readString = parcel.readString();
String readString2 = parcel.readString();
boolean z = parcel.readInt() != 0;
int readInt = parcel.readInt();
LinkedHashSet linkedHashSet = new LinkedHashSet(readInt);
for (int i2 = 0; i2 != readInt; i2++) {
linkedHashSet.add(parcel.readString());
}
return new IntentConfirmationArgs(readString, readString2, z, linkedHashSet, parcel.readInt() != 0, (ConfirmStripeIntentParams) parcel.readParcelable(IntentConfirmationArgs.class.getClassLoader()), parcel.readInt() == 0 ? null : Integer.valueOf(parcel.readInt()));
}
@Override
public final IntentConfirmationArgs[] newArray(int i2) {
return new IntentConfirmationArgs[i2];
}
}
public static IntentConfirmationArgs copy$default(IntentConfirmationArgs intentConfirmationArgs, String str, String str2, boolean z, Set set, boolean z2, ConfirmStripeIntentParams confirmStripeIntentParams, Integer num, int i2, Object obj) {
if ((i2 & 1) != 0) {
str = intentConfirmationArgs.publishableKey;
}
if ((i2 & 2) != 0) {
str2 = intentConfirmationArgs.stripeAccountId;
}
String str3 = str2;
if ((i2 & 4) != 0) {
z = intentConfirmationArgs.enableLogging;
}
boolean z3 = z;
if ((i2 & 8) != 0) {
set = intentConfirmationArgs.productUsage;
}
Set set2 = set;
if ((i2 & 16) != 0) {
z2 = intentConfirmationArgs.includePaymentSheetAuthenticators;
}
boolean z4 = z2;
if ((i2 & 32) != 0) {
confirmStripeIntentParams = intentConfirmationArgs.confirmStripeIntentParams;
}
ConfirmStripeIntentParams confirmStripeIntentParams2 = confirmStripeIntentParams;
if ((i2 & 64) != 0) {
num = intentConfirmationArgs.statusBarColor;
}
return intentConfirmationArgs.copy(str, str3, z3, set2, z4, confirmStripeIntentParams2, num);
}
public final String getPublishableKey() {
return this.publishableKey;
}
public final String getStripeAccountId() {
return this.stripeAccountId;
}
public final boolean getEnableLogging() {
return this.enableLogging;
}
public final Set<String> component4() {
return this.productUsage;
}
public final boolean getIncludePaymentSheetAuthenticators() {
return this.includePaymentSheetAuthenticators;
}
public final ConfirmStripeIntentParams getConfirmStripeIntentParams() {
return this.confirmStripeIntentParams;
}
public final Integer getStatusBarColor() {
return this.statusBarColor;
}
public final IntentConfirmationArgs copy(String publishableKey, String stripeAccountId, boolean enableLogging, Set<String> productUsage, boolean includePaymentSheetAuthenticators, ConfirmStripeIntentParams confirmStripeIntentParams, Integer statusBarColor) {
Intrinsics.checkNotNullParameter(publishableKey, "publishableKey");
Intrinsics.checkNotNullParameter(productUsage, NamedConstantsKt.PRODUCT_USAGE);
Intrinsics.checkNotNullParameter(confirmStripeIntentParams, "confirmStripeIntentParams");
return new IntentConfirmationArgs(publishableKey, stripeAccountId, enableLogging, productUsage, includePaymentSheetAuthenticators, confirmStripeIntentParams, statusBarColor);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof IntentConfirmationArgs)) {
return false;
}
IntentConfirmationArgs intentConfirmationArgs = (IntentConfirmationArgs) other;
return Intrinsics.areEqual(this.publishableKey, intentConfirmationArgs.publishableKey) && Intrinsics.areEqual(this.stripeAccountId, intentConfirmationArgs.stripeAccountId) && this.enableLogging == intentConfirmationArgs.enableLogging && Intrinsics.areEqual(this.productUsage, intentConfirmationArgs.productUsage) && this.includePaymentSheetAuthenticators == intentConfirmationArgs.includePaymentSheetAuthenticators && Intrinsics.areEqual(this.confirmStripeIntentParams, intentConfirmationArgs.confirmStripeIntentParams) && Intrinsics.areEqual(this.statusBarColor, intentConfirmationArgs.statusBarColor);
}
public int hashCode() {
int hashCode = this.publishableKey.hashCode() * 31;
String str = this.stripeAccountId;
int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31;
boolean z = this.enableLogging;
int i2 = z;
if (z != 0) {
i2 = 1;
}
int hashCode3 = (((hashCode2 + i2) * 31) + this.productUsage.hashCode()) * 31;
boolean z2 = this.includePaymentSheetAuthenticators;
int hashCode4 = (((hashCode3 + (z2 ? 1 : z2 ? 1 : 0)) * 31) + this.confirmStripeIntentParams.hashCode()) * 31;
Integer num = this.statusBarColor;
return hashCode4 + (num != null ? num.hashCode() : 0);
}
public String toString() {
return "IntentConfirmationArgs(publishableKey=" + this.publishableKey + ", stripeAccountId=" + this.stripeAccountId + ", enableLogging=" + this.enableLogging + ", productUsage=" + this.productUsage + ", includePaymentSheetAuthenticators=" + this.includePaymentSheetAuthenticators + ", confirmStripeIntentParams=" + this.confirmStripeIntentParams + ", statusBarColor=" + this.statusBarColor + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
int intValue;
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.publishableKey);
parcel.writeString(this.stripeAccountId);
parcel.writeInt(this.enableLogging ? 1 : 0);
Set<String> set = this.productUsage;
parcel.writeInt(set.size());
Iterator<String> it2 = set.iterator();
while (it2.hasNext()) {
parcel.writeString(it2.next());
}
parcel.writeInt(this.includePaymentSheetAuthenticators ? 1 : 0);
parcel.writeParcelable(this.confirmStripeIntentParams, flags);
Integer num = this.statusBarColor;
if (num == null) {
intValue = 0;
} else {
parcel.writeInt(1);
intValue = num.intValue();
}
parcel.writeInt(intValue);
}
@Override
public String getPublishableKey() {
return this.publishableKey;
}
@Override
public String getStripeAccountId() {
return this.stripeAccountId;
}
@Override
public boolean getEnableLogging() {
return this.enableLogging;
}
@Override
public Set<String> getProductUsage() {
return this.productUsage;
}
@Override
public boolean getIncludePaymentSheetAuthenticators() {
return this.includePaymentSheetAuthenticators;
}
public final ConfirmStripeIntentParams getConfirmStripeIntentParams() {
return this.confirmStripeIntentParams;
}
@Override
public Integer getStatusBarColor() {
return this.statusBarColor;
}
@Override
public void setStatusBarColor(Integer num) {
this.statusBarColor = num;
}
public IntentConfirmationArgs(String str, String str2, boolean z, Set<String> set, boolean z2, ConfirmStripeIntentParams confirmStripeIntentParams, Integer num) {
super(str, str2, z, set, z2, num, null);
Intrinsics.checkNotNullParameter(str, "publishableKey");
Intrinsics.checkNotNullParameter(set, NamedConstantsKt.PRODUCT_USAGE);
Intrinsics.checkNotNullParameter(confirmStripeIntentParams, "confirmStripeIntentParams");
this.publishableKey = str;
this.stripeAccountId = str2;
this.enableLogging = z;
this.productUsage = set;
this.includePaymentSheetAuthenticators = z2;
this.confirmStripeIntentParams = confirmStripeIntentParams;
this.statusBarColor = num;
}
}
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\"\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u001b\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\u0001BK\b\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00030\b\u0012\u0006\u0010\t\u001a\u00020\u0006\u0012\u0006\u0010\n\u001a\u00020\u0003\u0012\n\b\u0001\u0010\u000b\u001a\u0004\u0018\u00010\f¢\u0006\u0002\u0010\rJ\t\u0010\u001c\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001d\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\u001e\u001a\u00020\u0006HÆ\u0003J\u000f\u0010\u001f\u001a\b\u0012\u0004\u0012\u00020\u00030\bHÆ\u0003J\t\u0010 \u001a\u00020\u0006HÆ\u0003J\t\u0010!\u001a\u00020\u0003HÆ\u0003J\u0010\u0010\"\u001a\u0004\u0018\u00010\fHÆ\u0003¢\u0006\u0002\u0010\u0017J^\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\u000e\b\u0002\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00030\b2\b\b\u0002\u0010\t\u001a\u00020\u00062\b\b\u0002\u0010\n\u001a\u00020\u00032\n\b\u0003\u0010\u000b\u001a\u0004\u0018\u00010\fHÆ\u0001¢\u0006\u0002\u0010$J\t\u0010%\u001a\u00020\fHÖ\u0001J\u0013\u0010&\u001a\u00020\u00062\b\u0010'\u001a\u0004\u0018\u00010(HÖ\u0003J\t\u0010)\u001a\u00020\fHÖ\u0001J\t\u0010*\u001a\u00020\u0003HÖ\u0001J\u0019\u0010+\u001a\u00020,2\u0006\u0010-\u001a\u00020.2\u0006\u0010/\u001a\u00020\fHÖ\u0001R\u0014\u0010\u0005\u001a\u00020\u0006X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0014\u0010\t\u001a\u00020\u0006X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000fR\u0011\u0010\n\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u001a\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00030\bX\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0012R\u001e\u0010\u000b\u001a\u0004\u0018\u00010\fX\u0096\u000e¢\u0006\u0010\n\u0002\u0010\u001a\u001a\u0004\b\u0016\u0010\u0017\"\u0004\b\u0018\u0010\u0019R\u0016\u0010\u0004\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u0012¨\u00060"}, d2 = {"Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args$PaymentIntentNextActionArgs;", "Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args;", "publishableKey", "", "stripeAccountId", "enableLogging", "", NamedConstantsKt.PRODUCT_USAGE, "", "includePaymentSheetAuthenticators", "paymentIntentClientSecret", "statusBarColor", "", "(Ljava/lang/String;Ljava/lang/String;ZLjava/util/Set;ZLjava/lang/String;Ljava/lang/Integer;)V", "getEnableLogging", "()Z", "getIncludePaymentSheetAuthenticators", "getPaymentIntentClientSecret", "()Ljava/lang/String;", "getProductUsage", "()Ljava/util/Set;", "getPublishableKey", "getStatusBarColor", "()Ljava/lang/Integer;", "setStatusBarColor", "(Ljava/lang/Integer;)V", "Ljava/lang/Integer;", "getStripeAccountId", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "(Ljava/lang/String;Ljava/lang/String;ZLjava/util/Set;ZLjava/lang/String;Ljava/lang/Integer;)Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args$PaymentIntentNextActionArgs;", "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 PaymentIntentNextActionArgs extends Args {
public static final int $stable = 8;
public static final Parcelable.Creator<PaymentIntentNextActionArgs> CREATOR = new Creator();
private final boolean enableLogging;
private final boolean includePaymentSheetAuthenticators;
private final String paymentIntentClientSecret;
private final Set<String> productUsage;
private final String publishableKey;
private Integer statusBarColor;
private final String stripeAccountId;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<PaymentIntentNextActionArgs> {
@Override
public final PaymentIntentNextActionArgs createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
String readString = parcel.readString();
String readString2 = parcel.readString();
boolean z = parcel.readInt() != 0;
int readInt = parcel.readInt();
LinkedHashSet linkedHashSet = new LinkedHashSet(readInt);
for (int i2 = 0; i2 != readInt; i2++) {
linkedHashSet.add(parcel.readString());
}
return new PaymentIntentNextActionArgs(readString, readString2, z, linkedHashSet, parcel.readInt() != 0, parcel.readString(), parcel.readInt() == 0 ? null : Integer.valueOf(parcel.readInt()));
}
@Override
public final PaymentIntentNextActionArgs[] newArray(int i2) {
return new PaymentIntentNextActionArgs[i2];
}
}
public static PaymentIntentNextActionArgs copy$default(PaymentIntentNextActionArgs paymentIntentNextActionArgs, String str, String str2, boolean z, Set set, boolean z2, String str3, Integer num, int i2, Object obj) {
if ((i2 & 1) != 0) {
str = paymentIntentNextActionArgs.publishableKey;
}
if ((i2 & 2) != 0) {
str2 = paymentIntentNextActionArgs.stripeAccountId;
}
String str4 = str2;
if ((i2 & 4) != 0) {
z = paymentIntentNextActionArgs.enableLogging;
}
boolean z3 = z;
if ((i2 & 8) != 0) {
set = paymentIntentNextActionArgs.productUsage;
}
Set set2 = set;
if ((i2 & 16) != 0) {
z2 = paymentIntentNextActionArgs.includePaymentSheetAuthenticators;
}
boolean z4 = z2;
if ((i2 & 32) != 0) {
str3 = paymentIntentNextActionArgs.paymentIntentClientSecret;
}
String str5 = str3;
if ((i2 & 64) != 0) {
num = paymentIntentNextActionArgs.statusBarColor;
}
return paymentIntentNextActionArgs.copy(str, str4, z3, set2, z4, str5, num);
}
public final String getPublishableKey() {
return this.publishableKey;
}
public final String getStripeAccountId() {
return this.stripeAccountId;
}
public final boolean getEnableLogging() {
return this.enableLogging;
}
public final Set<String> component4() {
return this.productUsage;
}
public final boolean getIncludePaymentSheetAuthenticators() {
return this.includePaymentSheetAuthenticators;
}
public final String getPaymentIntentClientSecret() {
return this.paymentIntentClientSecret;
}
public final Integer getStatusBarColor() {
return this.statusBarColor;
}
public final PaymentIntentNextActionArgs copy(String publishableKey, String stripeAccountId, boolean enableLogging, Set<String> productUsage, boolean includePaymentSheetAuthenticators, String paymentIntentClientSecret, Integer statusBarColor) {
Intrinsics.checkNotNullParameter(publishableKey, "publishableKey");
Intrinsics.checkNotNullParameter(productUsage, NamedConstantsKt.PRODUCT_USAGE);
Intrinsics.checkNotNullParameter(paymentIntentClientSecret, "paymentIntentClientSecret");
return new PaymentIntentNextActionArgs(publishableKey, stripeAccountId, enableLogging, productUsage, includePaymentSheetAuthenticators, paymentIntentClientSecret, statusBarColor);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof PaymentIntentNextActionArgs)) {
return false;
}
PaymentIntentNextActionArgs paymentIntentNextActionArgs = (PaymentIntentNextActionArgs) other;
return Intrinsics.areEqual(this.publishableKey, paymentIntentNextActionArgs.publishableKey) && Intrinsics.areEqual(this.stripeAccountId, paymentIntentNextActionArgs.stripeAccountId) && this.enableLogging == paymentIntentNextActionArgs.enableLogging && Intrinsics.areEqual(this.productUsage, paymentIntentNextActionArgs.productUsage) && this.includePaymentSheetAuthenticators == paymentIntentNextActionArgs.includePaymentSheetAuthenticators && Intrinsics.areEqual(this.paymentIntentClientSecret, paymentIntentNextActionArgs.paymentIntentClientSecret) && Intrinsics.areEqual(this.statusBarColor, paymentIntentNextActionArgs.statusBarColor);
}
public int hashCode() {
int hashCode = this.publishableKey.hashCode() * 31;
String str = this.stripeAccountId;
int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31;
boolean z = this.enableLogging;
int i2 = z;
if (z != 0) {
i2 = 1;
}
int hashCode3 = (((hashCode2 + i2) * 31) + this.productUsage.hashCode()) * 31;
boolean z2 = this.includePaymentSheetAuthenticators;
int hashCode4 = (((hashCode3 + (z2 ? 1 : z2 ? 1 : 0)) * 31) + this.paymentIntentClientSecret.hashCode()) * 31;
Integer num = this.statusBarColor;
return hashCode4 + (num != null ? num.hashCode() : 0);
}
public String toString() {
return "PaymentIntentNextActionArgs(publishableKey=" + this.publishableKey + ", stripeAccountId=" + this.stripeAccountId + ", enableLogging=" + this.enableLogging + ", productUsage=" + this.productUsage + ", includePaymentSheetAuthenticators=" + this.includePaymentSheetAuthenticators + ", paymentIntentClientSecret=" + this.paymentIntentClientSecret + ", statusBarColor=" + this.statusBarColor + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
int intValue;
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.publishableKey);
parcel.writeString(this.stripeAccountId);
parcel.writeInt(this.enableLogging ? 1 : 0);
Set<String> set = this.productUsage;
parcel.writeInt(set.size());
Iterator<String> it2 = set.iterator();
while (it2.hasNext()) {
parcel.writeString(it2.next());
}
parcel.writeInt(this.includePaymentSheetAuthenticators ? 1 : 0);
parcel.writeString(this.paymentIntentClientSecret);
Integer num = this.statusBarColor;
if (num == null) {
intValue = 0;
} else {
parcel.writeInt(1);
intValue = num.intValue();
}
parcel.writeInt(intValue);
}
@Override
public String getPublishableKey() {
return this.publishableKey;
}
@Override
public String getStripeAccountId() {
return this.stripeAccountId;
}
@Override
public boolean getEnableLogging() {
return this.enableLogging;
}
@Override
public Set<String> getProductUsage() {
return this.productUsage;
}
@Override
public boolean getIncludePaymentSheetAuthenticators() {
return this.includePaymentSheetAuthenticators;
}
public final String getPaymentIntentClientSecret() {
return this.paymentIntentClientSecret;
}
@Override
public Integer getStatusBarColor() {
return this.statusBarColor;
}
@Override
public void setStatusBarColor(Integer num) {
this.statusBarColor = num;
}
public PaymentIntentNextActionArgs(String str, String str2, boolean z, Set<String> set, boolean z2, String str3, Integer num) {
super(str, str2, z, set, z2, num, null);
Intrinsics.checkNotNullParameter(str, "publishableKey");
Intrinsics.checkNotNullParameter(set, NamedConstantsKt.PRODUCT_USAGE);
Intrinsics.checkNotNullParameter(str3, "paymentIntentClientSecret");
this.publishableKey = str;
this.stripeAccountId = str2;
this.enableLogging = z;
this.productUsage = set;
this.includePaymentSheetAuthenticators = z2;
this.paymentIntentClientSecret = str3;
this.statusBarColor = num;
}
}
@Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\"\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u001b\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\u0001BK\b\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00030\b\u0012\u0006\u0010\t\u001a\u00020\u0006\u0012\u0006\u0010\n\u001a\u00020\u0003\u0012\n\b\u0001\u0010\u000b\u001a\u0004\u0018\u00010\f¢\u0006\u0002\u0010\rJ\t\u0010\u001c\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\u001d\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010\u001e\u001a\u00020\u0006HÆ\u0003J\u000f\u0010\u001f\u001a\b\u0012\u0004\u0012\u00020\u00030\bHÆ\u0003J\t\u0010 \u001a\u00020\u0006HÆ\u0003J\t\u0010!\u001a\u00020\u0003HÆ\u0003J\u0010\u0010\"\u001a\u0004\u0018\u00010\fHÆ\u0003¢\u0006\u0002\u0010\u0017J^\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\u000e\b\u0002\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00030\b2\b\b\u0002\u0010\t\u001a\u00020\u00062\b\b\u0002\u0010\n\u001a\u00020\u00032\n\b\u0003\u0010\u000b\u001a\u0004\u0018\u00010\fHÆ\u0001¢\u0006\u0002\u0010$J\t\u0010%\u001a\u00020\fHÖ\u0001J\u0013\u0010&\u001a\u00020\u00062\b\u0010'\u001a\u0004\u0018\u00010(HÖ\u0003J\t\u0010)\u001a\u00020\fHÖ\u0001J\t\u0010*\u001a\u00020\u0003HÖ\u0001J\u0019\u0010+\u001a\u00020,2\u0006\u0010-\u001a\u00020.2\u0006\u0010/\u001a\u00020\fHÖ\u0001R\u0014\u0010\u0005\u001a\u00020\u0006X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0014\u0010\t\u001a\u00020\u0006X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000fR\u001a\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00030\bX\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012R\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u0011\u0010\n\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0014R\u001e\u0010\u000b\u001a\u0004\u0018\u00010\fX\u0096\u000e¢\u0006\u0010\n\u0002\u0010\u001a\u001a\u0004\b\u0016\u0010\u0017\"\u0004\b\u0018\u0010\u0019R\u0016\u0010\u0004\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u0014¨\u00060"}, d2 = {"Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args$SetupIntentNextActionArgs;", "Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args;", "publishableKey", "", "stripeAccountId", "enableLogging", "", NamedConstantsKt.PRODUCT_USAGE, "", "includePaymentSheetAuthenticators", "setupIntentClientSecret", "statusBarColor", "", "(Ljava/lang/String;Ljava/lang/String;ZLjava/util/Set;ZLjava/lang/String;Ljava/lang/Integer;)V", "getEnableLogging", "()Z", "getIncludePaymentSheetAuthenticators", "getProductUsage", "()Ljava/util/Set;", "getPublishableKey", "()Ljava/lang/String;", "getSetupIntentClientSecret", "getStatusBarColor", "()Ljava/lang/Integer;", "setStatusBarColor", "(Ljava/lang/Integer;)V", "Ljava/lang/Integer;", "getStripeAccountId", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "(Ljava/lang/String;Ljava/lang/String;ZLjava/util/Set;ZLjava/lang/String;Ljava/lang/Integer;)Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args$SetupIntentNextActionArgs;", "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 SetupIntentNextActionArgs extends Args {
public static final int $stable = 8;
public static final Parcelable.Creator<SetupIntentNextActionArgs> CREATOR = new Creator();
private final boolean enableLogging;
private final boolean includePaymentSheetAuthenticators;
private final Set<String> productUsage;
private final String publishableKey;
private final String setupIntentClientSecret;
private Integer statusBarColor;
private final String stripeAccountId;
@Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
public static final class Creator implements Parcelable.Creator<SetupIntentNextActionArgs> {
@Override
public final SetupIntentNextActionArgs createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
String readString = parcel.readString();
String readString2 = parcel.readString();
boolean z = parcel.readInt() != 0;
int readInt = parcel.readInt();
LinkedHashSet linkedHashSet = new LinkedHashSet(readInt);
for (int i2 = 0; i2 != readInt; i2++) {
linkedHashSet.add(parcel.readString());
}
return new SetupIntentNextActionArgs(readString, readString2, z, linkedHashSet, parcel.readInt() != 0, parcel.readString(), parcel.readInt() == 0 ? null : Integer.valueOf(parcel.readInt()));
}
@Override
public final SetupIntentNextActionArgs[] newArray(int i2) {
return new SetupIntentNextActionArgs[i2];
}
}
public static SetupIntentNextActionArgs copy$default(SetupIntentNextActionArgs setupIntentNextActionArgs, String str, String str2, boolean z, Set set, boolean z2, String str3, Integer num, int i2, Object obj) {
if ((i2 & 1) != 0) {
str = setupIntentNextActionArgs.publishableKey;
}
if ((i2 & 2) != 0) {
str2 = setupIntentNextActionArgs.stripeAccountId;
}
String str4 = str2;
if ((i2 & 4) != 0) {
z = setupIntentNextActionArgs.enableLogging;
}
boolean z3 = z;
if ((i2 & 8) != 0) {
set = setupIntentNextActionArgs.productUsage;
}
Set set2 = set;
if ((i2 & 16) != 0) {
z2 = setupIntentNextActionArgs.includePaymentSheetAuthenticators;
}
boolean z4 = z2;
if ((i2 & 32) != 0) {
str3 = setupIntentNextActionArgs.setupIntentClientSecret;
}
String str5 = str3;
if ((i2 & 64) != 0) {
num = setupIntentNextActionArgs.statusBarColor;
}
return setupIntentNextActionArgs.copy(str, str4, z3, set2, z4, str5, num);
}
public final String getPublishableKey() {
return this.publishableKey;
}
public final String getStripeAccountId() {
return this.stripeAccountId;
}
public final boolean getEnableLogging() {
return this.enableLogging;
}
public final Set<String> component4() {
return this.productUsage;
}
public final boolean getIncludePaymentSheetAuthenticators() {
return this.includePaymentSheetAuthenticators;
}
public final String getSetupIntentClientSecret() {
return this.setupIntentClientSecret;
}
public final Integer getStatusBarColor() {
return this.statusBarColor;
}
public final SetupIntentNextActionArgs copy(String publishableKey, String stripeAccountId, boolean enableLogging, Set<String> productUsage, boolean includePaymentSheetAuthenticators, String setupIntentClientSecret, Integer statusBarColor) {
Intrinsics.checkNotNullParameter(publishableKey, "publishableKey");
Intrinsics.checkNotNullParameter(productUsage, NamedConstantsKt.PRODUCT_USAGE);
Intrinsics.checkNotNullParameter(setupIntentClientSecret, "setupIntentClientSecret");
return new SetupIntentNextActionArgs(publishableKey, stripeAccountId, enableLogging, productUsage, includePaymentSheetAuthenticators, setupIntentClientSecret, statusBarColor);
}
@Override
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof SetupIntentNextActionArgs)) {
return false;
}
SetupIntentNextActionArgs setupIntentNextActionArgs = (SetupIntentNextActionArgs) other;
return Intrinsics.areEqual(this.publishableKey, setupIntentNextActionArgs.publishableKey) && Intrinsics.areEqual(this.stripeAccountId, setupIntentNextActionArgs.stripeAccountId) && this.enableLogging == setupIntentNextActionArgs.enableLogging && Intrinsics.areEqual(this.productUsage, setupIntentNextActionArgs.productUsage) && this.includePaymentSheetAuthenticators == setupIntentNextActionArgs.includePaymentSheetAuthenticators && Intrinsics.areEqual(this.setupIntentClientSecret, setupIntentNextActionArgs.setupIntentClientSecret) && Intrinsics.areEqual(this.statusBarColor, setupIntentNextActionArgs.statusBarColor);
}
public int hashCode() {
int hashCode = this.publishableKey.hashCode() * 31;
String str = this.stripeAccountId;
int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31;
boolean z = this.enableLogging;
int i2 = z;
if (z != 0) {
i2 = 1;
}
int hashCode3 = (((hashCode2 + i2) * 31) + this.productUsage.hashCode()) * 31;
boolean z2 = this.includePaymentSheetAuthenticators;
int hashCode4 = (((hashCode3 + (z2 ? 1 : z2 ? 1 : 0)) * 31) + this.setupIntentClientSecret.hashCode()) * 31;
Integer num = this.statusBarColor;
return hashCode4 + (num != null ? num.hashCode() : 0);
}
public String toString() {
return "SetupIntentNextActionArgs(publishableKey=" + this.publishableKey + ", stripeAccountId=" + this.stripeAccountId + ", enableLogging=" + this.enableLogging + ", productUsage=" + this.productUsage + ", includePaymentSheetAuthenticators=" + this.includePaymentSheetAuthenticators + ", setupIntentClientSecret=" + this.setupIntentClientSecret + ", statusBarColor=" + this.statusBarColor + ")";
}
@Override
public void writeToParcel(Parcel parcel, int flags) {
int intValue;
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeString(this.publishableKey);
parcel.writeString(this.stripeAccountId);
parcel.writeInt(this.enableLogging ? 1 : 0);
Set<String> set = this.productUsage;
parcel.writeInt(set.size());
Iterator<String> it2 = set.iterator();
while (it2.hasNext()) {
parcel.writeString(it2.next());
}
parcel.writeInt(this.includePaymentSheetAuthenticators ? 1 : 0);
parcel.writeString(this.setupIntentClientSecret);
Integer num = this.statusBarColor;
if (num == null) {
intValue = 0;
} else {
parcel.writeInt(1);
intValue = num.intValue();
}
parcel.writeInt(intValue);
}
@Override
public String getPublishableKey() {
return this.publishableKey;
}
@Override
public String getStripeAccountId() {
return this.stripeAccountId;
}
@Override
public boolean getEnableLogging() {
return this.enableLogging;
}
@Override
public Set<String> getProductUsage() {
return this.productUsage;
}
@Override
public boolean getIncludePaymentSheetAuthenticators() {
return this.includePaymentSheetAuthenticators;
}
public final String getSetupIntentClientSecret() {
return this.setupIntentClientSecret;
}
@Override
public Integer getStatusBarColor() {
return this.statusBarColor;
}
@Override
public void setStatusBarColor(Integer num) {
this.statusBarColor = num;
}
public SetupIntentNextActionArgs(String str, String str2, boolean z, Set<String> set, boolean z2, String str3, Integer num) {
super(str, str2, z, set, z2, num, null);
Intrinsics.checkNotNullParameter(str, "publishableKey");
Intrinsics.checkNotNullParameter(set, NamedConstantsKt.PRODUCT_USAGE);
Intrinsics.checkNotNullParameter(str3, "setupIntentClientSecret");
this.publishableKey = str;
this.stripeAccountId = str2;
this.enableLogging = z;
this.productUsage = set;
this.includePaymentSheetAuthenticators = z2;
this.setupIntentClientSecret = str3;
this.statusBarColor = num;
}
}
@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\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\u0010\u0010\u0005\u001a\u0004\u0018\u00010\u00062\u0006\u0010\u0007\u001a\u00020\bR\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T¢\u0006\u0002\n\u0000¨\u0006\t"}, d2 = {"Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$Args$Companion;", "", "()V", "EXTRA_ARGS", "", "fromIntent", "Lcom/stripe/android/payments/paymentlauncher/PaymentLauncherContract$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(Args.EXTRA_ARGS);
}
}
}
}