SkuName Class

public final class SkuName
extends ExpandableStringEnum<SkuName>

Name of this SKU.

Field Summary

Modifier and Type Field and Description
static final SkuName BASIC

Static value Basic for SkuName.

static final SkuName PREMIUM

Static value Premium for SkuName.

static final SkuName STANDARD

Static value Standard for SkuName.

Constructor Summary

Constructor Description
SkuName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SkuName value.

Method Summary

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

Creates or finds a SkuName from its string representation.

static Collection<SkuName> values()

Gets known SkuName values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BASIC

public static final SkuName BASIC

Static value Basic for SkuName.

PREMIUM

public static final SkuName PREMIUM

Static value Premium for SkuName.

STANDARD

public static final SkuName STANDARD

Static value Standard for SkuName.

Constructor Details

SkuName

@Deprecated
public SkuName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SkuName value.

Method Details

fromString

public static SkuName fromString(String name)

Creates or finds a SkuName from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SkuName.

values

public static Collection values()

Gets known SkuName values.

Returns:

known SkuName values.

Applies to