Changes since
the last release

com.ebay.soap.eBLBaseComponents
Enum CancelStatusCodeType

java.lang.Object
  extended by java.lang.Enum<CancelStatusCodeType>
      extended by com.ebay.soap.eBLBaseComponents.CancelStatusCodeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CancelStatusCodeType>

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

Java class for CancelStatusCodeType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="CancelStatusCodeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="Invalid"/>
     <enumeration value="NotApplicable"/>
     <enumeration value="CancelRequested"/>
     <enumeration value="CancelPending"/>
     <enumeration value="CancelRejected"/>
     <enumeration value="CancelClosedNoRefund"/>
     <enumeration value="CancelClosedWithRefund"/>
     <enumeration value="CancelClosedUnknownRefund"/>
     <enumeration value="CancelClosedForCommitment"/>
     <enumeration value="CancelComplete"/>
     <enumeration value="CancelFailed"/>
     <enumeration value="CustomCode"/>
   </restriction>
 </simpleType>
 
Note: Per JAXB standards, underscores are added to separate words in enumerations (e.g., PayPal becomes PAY_PAL).


Enum Constant Summary
CANCEL_CLOSED_FOR_COMMITMENT
          This value indicates that since the buyer committed to buying the item but did not pay for it, the cancellation succeeded and no refund is needed.
CANCEL_CLOSED_NO_REFUND
          This value indicates that the order cancellation request has been closed, with no refund issued to the buyer.
CANCEL_CLOSED_UNKNOWN_REFUND
          This value indicates that the order cancellation request has been closed, and it is unknown whether or not a refund was issued to the buyer.
CANCEL_CLOSED_WITH_REFUND
          This value indicates that the order cancellation request has been closed, with a refund issued to the buyer.
CANCEL_COMPLETE
          This value indicates that the cancellation of the eBay order has been completed.
CANCEL_FAILED
          This value indicates that the cancellation of the eBay order has failed.
CANCEL_PENDING
          This value indicates that the cancellation of the eBay order has been initiated by the buyer and approved by the seller, but the cancellation request has yet to be completed.
CANCEL_REJECTED
          This value indicates that the cancellation of the eBay order initiated by the buyer has been rejected by the seller.
CANCEL_REQUESTED
          This value indicates that the buyer has initiated the cancellation of the eBay order.
CUSTOM_CODE
          This value is reserved for internal or future use.
INVALID
          This value indicates that the order cancellation request is invalid.
NOT_APPLICABLE
          This value indicates that the order cancellation request is not applicable.
 
Method Summary
static CancelStatusCodeType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static CancelStatusCodeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CancelStatusCodeType[] 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

INVALID

public static final CancelStatusCodeType INVALID
This value indicates that the order cancellation request is invalid.


NOT_APPLICABLE

public static final CancelStatusCodeType NOT_APPLICABLE
This value indicates that the order cancellation request is not applicable.


CANCEL_REQUESTED

public static final CancelStatusCodeType CANCEL_REQUESTED
This value indicates that the buyer has initiated the cancellation of the eBay order. It will be up to the seller to decide to approve or reject the cancellation request.


CANCEL_PENDING

public static final CancelStatusCodeType CANCEL_PENDING
This value indicates that the cancellation of the eBay order has been initiated by the buyer and approved by the seller, but the cancellation request has yet to be completed.


CANCEL_REJECTED

public static final CancelStatusCodeType CANCEL_REJECTED
This value indicates that the cancellation of the eBay order initiated by the buyer has been rejected by the seller.


CANCEL_CLOSED_NO_REFUND

public static final CancelStatusCodeType CANCEL_CLOSED_NO_REFUND
This value indicates that the order cancellation request has been closed, with no refund issued to the buyer.


CANCEL_CLOSED_WITH_REFUND

public static final CancelStatusCodeType CANCEL_CLOSED_WITH_REFUND
This value indicates that the order cancellation request has been closed, with a refund issued to the buyer.


CANCEL_CLOSED_UNKNOWN_REFUND

public static final CancelStatusCodeType CANCEL_CLOSED_UNKNOWN_REFUND
This value indicates that the order cancellation request has been closed, and it is unknown whether or not a refund was issued to the buyer. This value will generally be returned when the payment method used to pay for the order was something other than PayPal.


CANCEL_CLOSED_FOR_COMMITMENT

public static final CancelStatusCodeType CANCEL_CLOSED_FOR_COMMITMENT
This value indicates that since the buyer committed to buying the item but did not pay for it, the cancellation succeeded and no refund is needed.


CANCEL_COMPLETE

public static final CancelStatusCodeType CANCEL_COMPLETE
This value indicates that the cancellation of the eBay order has been completed.


CANCEL_FAILED

public static final CancelStatusCodeType CANCEL_FAILED
This value indicates that the cancellation of the eBay order has failed.


CUSTOM_CODE

public static final CancelStatusCodeType CUSTOM_CODE
This value is reserved for internal or future use.

Method Detail

values

public static CancelStatusCodeType[] 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 (CancelStatusCodeType c : CancelStatusCodeType.values())
    System.out.println(c);

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

valueOf

public static CancelStatusCodeType 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

value

public java.lang.String value()

fromValue

public static CancelStatusCodeType fromValue(java.lang.String v)

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.