619 lines
24 KiB
Smali
619 lines
24 KiB
Smali
.class public final enum Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
.super Ljava/lang/Enum;
|
|
.source "ModelSubscriptionPlan.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/models/domain/ModelSubscriptionPlan;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x4019
|
|
name = "SubscriptionPlanType"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Enum<",
|
|
"Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic $VALUES:[Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
.field public static final Companion:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType$Companion;
|
|
|
|
.field public static final LEGACY_PLANS:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum NONE_MONTH:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
.field public static final enum NONE_YEAR:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
.field public static final enum PREMIUM_GUILD_MONTH:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
.field public static final PREMIUM_GUILD_PLANS:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum PREMIUM_GUILD_YEAR:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
.field public static final enum PREMIUM_MONTH_LEGACY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
.field public static final enum PREMIUM_MONTH_TIER_1:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
.field public static final enum PREMIUM_MONTH_TIER_2:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
.field public static final PREMIUM_PLANS:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final enum PREMIUM_YEAR_LEGACY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
.field public static final enum PREMIUM_YEAR_TIER_1:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
.field public static final enum PREMIUM_YEAR_TIER_2:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
.field public static final TIER_1_PLANS:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final TIER_2_PLANS:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public final interval:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;
|
|
|
|
.field public final planId:J
|
|
|
|
.field public final planTypeString:Ljava/lang/String;
|
|
|
|
.field public final premiumTier:Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;
|
|
|
|
.field public final price:I
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 20
|
|
|
|
const/16 v0, 0xa
|
|
|
|
new-array v0, v0, [Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
new-instance v10, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
sget-object v5, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;->MONTHLY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;
|
|
|
|
sget-object v9, Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;->NONE:Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;
|
|
|
|
const-string v2, "NONE_MONTH"
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const-string v6, "none_month"
|
|
|
|
const-wide v7, 0x8b873825d000000L
|
|
|
|
move-object v1, v10
|
|
|
|
invoke-direct/range {v1 .. v9}, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;-><init>(Ljava/lang/String;IILcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;Ljava/lang/String;JLcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;)V
|
|
|
|
sput-object v10, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->NONE_MONTH:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
aput-object v10, v0, v1
|
|
|
|
new-instance v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
sget-object v15, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;->YEARLY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;
|
|
|
|
sget-object v19, Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;->NONE:Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;
|
|
|
|
const-string v12, "NONE_YEAR"
|
|
|
|
const/4 v13, 0x1
|
|
|
|
const/4 v14, 0x0
|
|
|
|
const-string v16, "none_year"
|
|
|
|
const-wide v17, 0x8b875b5c4c00000L
|
|
|
|
move-object v11, v2
|
|
|
|
invoke-direct/range {v11 .. v19}, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;-><init>(Ljava/lang/String;IILcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;Ljava/lang/String;JLcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;)V
|
|
|
|
sput-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->NONE_YEAR:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
const/4 v3, 0x1
|
|
|
|
aput-object v2, v0, v3
|
|
|
|
new-instance v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
sget-object v8, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;->MONTHLY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;
|
|
|
|
sget-object v12, Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;->TIER_2:Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;
|
|
|
|
const-string v5, "PREMIUM_MONTH_LEGACY"
|
|
|
|
const/4 v6, 0x2
|
|
|
|
const/16 v7, 0x1f3
|
|
|
|
const-string v9, "premium_month"
|
|
|
|
const-wide v10, 0x719c0a6fe400000L # 1.85953420074464E-274
|
|
|
|
move-object v4, v2
|
|
|
|
invoke-direct/range {v4 .. v12}, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;-><init>(Ljava/lang/String;IILcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;Ljava/lang/String;JLcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;)V
|
|
|
|
sput-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_MONTH_LEGACY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
const/4 v4, 0x2
|
|
|
|
aput-object v2, v0, v4
|
|
|
|
new-instance v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
sget-object v9, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;->YEARLY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;
|
|
|
|
sget-object v13, Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;->TIER_2:Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;
|
|
|
|
const-string v6, "PREMIUM_YEAR_LEGACY"
|
|
|
|
const/4 v7, 0x3
|
|
|
|
const/16 v8, 0x1387
|
|
|
|
const-string v10, "premium_year"
|
|
|
|
const-wide v11, 0x719c0a80c000000L
|
|
|
|
move-object v5, v2
|
|
|
|
invoke-direct/range {v5 .. v13}, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;-><init>(Ljava/lang/String;IILcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;Ljava/lang/String;JLcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;)V
|
|
|
|
sput-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_YEAR_LEGACY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
const/4 v5, 0x3
|
|
|
|
aput-object v2, v0, v5
|
|
|
|
new-instance v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
sget-object v10, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;->MONTHLY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;
|
|
|
|
sget-object v14, Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;->TIER_1:Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;
|
|
|
|
const-string v7, "PREMIUM_MONTH_TIER_1"
|
|
|
|
const/4 v8, 0x4
|
|
|
|
const/16 v9, 0x1f3
|
|
|
|
const-string v11, "premium_month_tier_1"
|
|
|
|
const-wide v12, 0x719c0aa9f800000L
|
|
|
|
move-object v6, v2
|
|
|
|
invoke-direct/range {v6 .. v14}, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;-><init>(Ljava/lang/String;IILcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;Ljava/lang/String;JLcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;)V
|
|
|
|
sput-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_MONTH_TIER_1:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
const/4 v5, 0x4
|
|
|
|
aput-object v2, v0, v5
|
|
|
|
new-instance v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
sget-object v10, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;->YEARLY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;
|
|
|
|
sget-object v14, Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;->TIER_1:Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;
|
|
|
|
const-string v7, "PREMIUM_YEAR_TIER_1"
|
|
|
|
const/4 v8, 0x5
|
|
|
|
const/16 v9, 0x1387
|
|
|
|
const-string v11, "premium_year_tier_1"
|
|
|
|
const-wide v12, 0x719c0abd8800000L
|
|
|
|
move-object v6, v2
|
|
|
|
invoke-direct/range {v6 .. v14}, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;-><init>(Ljava/lang/String;IILcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;Ljava/lang/String;JLcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;)V
|
|
|
|
sput-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_YEAR_TIER_1:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
const/4 v5, 0x5
|
|
|
|
aput-object v2, v0, v5
|
|
|
|
new-instance v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
sget-object v10, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;->MONTHLY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;
|
|
|
|
sget-object v14, Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;->TIER_2:Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;
|
|
|
|
const-string v7, "PREMIUM_MONTH_TIER_2"
|
|
|
|
const/4 v8, 0x6
|
|
|
|
const/16 v9, 0x3e7
|
|
|
|
const-string v11, "premium_month_tier_2"
|
|
|
|
const-wide v12, 0x719c0acbe000000L
|
|
|
|
move-object v6, v2
|
|
|
|
invoke-direct/range {v6 .. v14}, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;-><init>(Ljava/lang/String;IILcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;Ljava/lang/String;JLcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;)V
|
|
|
|
sput-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_MONTH_TIER_2:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
const/4 v5, 0x6
|
|
|
|
aput-object v2, v0, v5
|
|
|
|
new-instance v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
sget-object v10, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;->YEARLY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;
|
|
|
|
sget-object v14, Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;->TIER_2:Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;
|
|
|
|
const-string v7, "PREMIUM_YEAR_TIER_2"
|
|
|
|
const/4 v8, 0x7
|
|
|
|
const/16 v9, 0x270f
|
|
|
|
const-string v11, "premium_year_tier_2"
|
|
|
|
const-wide v12, 0x719c0add1800000L
|
|
|
|
move-object v6, v2
|
|
|
|
invoke-direct/range {v6 .. v14}, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;-><init>(Ljava/lang/String;IILcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;Ljava/lang/String;JLcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;)V
|
|
|
|
sput-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_YEAR_TIER_2:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
const/4 v5, 0x7
|
|
|
|
aput-object v2, v0, v5
|
|
|
|
new-instance v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
sget-object v10, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;->MONTHLY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;
|
|
|
|
const-string v7, "PREMIUM_GUILD_MONTH"
|
|
|
|
const/16 v8, 0x8
|
|
|
|
const/16 v9, 0x1f3
|
|
|
|
const/4 v11, 0x0
|
|
|
|
const-wide v12, 0x832772c35420003L
|
|
|
|
const/4 v14, 0x0
|
|
|
|
move-object v6, v2
|
|
|
|
invoke-direct/range {v6 .. v14}, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;-><init>(Ljava/lang/String;IILcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;Ljava/lang/String;JLcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;)V
|
|
|
|
sput-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_GUILD_MONTH:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
const/16 v5, 0x8
|
|
|
|
aput-object v2, v0, v5
|
|
|
|
new-instance v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
sget-object v10, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;->YEARLY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;
|
|
|
|
const-string v7, "PREMIUM_GUILD_YEAR"
|
|
|
|
const/16 v8, 0x9
|
|
|
|
const/16 v9, 0x1387
|
|
|
|
const-wide v12, 0x832772d73c00005L
|
|
|
|
move-object v6, v2
|
|
|
|
invoke-direct/range {v6 .. v14}, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;-><init>(Ljava/lang/String;IILcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;Ljava/lang/String;JLcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;)V
|
|
|
|
sput-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_GUILD_YEAR:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
const/16 v5, 0x9
|
|
|
|
aput-object v2, v0, v5
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->$VALUES:[Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
new-instance v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType$Companion;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-direct {v0, v2}, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->Companion:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType$Companion;
|
|
|
|
new-array v0, v4, [Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
sget-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_YEAR_TIER_1:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
sget-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_MONTH_TIER_1:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
aput-object v2, v0, v3
|
|
|
|
invoke-static {v0}, Lj0/i/t;->setOf([Ljava/lang/Object;)Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->TIER_1_PLANS:Ljava/util/Set;
|
|
|
|
new-array v0, v4, [Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
sget-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_YEAR_LEGACY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
sget-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_MONTH_LEGACY:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
aput-object v2, v0, v3
|
|
|
|
invoke-static {v0}, Lj0/i/t;->setOf([Ljava/lang/Object;)Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->LEGACY_PLANS:Ljava/util/Set;
|
|
|
|
new-array v0, v4, [Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
sget-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_YEAR_TIER_2:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
sget-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_MONTH_TIER_2:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
aput-object v2, v0, v3
|
|
|
|
invoke-static {v0}, Lj0/i/t;->setOf([Ljava/lang/Object;)Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->LEGACY_PLANS:Ljava/util/Set;
|
|
|
|
invoke-static {v0, v2}, Lj0/i/t;->plus(Ljava/util/Set;Ljava/lang/Iterable;)Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->TIER_2_PLANS:Ljava/util/Set;
|
|
|
|
sget-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->TIER_1_PLANS:Ljava/util/Set;
|
|
|
|
invoke-static {v2, v0}, Lj0/i/t;->plus(Ljava/util/Set;Ljava/lang/Iterable;)Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_PLANS:Ljava/util/Set;
|
|
|
|
new-array v0, v4, [Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
sget-object v2, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_GUILD_MONTH:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
sget-object v1, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_GUILD_YEAR:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
aput-object v1, v0, v3
|
|
|
|
invoke-static {v0}, Lj0/i/t;->setOf([Ljava/lang/Object;)Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_GUILD_PLANS:Ljava/util/Set;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;IILcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;Ljava/lang/String;JLcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I",
|
|
"Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;",
|
|
"Ljava/lang/String;",
|
|
"J",
|
|
"Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
iput p3, p0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->price:I
|
|
|
|
iput-object p4, p0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->interval:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;
|
|
|
|
iput-object p5, p0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->planTypeString:Ljava/lang/String;
|
|
|
|
iput-wide p6, p0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->planId:J
|
|
|
|
iput-object p8, p0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->premiumTier:Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$getLEGACY_PLANS$cp()Ljava/util/Set;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->LEGACY_PLANS:Ljava/util/Set;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getPREMIUM_GUILD_PLANS$cp()Ljava/util/Set;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_GUILD_PLANS:Ljava/util/Set;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getPREMIUM_PLANS$cp()Ljava/util/Set;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_PLANS:Ljava/util/Set;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
.locals 1
|
|
|
|
const-class v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->$VALUES:[Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
invoke-virtual {v0}, [Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getInterval()Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->interval:Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionInterval;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getPlanId()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->planId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final getPlanTypeString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->planTypeString:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getPremiumTier()Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->premiumTier:Lcom/discord/models/domain/ModelSubscriptionPlan$PremiumTier;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getPrice()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->price:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final isGrandfathered()Z
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->LEGACY_PLANS:Ljava/util/Set;
|
|
|
|
invoke-interface {v0, p0}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final isPremiumSubscription()Z
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/discord/models/domain/ModelSubscriptionPlan$SubscriptionPlanType;->PREMIUM_PLANS:Ljava/util/Set;
|
|
|
|
invoke-interface {v0, p0}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|