package com.vinfast.companion.main.ui.rsa.global.selectservicelocation;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes3.dex */
@kotlinx.parcelize.Parcelize
@kotlin.Metadata(d1 = {"\u0000H\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0006\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0012\b\u0087\b\u0018\u00002\u00020\u0001B;\u0012\n\b\u0002\u0010\u0003\u001a\u0004\u0018\u00010\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0004\u0012\u0006\u0010\u0007\u001a\u00020\u0006\u0012\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\b\u0012\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u0004¢\u0006\u0004\b\u000b\u0010\fJ\r\u0010\r\u001a\u00020\u0002¢\u0006\u0004\b\r\u0010\u000eJ\u001d\u0010\u0013\u001a\u00020\u00122\u0006\u0010\u0010\u001a\u00020\u000f2\u0006\u0010\u0011\u001a\u00020\u0002¢\u0006\u0004\b\u0013\u0010\u0014J\u0010\u0010\u0016\u001a\u00020\u0015HÖ\u0001¢\u0006\u0004\b\u0016\u0010\u0017J\u0010\u0010\u0018\u001a\u00020\u0002HÖ\u0001¢\u0006\u0004\b\u0018\u0010\u000eJ\u001a\u0010\u001c\u001a\u00020\u001b2\b\u0010\u001a\u001a\u0004\u0018\u00010\u0019HÖ\u0003¢\u0006\u0004\b\u001c\u0010\u001dR\u0019\u0010\u0003\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b\u001e\u0010\u001f\u001a\u0004\b \u0010!R\u0017\u0010\u0005\u001a\u00020\u00048\u0006¢\u0006\f\n\u0004\b\"\u0010#\u001a\u0004\b$\u0010%R\u0017\u0010\u0007\u001a\u00020\u00068\u0006¢\u0006\f\n\u0004\b$\u0010&\u001a\u0004\b\"\u0010'R\u0019\u0010\t\u001a\u0004\u0018\u00010\b8\u0006¢\u0006\f\n\u0004\b(\u0010)\u001a\u0004\b*\u0010+R\u0019\u0010\n\u001a\u0004\u0018\u00010\u00048\u0006¢\u0006\f\n\u0004\b,\u0010#\u001a\u0004\b(\u0010%¨\u0006-"}, d2 = {"Lcom/vinfast/companion/main/ui/rsa/global/selectservicelocation/SelectServiceLocationPayload;", "Landroid/os/Parcelable;", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "title", "Lcom/vinfast/companion/map/model/MapLocation;", "center", "Lcom/vinfast/companion/map/model/MapLocationCategory;", "category", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "metersRadius", "currentServiceSelected", "<init>", "(Ljava/lang/Integer;Lcom/vinfast/companion/map/model/MapLocation;Lcom/vinfast/companion/map/model/MapLocationCategory;Ljava/lang/Double;Lcom/vinfast/companion/map/model/MapLocation;)V", "describeContents", "()I", "Landroid/os/Parcel;", "dest", "flags", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "writeToParcel", "(Landroid/os/Parcel;I)V", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "toString", "()Ljava/lang/String;", "hashCode", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "other", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "equals", "(Ljava/lang/Object;)Z", "a", "Ljava/lang/Integer;", "g", "()Ljava/lang/Integer;", "b", "Lcom/vinfast/companion/map/model/MapLocation;", "c", "()Lcom/vinfast/companion/map/model/MapLocation;", "Lcom/vinfast/companion/map/model/MapLocationCategory;", "()Lcom/vinfast/companion/map/model/MapLocationCategory;", "d", "Ljava/lang/Double;", "f", "()Ljava/lang/Double;", "e", "services_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
public final /* data */ class SelectServiceLocationPayload implements android.os.Parcelable {

    @org.jetbrains.annotations.NotNull
    public static final android.os.Parcelable.Creator<com.vinfast.companion.main.ui.rsa.global.selectservicelocation.SelectServiceLocationPayload> CREATOR = new com.vinfast.companion.main.ui.rsa.global.selectservicelocation.SelectServiceLocationPayload.Creator();

    /* JADX INFO: renamed from: a, reason: from kotlin metadata and from toString */
    private final java.lang.Integer title;

    /* JADX INFO: renamed from: b, reason: from kotlin metadata and from toString */
    private final com.vinfast.companion.map.model.MapLocation center;

    /* JADX INFO: renamed from: c, reason: from kotlin metadata and from toString */
    private final com.vinfast.companion.map.model.MapLocationCategory category;

    /* JADX INFO: renamed from: d, reason: from kotlin metadata and from toString */
    private final java.lang.Double metersRadius;

    /* JADX INFO: renamed from: e, reason: from kotlin metadata and from toString */
    private final com.vinfast.companion.map.model.MapLocation currentServiceSelected;

    /* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
    @kotlin.Metadata(k = 3, mv = {2, 2, 0}, xi = 48)
    public static final class Creator implements android.os.Parcelable.Creator<com.vinfast.companion.main.ui.rsa.global.selectservicelocation.SelectServiceLocationPayload> {
        @Override // android.os.Parcelable.Creator
        /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
        public final com.vinfast.companion.main.ui.rsa.global.selectservicelocation.SelectServiceLocationPayload createFromParcel(android.os.Parcel parcel) {
            kotlin.jvm.internal.Intrinsics.l(parcel, "parcel");
            return new com.vinfast.companion.main.ui.rsa.global.selectservicelocation.SelectServiceLocationPayload(parcel.readInt() == 0 ? null : java.lang.Integer.valueOf(parcel.readInt()), parcel.readParcelable(com.vinfast.companion.main.ui.rsa.global.selectservicelocation.SelectServiceLocationPayload.class.getClassLoader()), com.vinfast.companion.map.model.MapLocationCategory.valueOf(parcel.readString()), parcel.readInt() != 0 ? java.lang.Double.valueOf(parcel.readDouble()) : null, parcel.readParcelable(com.vinfast.companion.main.ui.rsa.global.selectservicelocation.SelectServiceLocationPayload.class.getClassLoader()));
        }

        @Override // android.os.Parcelable.Creator
        /* JADX INFO: renamed from: b, reason: merged with bridge method [inline-methods] */
        public final com.vinfast.companion.main.ui.rsa.global.selectservicelocation.SelectServiceLocationPayload[] newArray(int i) {
            return new com.vinfast.companion.main.ui.rsa.global.selectservicelocation.SelectServiceLocationPayload[i];
        }
    }

    public SelectServiceLocationPayload(java.lang.Integer num, com.vinfast.companion.map.model.MapLocation mapLocation, com.vinfast.companion.map.model.MapLocationCategory mapLocationCategory, java.lang.Double d, com.vinfast.companion.map.model.MapLocation mapLocation2) {
        kotlin.jvm.internal.Intrinsics.l(mapLocation, "center");
        kotlin.jvm.internal.Intrinsics.l(mapLocationCategory, "category");
        this.title = num;
        this.center = mapLocation;
        this.category = mapLocationCategory;
        this.metersRadius = d;
        this.currentServiceSelected = mapLocation2;
    }

    /* JADX INFO: renamed from: b, reason: from getter */
    public final com.vinfast.companion.map.model.MapLocationCategory getCategory() {
        return this.category;
    }

    /* JADX INFO: renamed from: c, reason: from getter */
    public final com.vinfast.companion.map.model.MapLocation getCenter() {
        return this.center;
    }

    /* JADX INFO: renamed from: d, reason: from getter */
    public final com.vinfast.companion.map.model.MapLocation getCurrentServiceSelected() {
        return this.currentServiceSelected;
    }

    @Override // android.os.Parcelable
    public final int describeContents() {
        return 0;
    }

    public boolean equals(java.lang.Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof com.vinfast.companion.main.ui.rsa.global.selectservicelocation.SelectServiceLocationPayload)) {
            return false;
        }
        com.vinfast.companion.main.ui.rsa.global.selectservicelocation.SelectServiceLocationPayload selectServiceLocationPayload = (com.vinfast.companion.main.ui.rsa.global.selectservicelocation.SelectServiceLocationPayload) other;
        return kotlin.jvm.internal.Intrinsics.g(this.title, selectServiceLocationPayload.title) && kotlin.jvm.internal.Intrinsics.g(this.center, selectServiceLocationPayload.center) && this.category == selectServiceLocationPayload.category && kotlin.jvm.internal.Intrinsics.g(this.metersRadius, selectServiceLocationPayload.metersRadius) && kotlin.jvm.internal.Intrinsics.g(this.currentServiceSelected, selectServiceLocationPayload.currentServiceSelected);
    }

    /* JADX INFO: renamed from: f, reason: from getter */
    public final java.lang.Double getMetersRadius() {
        return this.metersRadius;
    }

    /* JADX INFO: renamed from: g, reason: from getter */
    public final java.lang.Integer getTitle() {
        return this.title;
    }

    public int hashCode() {
        java.lang.Integer num = this.title;
        int iHashCode = (((((num == null ? 0 : num.hashCode()) * 31) + this.center.hashCode()) * 31) + this.category.hashCode()) * 31;
        java.lang.Double d = this.metersRadius;
        int iHashCode2 = (iHashCode + (d == null ? 0 : d.hashCode())) * 31;
        com.vinfast.companion.map.model.MapLocation mapLocation = this.currentServiceSelected;
        return iHashCode2 + (mapLocation != null ? mapLocation.hashCode() : 0);
    }

    public java.lang.String toString() {
        return "SelectServiceLocationPayload(title=" + this.title + ", center=" + this.center + ", category=" + this.category + ", metersRadius=" + this.metersRadius + ", currentServiceSelected=" + this.currentServiceSelected + ")";
    }

    @Override // android.os.Parcelable
    public final void writeToParcel(android.os.Parcel dest, int flags) {
        kotlin.jvm.internal.Intrinsics.l(dest, "dest");
        java.lang.Integer num = this.title;
        if (num == null) {
            dest.writeInt(0);
        } else {
            dest.writeInt(1);
            dest.writeInt(num.intValue());
        }
        dest.writeParcelable(this.center, flags);
        dest.writeString(this.category.name());
        java.lang.Double d = this.metersRadius;
        if (d == null) {
            dest.writeInt(0);
        } else {
            dest.writeInt(1);
            dest.writeDouble(d.doubleValue());
        }
        dest.writeParcelable(this.currentServiceSelected, flags);
    }
}
