Changes since
the last release

com.ebay.soap.eBLBaseComponents
Enum EndReasonCodeType

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

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

Java class for EndReasonCodeType.

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

 <simpleType name="EndReasonCodeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="LostOrBroken"/>
     <enumeration value="NotAvailable"/>
     <enumeration value="Incorrect"/>
     <enumeration value="OtherListingError"/>
     <enumeration value="CustomCode"/>
     <enumeration value="SellToHighBidder"/>
     <enumeration value="Sold"/>
     <enumeration value="ProductDeleted"/>
   </restriction>
 </simpleType>
 
Note: Per JAXB standards, underscores are added to separate words in enumerations (e.g., PayPal becomes PAY_PAL).


Enum Constant Summary
CUSTOM_CODE
          Reserved for internal or future use.
INCORRECT
          Use this enumeration value in an End listing call if the seller is ending a listing because the start price or reserve price is incorrect.
LOST_OR_BROKEN
          Use this enumeration value in an End listing call if the seller is ending a listing because the item was lost or is broken.
NOT_AVAILABLE
          Use this enumeration value in an End listing call if the seller is ending a listing because the item is no longer available for sale.
OTHER_LISTING_ERROR
          Use this enumeration value in an End listing call if the seller is ending a listing because the listing contained an error (other than start price or reserve price).
PRODUCT_DELETED
          For internal use only.
SELL_TO_HIGH_BIDDER
          Use this enumeration value in an End listing call if the seller is ending a listing because they want to sell an auction item to the current high bidder.
SOLD
          The vehicle was sold.
 
Method Summary
static EndReasonCodeType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static EndReasonCodeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EndReasonCodeType[] 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

LOST_OR_BROKEN

public static final EndReasonCodeType LOST_OR_BROKEN
Use this enumeration value in an End listing call if the seller is ending a listing because the item was lost or is broken.


NOT_AVAILABLE

public static final EndReasonCodeType NOT_AVAILABLE
Use this enumeration value in an End listing call if the seller is ending a listing because the item is no longer available for sale.


INCORRECT

public static final EndReasonCodeType INCORRECT
Use this enumeration value in an End listing call if the seller is ending a listing because the start price or reserve price is incorrect.


OTHER_LISTING_ERROR

public static final EndReasonCodeType OTHER_LISTING_ERROR
Use this enumeration value in an End listing call if the seller is ending a listing because the listing contained an error (other than start price or reserve price).


CUSTOM_CODE

public static final EndReasonCodeType CUSTOM_CODE
Reserved for internal or future use.


SELL_TO_HIGH_BIDDER

public static final EndReasonCodeType SELL_TO_HIGH_BIDDER
Use this enumeration value in an End listing call if the seller is ending a listing because they want to sell an auction item to the current high bidder. A seller can end a listing early in order to sell to the current high bidder when the listing has qualifying bids (i.e., there is a current high bid that, when applicable, meets the minimum reserve price) and there is more than 12 hours before the listing ends.
Note: In the last 12 hours of an item listing, you cannot end an item early if it has bids.


SOLD

public static final EndReasonCodeType SOLD
The vehicle was sold. Applies to local classified listings for vehicles only.


PRODUCT_DELETED

public static final EndReasonCodeType PRODUCT_DELETED
For internal use only. This enumeration value cannot be used by the seller in an End listing call, but it will get returned in GetItem if a listing was administratively ended by eBay if the item in a listing becomes unpurchasable due to the eBay Catalog product associated with the listing being removed from the catalog.

Method Detail

values

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

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

valueOf

public static EndReasonCodeType 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 EndReasonCodeType 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.