AvailablePromotion Class

public final class AvailablePromotion
extends ExpandableStringEnum<AvailablePromotion>

Defines values for AvailablePromotion.

Field Summary

Modifier and Type Field and Description
static final AvailablePromotion FREE_TRIAL

Static value FreeTrial for AvailablePromotion.

static final AvailablePromotion NONE

Static value None for AvailablePromotion.

Constructor Summary

Constructor Description
AvailablePromotion()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AvailablePromotion value.

Method Summary

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

Creates or finds a AvailablePromotion from its string representation.

static Collection<AvailablePromotion> values()

Gets known AvailablePromotion values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FREE_TRIAL

public static final AvailablePromotion FREE_TRIAL

Static value FreeTrial for AvailablePromotion.

NONE

public static final AvailablePromotion NONE

Static value None for AvailablePromotion.

Constructor Details

AvailablePromotion

@Deprecated
public AvailablePromotion()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AvailablePromotion value.

Method Details

fromString

public static AvailablePromotion fromString(String name)

Creates or finds a AvailablePromotion from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AvailablePromotion.

values

public static Collection<AvailablePromotion> values()

Gets known AvailablePromotion values.

Returns:

known AvailablePromotion values.

Applies to