package com.vinfast.companion.map.model;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
@kotlinx.parcelize.Parcelize
@kotlin.Metadata(d1 = {"\u0000D\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0006\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0005\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0010\b\u0087\b\u0018\u00002\u00020\u0001B?\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0004\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\u0002\u0012\u0006\u0010\t\u001a\u00020\b\u0012\u0006\u0010\n\u001a\u00020\b¢\u0006\u0004\b\u000b\u0010\fJ\r\u0010\u000e\u001a\u00020\r¢\u0006\u0004\b\u000e\u0010\u000fJ\u001d\u0010\u0014\u001a\u00020\u00132\u0006\u0010\u0011\u001a\u00020\u00102\u0006\u0010\u0012\u001a\u00020\r¢\u0006\u0004\b\u0014\u0010\u0015J\u0010\u0010\u0016\u001a\u00020\u0002HÖ\u0001¢\u0006\u0004\b\u0016\u0010\u0017J\u0010\u0010\u0018\u001a\u00020\rHÖ\u0001¢\u0006\u0004\b\u0018\u0010\u000fJ\u001a\u0010\u001c\u001a\u00020\u001b2\b\u0010\u001a\u001a\u0004\u0018\u00010\u0019HÖ\u0003¢\u0006\u0004\b\u001c\u0010\u001dR\u0017\u0010\u0003\u001a\u00020\u00028\u0006¢\u0006\f\n\u0004\b\u001e\u0010\u001f\u001a\u0004\b \u0010\u0017R\u0017\u0010\u0005\u001a\u00020\u00048\u0006¢\u0006\f\n\u0004\b!\u0010\"\u001a\u0004\b#\u0010$R\u0019\u0010\u0006\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b#\u0010\u001f\u001a\u0004\b%\u0010\u0017R\u0019\u0010\u0007\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b&\u0010\u001f\u001a\u0004\b!\u0010\u0017R\u0017\u0010\t\u001a\u00020\b8\u0006¢\u0006\f\n\u0004\b'\u0010(\u001a\u0004\b&\u0010)R\u0017\u0010\n\u001a\u00020\b8\u0006¢\u0006\f\n\u0004\b*\u0010(\u001a\u0004\b*\u0010)¨\u0006+"}, d2 = {"Lcom/vinfast/companion/map/model/VinFastServicePlace;", "Landroid/os/Parcelable;", "", "vinFastId", "Lcom/vinfast/companion/map/model/MapLocationCategory;", "category", "title", "address", "", "latitude", "longitude", "<init>", "(Ljava/lang/String;Lcom/vinfast/companion/map/model/MapLocationCategory;Ljava/lang/String;Ljava/lang/String;DD)V", "", "describeContents", "()I", "Landroid/os/Parcel;", "dest", "flags", "", "writeToParcel", "(Landroid/os/Parcel;I)V", "toString", "()Ljava/lang/String;", "hashCode", "", "other", "", "equals", "(Ljava/lang/Object;)Z", "a", "Ljava/lang/String;", "h", "b", "Lcom/vinfast/companion/map/model/MapLocationCategory;", "c", "()Lcom/vinfast/companion/map/model/MapLocationCategory;", "g", "d", "e", "D", "()D", "f", "hereSdk_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
public final /* data */ class VinFastServicePlace implements android.os.Parcelable {

    @org.jetbrains.annotations.NotNull
    public static final android.os.Parcelable.Creator<com.vinfast.companion.map.model.VinFastServicePlace> CREATOR = new com.vinfast.companion.map.model.VinFastServicePlace.Creator();

    /* JADX INFO: renamed from: a, reason: from kotlin metadata and from toString */
    private final java.lang.String vinFastId;

    /* JADX INFO: renamed from: b, reason: from kotlin metadata and from toString */
    private final com.vinfast.companion.map.model.MapLocationCategory category;

    /* JADX INFO: renamed from: c, reason: from kotlin metadata and from toString */
    private final java.lang.String title;

    /* JADX INFO: renamed from: d, reason: from kotlin metadata and from toString */
    private final java.lang.String address;

    /* JADX INFO: renamed from: e, reason: from kotlin metadata and from toString */
    private final double latitude;

    /* JADX INFO: renamed from: f, reason: from kotlin metadata and from toString */
    private final double longitude;

    /* 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.map.model.VinFastServicePlace> {
        @Override // android.os.Parcelable.Creator
        /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
        public final com.vinfast.companion.map.model.VinFastServicePlace createFromParcel(android.os.Parcel parcel) {
            kotlin.jvm.internal.Intrinsics.l(parcel, "parcel");
            return new com.vinfast.companion.map.model.VinFastServicePlace(parcel.readString(), com.vinfast.companion.map.model.MapLocationCategory.valueOf(parcel.readString()), parcel.readString(), parcel.readString(), parcel.readDouble(), parcel.readDouble());
        }

        @Override // android.os.Parcelable.Creator
        /* JADX INFO: renamed from: b, reason: merged with bridge method [inline-methods] */
        public final com.vinfast.companion.map.model.VinFastServicePlace[] newArray(int i) {
            return new com.vinfast.companion.map.model.VinFastServicePlace[i];
        }
    }

    public VinFastServicePlace(java.lang.String str, com.vinfast.companion.map.model.MapLocationCategory mapLocationCategory, java.lang.String str2, java.lang.String str3, double d, double d2) {
        kotlin.jvm.internal.Intrinsics.l(str, "vinFastId");
        kotlin.jvm.internal.Intrinsics.l(mapLocationCategory, "category");
        this.vinFastId = str;
        this.category = mapLocationCategory;
        this.title = str2;
        this.address = str3;
        this.latitude = d;
        this.longitude = d2;
    }

    /* JADX INFO: renamed from: b, reason: from getter */
    public final java.lang.String getAddress() {
        return this.address;
    }

    /* JADX INFO: renamed from: c, reason: from getter */
    public final com.vinfast.companion.map.model.MapLocationCategory getCategory() {
        return this.category;
    }

    /* JADX INFO: renamed from: d, reason: from getter */
    public final double getLatitude() {
        return this.latitude;
    }

    @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.map.model.VinFastServicePlace)) {
            return false;
        }
        com.vinfast.companion.map.model.VinFastServicePlace vinFastServicePlace = (com.vinfast.companion.map.model.VinFastServicePlace) other;
        return kotlin.jvm.internal.Intrinsics.g(this.vinFastId, vinFastServicePlace.vinFastId) && this.category == vinFastServicePlace.category && kotlin.jvm.internal.Intrinsics.g(this.title, vinFastServicePlace.title) && kotlin.jvm.internal.Intrinsics.g(this.address, vinFastServicePlace.address) && java.lang.Double.compare(this.latitude, vinFastServicePlace.latitude) == 0 && java.lang.Double.compare(this.longitude, vinFastServicePlace.longitude) == 0;
    }

    /* JADX INFO: renamed from: f, reason: from getter */
    public final double getLongitude() {
        return this.longitude;
    }

    /* JADX INFO: renamed from: g, reason: from getter */
    public final java.lang.String getTitle() {
        return this.title;
    }

    /* JADX INFO: renamed from: h, reason: from getter */
    public final java.lang.String getVinFastId() {
        return this.vinFastId;
    }

    public int hashCode() {
        int iHashCode = ((this.vinFastId.hashCode() * 31) + this.category.hashCode()) * 31;
        java.lang.String str = this.title;
        int iHashCode2 = (iHashCode + (str == null ? 0 : str.hashCode())) * 31;
        java.lang.String str2 = this.address;
        return ((((iHashCode2 + (str2 != null ? str2.hashCode() : 0)) * 31) + java.lang.Double.hashCode(this.latitude)) * 31) + java.lang.Double.hashCode(this.longitude);
    }

    public java.lang.String toString() {
        return "VinFastServicePlace(vinFastId=" + this.vinFastId + ", category=" + this.category + ", title=" + this.title + ", address=" + this.address + ", latitude=" + this.latitude + ", longitude=" + this.longitude + ")";
    }

    @Override // android.os.Parcelable
    public final void writeToParcel(android.os.Parcel dest, int flags) {
        kotlin.jvm.internal.Intrinsics.l(dest, "dest");
        dest.writeString(this.vinFastId);
        dest.writeString(this.category.name());
        dest.writeString(this.title);
        dest.writeString(this.address);
        dest.writeDouble(this.latitude);
        dest.writeDouble(this.longitude);
    }
}
