RechargeService.smali
.class public Lcom/sandboxol/googlepay/service/RechargeService;
.super Ljava/lang/Object;
.source "RechargeService.java"
# interfaces
.implements Lcom/sandboxol/center/router/moduleApi/IRechargeService;
# annotations
.annotation build Lcom/alibaba/android/arouter/facade/annotation/Route;
path = "/recharge/service"
.end annotation
# direct methods
.method public constructor <init>()V
.registers 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public buySubs(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 5
.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
new-instance v0, Lcom/sandboxol/googlepay/view/fragment/recharge/s;
invoke-direct {v0}, Lcom/sandboxol/googlepay/view/fragment/recharge/s;-><init>()V
invoke-virtual {v0, p1, p2, p3}, Lcom/sandboxol/googlepay/view/fragment/recharge/s;->a(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public buyVip(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 5
.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
new-instance v0, Lcom/sandboxol/googlepay/view/fragment/recharge/s;
invoke-direct {v0}, Lcom/sandboxol/googlepay/view/fragment/recharge/s;-><init>()V
invoke-virtual {v0, p1, p2, p3}, Lcom/sandboxol/googlepay/view/fragment/recharge/s;->b(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public buyVipExtend(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 5
.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
new-instance v0, Lcom/sandboxol/googlepay/view/fragment/recharge/s;
invoke-direct {v0}, Lcom/sandboxol/googlepay/view/fragment/recharge/s;-><init>()V
invoke-virtual {v0, p1, p2, p3}, Lcom/sandboxol/googlepay/view/fragment/recharge/s;->c(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public getProductInfo(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 5
.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
new-instance v0, Lcom/sandboxol/googlepay/view/fragment/recharge/s;
invoke-direct {v0}, Lcom/sandboxol/googlepay/view/fragment/recharge/s;-><init>()V
invoke-virtual {v0, p1, p2, p3}, Lcom/sandboxol/googlepay/view/fragment/recharge/s;->a(Landroid/content/Context;Ljava/lang/String;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method
.method public synthetic init(Landroid/content/Context;)V
.registers 2
invoke-static {p0, p1}, Lcom/sandboxol/center/router/moduleApi/a;->a(Lcom/sandboxol/center/router/moduleApi/IBaseService;Landroid/content/Context;)V
return-void
.end method
.method public openRecharge(Landroid/content/Context;ZLandroid/os/Bundle;)V
.registers 6
.line 1
sget v0, Lcom/sandboxol/googlepay/R$string;->me_recharge:I
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
.line 2
invoke-static {}, Lcom/sandboxol/center/entity/AppInfoCenter;->newInstance()Lcom/sandboxol/center/entity/AppInfoCenter;
move-result-object v1
invoke-virtual {v1}, Lcom/sandboxol/center/entity/AppInfoCenter;->getAppConfig()Lcom/sandboxol/center/entity/AppConfig;
move-result-object v1
invoke-virtual {v1}, Lcom/sandboxol/center/entity/AppConfig;->isOpenNewRecharge()Z
move-result v1
if-eqz v1, :cond_36
if-eqz p2, :cond_28
if-nez p3, :cond_20
.line 3
const-class p2, Lcom/sandboxol/googlepay/view/fragment/newrecharge/NewRechargeFragment;
sget p3, Lcom/sandboxol/googlepay/R$mipmap;->ic_recharge_history:I
invoke-static {p1, p2, v0, p3}, Lcom/sandboxol/center/utils/TemplateHelper;->startTemplate(Landroid/content/Context;Ljava/lang/Class;Ljava/lang/String;I)V
goto :goto_57
.line 4
:cond_20
const-class p2, Lcom/sandboxol/googlepay/view/fragment/newrecharge/NewRechargeFragment;
sget v1, Lcom/sandboxol/googlepay/R$mipmap;->ic_recharge_history:I
invoke-static {p1, p2, v0, v1, p3}, Lcom/sandboxol/center/utils/TemplateHelper;->startTemplate(Landroid/content/Context;Ljava/lang/Class;Ljava/lang/String;ILandroid/os/Bundle;)V
goto :goto_57
:cond_28
if-nez p3, :cond_30
.line 5
const-class p2, Lcom/sandboxol/googlepay/view/fragment/newrecharge/NewRechargeFragment;
invoke-static {p1, p2, v0}, Lcom/sandboxol/center/utils/TemplateHelper;->startTemplate(Landroid/content/Context;Ljava/lang/Class;Ljava/lang/String;)V
goto :goto_57
.line 6
:cond_30
const-class p2, Lcom/sandboxol/googlepay/view/fragment/newrecharge/NewRechargeFragment;
invoke-static {p1, p2, v0, p3}, Lcom/sandboxol/center/utils/TemplateHelper;->startTemplate(Landroid/content/Context;Ljava/lang/Class;Ljava/lang/String;Landroid/os/Bundle;)V
goto :goto_57
:cond_36
if-eqz p2, :cond_4a
if-nez p3, :cond_42
.line 7
const-class p2, Lcom/sandboxol/googlepay/view/fragment/recharge/RechargeFragment;
sget p3, Lcom/sandboxol/googlepay/R$mipmap;->ic_recharge_history:I
invoke-static {p1, p2, v0, p3}, Lcom/sandboxol/center/utils/TemplateHelper;->startTemplate(Landroid/content/Context;Ljava/lang/Class;Ljava/lang/String;I)V
goto :goto_57
.line 8
:cond_42
const-class p2, Lcom/sandboxol/googlepay/view/fragment/recharge/RechargeFragment;
sget v1, Lcom/sandboxol/googlepay/R$mipmap;->ic_recharge_history:I
invoke-static {p1, p2, v0, v1, p3}, Lcom/sandboxol/center/utils/TemplateHelper;->startTemplate(Landroid/content/Context;Ljava/lang/Class;Ljava/lang/String;ILandroid/os/Bundle;)V
goto :goto_57
:cond_4a
if-nez p3, :cond_52
.line 9
const-class p2, Lcom/sandboxol/googlepay/view/fragment/recharge/RechargeFragment;
invoke-static {p1, p2, v0}, Lcom/sandboxol/center/utils/TemplateHelper;->startTemplate(Landroid/content/Context;Ljava/lang/Class;Ljava/lang/String;)V
goto :goto_57
.line 10
:cond_52
const-class p2, Lcom/sandboxol/googlepay/view/fragment/recharge/RechargeFragment;
invoke-static {p1, p2, v0, p3}, Lcom/sandboxol/center/utils/TemplateHelper;->startTemplate(Landroid/content/Context;Ljava/lang/Class;Ljava/lang/String;Landroid/os/Bundle;)V
:goto_57
return-void
.end method
.method public recharge(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 5
.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
new-instance v0, Lcom/sandboxol/googlepay/view/fragment/recharge/s;
invoke-direct {v0}, Lcom/sandboxol/googlepay/view/fragment/recharge/s;-><init>()V
invoke-virtual {v0, p1, p2, p3}, Lcom/sandboxol/googlepay/view/fragment/recharge/s;->d(Landroid/content/Context;Lcom/sandboxol/center/router/moduleInfo/pay/BuyParam;Lcom/sandboxol/common/base/web/OnResponseListener;)V
return-void
.end method