package com.revenuecat.purchases.common.responses;

import androidx.media3.common.C;
import androidx.media3.exoplayer.DecoderReuseEvaluation;
import com.revenuecat.purchases.OwnershipType;
import com.revenuecat.purchases.PeriodType;
import com.revenuecat.purchases.Store;
import com.revenuecat.purchases.StoreSerializer;
import com.revenuecat.purchases.models.Price;
import com.revenuecat.purchases.utils.serializers.ISO8601DateSerializer;
import g5.a;
import i5.g;
import j5.b;
import java.text.NumberFormat;
import java.util.Currency;
import java.util.Date;
import java.util.Locale;
import k5.P;
import k5.a0;
import k5.e0;
import kotlin.jvm.internal.h;
import kotlin.jvm.internal.o;
import w4.InterfaceC3141c;

/* JADX INFO: loaded from: classes3.dex */
public final class SubscriptionInfoResponse {
    private final Date autoResumeDate;
    private final Date billingIssuesDetectedAt;
    private final String displayName;
    private final Date expiresDate;
    private final Date gracePeriodExpiresDate;
    private final boolean isSandbox;
    private final String managementURL;
    private final Date originalPurchaseDate;
    private final OwnershipType ownershipType;
    private final PeriodType periodType;
    private final PriceResponse price;
    private final String productPlanIdentifier;
    private final Date purchaseDate;
    private final Date refundedAt;
    private final Store store;
    private final String storeTransactionId;
    private final Date unsubscribeDetectedAt;
    public static final Companion Companion = new Companion(null);
    private static final a[] $childSerializers = {null, null, null, null, null, null, null, null, OwnershipType.Companion.serializer(), PeriodType.Companion.serializer(), null, null, null, null, null, null, null};

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

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

        private Companion() {
        }
    }

    @InterfaceC3141c
    public /* synthetic */ SubscriptionInfoResponse(int i6, Date date, Date date2, Date date3, Store store, boolean z6, Date date4, Date date5, Date date6, OwnershipType ownershipType, PeriodType periodType, Date date7, String str, Date date8, String str2, PriceResponse priceResponse, String str3, String str4, a0 a0Var) {
        if (537 != (i6 & 537)) {
            P.h(i6, 537, SubscriptionInfoResponse$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
        this.purchaseDate = date;
        if ((i6 & 2) == 0) {
            this.originalPurchaseDate = null;
        } else {
            this.originalPurchaseDate = date2;
        }
        if ((i6 & 4) == 0) {
            this.expiresDate = null;
        } else {
            this.expiresDate = date3;
        }
        this.store = store;
        this.isSandbox = z6;
        if ((i6 & 32) == 0) {
            this.unsubscribeDetectedAt = null;
        } else {
            this.unsubscribeDetectedAt = date4;
        }
        if ((i6 & 64) == 0) {
            this.billingIssuesDetectedAt = null;
        } else {
            this.billingIssuesDetectedAt = date5;
        }
        if ((i6 & 128) == 0) {
            this.gracePeriodExpiresDate = null;
        } else {
            this.gracePeriodExpiresDate = date6;
        }
        if ((i6 & 256) == 0) {
            this.ownershipType = OwnershipType.UNKNOWN;
        } else {
            this.ownershipType = ownershipType;
        }
        this.periodType = periodType;
        if ((i6 & 1024) == 0) {
            this.refundedAt = null;
        } else {
            this.refundedAt = date7;
        }
        if ((i6 & 2048) == 0) {
            this.storeTransactionId = null;
        } else {
            this.storeTransactionId = str;
        }
        if ((i6 & 4096) == 0) {
            this.autoResumeDate = null;
        } else {
            this.autoResumeDate = date8;
        }
        if ((i6 & 8192) == 0) {
            this.displayName = null;
        } else {
            this.displayName = str2;
        }
        if ((i6 & 16384) == 0) {
            this.price = null;
        } else {
            this.price = priceResponse;
        }
        if ((32768 & i6) == 0) {
            this.productPlanIdentifier = null;
        } else {
            this.productPlanIdentifier = str3;
        }
        if ((i6 & C.DEFAULT_BUFFER_SEGMENT_SIZE) == 0) {
            this.managementURL = null;
        } else {
            this.managementURL = str4;
        }
    }

    public static /* synthetic */ SubscriptionInfoResponse copy$default(SubscriptionInfoResponse subscriptionInfoResponse, Date date, Date date2, Date date3, Store store, boolean z6, Date date4, Date date5, Date date6, OwnershipType ownershipType, PeriodType periodType, Date date7, String str, Date date8, String str2, PriceResponse priceResponse, String str3, String str4, int i6, Object obj) {
        String str5;
        String str6;
        Date date9;
        SubscriptionInfoResponse subscriptionInfoResponse2;
        PriceResponse priceResponse2;
        Date date10;
        Date date11;
        Store store2;
        boolean z7;
        Date date12;
        Date date13;
        Date date14;
        OwnershipType ownershipType2;
        PeriodType periodType2;
        Date date15;
        String str7;
        Date date16;
        String str8;
        Date date17 = (i6 & 1) != 0 ? subscriptionInfoResponse.purchaseDate : date;
        Date date18 = (i6 & 2) != 0 ? subscriptionInfoResponse.originalPurchaseDate : date2;
        Date date19 = (i6 & 4) != 0 ? subscriptionInfoResponse.expiresDate : date3;
        Store store3 = (i6 & 8) != 0 ? subscriptionInfoResponse.store : store;
        boolean z8 = (i6 & 16) != 0 ? subscriptionInfoResponse.isSandbox : z6;
        Date date20 = (i6 & 32) != 0 ? subscriptionInfoResponse.unsubscribeDetectedAt : date4;
        Date date21 = (i6 & 64) != 0 ? subscriptionInfoResponse.billingIssuesDetectedAt : date5;
        Date date22 = (i6 & 128) != 0 ? subscriptionInfoResponse.gracePeriodExpiresDate : date6;
        OwnershipType ownershipType3 = (i6 & 256) != 0 ? subscriptionInfoResponse.ownershipType : ownershipType;
        PeriodType periodType3 = (i6 & 512) != 0 ? subscriptionInfoResponse.periodType : periodType;
        Date date23 = (i6 & 1024) != 0 ? subscriptionInfoResponse.refundedAt : date7;
        String str9 = (i6 & 2048) != 0 ? subscriptionInfoResponse.storeTransactionId : str;
        Date date24 = (i6 & 4096) != 0 ? subscriptionInfoResponse.autoResumeDate : date8;
        String str10 = (i6 & 8192) != 0 ? subscriptionInfoResponse.displayName : str2;
        Date date25 = date17;
        PriceResponse priceResponse3 = (i6 & 16384) != 0 ? subscriptionInfoResponse.price : priceResponse;
        String str11 = (i6 & DecoderReuseEvaluation.DISCARD_REASON_AUDIO_BYPASS_POSSIBLE) != 0 ? subscriptionInfoResponse.productPlanIdentifier : str3;
        if ((i6 & C.DEFAULT_BUFFER_SEGMENT_SIZE) != 0) {
            str6 = str11;
            str5 = subscriptionInfoResponse.managementURL;
            priceResponse2 = priceResponse3;
            date10 = date18;
            date11 = date19;
            store2 = store3;
            z7 = z8;
            date12 = date20;
            date13 = date21;
            date14 = date22;
            ownershipType2 = ownershipType3;
            periodType2 = periodType3;
            date15 = date23;
            str7 = str9;
            date16 = date24;
            str8 = str10;
            date9 = date25;
            subscriptionInfoResponse2 = subscriptionInfoResponse;
        } else {
            str5 = str4;
            str6 = str11;
            date9 = date25;
            subscriptionInfoResponse2 = subscriptionInfoResponse;
            priceResponse2 = priceResponse3;
            date10 = date18;
            date11 = date19;
            store2 = store3;
            z7 = z8;
            date12 = date20;
            date13 = date21;
            date14 = date22;
            ownershipType2 = ownershipType3;
            periodType2 = periodType3;
            date15 = date23;
            str7 = str9;
            date16 = date24;
            str8 = str10;
        }
        return subscriptionInfoResponse2.copy(date9, date10, date11, store2, z7, date12, date13, date14, ownershipType2, periodType2, date15, str7, date16, str8, priceResponse2, str6, str5);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    public static final /* synthetic */ void write$Self$purchases_defaultsBc8Release(SubscriptionInfoResponse subscriptionInfoResponse, b bVar, g gVar) {
        a[] aVarArr = $childSerializers;
        ISO8601DateSerializer iSO8601DateSerializer = ISO8601DateSerializer.INSTANCE;
        bVar.z(gVar, 0, iSO8601DateSerializer, subscriptionInfoResponse.purchaseDate);
        if (bVar.g(gVar) || subscriptionInfoResponse.originalPurchaseDate != null) {
            bVar.E(gVar, 1, iSO8601DateSerializer, subscriptionInfoResponse.originalPurchaseDate);
        }
        if (bVar.g(gVar) || subscriptionInfoResponse.expiresDate != null) {
            bVar.E(gVar, 2, iSO8601DateSerializer, subscriptionInfoResponse.expiresDate);
        }
        bVar.z(gVar, 3, StoreSerializer.INSTANCE, subscriptionInfoResponse.store);
        bVar.v(gVar, 4, subscriptionInfoResponse.isSandbox);
        if (bVar.g(gVar) || subscriptionInfoResponse.unsubscribeDetectedAt != null) {
            bVar.E(gVar, 5, iSO8601DateSerializer, subscriptionInfoResponse.unsubscribeDetectedAt);
        }
        if (bVar.g(gVar) || subscriptionInfoResponse.billingIssuesDetectedAt != null) {
            bVar.E(gVar, 6, iSO8601DateSerializer, subscriptionInfoResponse.billingIssuesDetectedAt);
        }
        if (bVar.g(gVar) || subscriptionInfoResponse.gracePeriodExpiresDate != null) {
            bVar.E(gVar, 7, iSO8601DateSerializer, subscriptionInfoResponse.gracePeriodExpiresDate);
        }
        if (bVar.g(gVar) || subscriptionInfoResponse.ownershipType != OwnershipType.UNKNOWN) {
            bVar.z(gVar, 8, aVarArr[8], subscriptionInfoResponse.ownershipType);
        }
        bVar.z(gVar, 9, aVarArr[9], subscriptionInfoResponse.periodType);
        if (bVar.g(gVar) || subscriptionInfoResponse.refundedAt != null) {
            bVar.E(gVar, 10, iSO8601DateSerializer, subscriptionInfoResponse.refundedAt);
        }
        if (bVar.g(gVar) || subscriptionInfoResponse.storeTransactionId != null) {
            bVar.E(gVar, 11, e0.f20048a, subscriptionInfoResponse.storeTransactionId);
        }
        if (bVar.g(gVar) || subscriptionInfoResponse.autoResumeDate != null) {
            bVar.E(gVar, 12, iSO8601DateSerializer, subscriptionInfoResponse.autoResumeDate);
        }
        if (bVar.g(gVar) || subscriptionInfoResponse.displayName != null) {
            bVar.E(gVar, 13, e0.f20048a, subscriptionInfoResponse.displayName);
        }
        if (bVar.g(gVar) || subscriptionInfoResponse.price != null) {
            bVar.E(gVar, 14, SubscriptionInfoResponse$PriceResponse$$serializer.INSTANCE, subscriptionInfoResponse.price);
        }
        if (bVar.g(gVar) || subscriptionInfoResponse.productPlanIdentifier != null) {
            bVar.E(gVar, 15, e0.f20048a, subscriptionInfoResponse.productPlanIdentifier);
        }
        if (!bVar.g(gVar) && subscriptionInfoResponse.managementURL == null) {
            return;
        }
        bVar.E(gVar, 16, e0.f20048a, subscriptionInfoResponse.managementURL);
    }

    public final Date component1() {
        return this.purchaseDate;
    }

    public final PeriodType component10() {
        return this.periodType;
    }

    public final Date component11() {
        return this.refundedAt;
    }

    public final String component12() {
        return this.storeTransactionId;
    }

    public final Date component13() {
        return this.autoResumeDate;
    }

    public final String component14() {
        return this.displayName;
    }

    public final PriceResponse component15() {
        return this.price;
    }

    public final String component16() {
        return this.productPlanIdentifier;
    }

    public final String component17() {
        return this.managementURL;
    }

    public final Date component2() {
        return this.originalPurchaseDate;
    }

    public final Date component3() {
        return this.expiresDate;
    }

    public final Store component4() {
        return this.store;
    }

    public final boolean component5() {
        return this.isSandbox;
    }

    public final Date component6() {
        return this.unsubscribeDetectedAt;
    }

    public final Date component7() {
        return this.billingIssuesDetectedAt;
    }

    public final Date component8() {
        return this.gracePeriodExpiresDate;
    }

    public final OwnershipType component9() {
        return this.ownershipType;
    }

    public final SubscriptionInfoResponse copy(Date purchaseDate, Date date, Date date2, Store store, boolean z6, Date date3, Date date4, Date date5, OwnershipType ownershipType, PeriodType periodType, Date date6, String str, Date date7, String str2, PriceResponse priceResponse, String str3, String str4) {
        o.h(purchaseDate, "purchaseDate");
        o.h(store, "store");
        o.h(ownershipType, "ownershipType");
        o.h(periodType, "periodType");
        return new SubscriptionInfoResponse(purchaseDate, date, date2, store, z6, date3, date4, date5, ownershipType, periodType, date6, str, date7, str2, priceResponse, str3, str4);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof SubscriptionInfoResponse)) {
            return false;
        }
        SubscriptionInfoResponse subscriptionInfoResponse = (SubscriptionInfoResponse) obj;
        return o.c(this.purchaseDate, subscriptionInfoResponse.purchaseDate) && o.c(this.originalPurchaseDate, subscriptionInfoResponse.originalPurchaseDate) && o.c(this.expiresDate, subscriptionInfoResponse.expiresDate) && this.store == subscriptionInfoResponse.store && this.isSandbox == subscriptionInfoResponse.isSandbox && o.c(this.unsubscribeDetectedAt, subscriptionInfoResponse.unsubscribeDetectedAt) && o.c(this.billingIssuesDetectedAt, subscriptionInfoResponse.billingIssuesDetectedAt) && o.c(this.gracePeriodExpiresDate, subscriptionInfoResponse.gracePeriodExpiresDate) && this.ownershipType == subscriptionInfoResponse.ownershipType && this.periodType == subscriptionInfoResponse.periodType && o.c(this.refundedAt, subscriptionInfoResponse.refundedAt) && o.c(this.storeTransactionId, subscriptionInfoResponse.storeTransactionId) && o.c(this.autoResumeDate, subscriptionInfoResponse.autoResumeDate) && o.c(this.displayName, subscriptionInfoResponse.displayName) && o.c(this.price, subscriptionInfoResponse.price) && o.c(this.productPlanIdentifier, subscriptionInfoResponse.productPlanIdentifier) && o.c(this.managementURL, subscriptionInfoResponse.managementURL);
    }

    public final Date getAutoResumeDate() {
        return this.autoResumeDate;
    }

    public final Date getBillingIssuesDetectedAt() {
        return this.billingIssuesDetectedAt;
    }

    public final String getDisplayName() {
        return this.displayName;
    }

    public final Date getExpiresDate() {
        return this.expiresDate;
    }

    public final Date getGracePeriodExpiresDate() {
        return this.gracePeriodExpiresDate;
    }

    public final String getManagementURL() {
        return this.managementURL;
    }

    public final Date getOriginalPurchaseDate() {
        return this.originalPurchaseDate;
    }

    public final OwnershipType getOwnershipType() {
        return this.ownershipType;
    }

    public final PeriodType getPeriodType() {
        return this.periodType;
    }

    public final PriceResponse getPrice() {
        return this.price;
    }

    public final String getProductPlanIdentifier() {
        return this.productPlanIdentifier;
    }

    public final Date getPurchaseDate() {
        return this.purchaseDate;
    }

    public final Date getRefundedAt() {
        return this.refundedAt;
    }

    public final Store getStore() {
        return this.store;
    }

    public final String getStoreTransactionId() {
        return this.storeTransactionId;
    }

    public final Date getUnsubscribeDetectedAt() {
        return this.unsubscribeDetectedAt;
    }

    public int hashCode() {
        int iHashCode = this.purchaseDate.hashCode() * 31;
        Date date = this.originalPurchaseDate;
        int iHashCode2 = (iHashCode + (date == null ? 0 : date.hashCode())) * 31;
        Date date2 = this.expiresDate;
        int iF = com.google.android.recaptcha.internal.a.f((this.store.hashCode() + ((iHashCode2 + (date2 == null ? 0 : date2.hashCode())) * 31)) * 31, 31, this.isSandbox);
        Date date3 = this.unsubscribeDetectedAt;
        int iHashCode3 = (iF + (date3 == null ? 0 : date3.hashCode())) * 31;
        Date date4 = this.billingIssuesDetectedAt;
        int iHashCode4 = (iHashCode3 + (date4 == null ? 0 : date4.hashCode())) * 31;
        Date date5 = this.gracePeriodExpiresDate;
        int iHashCode5 = (this.periodType.hashCode() + ((this.ownershipType.hashCode() + ((iHashCode4 + (date5 == null ? 0 : date5.hashCode())) * 31)) * 31)) * 31;
        Date date6 = this.refundedAt;
        int iHashCode6 = (iHashCode5 + (date6 == null ? 0 : date6.hashCode())) * 31;
        String str = this.storeTransactionId;
        int iHashCode7 = (iHashCode6 + (str == null ? 0 : str.hashCode())) * 31;
        Date date7 = this.autoResumeDate;
        int iHashCode8 = (iHashCode7 + (date7 == null ? 0 : date7.hashCode())) * 31;
        String str2 = this.displayName;
        int iHashCode9 = (iHashCode8 + (str2 == null ? 0 : str2.hashCode())) * 31;
        PriceResponse priceResponse = this.price;
        int iHashCode10 = (iHashCode9 + (priceResponse == null ? 0 : priceResponse.hashCode())) * 31;
        String str3 = this.productPlanIdentifier;
        int iHashCode11 = (iHashCode10 + (str3 == null ? 0 : str3.hashCode())) * 31;
        String str4 = this.managementURL;
        return iHashCode11 + (str4 != null ? str4.hashCode() : 0);
    }

    public final boolean isSandbox() {
        return this.isSandbox;
    }

    public String toString() {
        StringBuilder sb = new StringBuilder("SubscriptionInfoResponse(purchaseDate=");
        sb.append(this.purchaseDate);
        sb.append(", originalPurchaseDate=");
        sb.append(this.originalPurchaseDate);
        sb.append(", expiresDate=");
        sb.append(this.expiresDate);
        sb.append(", store=");
        sb.append(this.store);
        sb.append(", isSandbox=");
        sb.append(this.isSandbox);
        sb.append(", unsubscribeDetectedAt=");
        sb.append(this.unsubscribeDetectedAt);
        sb.append(", billingIssuesDetectedAt=");
        sb.append(this.billingIssuesDetectedAt);
        sb.append(", gracePeriodExpiresDate=");
        sb.append(this.gracePeriodExpiresDate);
        sb.append(", ownershipType=");
        sb.append(this.ownershipType);
        sb.append(", periodType=");
        sb.append(this.periodType);
        sb.append(", refundedAt=");
        sb.append(this.refundedAt);
        sb.append(", storeTransactionId=");
        sb.append(this.storeTransactionId);
        sb.append(", autoResumeDate=");
        sb.append(this.autoResumeDate);
        sb.append(", displayName=");
        sb.append(this.displayName);
        sb.append(", price=");
        sb.append(this.price);
        sb.append(", productPlanIdentifier=");
        sb.append(this.productPlanIdentifier);
        sb.append(", managementURL=");
        return Z0.o.r(sb, this.managementURL, ')');
    }

    public static final class PriceResponse {
        public static final Companion Companion = new Companion(null);
        private final double amount;
        private final String currencyCode;

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

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

            private Companion() {
            }
        }

        public PriceResponse(double d6, String currencyCode) {
            o.h(currencyCode, "currencyCode");
            this.amount = d6;
            this.currencyCode = currencyCode;
        }

        public static /* synthetic */ PriceResponse copy$default(PriceResponse priceResponse, double d6, String str, int i6, Object obj) {
            if ((i6 & 1) != 0) {
                d6 = priceResponse.amount;
            }
            if ((i6 & 2) != 0) {
                str = priceResponse.currencyCode;
            }
            return priceResponse.copy(d6, str);
        }

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

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

        public static final /* synthetic */ void write$Self$purchases_defaultsBc8Release(PriceResponse priceResponse, b bVar, g gVar) {
            bVar.r(gVar, 0, priceResponse.amount);
            bVar.A(gVar, 1, priceResponse.currencyCode);
        }

        public final double component1() {
            return this.amount;
        }

        public final String component2() {
            return this.currencyCode;
        }

        public final PriceResponse copy(double d6, String currencyCode) {
            o.h(currencyCode, "currencyCode");
            return new PriceResponse(d6, currencyCode);
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof PriceResponse)) {
                return false;
            }
            PriceResponse priceResponse = (PriceResponse) obj;
            return Double.compare(this.amount, priceResponse.amount) == 0 && o.c(this.currencyCode, priceResponse.currencyCode);
        }

        public final double getAmount() {
            return this.amount;
        }

        public final String getCurrencyCode() {
            return this.currencyCode;
        }

        public int hashCode() {
            return this.currencyCode.hashCode() + (Double.hashCode(this.amount) * 31);
        }

        public final /* synthetic */ Price toPrice(Locale locale) {
            o.h(locale, "locale");
            NumberFormat currencyInstance = NumberFormat.getCurrencyInstance(locale);
            currencyInstance.setCurrency(Currency.getInstance(this.currencyCode));
            String formatted = currencyInstance.format(this.amount);
            o.g(formatted, "formatted");
            return new Price(formatted, (long) (this.amount * 1000000.0d), this.currencyCode);
        }

        public String toString() {
            StringBuilder sb = new StringBuilder("PriceResponse(amount=");
            sb.append(this.amount);
            sb.append(", currencyCode=");
            return Z0.o.r(sb, this.currencyCode, ')');
        }

        @InterfaceC3141c
        public /* synthetic */ PriceResponse(int i6, double d6, String str, a0 a0Var) {
            if (3 != (i6 & 3)) {
                P.h(i6, 3, SubscriptionInfoResponse$PriceResponse$$serializer.INSTANCE.getDescriptor());
                throw null;
            }
            this.amount = d6;
            this.currencyCode = str;
        }
    }

    public SubscriptionInfoResponse(Date purchaseDate, Date date, Date date2, Store store, boolean z6, Date date3, Date date4, Date date5, OwnershipType ownershipType, PeriodType periodType, Date date6, String str, Date date7, String str2, PriceResponse priceResponse, String str3, String str4) {
        o.h(purchaseDate, "purchaseDate");
        o.h(store, "store");
        o.h(ownershipType, "ownershipType");
        o.h(periodType, "periodType");
        this.purchaseDate = purchaseDate;
        this.originalPurchaseDate = date;
        this.expiresDate = date2;
        this.store = store;
        this.isSandbox = z6;
        this.unsubscribeDetectedAt = date3;
        this.billingIssuesDetectedAt = date4;
        this.gracePeriodExpiresDate = date5;
        this.ownershipType = ownershipType;
        this.periodType = periodType;
        this.refundedAt = date6;
        this.storeTransactionId = str;
        this.autoResumeDate = date7;
        this.displayName = str2;
        this.price = priceResponse;
        this.productPlanIdentifier = str3;
        this.managementURL = str4;
    }

    public /* synthetic */ SubscriptionInfoResponse(Date date, Date date2, Date date3, Store store, boolean z6, Date date4, Date date5, Date date6, OwnershipType ownershipType, PeriodType periodType, Date date7, String str, Date date8, String str2, PriceResponse priceResponse, String str3, String str4, int i6, h hVar) {
        this(date, (i6 & 2) != 0 ? null : date2, (i6 & 4) != 0 ? null : date3, store, z6, (i6 & 32) != 0 ? null : date4, (i6 & 64) != 0 ? null : date5, (i6 & 128) != 0 ? null : date6, (i6 & 256) != 0 ? OwnershipType.UNKNOWN : ownershipType, periodType, (i6 & 1024) != 0 ? null : date7, (i6 & 2048) != 0 ? null : str, (i6 & 4096) != 0 ? null : date8, (i6 & 8192) != 0 ? null : str2, (i6 & 16384) != 0 ? null : priceResponse, (32768 & i6) != 0 ? null : str3, (i6 & C.DEFAULT_BUFFER_SEGMENT_SIZE) != 0 ? null : str4);
    }
}
