package vn.vinfast.paymentkit.datasources.remote.request;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes15.dex */
@kotlin.Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0006\n\u0002\b\b\n\u0002\u0010\u000b\n\u0002\b\u0010\b\u0086\b\u0018\u00002\u00020\u0001B7\u0012\n\b\u0002\u0010\u0003\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0004\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0002\u0012\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\u0004\b\t\u0010\nJ\u0010\u0010\u000b\u001a\u00020\u0002HÖ\u0001¢\u0006\u0004\b\u000b\u0010\fJ\u0010\u0010\r\u001a\u00020\u0004HÖ\u0001¢\u0006\u0004\b\r\u0010\u000eJ\u001a\u0010\u0011\u001a\u00020\u00102\b\u0010\u000f\u001a\u0004\u0018\u00010\u0001HÖ\u0003¢\u0006\u0004\b\u0011\u0010\u0012R\u001c\u0010\u0003\u001a\u0004\u0018\u00010\u00028\u0006X\u0087\u0004¢\u0006\f\n\u0004\b\u0013\u0010\u0014\u001a\u0004\b\u0015\u0010\fR\u001c\u0010\u0005\u001a\u0004\u0018\u00010\u00048\u0006X\u0087\u0004¢\u0006\f\n\u0004\b\u0016\u0010\u0017\u001a\u0004\b\u0018\u0010\u0019R\u001c\u0010\u0006\u001a\u0004\u0018\u00010\u00028\u0006X\u0087\u0004¢\u0006\f\n\u0004\b\u001a\u0010\u0014\u001a\u0004\b\u001b\u0010\fR\u001c\u0010\b\u001a\u0004\u0018\u00010\u00078\u0006X\u0087\u0004¢\u0006\f\n\u0004\b\u001c\u0010\u001d\u001a\u0004\b\u001e\u0010\u001f¨\u0006 "}, d2 = {"Lvn/vinfast/paymentkit/datasources/remote/request/Voucher;", "", "", "voucherCode", "", "quantity", "campaignCode", "", "amount", "<init>", "(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Double;)V", "toString", "()Ljava/lang/String;", "hashCode", "()I", "other", "", "equals", "(Ljava/lang/Object;)Z", "a", "Ljava/lang/String;", "getVoucherCode", "b", "Ljava/lang/Integer;", "getQuantity", "()Ljava/lang/Integer;", "c", "getCampaignCode", "d", "Ljava/lang/Double;", "getAmount", "()Ljava/lang/Double;", "paymentkit_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
public final /* data */ class Voucher {

    /* JADX INFO: renamed from: a, reason: from kotlin metadata and from toString */
    @com.google.gson.annotations.SerializedName("voucherCode")
    @org.jetbrains.annotations.Nullable
    private final java.lang.String voucherCode;

    /* JADX INFO: renamed from: b, reason: from kotlin metadata and from toString */
    @com.google.gson.annotations.SerializedName("quantity")
    @org.jetbrains.annotations.Nullable
    private final java.lang.Integer quantity;

    /* JADX INFO: renamed from: c, reason: from kotlin metadata and from toString */
    @com.google.gson.annotations.SerializedName("campaignCode")
    @org.jetbrains.annotations.Nullable
    private final java.lang.String campaignCode;

    /* JADX INFO: renamed from: d, reason: from kotlin metadata and from toString */
    @com.google.gson.annotations.SerializedName("amount")
    @org.jetbrains.annotations.Nullable
    private final java.lang.Double amount;

    public Voucher() {
        this(null, null, null, null, 15, null);
    }

    public boolean equals(java.lang.Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof vn.vinfast.paymentkit.datasources.remote.request.Voucher)) {
            return false;
        }
        vn.vinfast.paymentkit.datasources.remote.request.Voucher voucher = (vn.vinfast.paymentkit.datasources.remote.request.Voucher) other;
        return kotlin.jvm.internal.Intrinsics.g(this.voucherCode, voucher.voucherCode) && kotlin.jvm.internal.Intrinsics.g(this.quantity, voucher.quantity) && kotlin.jvm.internal.Intrinsics.g(this.campaignCode, voucher.campaignCode) && kotlin.jvm.internal.Intrinsics.g(this.amount, voucher.amount);
    }

    public int hashCode() {
        java.lang.String str = this.voucherCode;
        int iHashCode = (str == null ? 0 : str.hashCode()) * 31;
        java.lang.Integer num = this.quantity;
        int iHashCode2 = (iHashCode + (num == null ? 0 : num.hashCode())) * 31;
        java.lang.String str2 = this.campaignCode;
        int iHashCode3 = (iHashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31;
        java.lang.Double d = this.amount;
        return iHashCode3 + (d != null ? d.hashCode() : 0);
    }

    public java.lang.String toString() {
        return "Voucher(voucherCode=" + this.voucherCode + ", quantity=" + this.quantity + ", campaignCode=" + this.campaignCode + ", amount=" + this.amount + ")";
    }

    public Voucher(java.lang.String str, java.lang.Integer num, java.lang.String str2, java.lang.Double d) {
        this.voucherCode = str;
        this.quantity = num;
        this.campaignCode = str2;
        this.amount = d;
    }

    public /* synthetic */ Voucher(java.lang.String str, java.lang.Integer num, java.lang.String str2, java.lang.Double d, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) {
        this((i & 1) != 0 ? null : str, (i & 2) != 0 ? null : num, (i & 4) != 0 ? null : str2, (i & 8) != 0 ? null : d);
    }
}
