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

import X.C4589Blx;
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 BalanceRequest {
    @c(LIZ = "currency")
    public final String currency;
    @c(LIZ = "payment_methods")
    public final List<C4589Blx> paymentMethods;
    @c(LIZ = "summary_total_price_val")
    public final String summaryTotalPriceVal;

    static {
        Covode.recordClassIndex(69406);
    }

    public static /* synthetic */ BalanceRequest copy$default(BalanceRequest balanceRequest, List<C4589Blx> list, String str, String str2, int i, Object obj) {
        if ((i & 1) != 0) {
            list = balanceRequest.paymentMethods;
        }
        if ((i & 2) != 0) {
            str = balanceRequest.summaryTotalPriceVal;
        }
        if ((i & 4) != 0) {
            str2 = balanceRequest.currency;
        }
        return balanceRequest.copy(list, str, str2);
    }

    private Object[] getObjects() {
        return new Object[]{this.paymentMethods, this.summaryTotalPriceVal, this.currency};
    }

    public final BalanceRequest copy(List<C4589Blx> list, String str, String str2) {
        M12.LIZ(list, str, str2);
        return new BalanceRequest(list, str, str2);
    }

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

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

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

    public final String getCurrency() {
        return this.currency;
    }

    public final List<C4589Blx> getPaymentMethods() {
        return this.paymentMethods;
    }

    public final String getSummaryTotalPriceVal() {
        return this.summaryTotalPriceVal;
    }

    public BalanceRequest(List<C4589Blx> list, String str, String str2) {
        M12.LIZ(list, str, str2);
        this.paymentMethods = list;
        this.summaryTotalPriceVal = str;
        this.currency = str2;
    }
}
