SkuTier Class

public final class SkuTier
extends ExpandableStringEnum<SkuTier>

The SKU tier based on the SKU name.

Field Summary

Modifier and Type Field and Description
static final SkuTier BASIC

Static value Basic for SkuTier.

static final SkuTier CLASSIC

Static value Classic for SkuTier.

static final SkuTier PREMIUM

Static value Premium for SkuTier.

static final SkuTier STANDARD

Static value Standard for SkuTier.

Constructor Summary

Constructor Description
SkuTier()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SkuTier value.

Method Summary

Modifier and Type Method and Description
static SkuTier fromString(String name)

Creates or finds a SkuTier from its string representation.

static Collection<SkuTier> values()

Gets known SkuTier values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BASIC

public static final SkuTier BASIC

Static value Basic for SkuTier.

CLASSIC

public static final SkuTier CLASSIC

Static value Classic for SkuTier.

PREMIUM

public static final SkuTier PREMIUM

Static value Premium for SkuTier.

STANDARD

public static final SkuTier STANDARD

Static value Standard for SkuTier.

Constructor Details

SkuTier

@Deprecated
public SkuTier()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SkuTier value.

Method Details

fromString

public static SkuTier fromString(String name)

Creates or finds a SkuTier from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SkuTier.

values

public static Collection values()

Gets known SkuTier values.

Returns:

known SkuTier values.

Applies to