RechargeManager.smali
.class public Lcom/sandboxol/center/router/manager/RechargeManager;
.super Ljava/lang/Object;
.source "RechargeManager.java"
# static fields
.field private static iRechargeService:Lcom/sandboxol/center/router/moduleApi/IRechargeService;
# direct methods
.method static constructor <clinit>()V
.registers 1
const-string v0, "/recharge/service"
.line 1
invoke-static {v0}, Lcom/sandboxol/center/router/RouteServiceManager;->provide(Ljava/lang/String;)Lcom/alibaba/android/arouter/facade/template/IProvider;
move-result-object v0
check-cast v0, Lcom/sandboxol/center/router/moduleApi/IRechargeService;
sput-object v0, Lcom/sandboxol/center/router/manager/RechargeManager;->iRechargeService:Lcom/sandboxol/center/router/moduleApi/IRechargeService;
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static buySubs(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/center/entity/BuyVipEntity;",
">;)V"
}
.end annotation
.line 1
sget-object v0, Lcom/sandboxol/center/router/manager/RechargeManager;->iRechargeService:Lcom/sandboxol/center/router/moduleApi/IRechargeService;
if-eqz v0, :cond_7
.line 2
invoke-interface {v0, p0, p1, p2}, Lcom/sandboxol/center/router/moduleApi/IRechargeService;->buySubs(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
:cond_7
return-void
.end method
.method public static buyVip(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/center/entity/BuyVipEntity;",
">;)V"
}
.end annotation
.line 1
sget-object v0, Lcom/sandboxol/center/router/manager/RechargeManager;->iRechargeService:Lcom/sandboxol/center/router/moduleApi/IRechargeService;
if-eqz v0, :cond_7
.line 2
invoke-interface {v0, p0, p1, p2}, Lcom/sandboxol/center/router/moduleApi/IRechargeService;->buyVip(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
:cond_7
return-void
.end method
.method public static buyVipExtend(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/center/entity/BuyVipEntity;",
">;)V"
}
.end annotation
.line 1
sget-object v0, Lcom/sandboxol/center/router/manager/RechargeManager;->iRechargeService:Lcom/sandboxol/center/router/moduleApi/IRechargeService;
if-eqz v0, :cond_7
.line 2
invoke-interface {v0, p0, p1, p2}, Lcom/sandboxol/center/router/moduleApi/IRechargeService;->buyVipExtend(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
:cond_7
return-void
.end method
.method public static getProductInfo(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Ljava/lang/String;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/center/entity/ProductInfo;",
">;)V"
}
.end annotation
.line 1
sget-object v0, Lcom/sandboxol/center/router/manager/RechargeManager;->iRechargeService:Lcom/sandboxol/center/router/moduleApi/IRechargeService;
if-eqz v0, :cond_7
.line 2
invoke-interface {v0, p0, p1, p2}, Lcom/sandboxol/center/router/moduleApi/IRechargeService;->getProductInfo(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
:cond_7
return-void
.end method
.method public static openRecharge(Landroid/content/Context;ZLandroid/os/Bundle;)V
.registers 4
.line 1
sget-object v0, Lcom/sandboxol/center/router/manager/RechargeManager;->iRechargeService:Lcom/sandboxol/center/router/moduleApi/IRechargeService;
if-eqz v0, :cond_7
.line 2
invoke-interface {v0, p0, p1, p2}, Lcom/sandboxol/center/router/moduleApi/IRechargeService;->openRecharge(Landroid/content/Context;ZLandroid/os/Bundle;)V
:cond_7
return-void
.end method
.method public static recharge(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Lcom/sandboxol/center/entity/RechargeEntity;",
">;)V"
}
.end annotation
.line 1
sget-object v0, Lcom/sandboxol/center/router/manager/RechargeManager;->iRechargeService:Lcom/sandboxol/center/router/moduleApi/IRechargeService;
if-eqz v0, :cond_7
.line 2
invoke-interface {v0, p0, p1, p2}, Lcom/sandboxol/center/router/moduleApi/IRechargeService;->recharge(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
:cond_7
return-void
.end method