Changes since
the last release

com.ebay.soap.eBLBaseComponents
Enum BestOfferActionCodeType

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

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

Java class for BestOfferActionCodeType.

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

 <simpleType name="BestOfferActionCodeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="Accept"/>
     <enumeration value="Decline"/>
     <enumeration value="Counter"/>
     <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
ACCEPT
          This value should be passed in to the Action field to accept the Best Offer identified in the BestOfferID field.
COUNTER
          This value should be passed in to the Action field to counter a buyer's Best Offer or Counter Offer.
CUSTOM_CODE
          Reserved for internal or future use.
DECLINE
          This value should be passed in to the Action field to decline one or more Best Offers identified by one or more BestOfferID fields.
 
Method Summary
static BestOfferActionCodeType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static BestOfferActionCodeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BestOfferActionCodeType[] 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

ACCEPT

public static final BestOfferActionCodeType ACCEPT
This value should be passed in to the Action field to accept the Best Offer identified in the BestOfferID field. Note that only one Best Offer may be accepted in a single RespondToBestOffer call.


DECLINE

public static final BestOfferActionCodeType DECLINE
This value should be passed in to the Action field to decline one or more Best Offers identified by one or more BestOfferID fields. Note that multiple Best Offers may be declined in a single RespondToBestOffer call.


COUNTER

public static final BestOfferActionCodeType COUNTER
This value should be passed in to the Action field to counter a buyer's Best Offer or Counter Offer. Note that a seller may only counter one Best Offer in a single RespondToBestOffer call. If a seller is using the RespondToBestOffer call to counter a Best Offer, the counter offer price must be specified in the CounterOfferPrice field, and the quantity of items in the Best Offer must be specified in the CounterOfferQuantity field.


CUSTOM_CODE

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

Method Detail

values

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

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

valueOf

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