Changes since
the last release

com.ebay.soap.eBLBaseComponents
Enum CancelReasonCodeType

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

public enum CancelReasonCodeType
extends Enum<CancelReasonCodeType>

Java class for CancelReasonCodeType.

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

 <simpleType name="CancelReasonCodeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="OutOfStock"/>
     <enumeration value="BuyerNoShow"/>
     <enumeration value="BuyerRefused"/>
     <enumeration value="BuyerNotSchedule"/>
     <enumeration value="BuyerCancelOrder"/>
     <enumeration value="ValetDeliveryIssues"/>
     <enumeration value="ValetUnavailable"/>
     <enumeration value="OrderPlacedByMistake"/>
     <enumeration value="PriceTooHigh"/>
     <enumeration value="FoundCheaperPrice"/>
     <enumeration value="WontArriveInTime"/>
     <enumeration value="BuyerCancelOrAddressIssue"/>
     <enumeration value="OutOfStockOrCannotFulfill"/>
     <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
BUYER_CANCEL_OR_ADDRESS_ISSUE
          This value indicates that the seller initiated the cancellation of the order but at the request of the buyer, or if the buyer supplied a bad/incorrect address at purchase time.
BUYER_CANCEL_ORDER
          This value indicates that the seller initiated the cancellation of the order but at the request of the buyer.
BUYER_NO_SHOW
          This value indicates that the eBay Scheduled Delivery order was cancelled due to the fact that the buyer was not at the expected delivery location to receive the order.
BUYER_NOT_SCHEDULE
          This value indicates that the eBay Scheduled Delivery order was cancelled due to the fact that the buyer did not successfully schedule the delivery of the order.
BUYER_REFUSED
          This value indicates that the eBay Scheduled Delivery order was cancelled due to the fact that the buyer refused to accept the order.
CUSTOM_CODE
          This value is reserved for internal or future use.
FOUND_CHEAPER_PRICE
          This value indicates that the cancellation of the eBay order was initiated by the buyer because the buyer found the same item somewhere else at a cheaper price.
ORDER_PLACED_BY_MISTAKE
          This value indicates that the cancellation of the eBay order was initiated by the buyer because the order was placed by mistake.
OUT_OF_STOCK
          This value indicates that the eBay order was cancelled by the seller due to the fact that one or more order line items were out-of-stock.
OUT_OF_STOCK_OR_CANNOT_FULFILL
          This value indicates that the eBay order was cancelled by the seller due to the fact that one or more order line items were out-of-stock, or due to another reason why the seller was unable to fulfill the order.
PRICE_TOO_HIGH
          This value indicates that the cancellation of the eBay order was initiated by the buyer because the buyer decided that the price for the item was too high.
VALET_DELIVERY_ISSUES
          This value indicates that the eBay Scheduled Delivery order was cancelled due to the fact that the delivery person had an issue delivering the order to the buyer.
VALET_UNAVAILABLE
          This value indicates that the eBay Scheduled Delivery order was cancelled due to the fact that no delivery person was available to deliver the order to the buyer.
WONT_ARRIVE_IN_TIME
          This value indicates that the cancellation of the eBay order was initiated by the buyer because the buyer realized that the order will not arrive soon enough.
 
Method Summary
static CancelReasonCodeType fromValue(String v)
           
 String value()
           
static CancelReasonCodeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CancelReasonCodeType[] 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

OUT_OF_STOCK

public static final CancelReasonCodeType OUT_OF_STOCK
This value indicates that the eBay order was cancelled by the seller due to the fact that one or more order line items were out-of-stock. This reason given by the seller will result in a seller defect.


BUYER_NO_SHOW

public static final CancelReasonCodeType BUYER_NO_SHOW
This value indicates that the eBay Scheduled Delivery order was cancelled due to the fact that the buyer was not at the expected delivery location to receive the order. This value is only applicable to eBay Scheduled Delivery orders, a service that is currently only available in the London area (UK).


BUYER_REFUSED

public static final CancelReasonCodeType BUYER_REFUSED
This value indicates that the eBay Scheduled Delivery order was cancelled due to the fact that the buyer refused to accept the order. This value is only applicable to eBay Scheduled Delivery orders, a service that is currently only available in the London area (UK).


BUYER_NOT_SCHEDULE

public static final CancelReasonCodeType BUYER_NOT_SCHEDULE
This value indicates that the eBay Scheduled Delivery order was cancelled due to the fact that the buyer did not successfully schedule the delivery of the order. This value is only applicable to eBay Scheduled Delivery orders, a service that is currently only available in the London area (UK).


BUYER_CANCEL_ORDER

public static final CancelReasonCodeType BUYER_CANCEL_ORDER
This value indicates that the seller initiated the cancellation of the order but at the request of the buyer. This is a cancel reason that the seller gives to avoid a seller defect for the cancellation.


VALET_DELIVERY_ISSUES

public static final CancelReasonCodeType VALET_DELIVERY_ISSUES
This value indicates that the eBay Scheduled Delivery order was cancelled due to the fact that the delivery person had an issue delivering the order to the buyer. This value is only applicable to eBay Scheduled Delivery orders, a service that is currently only available in the London area (UK).


VALET_UNAVAILABLE

public static final CancelReasonCodeType VALET_UNAVAILABLE
This value indicates that the eBay Scheduled Delivery order was cancelled due to the fact that no delivery person was available to deliver the order to the buyer. This value is only applicable to eBay Scheduled Delivery orders, a service that is currently only available in the London area (UK).


ORDER_PLACED_BY_MISTAKE

public static final CancelReasonCodeType ORDER_PLACED_BY_MISTAKE
This value indicates that the cancellation of the eBay order was initiated by the buyer because the order was placed by mistake.


PRICE_TOO_HIGH

public static final CancelReasonCodeType PRICE_TOO_HIGH
This value indicates that the cancellation of the eBay order was initiated by the buyer because the buyer decided that the price for the item was too high.


FOUND_CHEAPER_PRICE

public static final CancelReasonCodeType FOUND_CHEAPER_PRICE
This value indicates that the cancellation of the eBay order was initiated by the buyer because the buyer found the same item somewhere else at a cheaper price.


WONT_ARRIVE_IN_TIME

public static final CancelReasonCodeType WONT_ARRIVE_IN_TIME
This value indicates that the cancellation of the eBay order was initiated by the buyer because the buyer realized that the order will not arrive soon enough.


BUYER_CANCEL_OR_ADDRESS_ISSUE

public static final CancelReasonCodeType BUYER_CANCEL_OR_ADDRESS_ISSUE
This value indicates that the seller initiated the cancellation of the order but at the request of the buyer, or if the buyer supplied a bad/incorrect address at purchase time. This is a cancel reason that the seller can give to avoid a seller defect for the cancellation.


OUT_OF_STOCK_OR_CANNOT_FULFILL

public static final CancelReasonCodeType OUT_OF_STOCK_OR_CANNOT_FULFILL
This value indicates that the eBay order was cancelled by the seller due to the fact that one or more order line items were out-of-stock, or due to another reason why the seller was unable to fulfill the order. This reason given by the seller will result in a seller defect.


CUSTOM_CODE

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

Method Detail

values

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

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

valueOf

public static CancelReasonCodeType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static CancelReasonCodeType fromValue(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.