package com.revenuecat.purchases.paywalls.components.common;

import com.revenuecat.purchases.InternalRevenueCatAPI;
import g5.a;
import k5.P;
import k5.a0;
import kotlin.jvm.internal.h;
import kotlin.jvm.internal.o;
import w4.InterfaceC3141c;

/* JADX INFO: loaded from: classes3.dex */
@InternalRevenueCatAPI
public final class PromoOfferConfig {
    public static final Companion Companion = new Companion(null);
    private final String offerId;

    public static final class Companion {
        public /* synthetic */ Companion(h hVar) {
            this();
        }

        public final a serializer() {
            return PromoOfferConfig$$serializer.INSTANCE;
        }

        private Companion() {
        }
    }

    @InterfaceC3141c
    public /* synthetic */ PromoOfferConfig(int i6, String str, a0 a0Var) {
        if (1 == (i6 & 1)) {
            this.offerId = str;
        } else {
            P.h(i6, 1, PromoOfferConfig$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
    }

    public static /* synthetic */ void getOfferId$annotations() {
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return (obj instanceof PromoOfferConfig) && o.c(this.offerId, ((PromoOfferConfig) obj).offerId);
    }

    public final /* synthetic */ String getOfferId() {
        return this.offerId;
    }

    public int hashCode() {
        return this.offerId.hashCode();
    }

    public String toString() {
        return Z0.o.r(new StringBuilder("PromoOfferConfig(offerId="), this.offerId, ')');
    }

    public PromoOfferConfig(String offerId) {
        o.h(offerId, "offerId");
        this.offerId = offerId;
    }
}
