AutoRenew Class

public final class AutoRenew
extends ExpandableStringEnum<AutoRenew>

Indicates whether auto renewal is turned on or off for a product.

Field Summary

Modifier and Type Field and Description
static final AutoRenew OFF

Static value Off for AutoRenew.

static final AutoRenew ON

Static value On for AutoRenew.

Constructor Summary

Constructor Description
AutoRenew()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AutoRenew value.

Method Summary

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

Creates or finds a AutoRenew from its string representation.

static Collection<AutoRenew> values()

Gets known AutoRenew values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

OFF

public static final AutoRenew OFF

Static value Off for AutoRenew.

ON

public static final AutoRenew ON

Static value On for AutoRenew.

Constructor Details

AutoRenew

@Deprecated
public AutoRenew()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AutoRenew value.

Method Details

fromString

public static AutoRenew fromString(String name)

Creates or finds a AutoRenew from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AutoRenew.

values

public static Collection values()

Gets known AutoRenew values.

Returns:

known AutoRenew values.

Applies to