导航菜单

页面标题

页面副标题

Perplexity v2.48.1 - C0535j.java 源代码

正在查看: Perplexity v2.48.1 应用的 C0535j.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package Wh;

import android.os.Parcel;
import android.os.Parcelable;
import gm.AbstractC0834i;
import gm.AbstractC0835j;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;

public final class C0535j implements Parcelable {
    public static final Parcelable.Creator<C0535j> CREATOR = new C0534i();
    public final String w;
    public final String x;
    public final String y;

    public C0535j(int i, String str, String str2) {
        this(str, (i & 2) != 0 ? null : str2, (String) null);
    }

    public final boolean b() {
        return !AbstractC0835j.Q(this.w, "test", false);
    }

    @Override
    public final int describeContents() {
        return 0;
    }

    public final boolean e() {
        return AbstractC0834i.P(this.w, "uk_", false);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C0535j)) {
            return false;
        }
        C0535j c0535j = (C0535j) obj;
        return Intrinsics.c(this.w, c0535j.w) && Intrinsics.c(this.x, c0535j.x) && Intrinsics.c(this.y, c0535j.y);
    }

    public final int hashCode() {
        int hashCode = this.w.hashCode() * 31;
        String str = this.x;
        int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31;
        String str2 = this.y;
        return hashCode2 + (str2 != null ? str2.hashCode() : 0);
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("Options(apiKey=");
        sb.append(this.w);
        sb.append(", stripeAccount=");
        sb.append(this.x);
        sb.append(", idempotencyKey=");
        return com.mapbox.common.location.e.m(this.y, ")", sb);
    }

    @Override
    public final void writeToParcel(Parcel dest, int i) {
        Intrinsics.h(dest, "dest");
        dest.writeString(this.w);
        dest.writeString(this.x);
        dest.writeString(this.y);
    }

    public C0535j(String apiKey, String str, String str2) {
        Intrinsics.h(apiKey, "apiKey");
        this.w = apiKey;
        this.x = str;
        this.y = str2;
        if (AbstractC0835j.b0(apiKey)) {
            throw new IllegalArgumentException("Invalid Publishable Key: You must use a valid Stripe API key to make a Stripe API request. For more info, see https://stripe.com/docs/keys");
        }
        if (AbstractC0834i.P(apiKey, "sk_", false)) {
            throw new IllegalArgumentException("Invalid Publishable Key: You are using a secret key instead of a publishable one. For more info, see https://stripe.com/docs/keys");
        }
    }

    public C0535j(Function0 publishableKeyProvider, Function0 stripeAccountIdProvider) {
        this(4, (String) publishableKeyProvider.invoke(), (String) stripeAccountIdProvider.invoke());
        Intrinsics.h(publishableKeyProvider, "publishableKeyProvider");
        Intrinsics.h(stripeAccountIdProvider, "stripeAccountIdProvider");
    }
}