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

import X.C4497BkT;
import X.C4509Bkf;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import com.ss.android.ugc.aweme.ecommerce.address.dto.Address;
import com.ss.android.ugc.aweme.ecommerce.api.model.ExceptionUX;
import java.util.List;
import java.util.Objects;

public final class PaymentListResponseData {
    @c(LIZ = "exception_ux")
    public final ExceptionUX exceptionUX;
    @c(LIZ = "payment_methods")
    public final C4509Bkf paymentMethodsData;
    @c(LIZ = "payment_price")
    public final List<C4497BkT> paymentPrice;
    @c(LIZ = "address")
    public final Address shippingAddress;

    static {
        Covode.recordClassIndex(69416);
    }

    public static /* synthetic */ PaymentListResponseData copy$default(PaymentListResponseData paymentListResponseData, Address address, C4509Bkf bkf, List<C4497BkT> list, ExceptionUX exceptionUX2, int i, Object obj) {
        if ((i & 1) != 0) {
            address = paymentListResponseData.shippingAddress;
        }
        if ((i & 2) != 0) {
            bkf = paymentListResponseData.paymentMethodsData;
        }
        if ((i & 4) != 0) {
            list = paymentListResponseData.paymentPrice;
        }
        if ((i & 8) != 0) {
            exceptionUX2 = paymentListResponseData.exceptionUX;
        }
        return paymentListResponseData.copy(address, bkf, list, exceptionUX2);
    }

    private Object[] getObjects() {
        return new Object[]{this.shippingAddress, this.paymentMethodsData, this.paymentPrice, this.exceptionUX};
    }

    public final PaymentListResponseData copy(Address address, C4509Bkf bkf, List<C4497BkT> list, ExceptionUX exceptionUX2) {
        return new PaymentListResponseData(address, bkf, list, exceptionUX2);
    }

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

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

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

    public final ExceptionUX getExceptionUX() {
        return this.exceptionUX;
    }

    public final C4509Bkf getPaymentMethodsData() {
        return this.paymentMethodsData;
    }

    public final List<C4497BkT> getPaymentPrice() {
        return this.paymentPrice;
    }

    public final Address getShippingAddress() {
        return this.shippingAddress;
    }

    public PaymentListResponseData(Address address, C4509Bkf bkf, List<C4497BkT> list, ExceptionUX exceptionUX2) {
        this.shippingAddress = address;
        this.paymentMethodsData = bkf;
        this.paymentPrice = list;
        this.exceptionUX = exceptionUX2;
    }
}
