SavingsPlanTerm Class

public final class SavingsPlanTerm
extends ExpandableStringEnum<SavingsPlanTerm>

Represents the Savings plan term in ISO 8601 format.

Field Summary

Modifier and Type Field and Description
static final SavingsPlanTerm P1Y

Static value P1Y for SavingsPlanTerm.

static final SavingsPlanTerm P3Y

Static value P3Y for SavingsPlanTerm.

static final SavingsPlanTerm P5Y

Static value P5Y for SavingsPlanTerm.

Constructor Summary

Constructor Description
SavingsPlanTerm()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SavingsPlanTerm value.

Method Summary

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

Creates or finds a SavingsPlanTerm from its string representation.

static Collection<SavingsPlanTerm> values()

Gets known SavingsPlanTerm values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

P1Y

public static final SavingsPlanTerm P1Y

Static value P1Y for SavingsPlanTerm.

P3Y

public static final SavingsPlanTerm P3Y

Static value P3Y for SavingsPlanTerm.

P5Y

public static final SavingsPlanTerm P5Y

Static value P5Y for SavingsPlanTerm.

Constructor Details

SavingsPlanTerm

@Deprecated
public SavingsPlanTerm()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SavingsPlanTerm value.

Method Details

fromString

public static SavingsPlanTerm fromString(String name)

Creates or finds a SavingsPlanTerm from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SavingsPlanTerm.

values

public static Collection<SavingsPlanTerm> values()

Gets known SavingsPlanTerm values.

Returns:

known SavingsPlanTerm values.

Applies to