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

import android.os.Parcel;
import android.os.Parcelable;
import kotlin.Metadata;
import kotlin.jvm.internal.k;
import kotlin.jvm.internal.t;

@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\b\u000e\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\f\b\u0087\b\u0018\u00002\u00020\u0001BO\u0012\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0002\u0010\u000e\u001a\u0004\u0018\u00010\u0002¢\u0006\u0004\b%\u0010&J\u000b\u0010\u0003\u001a\u0004\u0018\u00010\u0002HÆ\u0003J\u000b\u0010\u0004\u001a\u0004\u0018\u00010\u0002HÆ\u0003J\u000b\u0010\u0005\u001a\u0004\u0018\u00010\u0002HÆ\u0003J\u000b\u0010\u0006\u001a\u0004\u0018\u00010\u0002HÆ\u0003J\u000b\u0010\u0007\u001a\u0004\u0018\u00010\u0002HÆ\u0003J\u000b\u0010\b\u001a\u0004\u0018\u00010\u0002HÆ\u0003JQ\u0010\u000f\u001a\u00020\u00002\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u00022\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u00022\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\u00022\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u00022\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u00022\n\b\u0002\u0010\u000e\u001a\u0004\u0018\u00010\u0002HÆ\u0001J\t\u0010\u0010\u001a\u00020\u0002HÖ\u0001J\t\u0010\u0012\u001a\u00020\u0011HÖ\u0001J\u0013\u0010\u0016\u001a\u00020\u00152\b\u0010\u0014\u001a\u0004\u0018\u00010\u0013HÖ\u0003J\t\u0010\u0017\u001a\u00020\u0011HÖ\u0001J\u0019\u0010\u001c\u001a\u00020\u001b2\u0006\u0010\u0019\u001a\u00020\u00182\u0006\u0010\u001a\u001a\u00020\u0011HÖ\u0001R\u0019\u0010\t\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b\t\u0010\u001d\u001a\u0004\b\u001e\u0010\u001fR\u0019\u0010\n\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b\n\u0010\u001d\u001a\u0004\b \u0010\u001fR\u0019\u0010\u000b\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b\u000b\u0010\u001d\u001a\u0004\b!\u0010\u001fR\u0019\u0010\f\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b\f\u0010\u001d\u001a\u0004\b\"\u0010\u001fR\u0019\u0010\r\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b\r\u0010\u001d\u001a\u0004\b#\u0010\u001fR\u0019\u0010\u000e\u001a\u0004\u0018\u00010\u00028\u0006¢\u0006\f\n\u0004\b\u000e\u0010\u001d\u001a\u0004\b$\u0010\u001f¨\u0006'"}, d2 = {"Lca/canadapost/core/data/consumerhome/model/ShipFromAddress;", "Landroid/os/Parcelable;", "", "component1", "component2", "component3", "component4", "component5", "component6", "addrLn1", "addrLn2", "city", "countryCd", "postCd", "regionCd", "copy", "toString", "", "hashCode", "", "other", "", "equals", "describeContents", "Landroid/os/Parcel;", "parcel", "flags", "Lrm/n0;", "writeToParcel", "Ljava/lang/String;", "getAddrLn1", "()Ljava/lang/String;", "getAddrLn2", "getCity", "getCountryCd", "getPostCd", "getRegionCd", "<init>", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "core_data_productionRelease"}, k = 1, mv = {1, 9, 0})
/* loaded from: classes.dex */
public final /* data */ class ShipFromAddress implements Parcelable {
    public static final Parcelable.Creator<ShipFromAddress> CREATOR = new Creator();
    private final String addrLn1;
    private final String addrLn2;
    private final String city;
    private final String countryCd;
    private final String postCd;
    private final String regionCd;

    @Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
    /* loaded from: classes.dex */
    public static final class Creator implements Parcelable.Creator<ShipFromAddress> {
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final ShipFromAddress createFromParcel(Parcel parcel) {
            t.g(parcel, "parcel");
            return new ShipFromAddress(parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString());
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final ShipFromAddress[] newArray(int i10) {
            return new ShipFromAddress[i10];
        }
    }

    public ShipFromAddress() {
        this(null, null, null, null, null, null, 63, null);
    }

    public static /* synthetic */ ShipFromAddress copy$default(ShipFromAddress shipFromAddress, String str, String str2, String str3, String str4, String str5, String str6, int i10, Object obj) {
        if ((i10 & 1) != 0) {
            str = shipFromAddress.addrLn1;
        }
        if ((i10 & 2) != 0) {
            str2 = shipFromAddress.addrLn2;
        }
        String str7 = str2;
        if ((i10 & 4) != 0) {
            str3 = shipFromAddress.city;
        }
        String str8 = str3;
        if ((i10 & 8) != 0) {
            str4 = shipFromAddress.countryCd;
        }
        String str9 = str4;
        if ((i10 & 16) != 0) {
            str5 = shipFromAddress.postCd;
        }
        String str10 = str5;
        if ((i10 & 32) != 0) {
            str6 = shipFromAddress.regionCd;
        }
        return shipFromAddress.copy(str, str7, str8, str9, str10, str6);
    }

    /* renamed from: component1, reason: from getter */
    public final String getAddrLn1() {
        return this.addrLn1;
    }

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

    /* renamed from: component3, reason: from getter */
    public final String getCity() {
        return this.city;
    }

    /* renamed from: component4, reason: from getter */
    public final String getCountryCd() {
        return this.countryCd;
    }

    /* renamed from: component5, reason: from getter */
    public final String getPostCd() {
        return this.postCd;
    }

    /* renamed from: component6, reason: from getter */
    public final String getRegionCd() {
        return this.regionCd;
    }

    public final ShipFromAddress copy(String addrLn1, String addrLn2, String city, String countryCd, String postCd, String regionCd) {
        return new ShipFromAddress(addrLn1, addrLn2, city, countryCd, postCd, regionCd);
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof ShipFromAddress)) {
            return false;
        }
        ShipFromAddress shipFromAddress = (ShipFromAddress) other;
        return t.b(this.addrLn1, shipFromAddress.addrLn1) && t.b(this.addrLn2, shipFromAddress.addrLn2) && t.b(this.city, shipFromAddress.city) && t.b(this.countryCd, shipFromAddress.countryCd) && t.b(this.postCd, shipFromAddress.postCd) && t.b(this.regionCd, shipFromAddress.regionCd);
    }

    public final String getAddrLn1() {
        return this.addrLn1;
    }

    public final String getAddrLn2() {
        return this.addrLn2;
    }

    public final String getCity() {
        return this.city;
    }

    public final String getCountryCd() {
        return this.countryCd;
    }

    public final String getPostCd() {
        return this.postCd;
    }

    public final String getRegionCd() {
        return this.regionCd;
    }

    public int hashCode() {
        String str = this.addrLn1;
        int hashCode = (str == null ? 0 : str.hashCode()) * 31;
        String str2 = this.addrLn2;
        int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
        String str3 = this.city;
        int hashCode3 = (hashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31;
        String str4 = this.countryCd;
        int hashCode4 = (hashCode3 + (str4 == null ? 0 : str4.hashCode())) * 31;
        String str5 = this.postCd;
        int hashCode5 = (hashCode4 + (str5 == null ? 0 : str5.hashCode())) * 31;
        String str6 = this.regionCd;
        return hashCode5 + (str6 != null ? str6.hashCode() : 0);
    }

    public String toString() {
        return "ShipFromAddress(addrLn1=" + this.addrLn1 + ", addrLn2=" + this.addrLn2 + ", city=" + this.city + ", countryCd=" + this.countryCd + ", postCd=" + this.postCd + ", regionCd=" + this.regionCd + ")";
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel out, int i10) {
        t.g(out, "out");
        out.writeString(this.addrLn1);
        out.writeString(this.addrLn2);
        out.writeString(this.city);
        out.writeString(this.countryCd);
        out.writeString(this.postCd);
        out.writeString(this.regionCd);
    }

    public ShipFromAddress(String str, String str2, String str3, String str4, String str5, String str6) {
        this.addrLn1 = str;
        this.addrLn2 = str2;
        this.city = str3;
        this.countryCd = str4;
        this.postCd = str5;
        this.regionCd = str6;
    }

    public /* synthetic */ ShipFromAddress(String str, String str2, String str3, String str4, String str5, String str6, int i10, k kVar) {
        this((i10 & 1) != 0 ? null : str, (i10 & 2) != 0 ? null : str2, (i10 & 4) != 0 ? null : str3, (i10 & 8) != 0 ? null : str4, (i10 & 16) != 0 ? null : str5, (i10 & 32) != 0 ? null : str6);
    }
}
