package com.ss.android.ugc.aweme.ecommerce.combinepayment.payment.dto;

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

public final class BalanceResponseData {
    @c(LIZ = "balances")
    public final List<Balance> balances;

    static {
        Covode.recordClassIndex(69408);
    }

    public static /* synthetic */ BalanceResponseData copy$default(BalanceResponseData balanceResponseData, List<Balance> list, int i, Object obj) {
        if ((i & 1) != 0) {
            list = balanceResponseData.balances;
        }
        return balanceResponseData.copy(list);
    }

    private Object[] getObjects() {
        return new Object[]{this.balances};
    }

    public final BalanceResponseData copy(List<Balance> list) {
        return new BalanceResponseData(list);
    }

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

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

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

    public final List<Balance> getBalances() {
        return this.balances;
    }

    public BalanceResponseData(List<Balance> list) {
        this.balances = list;
    }
}
