EventType Class

public final class EventType
extends ExpandableStringEnum<EventType>

Identifies the type of the event.

Field Summary

Modifier and Type Field and Description
static final EventType CREDIT_EXPIRED

Static value CreditExpired for EventType.

static final EventType NEW_CREDIT

Static value NewCredit for EventType.

static final EventType PENDING_ADJUSTMENTS

Static value PendingAdjustments for EventType.

static final EventType PENDING_CHARGES

Static value PendingCharges for EventType.

static final EventType PENDING_EXPIRED_CREDIT

Static value PendingExpiredCredit for EventType.

static final EventType PENDING_NEW_CREDIT

Static value PendingNewCredit for EventType.

static final EventType SETTLED_CHARGES

Static value SettledCharges for EventType.

static final EventType UN_KNOWN

Static value UnKnown for EventType.

Constructor Summary

Constructor Description
EventType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EventType value.

Method Summary

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

Creates or finds a EventType from its string representation.

static Collection<EventType> values()

Gets known EventType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CREDIT_EXPIRED

public static final EventType CREDIT_EXPIRED

Static value CreditExpired for EventType.

NEW_CREDIT

public static final EventType NEW_CREDIT

Static value NewCredit for EventType.

PENDING_ADJUSTMENTS

public static final EventType PENDING_ADJUSTMENTS

Static value PendingAdjustments for EventType.

PENDING_CHARGES

public static final EventType PENDING_CHARGES

Static value PendingCharges for EventType.

PENDING_EXPIRED_CREDIT

public static final EventType PENDING_EXPIRED_CREDIT

Static value PendingExpiredCredit for EventType.

PENDING_NEW_CREDIT

public static final EventType PENDING_NEW_CREDIT

Static value PendingNewCredit for EventType.

SETTLED_CHARGES

public static final EventType SETTLED_CHARGES

Static value SettledCharges for EventType.

UN_KNOWN

public static final EventType UN_KNOWN

Static value UnKnown for EventType.

Constructor Details

EventType

@Deprecated
public EventType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EventType value.

Method Details

fromString

public static EventType fromString(String name)

Creates or finds a EventType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EventType.

values

public static Collection<EventType> values()

Gets known EventType values.

Returns:

known EventType values.

Applies to