Share via


SkuName Class

public final class SkuName
extends ExpandableStringEnum<SkuName>

Name of the sku.

Field Summary

Modifier and Type Field and Description
static final SkuName BASIC

Basic sku.

static final SkuName PREMIUM

Premium sku.

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

Basic sku.

PREMIUM

public static final SkuName PREMIUM

Premium sku.

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<SkuName> values()

Gets known SkuName values.

Returns:

known SkuName values.

Applies to