package com.ss.android.ugc.aweme.ecommerce.combinepayment.ordersubmit;

import X.C5361ByP;
import X.C5363ByR;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import com.ss.android.ugc.aweme.ecommerce.address.dto.Region;
import com.ss.android.ugc.aweme.ecommerce.combinepayment.ordersubmit.repository.dto.BillInfoResponse;
import java.util.HashMap;
import java.util.List;
import java.util.Objects;

public final class OrderSubmitEnterParams {
    public static final C5363ByR Companion = new C5363ByR((byte) 0);
    @c(LIZ = "asyncBillFetch")
    public final Boolean asyncBillFetch;
    @c(LIZ = "billInfo")
    public final BillInfoResponse billInfoResp;
    @c(LIZ = "buy_type")
    public final int buyType;
    @c(LIZ = "chain_key")
    public final String chainKey;
    @c(LIZ = "combined_area")
    public final List<Region> combinedArea;
    @c(LIZ = "pdp_from")
    public final String pdpFrom;
    @c(LIZ = "postponeBillFetch")
    public Boolean postponeBillFetch;
    @c(LIZ = "repo_id")
    public final String repoId;
    @c(LIZ = "requestParams")
    public final OrderSubmitRequestParam requestParams;
    @c(LIZ = "trackParams")
    public final HashMap<String, Object> trackParams;

    static {
        Covode.recordClassIndex(68580);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_ecommerce_combinepayment_ordersubmit_OrderSubmitEnterParams_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(int i) {
        return i;
    }

    public static /* synthetic */ OrderSubmitEnterParams copy$default(OrderSubmitEnterParams orderSubmitEnterParams, OrderSubmitRequestParam orderSubmitRequestParam, BillInfoResponse billInfoResponse, List<Region> list, String str, HashMap<String, Object> hashMap, String str2, int i, Boolean bool, String str3, Boolean bool2, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            orderSubmitRequestParam = orderSubmitEnterParams.requestParams;
        }
        if ((i2 & 2) != 0) {
            billInfoResponse = orderSubmitEnterParams.billInfoResp;
        }
        if ((i2 & 4) != 0) {
            list = orderSubmitEnterParams.combinedArea;
        }
        if ((i2 & 8) != 0) {
            str = orderSubmitEnterParams.chainKey;
        }
        if ((i2 & 16) != 0) {
            hashMap = orderSubmitEnterParams.trackParams;
        }
        if ((i2 & 32) != 0) {
            str2 = orderSubmitEnterParams.repoId;
        }
        if ((i2 & 64) != 0) {
            i = orderSubmitEnterParams.buyType;
        }
        if ((i2 & 128) != 0) {
            bool = orderSubmitEnterParams.asyncBillFetch;
        }
        if ((i2 & 256) != 0) {
            str3 = orderSubmitEnterParams.pdpFrom;
        }
        if ((i2 & 512) != 0) {
            bool2 = orderSubmitEnterParams.postponeBillFetch;
        }
        return orderSubmitEnterParams.copy(orderSubmitRequestParam, billInfoResponse, list, str, hashMap, str2, i, bool, str3, bool2);
    }

    private Object[] getObjects() {
        return new Object[]{this.requestParams, this.billInfoResp, this.combinedArea, this.chainKey, this.trackParams, this.repoId, Integer.valueOf(this.buyType), this.asyncBillFetch, this.pdpFrom, this.postponeBillFetch};
    }

    public final OrderSubmitEnterParams copy(OrderSubmitRequestParam orderSubmitRequestParam, BillInfoResponse billInfoResponse, List<Region> list, String str, HashMap<String, Object> hashMap, String str2, int i, Boolean bool, String str3, Boolean bool2) {
        OrderSubmitRequestParam orderSubmitRequestParam2 = orderSubmitRequestParam;
        M12.LIZ(orderSubmitRequestParam2);
        return new OrderSubmitEnterParams(orderSubmitRequestParam2, billInfoResponse, list, str, hashMap, str2, i, bool, str3, bool2);
    }

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

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

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

    public final Boolean getAsyncBillFetch() {
        return this.asyncBillFetch;
    }

    public final BillInfoResponse getBillInfoResp() {
        return this.billInfoResp;
    }

    public final int getBuyType() {
        return this.buyType;
    }

    public final String getChainKey() {
        return this.chainKey;
    }

    public final List<Region> getCombinedArea() {
        return this.combinedArea;
    }

    public final String getPdpFrom() {
        return this.pdpFrom;
    }

    public final Boolean getPostponeBillFetch() {
        return this.postponeBillFetch;
    }

    public final String getRepoId() {
        return this.repoId;
    }

    public final OrderSubmitRequestParam getRequestParams() {
        return this.requestParams;
    }

    public final HashMap<String, Object> getTrackParams() {
        return this.trackParams;
    }

    public final void setPostponeBillFetch(Boolean bool) {
        this.postponeBillFetch = bool;
    }

    public OrderSubmitEnterParams(OrderSubmitRequestParam orderSubmitRequestParam, BillInfoResponse billInfoResponse, List<Region> list, String str, HashMap<String, Object> hashMap, String str2, int i, Boolean bool, String str3, Boolean bool2) {
        M12.LIZ(orderSubmitRequestParam);
        this.requestParams = orderSubmitRequestParam;
        this.billInfoResp = billInfoResponse;
        this.combinedArea = list;
        this.chainKey = str;
        this.trackParams = hashMap;
        this.repoId = str2;
        this.buyType = i;
        this.asyncBillFetch = bool;
        this.pdpFrom = str3;
        this.postponeBillFetch = bool2;
        if (str == null || str.length() == 0) {
            C5361ByP.LIZ(new RuntimeException("chainKey get null init, OrderSubmitEnterParams: ".concat(String.valueOf(this))));
        }
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ OrderSubmitEnterParams(com.ss.android.ugc.aweme.ecommerce.combinepayment.ordersubmit.OrderSubmitRequestParam r12, com.ss.android.ugc.aweme.ecommerce.combinepayment.ordersubmit.repository.dto.BillInfoResponse r13, java.util.List r14, java.lang.String r15, java.util.HashMap r16, java.lang.String r17, int r18, java.lang.Boolean r19, java.lang.String r20, java.lang.Boolean r21, int r22, X.2HN r23) {
        /*
            r11 = this;
            r1 = r22
            r9 = r20
            r3 = r14
            r2 = r13
            r5 = r16
            r6 = r17
            r7 = r18
            r8 = r19
            r0 = r1 & 2
            r10 = 0
            if (r0 == 0) goto L_0x0014
            r2 = r10
        L_0x0014:
            r0 = r1 & 4
            if (r0 == 0) goto L_0x0019
            r3 = r10
        L_0x0019:
            r0 = r1 & 16
            if (r0 == 0) goto L_0x001e
            r5 = r10
        L_0x001e:
            r0 = r1 & 32
            if (r0 == 0) goto L_0x0023
            r6 = r10
        L_0x0023:
            r0 = r1 & 64
            if (r0 == 0) goto L_0x0029
            r0 = 0
            r7 = 0
        L_0x0029:
            r0 = r1 & 128(0x80, float:1.794E-43)
            if (r0 == 0) goto L_0x002e
            r8 = r10
        L_0x002e:
            r0 = r1 & 256(0x100, float:3.59E-43)
            if (r0 == 0) goto L_0x0033
            r9 = r10
        L_0x0033:
            r0 = r1 & 512(0x200, float:7.175E-43)
            if (r0 == 0) goto L_0x003e
        L_0x0037:
            r0 = r11
            r4 = r15
            r1 = r12
            r0.<init>(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10)
            return
        L_0x003e:
            r10 = r21
            goto L_0x0037
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.ecommerce.combinepayment.ordersubmit.OrderSubmitEnterParams.<init>(com.ss.android.ugc.aweme.ecommerce.combinepayment.ordersubmit.OrderSubmitRequestParam, com.ss.android.ugc.aweme.ecommerce.combinepayment.ordersubmit.repository.dto.BillInfoResponse, java.util.List, java.lang.String, java.util.HashMap, java.lang.String, int, java.lang.Boolean, java.lang.String, java.lang.Boolean, int, X.2HN):void");
    }
}
