apkfuckery/com.discord/smali/com/discord/stores/StorePaymentSources$Actions.smali
2019-02-27 22:13:14 +01:00

173 lines
5.5 KiB
Smali

.class public final Lcom/discord/stores/StorePaymentSources$Actions;
.super Ljava/lang/Object;
.source "StorePaymentSources.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/stores/StorePaymentSources;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Actions"
.end annotation
# static fields
.field public static final INSTANCE:Lcom/discord/stores/StorePaymentSources$Actions;
.field private static store:Lcom/discord/stores/StorePaymentSources;
.field private static stream:Lcom/discord/stores/StoreStream;
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/discord/stores/StorePaymentSources$Actions;
invoke-direct {v0}, Lcom/discord/stores/StorePaymentSources$Actions;-><init>()V
sput-object v0, Lcom/discord/stores/StorePaymentSources$Actions;->INSTANCE:Lcom/discord/stores/StorePaymentSources$Actions;
return-void
.end method
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static final synthetic access$getStore$p(Lcom/discord/stores/StorePaymentSources$Actions;)Lcom/discord/stores/StorePaymentSources;
.locals 1
sget-object p0, Lcom/discord/stores/StorePaymentSources$Actions;->store:Lcom/discord/stores/StorePaymentSources;
if-nez p0, :cond_0
const-string v0, "store"
invoke-static {v0}, Lkotlin/jvm/internal/j;->dq(Ljava/lang/String;)V
:cond_0
return-object p0
.end method
.method public static final synthetic access$getStream$p(Lcom/discord/stores/StorePaymentSources$Actions;)Lcom/discord/stores/StoreStream;
.locals 1
sget-object p0, Lcom/discord/stores/StorePaymentSources$Actions;->stream:Lcom/discord/stores/StoreStream;
if-nez p0, :cond_0
const-string v0, "stream"
invoke-static {v0}, Lkotlin/jvm/internal/j;->dq(Ljava/lang/String;)V
:cond_0
return-object p0
.end method
.method public static final synthetic access$setStore$p(Lcom/discord/stores/StorePaymentSources$Actions;Lcom/discord/stores/StorePaymentSources;)V
.locals 0
sput-object p1, Lcom/discord/stores/StorePaymentSources$Actions;->store:Lcom/discord/stores/StorePaymentSources;
return-void
.end method
.method public static final synthetic access$setStream$p(Lcom/discord/stores/StorePaymentSources$Actions;Lcom/discord/stores/StoreStream;)V
.locals 0
sput-object p1, Lcom/discord/stores/StorePaymentSources$Actions;->stream:Lcom/discord/stores/StoreStream;
return-void
.end method
# virtual methods
.method public final fetchPaymentSources()V
.locals 4
sget-object v0, Lcom/discord/stores/StorePaymentSources$Actions;->stream:Lcom/discord/stores/StoreStream;
if-nez v0, :cond_0
const-string v1, "stream"
invoke-static {v1}, Lkotlin/jvm/internal/j;->dq(Ljava/lang/String;)V
:cond_0
sget-object v1, Lcom/discord/stores/StorePaymentSources$Actions$fetchPaymentSources$1;->INSTANCE:Lcom/discord/stores/StorePaymentSources$Actions$fetchPaymentSources$1;
check-cast v1, Lrx/functions/Action0;
invoke-virtual {v0, v1}, Lcom/discord/stores/StoreStream;->schedule(Lrx/functions/Action0;)V
sget-object v0, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
move-result-object v0
invoke-virtual {v0}, Lcom/discord/utilities/rest/RestAPI;->getPaymentSources()Lrx/Observable;
move-result-object v0
sget-object v1, Lcom/discord/stores/StorePaymentSources$Actions$fetchPaymentSources$2;->INSTANCE:Lcom/discord/stores/StorePaymentSources$Actions$fetchPaymentSources$2;
check-cast v1, Lrx/functions/b;
invoke-virtual {v0, v1}, Lrx/Observable;->e(Lrx/functions/b;)Lrx/Observable;
move-result-object v0
const-string v1, "RestAPI\n .api\n \u2026panion::wrap)\n }"
invoke-static {v0, v1}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v1, 0x0
const/4 v2, 0x1
const/4 v3, 0x0
invoke-static {v0, v1, v2, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->restSubscribeOn$default(Lrx/Observable;ZILjava/lang/Object;)Lrx/Observable;
move-result-object v0
sget-object v1, Lcom/discord/stores/StorePaymentSources$Actions$fetchPaymentSources$3;->INSTANCE:Lcom/discord/stores/StorePaymentSources$Actions$fetchPaymentSources$3;
check-cast v1, Lrx/functions/Action1;
sget-object v2, Lcom/discord/stores/StorePaymentSources$Actions$fetchPaymentSources$4;->INSTANCE:Lcom/discord/stores/StorePaymentSources$Actions$fetchPaymentSources$4;
check-cast v2, Lrx/functions/Action1;
invoke-virtual {v0, v1, v2}, Lrx/Observable;->a(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
return-void
.end method
.method public final init(Lcom/discord/stores/StorePaymentSources;Lcom/discord/stores/StoreStream;)V
.locals 1
const-string v0, "store"
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "stream"
invoke-static {p2, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
sput-object p1, Lcom/discord/stores/StorePaymentSources$Actions;->store:Lcom/discord/stores/StorePaymentSources;
sput-object p2, Lcom/discord/stores/StorePaymentSources$Actions;->stream:Lcom/discord/stores/StoreStream;
return-void
.end method