导航菜单

页面标题

页面副标题

Atlys v4.8.7 - C2748t.java 源代码

正在查看: Atlys v4.8.7 应用的 C2748t.java JAVA 源代码文件

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


package ch;

import B0.AbstractC0159d2;
import android.os.Parcel;
import android.os.Parcelable;
import bn.AbstractC2534l;
import bn.AbstractC2541s;

public final class C2748t implements Parcelable {
    public static final Parcelable.Creator<C2748t> CREATOR = new androidx.appcompat.widget.S(25);

    public static C2748t f36146c;

    public final String f36147a;

    public final String f36148b;

    public C2748t(String publishableKey, String str) {
        kotlin.jvm.internal.l.h(publishableKey, "publishableKey");
        this.f36147a = publishableKey;
        this.f36148b = str;
        if (!(!AbstractC2534l.y0(publishableKey))) {
            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".toString());
        }
        if (!(!AbstractC2541s.h0(publishableKey, "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".toString());
        }
    }

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

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C2748t)) {
            return false;
        }
        C2748t c2748t = (C2748t) obj;
        return kotlin.jvm.internal.l.c(this.f36147a, c2748t.f36147a) && kotlin.jvm.internal.l.c(this.f36148b, c2748t.f36148b);
    }

    public final int hashCode() {
        int hashCode = this.f36147a.hashCode() * 31;
        String str = this.f36148b;
        return hashCode + (str == null ? 0 : str.hashCode());
    }

    public final String toString() {
        StringBuilder sb2 = new StringBuilder("PaymentConfiguration(publishableKey=");
        sb2.append(this.f36147a);
        sb2.append(", stripeAccountId=");
        return AbstractC0159d2.n(sb2, this.f36148b, ")");
    }

    @Override
    public final void writeToParcel(Parcel out, int i10) {
        kotlin.jvm.internal.l.h(out, "out");
        out.writeString(this.f36147a);
        out.writeString(this.f36148b);
    }
}