|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CheckoutControllerStatus>
org.torweg.pulse.component.shop.checkout.CheckoutControllerStatus
public enum CheckoutControllerStatus
The CheckoutControllerStatus.
| Enum Constant Summary | |
|---|---|
DISPATCH_TYPE_NOT_AVAILABLE
The selected DispatchType is not available. |
|
DISPATCH_TYPE_NOT_COMBINABLE_WITH_PAYMENT_METHOD
The selected DispatchType is not combinable with the
OrderBuilder's PaymentMethod. |
|
FORM_ERROR
A form parsing error has occurred. |
|
NO_DISPATCH_TYPE_OR_PAYMENT_METHOD
There is no DispatchType and/or no PaymentMethod
available. |
|
NO_DISPATCH_TYPE_SELECTED
No DispatchType has been selected to be set. |
|
NO_PAYMENT_METHOD_SELECTED
No PaymentMethod has been selected to be set. |
|
OK
Everything is fine. |
|
ORDER_BUILDER_INCOMPLETE
The OrderBuilder's data has not yet been completely set. |
|
ORDER_BUILDER_NULL_OR_INVALID
The OrderBuilder is either null, or its
OrderStatus is invalid. |
|
ORDER_ID_INVALID
The Order id in the session is invalid. |
|
ORDER_ID_PARAM_INVALID
The given Order id parameter is invalid. |
|
PAYMENT_DATA_NULL_OR_INVALID
The PaymentData is either null or invalid. |
|
PAYMENT_METHOD_NOT_AVAILABLE
The selected PaymentMethod is not available. |
|
PAYMENT_METHOD_NOT_COMBINABLE_WITH_DISPATCH_TYPE
The selected PaymentMethod is not combinable with the
OrderBuilder's DispatchType. |
|
SHOPPING_CART_NULL_OR_EMPTY
The ShoppingCart is either null, or empty. |
|
TOTAL_PRICE_OUT_OF_BOUNDS
The total price of the OrderBuilder is out of bounds. |
|
USER_INVALID
The current User's id does not match the Customer's user
id. |
|
USER_NOT_LOGGED_IN
The user is not logged in. |
|
| Method Summary | |
|---|---|
static CheckoutControllerStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CheckoutControllerStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CheckoutControllerStatus DISPATCH_TYPE_NOT_AVAILABLE
DispatchType is not available.
public static final CheckoutControllerStatus DISPATCH_TYPE_NOT_COMBINABLE_WITH_PAYMENT_METHOD
DispatchType is not combinable with the
OrderBuilder's PaymentMethod.
public static final CheckoutControllerStatus FORM_ERROR
public static final CheckoutControllerStatus NO_DISPATCH_TYPE_OR_PAYMENT_METHOD
DispatchType and/or no PaymentMethod
available.
public static final CheckoutControllerStatus NO_DISPATCH_TYPE_SELECTED
DispatchType has been selected to be set.
public static final CheckoutControllerStatus NO_PAYMENT_METHOD_SELECTED
PaymentMethod has been selected to be set.
public static final CheckoutControllerStatus OK
public static final CheckoutControllerStatus ORDER_BUILDER_INCOMPLETE
OrderBuilder's data has not yet been completely set.
public static final CheckoutControllerStatus ORDER_BUILDER_NULL_OR_INVALID
OrderBuilder is either null, or its
OrderStatus is invalid.
public static final CheckoutControllerStatus ORDER_ID_INVALID
Order id in the session is invalid.
public static final CheckoutControllerStatus ORDER_ID_PARAM_INVALID
Order id parameter is invalid.
public static final CheckoutControllerStatus TOTAL_PRICE_OUT_OF_BOUNDS
OrderBuilder is out of bounds.
public static final CheckoutControllerStatus PAYMENT_DATA_NULL_OR_INVALID
PaymentData is either null or invalid.
public static final CheckoutControllerStatus PAYMENT_METHOD_NOT_AVAILABLE
PaymentMethod is not available.
public static final CheckoutControllerStatus PAYMENT_METHOD_NOT_COMBINABLE_WITH_DISPATCH_TYPE
PaymentMethod is not combinable with the
OrderBuilder's DispatchType.
public static final CheckoutControllerStatus SHOPPING_CART_NULL_OR_EMPTY
ShoppingCart is either null, or empty.
public static final CheckoutControllerStatus USER_NOT_LOGGED_IN
public static final CheckoutControllerStatus USER_INVALID
User's id does not match the Customer's user
id.
| Method Detail |
|---|
public static final CheckoutControllerStatus[] values()
for(CheckoutControllerStatus c : CheckoutControllerStatus.values())
System.out.println(c);
public static CheckoutControllerStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||