ProductStatusType Class

public final class ProductStatusType
extends ExpandableStringEnum<ProductStatusType>

The current status of the product.

Field Summary

Modifier and Type Field and Description
static final ProductStatusType ACTIVE

Static value Active for ProductStatusType.

static final ProductStatusType AUTO_RENEW

Static value AutoRenew for ProductStatusType.

static final ProductStatusType CANCELLED

Static value Cancelled for ProductStatusType.

static final ProductStatusType DISABLED

Static value Disabled for ProductStatusType.

static final ProductStatusType EXPIRED

Static value Expired for ProductStatusType.

static final ProductStatusType EXPIRING

Static value Expiring for ProductStatusType.

static final ProductStatusType INACTIVE

Static value Inactive for ProductStatusType.

static final ProductStatusType PAST_DUE

Static value PastDue for ProductStatusType.

Constructor Summary

Constructor Description
ProductStatusType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProductStatusType value.

Method Summary

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

Creates or finds a ProductStatusType from its string representation.

static Collection<ProductStatusType> values()

Gets known ProductStatusType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final ProductStatusType ACTIVE

Static value Active for ProductStatusType.

AUTO_RENEW

public static final ProductStatusType AUTO_RENEW

Static value AutoRenew for ProductStatusType.

CANCELLED

public static final ProductStatusType CANCELLED

Static value Cancelled for ProductStatusType.

DISABLED

public static final ProductStatusType DISABLED

Static value Disabled for ProductStatusType.

EXPIRED

public static final ProductStatusType EXPIRED

Static value Expired for ProductStatusType.

EXPIRING

public static final ProductStatusType EXPIRING

Static value Expiring for ProductStatusType.

INACTIVE

public static final ProductStatusType INACTIVE

Static value Inactive for ProductStatusType.

PAST_DUE

public static final ProductStatusType PAST_DUE

Static value PastDue for ProductStatusType.

Constructor Details

ProductStatusType

@Deprecated
public ProductStatusType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProductStatusType value.

Method Details

fromString

public static ProductStatusType fromString(String name)

Creates or finds a ProductStatusType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ProductStatusType.

values

public static Collection values()

Gets known ProductStatusType values.

Returns:

known ProductStatusType values.

Applies to