j.smali

.class public Lcom/sandboxol/blockymods/view/fragment/cashapply/j;
.super Lcom/sandboxol/common/base/viewmodel/ViewModel;
.source "CashApplyViewModel.java"


# instance fields
.field private a:Landroid/content/Context;

.field private b:Lcom/sandboxol/center/entity/CashApplyInfo;

.field private c:D

.field public d:Lcom/sandboxol/common/command/ReplyCommand;

.field public e:Lcom/sandboxol/common/command/ReplyCommand;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/sandboxol/common/command/ReplyCommand<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field public f:Lcom/sandboxol/common/command/ReplyCommand;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/sandboxol/common/command/ReplyCommand<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field public g:Lcom/sandboxol/common/command/ReplyCommand;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/sandboxol/common/command/ReplyCommand<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field public h:Lcom/sandboxol/common/command/ReplyCommand;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/sandboxol/common/command/ReplyCommand<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field public i:Lcom/sandboxol/common/command/ReplyCommand;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/sandboxol/common/command/ReplyCommand<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field public j:Lcom/sandboxol/common/command/ReplyCommand;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/sandboxol/common/command/ReplyCommand<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field public k:Lcom/sandboxol/common/command/ReplyCommand;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/sandboxol/common/command/ReplyCommand<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroid/content/Context;D)V
    .registers 6

    .line 1
    invoke-direct {p0}, Lcom/sandboxol/common/base/viewmodel/ViewModel;-><init>()V

    .line 2
    new-instance v0, Lcom/sandboxol/common/command/ReplyCommand;

    new-instance v1, Lcom/sandboxol/blockymods/view/fragment/cashapply/b;

    invoke-direct {v1, p0}, Lcom/sandboxol/blockymods/view/fragment/cashapply/b;-><init>(Lcom/sandboxol/blockymods/view/fragment/cashapply/j;)V

    invoke-direct {v0, v1}, Lcom/sandboxol/common/command/ReplyCommand;-><init>(Lrx/functions/Action0;)V

    iput-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->d:Lcom/sandboxol/common/command/ReplyCommand;

    .line 3
    new-instance v0, Lcom/sandboxol/common/command/ReplyCommand;

    new-instance v1, Lcom/sandboxol/blockymods/view/fragment/cashapply/h;

    invoke-direct {v1, p0}, Lcom/sandboxol/blockymods/view/fragment/cashapply/h;-><init>(Lcom/sandboxol/blockymods/view/fragment/cashapply/j;)V

    invoke-direct {v0, v1}, Lcom/sandboxol/common/command/ReplyCommand;-><init>(Lrx/functions/Action1;)V

    iput-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->e:Lcom/sandboxol/common/command/ReplyCommand;

    .line 4
    new-instance v0, Lcom/sandboxol/common/command/ReplyCommand;

    new-instance v1, Lcom/sandboxol/blockymods/view/fragment/cashapply/d;

    invoke-direct {v1, p0}, Lcom/sandboxol/blockymods/view/fragment/cashapply/d;-><init>(Lcom/sandboxol/blockymods/view/fragment/cashapply/j;)V

    invoke-direct {v0, v1}, Lcom/sandboxol/common/command/ReplyCommand;-><init>(Lrx/functions/Action1;)V

    iput-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->f:Lcom/sandboxol/common/command/ReplyCommand;

    .line 5
    new-instance v0, Lcom/sandboxol/common/command/ReplyCommand;

    new-instance v1, Lcom/sandboxol/blockymods/view/fragment/cashapply/g;

    invoke-direct {v1, p0}, Lcom/sandboxol/blockymods/view/fragment/cashapply/g;-><init>(Lcom/sandboxol/blockymods/view/fragment/cashapply/j;)V

    invoke-direct {v0, v1}, Lcom/sandboxol/common/command/ReplyCommand;-><init>(Lrx/functions/Action1;)V

    iput-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->g:Lcom/sandboxol/common/command/ReplyCommand;

    .line 6
    new-instance v0, Lcom/sandboxol/common/command/ReplyCommand;

    new-instance v1, Lcom/sandboxol/blockymods/view/fragment/cashapply/e;

    invoke-direct {v1, p0}, Lcom/sandboxol/blockymods/view/fragment/cashapply/e;-><init>(Lcom/sandboxol/blockymods/view/fragment/cashapply/j;)V

    invoke-direct {v0, v1}, Lcom/sandboxol/common/command/ReplyCommand;-><init>(Lrx/functions/Action1;)V

    iput-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->h:Lcom/sandboxol/common/command/ReplyCommand;

    .line 7
    new-instance v0, Lcom/sandboxol/common/command/ReplyCommand;

    new-instance v1, Lcom/sandboxol/blockymods/view/fragment/cashapply/c;

    invoke-direct {v1, p0}, Lcom/sandboxol/blockymods/view/fragment/cashapply/c;-><init>(Lcom/sandboxol/blockymods/view/fragment/cashapply/j;)V

    invoke-direct {v0, v1}, Lcom/sandboxol/common/command/ReplyCommand;-><init>(Lrx/functions/Action1;)V

    iput-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->i:Lcom/sandboxol/common/command/ReplyCommand;

    .line 8
    new-instance v0, Lcom/sandboxol/common/command/ReplyCommand;

    new-instance v1, Lcom/sandboxol/blockymods/view/fragment/cashapply/a;

    invoke-direct {v1, p0}, Lcom/sandboxol/blockymods/view/fragment/cashapply/a;-><init>(Lcom/sandboxol/blockymods/view/fragment/cashapply/j;)V

    invoke-direct {v0, v1}, Lcom/sandboxol/common/command/ReplyCommand;-><init>(Lrx/functions/Action1;)V

    iput-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->j:Lcom/sandboxol/common/command/ReplyCommand;

    .line 9
    new-instance v0, Lcom/sandboxol/common/command/ReplyCommand;

    new-instance v1, Lcom/sandboxol/blockymods/view/fragment/cashapply/f;

    invoke-direct {v1, p0}, Lcom/sandboxol/blockymods/view/fragment/cashapply/f;-><init>(Lcom/sandboxol/blockymods/view/fragment/cashapply/j;)V

    invoke-direct {v0, v1}, Lcom/sandboxol/common/command/ReplyCommand;-><init>(Lrx/functions/Action1;)V

    iput-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->k:Lcom/sandboxol/common/command/ReplyCommand;

    .line 10
    iput-object p1, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->a:Landroid/content/Context;

    .line 11
    iput-wide p2, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->c:D

    .line 12
    new-instance p1, Lcom/sandboxol/center/entity/CashApplyInfo;

    invoke-direct {p1}, Lcom/sandboxol/center/entity/CashApplyInfo;-><init>()V

    iput-object p1, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    return-void
.end method

.method static synthetic a(Lcom/sandboxol/blockymods/view/fragment/cashapply/j;)Landroid/content/Context;
    .registers 1

    .line 1
    iget-object p0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->a:Landroid/content/Context;

    return-object p0
.end method

.method static synthetic b(Lcom/sandboxol/blockymods/view/fragment/cashapply/j;)D
    .registers 3

    .line 1
    iget-wide v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->c:D

    return-wide v0
.end method

.method public static synthetic c(Lcom/sandboxol/blockymods/view/fragment/cashapply/j;)V
    .registers 1

    invoke-direct {p0}, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->h()V

    return-void
.end method

.method private h()V
    .registers 7

    .line 1
    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    if-eqz v0, :cond_8c

    iget-wide v1, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->c:D

    const-wide/16 v3, 0x0

    cmpl-double v5, v1, v3

    if-eqz v5, :cond_8c

    .line 2
    invoke-virtual {v0}, Lcom/sandboxol/center/entity/CashApplyInfo;->getFirstName()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_8c

    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    .line 3
    invoke-virtual {v0}, Lcom/sandboxol/center/entity/CashApplyInfo;->getLastName()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_8c

    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    .line 4
    invoke-virtual {v0}, Lcom/sandboxol/center/entity/CashApplyInfo;->getEmail()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_8c

    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    .line 5
    invoke-virtual {v0}, Lcom/sandboxol/center/entity/CashApplyInfo;->getCity()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_8c

    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    .line 6
    invoke-virtual {v0}, Lcom/sandboxol/center/entity/CashApplyInfo;->getCountry()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_8c

    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    .line 7
    invoke-virtual {v0}, Lcom/sandboxol/center/entity/CashApplyInfo;->getBankName()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_8c

    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    .line 8
    invoke-virtual {v0}, Lcom/sandboxol/center/entity/CashApplyInfo;->getBankAccount()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_8c

    .line 9
    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    iget-wide v1, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->c:D

    invoke-virtual {v0, v1, v2}, Lcom/sandboxol/center/entity/CashApplyInfo;->setMoney(D)V

    .line 10
    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->a:Landroid/content/Context;

    iget-object v1, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    new-instance v2, Lcom/sandboxol/blockymods/view/fragment/cashapply/i;

    invoke-direct {v2, p0}, Lcom/sandboxol/blockymods/view/fragment/cashapply/i;-><init>(Lcom/sandboxol/blockymods/view/fragment/cashapply/j;)V

    invoke-static {v0, v1, v2}, Lcom/sandboxol/center/web/UserApi;->putCashApply(Landroid/content/Context;Lcom/sandboxol/center/entity/CashApplyInfo;Lcom/sandboxol/common/base/web/OnResponseListener;)V

    .line 11
    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->a:Landroid/content/Context;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-wide v2, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->c:D

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const-string v2, "click_cashoutapply_cot"

    invoke-static {v0, v2, v1}, Lcom/sandboxol/common/interfaces/ReportDataAdapter;->onEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_94

    .line 12
    :cond_8c
    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->a:Landroid/content/Context;

    const v1, 0x7f1207d5

    invoke-static {v0, v1}, Lcom/sandboxol/common/utils/AppToastUtils;->showLongNegativeTipToast(Landroid/content/Context;I)V

    :goto_94
    return-void
.end method


# virtual methods
.method public synthetic a(Ljava/lang/String;)V
    .registers 3

    .line 2
    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    invoke-virtual {v0, p1}, Lcom/sandboxol/center/entity/CashApplyInfo;->setFirstName(Ljava/lang/String;)V

    return-void
.end method

.method public synthetic b(Ljava/lang/String;)V
    .registers 3

    .line 2
    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    invoke-virtual {v0, p1}, Lcom/sandboxol/center/entity/CashApplyInfo;->setLastName(Ljava/lang/String;)V

    return-void
.end method

.method public synthetic c(Ljava/lang/String;)V
    .registers 3

    .line 1
    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    invoke-virtual {v0, p1}, Lcom/sandboxol/center/entity/CashApplyInfo;->setEmail(Ljava/lang/String;)V

    return-void
.end method

.method public synthetic d(Ljava/lang/String;)V
    .registers 3

    .line 1
    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    invoke-virtual {v0, p1}, Lcom/sandboxol/center/entity/CashApplyInfo;->setCity(Ljava/lang/String;)V

    return-void
.end method

.method public synthetic e(Ljava/lang/String;)V
    .registers 3

    .line 1
    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    invoke-virtual {v0, p1}, Lcom/sandboxol/center/entity/CashApplyInfo;->setCountry(Ljava/lang/String;)V

    return-void
.end method

.method public synthetic f(Ljava/lang/String;)V
    .registers 3

    .line 1
    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    invoke-virtual {v0, p1}, Lcom/sandboxol/center/entity/CashApplyInfo;->setBankAccount(Ljava/lang/String;)V

    return-void
.end method

.method public synthetic g(Ljava/lang/String;)V
    .registers 3

    .line 1
    iget-object v0, p0, Lcom/sandboxol/blockymods/view/fragment/cashapply/j;->b:Lcom/sandboxol/center/entity/CashApplyInfo;

    invoke-virtual {v0, p1}, Lcom/sandboxol/center/entity/CashApplyInfo;->setBankName(Ljava/lang/String;)V

    return-void
.end method