TransactionKind Class

public final class TransactionKind
extends ExpandableStringEnum<TransactionKind>

Type of the transaction, billed or unbilled.

Field Summary

Modifier and Type Field and Description
static final TransactionKind ALL

Static value All for TransactionKind.

static final TransactionKind OTHER

Static value Other for TransactionKind.

static final TransactionKind RESERVATION

Static value Reservation for TransactionKind.

Constructor Summary

Constructor Description
TransactionKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TransactionKind value.

Method Summary

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

Creates or finds a TransactionKind from its string representation.

static Collection<TransactionKind> values()

Gets known TransactionKind values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALL

public static final TransactionKind ALL

Static value All for TransactionKind.

OTHER

public static final TransactionKind OTHER

Static value Other for TransactionKind.

RESERVATION

public static final TransactionKind RESERVATION

Static value Reservation for TransactionKind.

Constructor Details

TransactionKind

@Deprecated
public TransactionKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TransactionKind value.

Method Details

fromString

public static TransactionKind fromString(String name)

Creates or finds a TransactionKind from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TransactionKind.

values

public static Collection<TransactionKind> values()

Gets known TransactionKind values.

Returns:

known TransactionKind values.

Applies to