package com.bytedance.android.live.wallet.model;

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

public final class RevenueExchange {
    @c(LIZ = "revenue")
    public final long balance;
    @c(LIZ = "currency")
    public final String currency;
    @c(LIZ = "price_dot")
    public final int dot;
    @c(LIZ = "enable")
    public final boolean enableExchange;
    @c(LIZ = "has_short_video_gift")
    public final boolean isRevenue;
    @c(LIZ = "unit_price")
    public final int price;
    @c(LIZ = "region")
    public final String region;

    static {
        Covode.recordClassIndex(10898);
    }

    public RevenueExchange() {
        this((String) null, false, false, 0, (String) null, 0, 0, 127, (2HN) null);
    }

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

    public static int INVOKESTATIC_com_bytedance_android_live_wallet_model_RevenueExchange_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(long j) {
        return (int) (j ^ (j >>> 32));
    }

    public static /* synthetic */ RevenueExchange copy$default(RevenueExchange revenueExchange, String str, boolean z, boolean z2, int i, String str2, long j, int i2, int i3, Object obj) {
        if ((i3 & 1) != 0) {
            str = revenueExchange.currency;
        }
        if ((i3 & 2) != 0) {
            z = revenueExchange.enableExchange;
        }
        if ((i3 & 4) != 0) {
            z2 = revenueExchange.isRevenue;
        }
        if ((i3 & 8) != 0) {
            i = revenueExchange.dot;
        }
        if ((i3 & 16) != 0) {
            str2 = revenueExchange.region;
        }
        if ((i3 & 32) != 0) {
            j = revenueExchange.balance;
        }
        if ((i3 & 64) != 0) {
            i2 = revenueExchange.price;
        }
        return revenueExchange.copy(str, z, z2, i, str2, j, i2);
    }

    private Object[] getObjects() {
        return new Object[]{this.currency, Boolean.valueOf(this.enableExchange), Boolean.valueOf(this.isRevenue), Integer.valueOf(this.dot), this.region, Long.valueOf(this.balance), Integer.valueOf(this.price)};
    }

    public final RevenueExchange copy(String str, boolean z, boolean z2, int i, String str2, long j, int i2) {
        String str3 = str;
        String str4 = str2;
        M12.LIZ(str3, str4);
        return new RevenueExchange(str3, z, z2, i, str4, j, i2);
    }

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

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

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

    public final long getBalance() {
        return this.balance;
    }

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

    public final int getDot() {
        return this.dot;
    }

    public final boolean getEnableExchange() {
        return this.enableExchange;
    }

    public final int getPrice() {
        return this.price;
    }

    public final String getRegion() {
        return this.region;
    }

    public final boolean isRevenue() {
        return this.isRevenue;
    }

    public RevenueExchange(String str, boolean z, boolean z2, int i, String str2, long j, int i2) {
        M12.LIZ(str, str2);
        this.currency = str;
        this.enableExchange = z;
        this.isRevenue = z2;
        this.dot = i;
        this.region = str2;
        this.balance = j;
        this.price = i2;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ RevenueExchange(java.lang.String r10, boolean r11, boolean r12, int r13, java.lang.String r14, long r15, int r17, int r18, X.2HN r19) {
        /*
            r9 = this;
            r3 = r12
            r4 = r13
            r1 = r10
            r6 = r15
            r2 = r11
            r0 = r18 & 1
            java.lang.String r5 = ""
            if (r0 == 0) goto L_0x000c
            r1 = r5
        L_0x000c:
            r0 = r18 & 2
            r8 = 0
            if (r0 == 0) goto L_0x0012
            r2 = 0
        L_0x0012:
            r0 = r18 & 4
            if (r0 == 0) goto L_0x0017
            r3 = 0
        L_0x0017:
            r0 = r18 & 8
            if (r0 == 0) goto L_0x001c
            r4 = 0
        L_0x001c:
            r0 = r18 & 16
            if (r0 == 0) goto L_0x0032
        L_0x0020:
            r0 = r18 & 32
            if (r0 == 0) goto L_0x0026
            r6 = 0
        L_0x0026:
            r0 = r18 & 64
            if (r0 == 0) goto L_0x002f
        L_0x002a:
            r0 = r9
            r0.<init>(r1, r2, r3, r4, r5, r6, r8)
            return
        L_0x002f:
            r8 = r17
            goto L_0x002a
        L_0x0032:
            r5 = r14
            goto L_0x0020
        */
        throw new UnsupportedOperationException("Method not decompiled: com.bytedance.android.live.wallet.model.RevenueExchange.<init>(java.lang.String, boolean, boolean, int, java.lang.String, long, int, int, X.2HN):void");
    }
}
