paypalnvp.request
Enum TransactionSearch.TransactionStatus

java.lang.Object
  extended by java.lang.Enum<TransactionSearch.TransactionStatus>
      extended by paypalnvp.request.TransactionSearch.TransactionStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TransactionSearch.TransactionStatus>
Enclosing class:
TransactionSearch

public static enum TransactionSearch.TransactionStatus
extends java.lang.Enum<TransactionSearch.TransactionStatus>

Transaction status.


Enum Constant Summary
Denied
          You denied the payment.
PENDING
          The payment is pending.
Processing
          The payment is being processed.
Reversed
          A payment was reversed due to a chargeback or other type of reversal.
Success
          The payment has been completed and the funds have been added successfully to your account balance.
 
Method Summary
static TransactionSearch.TransactionStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TransactionSearch.TransactionStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PENDING

public static final TransactionSearch.TransactionStatus PENDING
The payment is pending. The specific reason the payment is pending is returned by the GetTransactionDetails API PendingReason field.


Processing

public static final TransactionSearch.TransactionStatus Processing
The payment is being processed.


Success

public static final TransactionSearch.TransactionStatus Success
The payment has been completed and the funds have been added successfully to your account balance.


Denied

public static final TransactionSearch.TransactionStatus Denied
You denied the payment. This happens only if the payment was previously pending.


Reversed

public static final TransactionSearch.TransactionStatus Reversed
A payment was reversed due to a chargeback or other type of reversal. The funds have been removed from your account balance and returned to the buyer.

Method Detail

values

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

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

valueOf

public static TransactionSearch.TransactionStatus 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
java.lang.NullPointerException - if the argument is null