LotSource Class

public final class LotSource
extends ExpandableStringEnum<LotSource>

The source of the lot.

Field Summary

Modifier and Type Field and Description
static final LotSource CONSUMPTION_COMMITMENT

Static value ConsumptionCommitment for LotSource.

static final LotSource PROMOTIONAL_CREDIT

Static value PromotionalCredit for LotSource.

static final LotSource PURCHASED_CREDIT

Static value PurchasedCredit for LotSource.

Constructor Summary

Constructor Description
LotSource()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LotSource value.

Method Summary

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

Creates or finds a LotSource from its string representation.

static Collection<LotSource> values()

Gets known LotSource values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONSUMPTION_COMMITMENT

public static final LotSource CONSUMPTION_COMMITMENT

Static value ConsumptionCommitment for LotSource.

PROMOTIONAL_CREDIT

public static final LotSource PROMOTIONAL_CREDIT

Static value PromotionalCredit for LotSource.

PURCHASED_CREDIT

public static final LotSource PURCHASED_CREDIT

Static value PurchasedCredit for LotSource.

Constructor Details

LotSource

@Deprecated
public LotSource()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LotSource value.

Method Details

fromString

public static LotSource fromString(String name)

Creates or finds a LotSource from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LotSource.

values

public static Collection<LotSource> values()

Gets known LotSource values.

Returns:

known LotSource values.

Applies to