SkuType Class

public final class SkuType
extends ExpandableStringEnum<SkuType>

Name of the Sku.

Field Summary

Modifier and Type Field and Description
static final SkuType BASIC

Static value Basic for SkuType.

static final SkuType CONSUMPTION

Static value Consumption for SkuType.

static final SkuType DEVELOPER

Static value Developer for SkuType.

static final SkuType ISOLATED

Static value Isolated for SkuType.

static final SkuType PREMIUM

Static value Premium for SkuType.

static final SkuType STANDARD

Static value Standard for SkuType.

Constructor Summary

Constructor Description
SkuType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SkuType value.

Method Summary

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

Creates or finds a SkuType from its string representation.

static Collection<SkuType> values()

Gets known SkuType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BASIC

public static final SkuType BASIC

Static value Basic for SkuType.

CONSUMPTION

public static final SkuType CONSUMPTION

Static value Consumption for SkuType.

DEVELOPER

public static final SkuType DEVELOPER

Static value Developer for SkuType.

ISOLATED

public static final SkuType ISOLATED

Static value Isolated for SkuType.

PREMIUM

public static final SkuType PREMIUM

Static value Premium for SkuType.

STANDARD

public static final SkuType STANDARD

Static value Standard for SkuType.

Constructor Details

SkuType

@Deprecated
public SkuType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SkuType value.

Method Details

fromString

public static SkuType fromString(String name)

Creates or finds a SkuType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SkuType.

values

public static Collection values()

Gets known SkuType values.

Returns:

known SkuType values.

Applies to