package com.ss.android.ugc.aweme.feed.model.live;

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

public final class EcommerceInfo implements Serializable {
    @c(LIZ = "is_ecom")
    public Boolean isEcom;
    @c(LIZ = "product_cnt")
    public Integer productCnt;
    @c(LIZ = "spu_list")
    public List<String> spuList;

    static {
        Covode.recordClassIndex(79028);
    }

    public static /* synthetic */ EcommerceInfo copy$default(EcommerceInfo ecommerceInfo, Boolean bool, Integer num, List<String> list, int i, Object obj) {
        if ((i & 1) != 0) {
            bool = ecommerceInfo.isEcom;
        }
        if ((i & 2) != 0) {
            num = ecommerceInfo.productCnt;
        }
        if ((i & 4) != 0) {
            list = ecommerceInfo.spuList;
        }
        return ecommerceInfo.copy(bool, num, list);
    }

    private Object[] getObjects() {
        return new Object[]{this.isEcom, this.productCnt, this.spuList};
    }

    public final EcommerceInfo copy(Boolean bool, Integer num, List<String> list) {
        return new EcommerceInfo(bool, num, list);
    }

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

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

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

    public final Integer getProductCnt() {
        return this.productCnt;
    }

    public final List<String> getSpuList() {
        return this.spuList;
    }

    public final Boolean isEcom() {
        return this.isEcom;
    }

    public final void setEcom(Boolean bool) {
        this.isEcom = bool;
    }

    public final void setProductCnt(Integer num) {
        this.productCnt = num;
    }

    public final void setSpuList(List<String> list) {
        this.spuList = list;
    }

    public EcommerceInfo(Boolean bool, Integer num, List<String> list) {
        this.isEcom = bool;
        this.productCnt = num;
        this.spuList = list;
    }
}
