次の方法で共有


SkuTier Class

public final class SkuTier
extends ExpandableStringEnum<SkuTier>

Gets the sku tier. This is based on the SKU name.

Field Summary

Modifier and Type Field and Description
static final SkuTier FREE

Static value Free 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

FREE

public static final SkuTier FREE

Static value Free 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<SkuTier> values()

Gets known SkuTier values.

Returns:

known SkuTier values.

Applies to