Fast Orange v3.5.3版本的 MD5 值为:33b91aba50c566533dfd683a85f79158

以下内容为反编译后的 DalizfCheckRequest.java 源代码,内容仅作参考


package com.free.vpn.proxy.hotspot.data.model.billing.dalizf;

import androidx.annotation.Keep;
import androidx.compose.runtime.internal.StabilityInferred;
import androidx.constraintlayout.widget.ConstraintLayout;
import com.free.vpn.proxy.hotspot.ar1;
import com.free.vpn.proxy.hotspot.data.model.billing.Order;
import com.free.vpn.proxy.hotspot.data.model.config.ProcessingEntity;
import com.free.vpn.proxy.hotspot.ne2;
import com.free.vpn.proxy.hotspot.zs4;
import com.google.gson.Gson;
import java.util.Iterator;
import java.util.Map;
import kotlin.Metadata;
import kotlin.TuplesKt;

@StabilityInferred(parameters = 0)
@Keep
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010$\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\b\u0087\b\u0018\u0000 \u001c2\u00020\u0001:\u0001\u001cB\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0005HÆ\u0003J\u001d\u0010\u0015\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u0016\u001a\u00020\u00172\b\u0010\u0018\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0019\u001a\u00020\u001aHÖ\u0001J\b\u0010\u001b\u001a\u00020\rH\u0016R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u001d\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u00020\r\u0012\u0004\u0012\u00020\r0\f8F¢\u0006\u0006\u001a\u0004\b\u000e\u0010\u000fR\u0011\u0010\u0010\u001a\u00020\r8F¢\u0006\u0006\u001a\u0004\b\u0011\u0010\u0012¨\u0006\u001d"}, d2 = {"Lcom/free/vpn/proxy/hotspot/data/model/billing/dalizf/DalizfCheckRequest;", "", "order", "Lcom/free/vpn/proxy/hotspot/data/model/billing/Order;", "entity", "Lcom/free/vpn/proxy/hotspot/data/model/config/ProcessingEntity;", "(Lcom/free/vpn/proxy/hotspot/data/model/billing/Order;Lcom/free/vpn/proxy/hotspot/data/model/config/ProcessingEntity;)V", "getEntity", "()Lcom/free/vpn/proxy/hotspot/data/model/config/ProcessingEntity;", "getOrder", "()Lcom/free/vpn/proxy/hotspot/data/model/billing/Order;", "requestParams", "", "", "getRequestParams", "()Ljava/util/Map;", "requestUrl", "getRequestUrl", "()Ljava/lang/String;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "Companion", "app_chinaSeoDirectBlackRelease"}, k = 1, mv = {1, 8, 0}, xi = ConstraintLayout.LayoutParams.Table.LAYOUT_CONSTRAINT_VERTICAL_CHAINSTYLE)
public final class DalizfCheckRequest {
    private static final String DEFAULT_CHECK_URl = "https://dalizf.com/api.php";
    private static final String K_ACTION = "act";
    private static final String K_MCHID = "pid";
    private static final String K_ORDER_REF = "out_trade_no";
    private static final String K_REQUEST_URL = "request_url";
    private static final String K_TOKEN = "key";
    private static final String PARAM_ACTION = "order";
    private final ProcessingEntity entity;
    private final Order order;
    public static final int $stable = 8;

    public DalizfCheckRequest(Order order, ProcessingEntity processingEntity) {
        zs4.o(order, "order");
        zs4.o(processingEntity, "entity");
        this.order = order;
        this.entity = processingEntity;
    }

    public static DalizfCheckRequest copy$default(DalizfCheckRequest dalizfCheckRequest, Order order, ProcessingEntity processingEntity, int i, Object obj) {
        if ((i & 1) != 0) {
            order = dalizfCheckRequest.order;
        }
        if ((i & 2) != 0) {
            processingEntity = dalizfCheckRequest.entity;
        }
        return dalizfCheckRequest.copy(order, processingEntity);
    }

    public final Order getOrder() {
        return this.order;
    }

    public final ProcessingEntity getEntity() {
        return this.entity;
    }

    public final DalizfCheckRequest copy(Order order, ProcessingEntity entity) {
        zs4.o(order, "order");
        zs4.o(entity, "entity");
        return new DalizfCheckRequest(order, entity);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof DalizfCheckRequest)) {
            return false;
        }
        DalizfCheckRequest dalizfCheckRequest = (DalizfCheckRequest) other;
        return zs4.h(this.order, dalizfCheckRequest.order) && zs4.h(this.entity, dalizfCheckRequest.entity);
    }

    public final ProcessingEntity getEntity() {
        return this.entity;
    }

    public final Order getOrder() {
        return this.order;
    }

    public final Map<String, String> getRequestParams() {
        return ne2.d0(TuplesKt.to(K_ACTION, "order"), TuplesKt.to(K_MCHID, this.entity.getKey()), TuplesKt.to("key", this.entity.getToken()), TuplesKt.to(K_ORDER_REF, this.order.getOrderRef()));
    }

    public final String getRequestUrl() {
        String checkOrderUrl = this.entity.getCheckOrderUrl();
        return checkOrderUrl == null ? DEFAULT_CHECK_URl : checkOrderUrl;
    }

    public int hashCode() {
        return this.entity.hashCode() + (this.order.hashCode() * 31);
    }

    public String toString() {
        try {
            ar1 ar1Var = new ar1();
            ar1Var.x(getRequestUrl(), K_REQUEST_URL);
            Iterator<T> it = getRequestParams().entrySet().iterator();
            while (it.hasNext()) {
                Map.Entry entry = (Map.Entry) it.next();
                ar1Var.x(entry.getValue(), (String) entry.getKey());
            }
            String json = new Gson().toJson(ar1Var);
            zs4.n(json, "{\n            val elemen…toJson(element)\n        }");
            return json;
        } catch (Exception unused) {
            return "";
        }
    }
}