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 com.ss.android.ugc.aweme.ecommerce.delivery.repo.dto.OrderSKUDTO;
import java.util.Objects;

public final class SkuReachable {
    @c(LIZ = "order_sku")
    public final OrderSKUDTO orderSku;
    @c(LIZ = "reachable")
    public final Boolean reachable;

    static {
        Covode.recordClassIndex(68982);
    }

    public static /* synthetic */ SkuReachable copy$default(SkuReachable skuReachable, OrderSKUDTO orderSKUDTO, Boolean bool, int i, Object obj) {
        if ((i & 1) != 0) {
            orderSKUDTO = skuReachable.orderSku;
        }
        if ((i & 2) != 0) {
            bool = skuReachable.reachable;
        }
        return skuReachable.copy(orderSKUDTO, bool);
    }

    private Object[] getObjects() {
        return new Object[]{this.orderSku, this.reachable};
    }

    public final SkuReachable copy(OrderSKUDTO orderSKUDTO, Boolean bool) {
        return new SkuReachable(orderSKUDTO, bool);
    }

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

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

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

    public final OrderSKUDTO getOrderSku() {
        return this.orderSku;
    }

    public final Boolean getReachable() {
        return this.reachable;
    }

    public SkuReachable(OrderSKUDTO orderSKUDTO, Boolean bool) {
        this.orderSku = orderSKUDTO;
        this.reachable = bool;
    }
}
