正在查看: BodyTech v7.6.4 应用的 c.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: BodyTech v7.6.4 应用的 c.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.annotation.ColorInt;
import androidx.annotation.RestrictTo;
import androidx.compose.runtime.internal.StabilityInferred;
import androidx.core.os.BundleKt;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.Set;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.r;
import kotlinx.coroutines.scheduling.WorkQueueKt;
@StabilityInferred(parameters = 1)
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\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\u0010\b\n\u0002\b\u0006\b\u0007\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001:\u0001\bB\u0007¢\u0006\u0004\b\r\u0010\u000eJ\u0018\u0010\b\u001a\u00020\u00072\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0006\u001a\u00020\u0002H\u0016J\u001a\u0010\f\u001a\u00020\u00032\u0006\u0010\n\u001a\u00020\t2\b\u0010\u000b\u001a\u0004\u0018\u00010\u0007H\u0016¨\u0006\u000f"}, d2 = {"Lcom/stripe/android/payments/paymentlauncher/c;", "Landroidx/activity/result/contract/ActivityResultContract;", "Lcom/stripe/android/payments/paymentlauncher/c$a;", "Lcom/stripe/android/payments/paymentlauncher/a;", "Landroid/content/Context;", "context", "input", "Landroid/content/Intent;", "a", "", "resultCode", "intent", "b", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public final class c extends ActivityResultContract<a, com.stripe.android.payments.paymentlauncher.a> {
@StabilityInferred(parameters = 0)
@Metadata(d1 = {"\u0000<\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\b\n\u0002\u0010\u000b\n\u0002\b\u0005\n\u0002\u0010\"\n\u0002\b\u0005\n\u0002\u0010\b\n\u0002\b\u000b\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b7\u0018\u0000 #2\u00020\u0001:\u0004$\u0010\u0005\nBE\b\u0004\u0012\u0006\u0010\t\u001a\u00020\u0004\u0012\b\u0010\f\u001a\u0004\u0018\u00010\u0004\u0012\u0006\u0010\u0012\u001a\u00020\r\u0012\f\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u00040\u0013\u0012\u0006\u0010\u0018\u001a\u00020\r\u0012\n\b\u0003\u0010 \u001a\u0004\u0018\u00010\u0019¢\u0006\u0004\b!\u0010\"J\u0006\u0010\u0003\u001a\u00020\u0002R\u001a\u0010\t\u001a\u00020\u00048\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0005\u0010\u0006\u001a\u0004\b\u0007\u0010\bR\u001c\u0010\f\u001a\u0004\u0018\u00010\u00048\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\n\u0010\u0006\u001a\u0004\b\u000b\u0010\bR\u001a\u0010\u0012\u001a\u00020\r8\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u000e\u0010\u000f\u001a\u0004\b\u0010\u0010\u0011R \u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u00040\u00138\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0014\u0010\u0015\u001a\u0004\b\u000e\u0010\u0016R\u001a\u0010\u0018\u001a\u00020\r8\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0003\u0010\u000f\u001a\u0004\b\u0005\u0010\u0011R$\u0010 \u001a\u0004\u0018\u00010\u00198\u0016@\u0016X\u0096\u000e¢\u0006\u0012\n\u0004\b\u001a\u0010\u001b\u001a\u0004\b\u001c\u0010\u001d\"\u0004\b\u001e\u0010\u001f\u0082\u0001\u0003%&'¨\u0006("}, d2 = {"Lcom/stripe/android/payments/paymentlauncher/c$a;", "Landroid/os/Parcelable;", "Landroid/os/Bundle;", "n", "", "c", "Ljava/lang/String;", "g", "()Ljava/lang/String;", "publishableKey", "d", "m", "stripeAccountId", "", "e", "Z", "b", "()Z", "enableLogging", "", "k", "Ljava/util/Set;", "()Ljava/util/Set;", "productUsage", "includePaymentSheetAuthenticators", "", "p", "Ljava/lang/Integer;", "i", "()Ljava/lang/Integer;", "setStatusBarColor", "(Ljava/lang/Integer;)V", "statusBarColor", "<init>", "(Ljava/lang/String;Ljava/lang/String;ZLjava/util/Set;ZLjava/lang/Integer;)V", "q", "a", "Lcom/stripe/android/payments/paymentlauncher/c$a$b;", "Lcom/stripe/android/payments/paymentlauncher/c$a$c;", "Lcom/stripe/android/payments/paymentlauncher/c$a$d;", "payments-core_release"}, k = 1, mv = {1, 9, 0})
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public static abstract class a implements Parcelable {
public static final Companion INSTANCE = new Companion(null);
public static final int r = 8;
private final String publishableKey;
private final String stripeAccountId;
private final boolean enableLogging;
private final Set<String> productUsage;
private final boolean includePaymentSheetAuthenticators;
private Integer statusBarColor;
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\b\u0080\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\t\u0010\nJ\u0010\u0010\u0005\u001a\u0004\u0018\u00010\u00042\u0006\u0010\u0003\u001a\u00020\u0002R\u0014\u0010\u0007\u001a\u00020\u00068\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0007\u0010\b¨\u0006\u000b"}, d2 = {"Lcom/stripe/android/payments/paymentlauncher/c$a$a;", "", "Landroid/content/Intent;", "intent", "Lcom/stripe/android/payments/paymentlauncher/c$a;", "a", "", "EXTRA_ARGS", "Ljava/lang/String;", "<init>", "()V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
public static final class Companion {
private Companion() {
}
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public final a a(Intent intent) {
r.i(intent, "intent");
return (a) intent.getParcelableExtra("extra_args");
}
}
@StabilityInferred(parameters = 0)
@Metadata(d1 = {"\u0000B\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u000e\n\u0002\u0010\"\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\u000f\b\u0087\b\u0018\u00002\u00020\u0001BM\b\u0000\u0012\u0006\u0010\u0014\u001a\u00020\u0002\u0012\b\u0010\u0017\u001a\u0004\u0018\u00010\u0002\u0012\u0006\u0010\u001c\u001a\u00020\b\u0012\f\u0010\"\u001a\b\u0012\u0004\u0012\u00020\u00020\u001d\u0012\u0006\u0010%\u001a\u00020\b\u0012\u0006\u0010+\u001a\u00020&\u0012\n\b\u0001\u00102\u001a\u0004\u0018\u00010\u0004¢\u0006\u0004\b3\u00104J\t\u0010\u0003\u001a\u00020\u0002HÖ\u0001J\t\u0010\u0005\u001a\u00020\u0004HÖ\u0001J\u0013\u0010\t\u001a\u00020\b2\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006HÖ\u0003J\t\u0010\n\u001a\u00020\u0004HÖ\u0001J\u0019\u0010\u000f\u001a\u00020\u000e2\u0006\u0010\f\u001a\u00020\u000b2\u0006\u0010\r\u001a\u00020\u0004HÖ\u0001R\u001a\u0010\u0014\u001a\u00020\u00028\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0010\u0010\u0011\u001a\u0004\b\u0012\u0010\u0013R\u001c\u0010\u0017\u001a\u0004\u0018\u00010\u00028\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0015\u0010\u0011\u001a\u0004\b\u0016\u0010\u0013R\u001a\u0010\u001c\u001a\u00020\b8\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0018\u0010\u0019\u001a\u0004\b\u001a\u0010\u001bR \u0010\"\u001a\b\u0012\u0004\u0012\u00020\u00020\u001d8\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u001e\u0010\u001f\u001a\u0004\b \u0010!R\u001a\u0010%\u001a\u00020\b8\u0016X\u0096\u0004¢\u0006\f\n\u0004\b#\u0010\u0019\u001a\u0004\b$\u0010\u001bR\u0017\u0010+\u001a\u00020&8\u0006¢\u0006\f\n\u0004\b'\u0010(\u001a\u0004\b)\u0010*R$\u00102\u001a\u0004\u0018\u00010\u00048\u0016@\u0016X\u0096\u000e¢\u0006\u0012\n\u0004\b,\u0010-\u001a\u0004\b.\u0010/\"\u0004\b0\u00101¨\u00065"}, d2 = {"Lcom/stripe/android/payments/paymentlauncher/c$a$b;", "Lcom/stripe/android/payments/paymentlauncher/c$a;", "", "toString", "", "hashCode", "", "other", "", "equals", "describeContents", "Landroid/os/Parcel;", "parcel", "flags", "", "writeToParcel", "t", "Ljava/lang/String;", "g", "()Ljava/lang/String;", "publishableKey", "v", "m", "stripeAccountId", "w", "Z", "b", "()Z", "enableLogging", "", "x", "Ljava/util/Set;", "e", "()Ljava/util/Set;", "productUsage", "y", "c", "includePaymentSheetAuthenticators", "Lai/d;", "z", "Lai/d;", "o", "()Lai/d;", "confirmStripeIntentParams", "A", "Ljava/lang/Integer;", "i", "()Ljava/lang/Integer;", "setStatusBarColor", "(Ljava/lang/Integer;)V", "statusBarColor", "<init>", "(Ljava/lang/String;Ljava/lang/String;ZLjava/util/Set;ZLai/d;Ljava/lang/Integer;)V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public static final class IntentConfirmationArgs extends a {
public static final Parcelable.Creator<IntentConfirmationArgs> CREATOR = new C0106a();
private Integer statusBarColor;
private final String publishableKey;
private final String stripeAccountId;
private final boolean enableLogging;
private final Set<String> productUsage;
private final boolean includePaymentSheetAuthenticators;
private final ai.d confirmStripeIntentParams;
@Metadata(k = WorkQueueKt.STEAL_ANY, mv = {1, 9, 0}, xi = 48)
public static final class C0106a implements Parcelable.Creator<IntentConfirmationArgs> {
@Override
public final IntentConfirmationArgs createFromParcel(Parcel parcel) {
r.i(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 i = 0; i != readInt; i++) {
linkedHashSet.add(parcel.readString());
}
return new IntentConfirmationArgs(readString, readString2, z, linkedHashSet, parcel.readInt() != 0, (ai.d) parcel.readParcelable(IntentConfirmationArgs.class.getClassLoader()), parcel.readInt() == 0 ? null : Integer.valueOf(parcel.readInt()));
}
@Override
public final IntentConfirmationArgs[] newArray(int i) {
return new IntentConfirmationArgs[i];
}
}
public IntentConfirmationArgs(String publishableKey, String str, boolean z, Set<String> productUsage, boolean z2, ai.d confirmStripeIntentParams, @ColorInt Integer num) {
super(publishableKey, str, z, productUsage, z2, num, null);
r.i(publishableKey, "publishableKey");
r.i(productUsage, "productUsage");
r.i(confirmStripeIntentParams, "confirmStripeIntentParams");
this.publishableKey = publishableKey;
this.stripeAccountId = str;
this.enableLogging = z;
this.productUsage = productUsage;
this.includePaymentSheetAuthenticators = z2;
this.confirmStripeIntentParams = confirmStripeIntentParams;
this.statusBarColor = num;
}
@Override
public boolean getEnableLogging() {
return this.enableLogging;
}
@Override
public boolean getIncludePaymentSheetAuthenticators() {
return this.includePaymentSheetAuthenticators;
}
@Override
public int describeContents() {
return 0;
}
@Override
public Set<String> e() {
return this.productUsage;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof IntentConfirmationArgs)) {
return false;
}
IntentConfirmationArgs intentConfirmationArgs = (IntentConfirmationArgs) other;
return r.d(this.publishableKey, intentConfirmationArgs.publishableKey) && r.d(this.stripeAccountId, intentConfirmationArgs.stripeAccountId) && this.enableLogging == intentConfirmationArgs.enableLogging && r.d(this.productUsage, intentConfirmationArgs.productUsage) && this.includePaymentSheetAuthenticators == intentConfirmationArgs.includePaymentSheetAuthenticators && r.d(this.confirmStripeIntentParams, intentConfirmationArgs.confirmStripeIntentParams) && r.d(this.statusBarColor, intentConfirmationArgs.statusBarColor);
}
@Override
public String getPublishableKey() {
return this.publishableKey;
}
public int hashCode() {
int hashCode = this.publishableKey.hashCode() * 31;
String str = this.stripeAccountId;
int hashCode2 = (((((((((hashCode + (str == null ? 0 : str.hashCode())) * 31) + androidx.compose.animation.a.a(this.enableLogging)) * 31) + this.productUsage.hashCode()) * 31) + androidx.compose.animation.a.a(this.includePaymentSheetAuthenticators)) * 31) + this.confirmStripeIntentParams.hashCode()) * 31;
Integer num = this.statusBarColor;
return hashCode2 + (num != null ? num.hashCode() : 0);
}
@Override
public Integer getStatusBarColor() {
return this.statusBarColor;
}
@Override
public String getStripeAccountId() {
return this.stripeAccountId;
}
public final ai.d getConfirmStripeIntentParams() {
return this.confirmStripeIntentParams;
}
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;
r.i(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> it = set.iterator();
while (it.hasNext()) {
parcel.writeString(it.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);
}
}
@StabilityInferred(parameters = 0)
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u000e\n\u0002\u0010\"\n\u0002\b\u0015\b\u0087\b\u0018\u00002\u00020\u0001BM\b\u0000\u0012\u0006\u0010\u0014\u001a\u00020\u0002\u0012\b\u0010\u0017\u001a\u0004\u0018\u00010\u0002\u0012\u0006\u0010\u001c\u001a\u00020\b\u0012\f\u0010\"\u001a\b\u0012\u0004\u0012\u00020\u00020\u001d\u0012\u0006\u0010%\u001a\u00020\b\u0012\u0006\u0010(\u001a\u00020\u0002\u0012\n\b\u0001\u0010/\u001a\u0004\u0018\u00010\u0004¢\u0006\u0004\b0\u00101J\t\u0010\u0003\u001a\u00020\u0002HÖ\u0001J\t\u0010\u0005\u001a\u00020\u0004HÖ\u0001J\u0013\u0010\t\u001a\u00020\b2\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006HÖ\u0003J\t\u0010\n\u001a\u00020\u0004HÖ\u0001J\u0019\u0010\u000f\u001a\u00020\u000e2\u0006\u0010\f\u001a\u00020\u000b2\u0006\u0010\r\u001a\u00020\u0004HÖ\u0001R\u001a\u0010\u0014\u001a\u00020\u00028\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0010\u0010\u0011\u001a\u0004\b\u0012\u0010\u0013R\u001c\u0010\u0017\u001a\u0004\u0018\u00010\u00028\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0015\u0010\u0011\u001a\u0004\b\u0016\u0010\u0013R\u001a\u0010\u001c\u001a\u00020\b8\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0018\u0010\u0019\u001a\u0004\b\u001a\u0010\u001bR \u0010\"\u001a\b\u0012\u0004\u0012\u00020\u00020\u001d8\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u001e\u0010\u001f\u001a\u0004\b \u0010!R\u001a\u0010%\u001a\u00020\b8\u0016X\u0096\u0004¢\u0006\f\n\u0004\b#\u0010\u0019\u001a\u0004\b$\u0010\u001bR\u0017\u0010(\u001a\u00020\u00028\u0006¢\u0006\f\n\u0004\b&\u0010\u0011\u001a\u0004\b'\u0010\u0013R$\u0010/\u001a\u0004\u0018\u00010\u00048\u0016@\u0016X\u0096\u000e¢\u0006\u0012\n\u0004\b)\u0010*\u001a\u0004\b+\u0010,\"\u0004\b-\u0010.¨\u00062"}, d2 = {"Lcom/stripe/android/payments/paymentlauncher/c$a$c;", "Lcom/stripe/android/payments/paymentlauncher/c$a;", "", "toString", "", "hashCode", "", "other", "", "equals", "describeContents", "Landroid/os/Parcel;", "parcel", "flags", "", "writeToParcel", "t", "Ljava/lang/String;", "g", "()Ljava/lang/String;", "publishableKey", "v", "m", "stripeAccountId", "w", "Z", "b", "()Z", "enableLogging", "", "x", "Ljava/util/Set;", "e", "()Ljava/util/Set;", "productUsage", "y", "c", "includePaymentSheetAuthenticators", "z", "o", "paymentIntentClientSecret", "A", "Ljava/lang/Integer;", "i", "()Ljava/lang/Integer;", "setStatusBarColor", "(Ljava/lang/Integer;)V", "statusBarColor", "<init>", "(Ljava/lang/String;Ljava/lang/String;ZLjava/util/Set;ZLjava/lang/String;Ljava/lang/Integer;)V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public static final class PaymentIntentNextActionArgs extends a {
public static final Parcelable.Creator<PaymentIntentNextActionArgs> CREATOR = new C0108a();
private Integer statusBarColor;
private final String publishableKey;
private final String stripeAccountId;
private final boolean enableLogging;
private final Set<String> productUsage;
private final boolean includePaymentSheetAuthenticators;
private final String paymentIntentClientSecret;
@Metadata(k = WorkQueueKt.STEAL_ANY, mv = {1, 9, 0}, xi = 48)
public static final class C0108a implements Parcelable.Creator<PaymentIntentNextActionArgs> {
@Override
public final PaymentIntentNextActionArgs createFromParcel(Parcel parcel) {
r.i(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 i = 0; i != readInt; i++) {
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 i) {
return new PaymentIntentNextActionArgs[i];
}
}
public PaymentIntentNextActionArgs(String publishableKey, String str, boolean z, Set<String> productUsage, boolean z2, String paymentIntentClientSecret, @ColorInt Integer num) {
super(publishableKey, str, z, productUsage, z2, num, null);
r.i(publishableKey, "publishableKey");
r.i(productUsage, "productUsage");
r.i(paymentIntentClientSecret, "paymentIntentClientSecret");
this.publishableKey = publishableKey;
this.stripeAccountId = str;
this.enableLogging = z;
this.productUsage = productUsage;
this.includePaymentSheetAuthenticators = z2;
this.paymentIntentClientSecret = paymentIntentClientSecret;
this.statusBarColor = num;
}
@Override
public boolean getEnableLogging() {
return this.enableLogging;
}
@Override
public boolean getIncludePaymentSheetAuthenticators() {
return this.includePaymentSheetAuthenticators;
}
@Override
public int describeContents() {
return 0;
}
@Override
public Set<String> e() {
return this.productUsage;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof PaymentIntentNextActionArgs)) {
return false;
}
PaymentIntentNextActionArgs paymentIntentNextActionArgs = (PaymentIntentNextActionArgs) other;
return r.d(this.publishableKey, paymentIntentNextActionArgs.publishableKey) && r.d(this.stripeAccountId, paymentIntentNextActionArgs.stripeAccountId) && this.enableLogging == paymentIntentNextActionArgs.enableLogging && r.d(this.productUsage, paymentIntentNextActionArgs.productUsage) && this.includePaymentSheetAuthenticators == paymentIntentNextActionArgs.includePaymentSheetAuthenticators && r.d(this.paymentIntentClientSecret, paymentIntentNextActionArgs.paymentIntentClientSecret) && r.d(this.statusBarColor, paymentIntentNextActionArgs.statusBarColor);
}
@Override
public String getPublishableKey() {
return this.publishableKey;
}
public int hashCode() {
int hashCode = this.publishableKey.hashCode() * 31;
String str = this.stripeAccountId;
int hashCode2 = (((((((((hashCode + (str == null ? 0 : str.hashCode())) * 31) + androidx.compose.animation.a.a(this.enableLogging)) * 31) + this.productUsage.hashCode()) * 31) + androidx.compose.animation.a.a(this.includePaymentSheetAuthenticators)) * 31) + this.paymentIntentClientSecret.hashCode()) * 31;
Integer num = this.statusBarColor;
return hashCode2 + (num != null ? num.hashCode() : 0);
}
@Override
public Integer getStatusBarColor() {
return this.statusBarColor;
}
@Override
public String getStripeAccountId() {
return this.stripeAccountId;
}
public final String getPaymentIntentClientSecret() {
return this.paymentIntentClientSecret;
}
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;
r.i(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> it = set.iterator();
while (it.hasNext()) {
parcel.writeString(it.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);
}
}
@StabilityInferred(parameters = 0)
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u000e\n\u0002\u0010\"\n\u0002\b\u0015\b\u0087\b\u0018\u00002\u00020\u0001BM\b\u0000\u0012\u0006\u0010\u0014\u001a\u00020\u0002\u0012\b\u0010\u0017\u001a\u0004\u0018\u00010\u0002\u0012\u0006\u0010\u001c\u001a\u00020\b\u0012\f\u0010\"\u001a\b\u0012\u0004\u0012\u00020\u00020\u001d\u0012\u0006\u0010%\u001a\u00020\b\u0012\u0006\u0010(\u001a\u00020\u0002\u0012\n\b\u0001\u0010/\u001a\u0004\u0018\u00010\u0004¢\u0006\u0004\b0\u00101J\t\u0010\u0003\u001a\u00020\u0002HÖ\u0001J\t\u0010\u0005\u001a\u00020\u0004HÖ\u0001J\u0013\u0010\t\u001a\u00020\b2\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006HÖ\u0003J\t\u0010\n\u001a\u00020\u0004HÖ\u0001J\u0019\u0010\u000f\u001a\u00020\u000e2\u0006\u0010\f\u001a\u00020\u000b2\u0006\u0010\r\u001a\u00020\u0004HÖ\u0001R\u001a\u0010\u0014\u001a\u00020\u00028\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0010\u0010\u0011\u001a\u0004\b\u0012\u0010\u0013R\u001c\u0010\u0017\u001a\u0004\u0018\u00010\u00028\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0015\u0010\u0011\u001a\u0004\b\u0016\u0010\u0013R\u001a\u0010\u001c\u001a\u00020\b8\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0018\u0010\u0019\u001a\u0004\b\u001a\u0010\u001bR \u0010\"\u001a\b\u0012\u0004\u0012\u00020\u00020\u001d8\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u001e\u0010\u001f\u001a\u0004\b \u0010!R\u001a\u0010%\u001a\u00020\b8\u0016X\u0096\u0004¢\u0006\f\n\u0004\b#\u0010\u0019\u001a\u0004\b$\u0010\u001bR\u0017\u0010(\u001a\u00020\u00028\u0006¢\u0006\f\n\u0004\b&\u0010\u0011\u001a\u0004\b'\u0010\u0013R$\u0010/\u001a\u0004\u0018\u00010\u00048\u0016@\u0016X\u0096\u000e¢\u0006\u0012\n\u0004\b)\u0010*\u001a\u0004\b+\u0010,\"\u0004\b-\u0010.¨\u00062"}, d2 = {"Lcom/stripe/android/payments/paymentlauncher/c$a$d;", "Lcom/stripe/android/payments/paymentlauncher/c$a;", "", "toString", "", "hashCode", "", "other", "", "equals", "describeContents", "Landroid/os/Parcel;", "parcel", "flags", "", "writeToParcel", "t", "Ljava/lang/String;", "g", "()Ljava/lang/String;", "publishableKey", "v", "m", "stripeAccountId", "w", "Z", "b", "()Z", "enableLogging", "", "x", "Ljava/util/Set;", "e", "()Ljava/util/Set;", "productUsage", "y", "c", "includePaymentSheetAuthenticators", "z", "o", "setupIntentClientSecret", "A", "Ljava/lang/Integer;", "i", "()Ljava/lang/Integer;", "setStatusBarColor", "(Ljava/lang/Integer;)V", "statusBarColor", "<init>", "(Ljava/lang/String;Ljava/lang/String;ZLjava/util/Set;ZLjava/lang/String;Ljava/lang/Integer;)V", "payments-core_release"}, k = 1, mv = {1, 9, 0})
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public static final class SetupIntentNextActionArgs extends a {
public static final Parcelable.Creator<SetupIntentNextActionArgs> CREATOR = new C0109a();
private Integer statusBarColor;
private final String publishableKey;
private final String stripeAccountId;
private final boolean enableLogging;
private final Set<String> productUsage;
private final boolean includePaymentSheetAuthenticators;
private final String setupIntentClientSecret;
@Metadata(k = WorkQueueKt.STEAL_ANY, mv = {1, 9, 0}, xi = 48)
public static final class C0109a implements Parcelable.Creator<SetupIntentNextActionArgs> {
@Override
public final SetupIntentNextActionArgs createFromParcel(Parcel parcel) {
r.i(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 i = 0; i != readInt; i++) {
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 i) {
return new SetupIntentNextActionArgs[i];
}
}
public SetupIntentNextActionArgs(String publishableKey, String str, boolean z, Set<String> productUsage, boolean z2, String setupIntentClientSecret, @ColorInt Integer num) {
super(publishableKey, str, z, productUsage, z2, num, null);
r.i(publishableKey, "publishableKey");
r.i(productUsage, "productUsage");
r.i(setupIntentClientSecret, "setupIntentClientSecret");
this.publishableKey = publishableKey;
this.stripeAccountId = str;
this.enableLogging = z;
this.productUsage = productUsage;
this.includePaymentSheetAuthenticators = z2;
this.setupIntentClientSecret = setupIntentClientSecret;
this.statusBarColor = num;
}
@Override
public boolean getEnableLogging() {
return this.enableLogging;
}
@Override
public boolean getIncludePaymentSheetAuthenticators() {
return this.includePaymentSheetAuthenticators;
}
@Override
public int describeContents() {
return 0;
}
@Override
public Set<String> e() {
return this.productUsage;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof SetupIntentNextActionArgs)) {
return false;
}
SetupIntentNextActionArgs setupIntentNextActionArgs = (SetupIntentNextActionArgs) other;
return r.d(this.publishableKey, setupIntentNextActionArgs.publishableKey) && r.d(this.stripeAccountId, setupIntentNextActionArgs.stripeAccountId) && this.enableLogging == setupIntentNextActionArgs.enableLogging && r.d(this.productUsage, setupIntentNextActionArgs.productUsage) && this.includePaymentSheetAuthenticators == setupIntentNextActionArgs.includePaymentSheetAuthenticators && r.d(this.setupIntentClientSecret, setupIntentNextActionArgs.setupIntentClientSecret) && r.d(this.statusBarColor, setupIntentNextActionArgs.statusBarColor);
}
@Override
public String getPublishableKey() {
return this.publishableKey;
}
public int hashCode() {
int hashCode = this.publishableKey.hashCode() * 31;
String str = this.stripeAccountId;
int hashCode2 = (((((((((hashCode + (str == null ? 0 : str.hashCode())) * 31) + androidx.compose.animation.a.a(this.enableLogging)) * 31) + this.productUsage.hashCode()) * 31) + androidx.compose.animation.a.a(this.includePaymentSheetAuthenticators)) * 31) + this.setupIntentClientSecret.hashCode()) * 31;
Integer num = this.statusBarColor;
return hashCode2 + (num != null ? num.hashCode() : 0);
}
@Override
public Integer getStatusBarColor() {
return this.statusBarColor;
}
@Override
public String getStripeAccountId() {
return this.stripeAccountId;
}
public final String getSetupIntentClientSecret() {
return this.setupIntentClientSecret;
}
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;
r.i(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> it = set.iterator();
while (it.hasNext()) {
parcel.writeString(it.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);
}
}
public a(String str, String str2, boolean z, Set set, boolean z2, Integer num, DefaultConstructorMarker defaultConstructorMarker) {
this(str, str2, z, set, z2, num);
}
public boolean getEnableLogging() {
return this.enableLogging;
}
public boolean getIncludePaymentSheetAuthenticators() {
return this.includePaymentSheetAuthenticators;
}
public Set<String> e() {
return this.productUsage;
}
public String getPublishableKey() {
return this.publishableKey;
}
public Integer getStatusBarColor() {
return this.statusBarColor;
}
public String getStripeAccountId() {
return this.stripeAccountId;
}
public final Bundle n() {
return BundleKt.bundleOf(new Pair[]{gj.i.a("extra_args", this)});
}
private a(String str, String str2, boolean z, Set<String> set, boolean z2, @ColorInt Integer num) {
this.publishableKey = str;
this.stripeAccountId = str2;
this.enableLogging = z;
this.productUsage = set;
this.includePaymentSheetAuthenticators = z2;
this.statusBarColor = num;
}
}
public Intent createIntent(Context context, a input) {
r.i(context, "context");
r.i(input, "input");
Intent putExtras = new Intent(context, (Class<?>) PaymentLauncherConfirmationActivity.class).putExtras(input.n());
r.h(putExtras, "putExtras(...)");
return putExtras;
}
public com.stripe.android.payments.paymentlauncher.a parseResult(int resultCode, Intent intent) {
return com.stripe.android.payments.paymentlauncher.a.INSTANCE.a(intent);
}
}