package ca.canadapost.core.data.findrate.model;

import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.firebase.analytics.FirebaseAnalytics;
import kotlin.Metadata;
import kotlin.jvm.internal.k;
import kotlin.jvm.internal.t;

@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0007\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0017\n\u0002\u0010\u000e\n\u0002\b\u0003\b\u0086\b\u0018\u00002\u00020\u0001:\u0002%&BA\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0005\u001a\u00020\u0006\u0012\b\b\u0002\u0010\u0007\u001a\u00020\b\u0012\b\u0010\t\u001a\u0004\u0018\u00010\n\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\f¢\u0006\u0002\u0010\rJ\t\u0010\u0019\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001a\u001a\u00020\u0003HÆ\u0003J\t\u0010\u001b\u001a\u00020\u0006HÆ\u0003J\t\u0010\u001c\u001a\u00020\bHÆ\u0003J\u000b\u0010\u001d\u001a\u0004\u0018\u00010\nHÆ\u0003J\u000b\u0010\u001e\u001a\u0004\u0018\u00010\fHÆ\u0003JI\u0010\u001f\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00062\b\b\u0002\u0010\u0007\u001a\u00020\b2\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\n2\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\fHÆ\u0001J\u0013\u0010 \u001a\u00020\u00032\b\u0010!\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\"\u001a\u00020\u0006HÖ\u0001J\t\u0010#\u001a\u00020$HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u000fR\u0013\u0010\t\u001a\u0004\u0018\u00010\n¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u0011\u0010\u0007\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0016R\u0013\u0010\u000b\u001a\u0004\u0018\u00010\f¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0018¨\u0006'"}, d2 = {"Lca/canadapost/core/data/findrate/model/Coverage;", "", "applicable", "", "included", "chosenValue", "", FirebaseAnalytics.Param.PRICE, "", "includedCoverage", "Lca/canadapost/core/data/findrate/model/Coverage$IncludedCoverage;", "qualifier", "Lca/canadapost/core/data/findrate/model/Coverage$Qualifier;", "(ZZIFLca/canadapost/core/data/findrate/model/Coverage$IncludedCoverage;Lca/canadapost/core/data/findrate/model/Coverage$Qualifier;)V", "getApplicable", "()Z", "getChosenValue", "()I", "getIncluded", "getIncludedCoverage", "()Lca/canadapost/core/data/findrate/model/Coverage$IncludedCoverage;", "getPrice", "()F", "getQualifier", "()Lca/canadapost/core/data/findrate/model/Coverage$Qualifier;", "component1", "component2", "component3", "component4", "component5", "component6", "copy", "equals", "other", "hashCode", "toString", "", "IncludedCoverage", "Qualifier", "core_data_productionRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class Coverage {
    private final boolean applicable;
    private final int chosenValue;
    private final boolean included;
    private final IncludedCoverage includedCoverage;
    private final float price;
    private final Qualifier qualifier;

    @Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0007\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B#\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\t\u0010\r\u001a\u00020\u0003HÆ\u0003J\t\u0010\u000e\u001a\u00020\u0003HÆ\u0003J\t\u0010\u000f\u001a\u00020\u0006HÆ\u0003J'\u0010\u0010\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u0006HÆ\u0001J\u0013\u0010\u0011\u001a\u00020\u00122\b\u0010\u0013\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0014\u001a\u00020\u0003HÖ\u0001J\t\u0010\u0015\u001a\u00020\u0016HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\tR\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\f¨\u0006\u0017"}, d2 = {"Lca/canadapost/core/data/findrate/model/Coverage$Qualifier;", "", "maximumValue", "", "coverageUnit", "pricePerUnit", "", "(IIF)V", "getCoverageUnit", "()I", "getMaximumValue", "getPricePerUnit", "()F", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "toString", "", "core_data_productionRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
    /* loaded from: classes.dex */
    public static final /* data */ class Qualifier {
        private final int coverageUnit;
        private final int maximumValue;
        private final float pricePerUnit;

        public Qualifier() {
            this(0, 0, BitmapDescriptorFactory.HUE_RED, 7, null);
        }

        public static /* synthetic */ Qualifier copy$default(Qualifier qualifier, int i10, int i11, float f10, int i12, Object obj) {
            if ((i12 & 1) != 0) {
                i10 = qualifier.maximumValue;
            }
            if ((i12 & 2) != 0) {
                i11 = qualifier.coverageUnit;
            }
            if ((i12 & 4) != 0) {
                f10 = qualifier.pricePerUnit;
            }
            return qualifier.copy(i10, i11, f10);
        }

        /* renamed from: component1, reason: from getter */
        public final int getMaximumValue() {
            return this.maximumValue;
        }

        /* renamed from: component2, reason: from getter */
        public final int getCoverageUnit() {
            return this.coverageUnit;
        }

        /* renamed from: component3, reason: from getter */
        public final float getPricePerUnit() {
            return this.pricePerUnit;
        }

        public final Qualifier copy(int maximumValue, int coverageUnit, float pricePerUnit) {
            return new Qualifier(maximumValue, coverageUnit, pricePerUnit);
        }

        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof Qualifier)) {
                return false;
            }
            Qualifier qualifier = (Qualifier) other;
            return this.maximumValue == qualifier.maximumValue && this.coverageUnit == qualifier.coverageUnit && Float.compare(this.pricePerUnit, qualifier.pricePerUnit) == 0;
        }

        public final int getCoverageUnit() {
            return this.coverageUnit;
        }

        public final int getMaximumValue() {
            return this.maximumValue;
        }

        public final float getPricePerUnit() {
            return this.pricePerUnit;
        }

        public int hashCode() {
            return (((Integer.hashCode(this.maximumValue) * 31) + Integer.hashCode(this.coverageUnit)) * 31) + Float.hashCode(this.pricePerUnit);
        }

        public String toString() {
            return "Qualifier(maximumValue=" + this.maximumValue + ", coverageUnit=" + this.coverageUnit + ", pricePerUnit=" + this.pricePerUnit + ")";
        }

        public Qualifier(int i10, int i11, float f10) {
            this.maximumValue = i10;
            this.coverageUnit = i11;
            this.pricePerUnit = f10;
        }

        public /* synthetic */ Qualifier(int i10, int i11, float f10, int i12, k kVar) {
            this((i12 & 1) != 0 ? 0 : i10, (i12 & 2) != 0 ? 0 : i11, (i12 & 4) != 0 ? BitmapDescriptorFactory.HUE_RED : f10);
        }
    }

    public Coverage(boolean z10, boolean z11, int i10, float f10, IncludedCoverage includedCoverage, Qualifier qualifier) {
        this.applicable = z10;
        this.included = z11;
        this.chosenValue = i10;
        this.price = f10;
        this.includedCoverage = includedCoverage;
        this.qualifier = qualifier;
    }

    public static /* synthetic */ Coverage copy$default(Coverage coverage, boolean z10, boolean z11, int i10, float f10, IncludedCoverage includedCoverage, Qualifier qualifier, int i11, Object obj) {
        if ((i11 & 1) != 0) {
            z10 = coverage.applicable;
        }
        if ((i11 & 2) != 0) {
            z11 = coverage.included;
        }
        boolean z12 = z11;
        if ((i11 & 4) != 0) {
            i10 = coverage.chosenValue;
        }
        int i12 = i10;
        if ((i11 & 8) != 0) {
            f10 = coverage.price;
        }
        float f11 = f10;
        if ((i11 & 16) != 0) {
            includedCoverage = coverage.includedCoverage;
        }
        IncludedCoverage includedCoverage2 = includedCoverage;
        if ((i11 & 32) != 0) {
            qualifier = coverage.qualifier;
        }
        return coverage.copy(z10, z12, i12, f11, includedCoverage2, qualifier);
    }

    /* renamed from: component1, reason: from getter */
    public final boolean getApplicable() {
        return this.applicable;
    }

    /* renamed from: component2, reason: from getter */
    public final boolean getIncluded() {
        return this.included;
    }

    /* renamed from: component3, reason: from getter */
    public final int getChosenValue() {
        return this.chosenValue;
    }

    /* renamed from: component4, reason: from getter */
    public final float getPrice() {
        return this.price;
    }

    /* renamed from: component5, reason: from getter */
    public final IncludedCoverage getIncludedCoverage() {
        return this.includedCoverage;
    }

    /* renamed from: component6, reason: from getter */
    public final Qualifier getQualifier() {
        return this.qualifier;
    }

    public final Coverage copy(boolean applicable, boolean included, int chosenValue, float price, IncludedCoverage includedCoverage, Qualifier qualifier) {
        return new Coverage(applicable, included, chosenValue, price, includedCoverage, qualifier);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof Coverage)) {
            return false;
        }
        Coverage coverage = (Coverage) other;
        return this.applicable == coverage.applicable && this.included == coverage.included && this.chosenValue == coverage.chosenValue && Float.compare(this.price, coverage.price) == 0 && t.b(this.includedCoverage, coverage.includedCoverage) && t.b(this.qualifier, coverage.qualifier);
    }

    public final boolean getApplicable() {
        return this.applicable;
    }

    public final int getChosenValue() {
        return this.chosenValue;
    }

    public final boolean getIncluded() {
        return this.included;
    }

    public final IncludedCoverage getIncludedCoverage() {
        return this.includedCoverage;
    }

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

    public final Qualifier getQualifier() {
        return this.qualifier;
    }

    public int hashCode() {
        int hashCode = ((((((Boolean.hashCode(this.applicable) * 31) + Boolean.hashCode(this.included)) * 31) + Integer.hashCode(this.chosenValue)) * 31) + Float.hashCode(this.price)) * 31;
        IncludedCoverage includedCoverage = this.includedCoverage;
        int hashCode2 = (hashCode + (includedCoverage == null ? 0 : includedCoverage.hashCode())) * 31;
        Qualifier qualifier = this.qualifier;
        return hashCode2 + (qualifier != null ? qualifier.hashCode() : 0);
    }

    public String toString() {
        return "Coverage(applicable=" + this.applicable + ", included=" + this.included + ", chosenValue=" + this.chosenValue + ", price=" + this.price + ", includedCoverage=" + this.includedCoverage + ", qualifier=" + this.qualifier + ")";
    }

    @Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0007\n\u0000\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0019\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\u000b\u001a\u00020\u0003HÆ\u0003J\u000b\u0010\f\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u001f\u0010\r\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0005HÆ\u0001J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001J\t\u0010\u0013\u001a\u00020\u0005HÖ\u0001R\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n¨\u0006\u0014"}, d2 = {"Lca/canadapost/core/data/findrate/model/Coverage$IncludedCoverage;", "", "value", "", "conditions", "", "(FLjava/lang/String;)V", "getConditions", "()Ljava/lang/String;", "getValue", "()F", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "core_data_productionRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
    /* loaded from: classes.dex */
    public static final /* data */ class IncludedCoverage {
        private final String conditions;
        private final float value;

        public IncludedCoverage(float f10, String str) {
            this.value = f10;
            this.conditions = str;
        }

        public static /* synthetic */ IncludedCoverage copy$default(IncludedCoverage includedCoverage, float f10, String str, int i10, Object obj) {
            if ((i10 & 1) != 0) {
                f10 = includedCoverage.value;
            }
            if ((i10 & 2) != 0) {
                str = includedCoverage.conditions;
            }
            return includedCoverage.copy(f10, str);
        }

        /* renamed from: component1, reason: from getter */
        public final float getValue() {
            return this.value;
        }

        /* renamed from: component2, reason: from getter */
        public final String getConditions() {
            return this.conditions;
        }

        public final IncludedCoverage copy(float value, String conditions) {
            return new IncludedCoverage(value, conditions);
        }

        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof IncludedCoverage)) {
                return false;
            }
            IncludedCoverage includedCoverage = (IncludedCoverage) other;
            return Float.compare(this.value, includedCoverage.value) == 0 && t.b(this.conditions, includedCoverage.conditions);
        }

        public final String getConditions() {
            return this.conditions;
        }

        public final float getValue() {
            return this.value;
        }

        public int hashCode() {
            int hashCode = Float.hashCode(this.value) * 31;
            String str = this.conditions;
            return hashCode + (str == null ? 0 : str.hashCode());
        }

        public String toString() {
            return "IncludedCoverage(value=" + this.value + ", conditions=" + this.conditions + ")";
        }

        public /* synthetic */ IncludedCoverage(float f10, String str, int i10, k kVar) {
            this((i10 & 1) != 0 ? BitmapDescriptorFactory.HUE_RED : f10, str);
        }
    }

    public /* synthetic */ Coverage(boolean z10, boolean z11, int i10, float f10, IncludedCoverage includedCoverage, Qualifier qualifier, int i11, k kVar) {
        this((i11 & 1) != 0 ? false : z10, (i11 & 2) != 0 ? false : z11, (i11 & 4) != 0 ? 0 : i10, (i11 & 8) != 0 ? 0.0f : f10, includedCoverage, qualifier);
    }
}
