package com.ss.android.ugc.aweme.ecommerce.combinepayment.ordersubmit.repository.dto;

import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.util.List;
import java.util.Map;
import java.util.Objects;

public final class AddonOrder {
    @c(LIZ = "addon_title")
    public final String addonTitle;
    @c(LIZ = "is_selected")
    public final Map<String, Boolean> isSelected;
    @c(LIZ = "packed_skus")
    public final List<PackedSku> packedSkus;

    static {
        Covode.recordClassIndex(68963);
    }

    public static /* synthetic */ AddonOrder copy$default(AddonOrder addonOrder, List<PackedSku> list, Map<String, Boolean> map, String str, int i, Object obj) {
        if ((i & 1) != 0) {
            list = addonOrder.packedSkus;
        }
        if ((i & 2) != 0) {
            map = addonOrder.isSelected;
        }
        if ((i & 4) != 0) {
            str = addonOrder.addonTitle;
        }
        return addonOrder.copy(list, map, str);
    }

    private Object[] getObjects() {
        return new Object[]{this.packedSkus, this.isSelected, this.addonTitle};
    }

    public final AddonOrder copy(List<PackedSku> list, Map<String, Boolean> map, String str) {
        return new AddonOrder(list, map, str);
    }

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

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

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

    public final String getAddonTitle() {
        return this.addonTitle;
    }

    public final List<PackedSku> getPackedSkus() {
        return this.packedSkus;
    }

    public final Map<String, Boolean> isSelected() {
        return this.isSelected;
    }

    public AddonOrder(List<PackedSku> list, Map<String, Boolean> map, String str) {
        this.packedSkus = list;
        this.isSelected = map;
        this.addonTitle = str;
    }
}
