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:
Serializable, Comparable<EndReasonCodeType>

public enum EndReasonCodeType
extends 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"/>
   </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
          The seller will use this enumeration value in an End listing call if that seller is ending a listing because the start price or reserve price is incorrect.
LOST_OR_BROKEN
          The seller will use this enumeration value in an End listing call if that seller is ending a listing because the item was lost or is broken.
NOT_AVAILABLE
          The seller will use this enumeration value in an End listing call if that seller is ending a listing because the item is no longer available for sale.
OTHER_LISTING_ERROR
          The seller will use this enumeration value in an End listing call if that seller is ending a listing because the listing contained an error (other than start price or reserve price).
SELL_TO_HIGH_BIDDER
          The seller will use this enumeration value in an End listing call if that seller is ending a listing because the seller wants to sell an auction item to the current high bidder.
SOLD
          The vehicle was sold.
 
Method Summary
static EndReasonCodeType fromValue(String v)
           
 String value()
           
static EndReasonCodeType valueOf(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
The seller will use this enumeration value in an End listing call if that seller is ending a listing because the item was lost or is broken.


NOT_AVAILABLE

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


INCORRECT

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


OTHER_LISTING_ERROR

public static final EndReasonCodeType OTHER_LISTING_ERROR
The seller will use this enumeration value in an End listing call if that 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
The seller will use this enumeration value in an End listing call if that seller is ending a listing because the seller wants to sell an auction item to the current high bidder. A seller can end a listing 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.

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(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 EndReasonCodeType 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.