package com.ss.android.ugc.aweme.ecommerce.delivery.repo.dto;

import X.C5446Bzm;
import X.M12;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.util.List;
import java.util.Objects;

public final class LogisticTextDTO implements Parcelable {
    public static final Parcelable.Creator<LogisticTextDTO> CREATOR = new C5446Bzm();
    @c(LIZ = "discount_desc_text")
    public final String LIZ;
    @c(LIZ = "service_text")
    public final String LIZIZ;
    @c(LIZ = "lead_time_text")
    public final String LIZJ;
    @c(LIZ = "delivery_status_text")
    public final String LIZLLL;
    @c(LIZ = "threshold_text")
    public final String LJ;
    @c(LIZ = "threshold_text_en")
    public final String LJFF;
    @c(LIZ = "discount_views")
    public final List<LogisticDiscountView> LJI;
    @c(LIZ = "lead_message")
    public final LeadMessage LJII;

    static {
        Covode.recordClassIndex(69986);
    }

    private Object[] LIZ() {
        return new Object[]{this.LIZ, this.LIZIZ, this.LIZJ, this.LIZLLL, this.LJ, this.LJFF, this.LJI, this.LJII};
    }

    public final int describeContents() {
        return 0;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof LogisticTextDTO)) {
            return false;
        }
        return M12.LIZ(((LogisticTextDTO) obj).LIZ(), LIZ());
    }

    public final int hashCode() {
        return Objects.hash(LIZ());
    }

    public final String toString() {
        return M12.LIZ("LogisticTextDTO:%s,%s,%s,%s,%s,%s,%s,%s", LIZ());
    }

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeString(this.LIZ);
        parcel.writeString(this.LIZIZ);
        parcel.writeString(this.LIZJ);
        parcel.writeString(this.LIZLLL);
        parcel.writeString(this.LJ);
        parcel.writeString(this.LJFF);
        List<LogisticDiscountView> list = this.LJI;
        if (list != null) {
            parcel.writeInt(1);
            parcel.writeInt(list.size());
            for (LogisticDiscountView writeToParcel : list) {
                writeToParcel.writeToParcel(parcel, 0);
            }
        } else {
            parcel.writeInt(0);
        }
        LeadMessage leadMessage = this.LJII;
        if (leadMessage != null) {
            parcel.writeInt(1);
            leadMessage.writeToParcel(parcel, 0);
            return;
        }
        parcel.writeInt(0);
    }

    public LogisticTextDTO(String str, String str2, String str3, String str4, String str5, String str6, List<LogisticDiscountView> list, LeadMessage leadMessage) {
        this.LIZ = str;
        this.LIZIZ = str2;
        this.LIZJ = str3;
        this.LIZLLL = str4;
        this.LJ = str5;
        this.LJFF = str6;
        this.LJI = list;
        this.LJII = leadMessage;
    }
}
