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

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


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

import androidx.compose.runtime.internal.StabilityInferred;
import androidx.constraintlayout.widget.ConstraintLayout;
import com.free.vpn.proxy.hotspot.data.model.analytics.AnalyticsKeysKt;
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.android.gms.appindex.ThingPropertyKeys;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.Map;
import kotlin.Metadata;
import kotlin.TuplesKt;
import kotlin.jvm.internal.DefaultConstructorMarker;

@StabilityInferred(parameters = 0)
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\b\n\u0002\u0010$\n\u0002\b\u0007\b\u0007\u0018\u0000 \u00122\u00020\u0001:\u0001\u0012B'\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0007R\u0010\u0010\u0006\u001a\u0004\u0018\u00010\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0016\u0010\u0005\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\tR\u001d\u0010\u000b\u001a\u000e\u0012\u0004\u0012\u00020\u0003\u0012\u0004\u0012\u00020\u00030\f¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\u000f\u001a\u00020\u00038F¢\u0006\u0006\u001a\u0004\b\u0010\u0010\tR\u0016\u0010\u0004\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\t¨\u0006\u0013"}, d2 = {"Lcom/free/vpn/proxy/hotspot/data/model/billing/gateway/GatewayCheckOrderRequest;", "", AnalyticsKeysKt.KEY_MERCHANT_ID, "", ThingPropertyKeys.TOKEN, AnalyticsKeysKt.KEY_ORDER_ID, "checkOrderUrl", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getMchid", "()Ljava/lang/String;", "getOrderRef", "requestParams", "", "getRequestParams", "()Ljava/util/Map;", "requestUrl", "getRequestUrl", "getToken", "Companion", "app_chinaSeoDirectBlackRelease"}, k = 1, mv = {1, 8, 0}, xi = ConstraintLayout.LayoutParams.Table.LAYOUT_CONSTRAINT_VERTICAL_CHAINSTYLE)
public final class GatewayCheckOrderRequest {
    private static final String DEFAULT_REQUEST_URL = "http://121.43.100.148:811/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_TOKEN = "key";
    private static final String V_ORDER = "order";
    private final String checkOrderUrl;

    @SerializedName(K_MCHID)
    @Expose
    private final String mchid;

    @SerializedName(K_ORDER_REF)
    @Expose
    private final String orderRef;
    private final Map<String, String> requestParams;

    @SerializedName("key")
    @Expose
    private final String token;

    public static final Companion INSTANCE = new Companion(null);
    public static final int $stable = 8;

    @Metadata(d1 = {"\u0000 \n\u0000\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\n\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0010\u0010\u0011J\u0016\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004R\u0014\u0010\t\u001a\u00020\b8\u0002X\u0082T¢\u0006\u0006\n\u0004\b\t\u0010\nR\u0014\u0010\u000b\u001a\u00020\b8\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u000b\u0010\nR\u0014\u0010\f\u001a\u00020\b8\u0002X\u0082T¢\u0006\u0006\n\u0004\b\f\u0010\nR\u0014\u0010\r\u001a\u00020\b8\u0002X\u0082T¢\u0006\u0006\n\u0004\b\r\u0010\nR\u0014\u0010\u000e\u001a\u00020\b8\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u000e\u0010\nR\u0014\u0010\u000f\u001a\u00020\b8\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u000f\u0010\n¨\u0006\u0012"}, d2 = {"com/free/vpn/proxy/hotspot/data/model/billing/gateway/GatewayCheckOrderRequest$Companion", "", "Lcom/free/vpn/proxy/hotspot/data/model/billing/Order;", "order", "Lcom/free/vpn/proxy/hotspot/data/model/config/ProcessingEntity;", "entity", "Lcom/free/vpn/proxy/hotspot/data/model/billing/gateway/GatewayCheckOrderRequest;", "create", "", "DEFAULT_REQUEST_URL", "Ljava/lang/String;", "K_ACTION", "K_MCHID", "K_ORDER_REF", "K_TOKEN", "V_ORDER", "<init>", "()V", "app_chinaSeoDirectBlackRelease"}, k = 1, mv = {1, 8, 0})
    public final class Companion {
        private Companion() {
        }

        public Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final GatewayCheckOrderRequest create(Order order, ProcessingEntity entity) {
            zs4.o(order, "order");
            zs4.o(entity, "entity");
            return new GatewayCheckOrderRequest(entity.getKey(), entity.getToken(), order.getOrderRef(), entity.getCheckOrderUrl());
        }
    }

    public GatewayCheckOrderRequest(String str, String str2, String str3, String str4) {
        zs4.o(str, AnalyticsKeysKt.KEY_MERCHANT_ID);
        zs4.o(str2, ThingPropertyKeys.TOKEN);
        zs4.o(str3, AnalyticsKeysKt.KEY_ORDER_ID);
        this.mchid = str;
        this.token = str2;
        this.orderRef = str3;
        this.checkOrderUrl = str4;
        this.requestParams = ne2.d0(TuplesKt.to(K_MCHID, str), TuplesKt.to("key", str2), TuplesKt.to(K_ORDER_REF, str3), TuplesKt.to(K_ACTION, "order"));
    }

    public final String getMchid() {
        return this.mchid;
    }

    public final String getOrderRef() {
        return this.orderRef;
    }

    public final Map<String, String> getRequestParams() {
        return this.requestParams;
    }

    public final String getRequestUrl() {
        String str = this.checkOrderUrl;
        return str == null ? DEFAULT_REQUEST_URL : str;
    }

    public final String getToken() {
        return this.token;
    }
}