pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.shop.checkout
Enum PaymentControllerStatus

java.lang.Object
  extended by java.lang.Enum<PaymentControllerStatus>
      extended by org.torweg.pulse.component.shop.checkout.PaymentControllerStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PaymentControllerStatus>

public enum PaymentControllerStatus
extends java.lang.Enum<PaymentControllerStatus>

The PaymentControllerStatus.

Version:
$Revision$
Author:
Christian Schatt

Enum Constant Summary
CANCELED
          The authorization/capture has been canceled.
FAILED
          The authorization/capture has failed.
OK
          Everything is fine.
ORDER_BUILDER_INCOMPLETE
          The OrderBuilder is incomplete.
ORDER_BUILDER_NULL
          The OrderBuilder is null.
ORDER_STATUS_INVALID
          The OrderStatus is invalid.
PAYMENT_DATA_ILLEGAL_TYPE
          The type of the PaymentData is illegal.
PAYMENT_DATA_NULL
          The PaymentData is null.
PAYMENT_STATUS_INVALID
          The PaymentData's PaymentStatus is invalid.
USER_INVALID
          The current User's id does not match the Customer's user id.
 
Method Summary
static PaymentControllerStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PaymentControllerStatus[] 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

CANCELED

public static final PaymentControllerStatus CANCELED
The authorization/capture has been canceled.


FAILED

public static final PaymentControllerStatus FAILED
The authorization/capture has failed.


OK

public static final PaymentControllerStatus OK
Everything is fine.


ORDER_BUILDER_INCOMPLETE

public static final PaymentControllerStatus ORDER_BUILDER_INCOMPLETE
The OrderBuilder is incomplete.


ORDER_BUILDER_NULL

public static final PaymentControllerStatus ORDER_BUILDER_NULL
The OrderBuilder is null.


ORDER_STATUS_INVALID

public static final PaymentControllerStatus ORDER_STATUS_INVALID
The OrderStatus is invalid.


PAYMENT_DATA_ILLEGAL_TYPE

public static final PaymentControllerStatus PAYMENT_DATA_ILLEGAL_TYPE
The type of the PaymentData is illegal.


PAYMENT_DATA_NULL

public static final PaymentControllerStatus PAYMENT_DATA_NULL
The PaymentData is null.


PAYMENT_STATUS_INVALID

public static final PaymentControllerStatus PAYMENT_STATUS_INVALID
The PaymentData's PaymentStatus is invalid.


USER_INVALID

public static final PaymentControllerStatus USER_INVALID
The current User's id does not match the Customer's user id.

Method Detail

values

public static final PaymentControllerStatus[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(PaymentControllerStatus c : PaymentControllerStatus.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static PaymentControllerStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name