Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class RespondToBestOfferRequestType

java.lang.Object
  extended by com.ebay.soap.eBLBaseComponents.AbstractRequestType
      extended by com.ebay.soap.eBLBaseComponents.RespondToBestOfferRequestType
All Implemented Interfaces:
Serializable

public class RespondToBestOfferRequestType
extends AbstractRequestType
implements Serializable

This call enables the seller to accept or decline a buyer's Best Offer on an item, or make a counter offer to the buyer's Best Offer. A seller can decline multiple Best Offers with one call, but the seller cannot accept or counter offer multiple Best Offers with one call. Best Offers are not applicable to auction listings.

Note: Historically, the Best Offer feature has not been available for auction listings, but beginning with Version 1027, scheduled to roll out the first week in August 2017, sellers in the US, UK, and DE sites will be able to offer the Best Offer feature in auction listings. Once this new capability rolls out, the seller can offer Buy It Now or Best Offer in an auction listing, but not both.

Java class for RespondToBestOfferRequestType complex type.

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

 <complexType name="RespondToBestOfferRequestType">
   <complexContent>
     <extension base="{urn:ebay:apis:eBLBaseComponents}AbstractRequestType">
       <sequence>
         <element name="ItemID" type="{urn:ebay:apis:eBLBaseComponents}ItemIDType" minOccurs="0"/>
         <element name="BestOfferID" type="{urn:ebay:apis:eBLBaseComponents}BestOfferIDType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Action" type="{urn:ebay:apis:eBLBaseComponents}BestOfferActionCodeType" minOccurs="0"/>
         <element name="SellerResponse" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="CounterOfferPrice" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="CounterOfferQuantity" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  BestOfferActionCodeType action
           
protected  List<String> bestOfferID
           
protected  AmountType counterOfferPrice
           
protected  Integer counterOfferQuantity
           
protected  String itemID
           
protected  String sellerResponse
           
 
Fields inherited from class com.ebay.soap.eBLBaseComponents.AbstractRequestType
any, botBlock, detailLevel, endUserIP, errorHandling, errorLanguage, invocationID, messageID, outputSelector, version, warningLevel
 
Constructor Summary
RespondToBestOfferRequestType()
           
 
Method Summary
protected  List<String> _getBestOfferID()
           
 BestOfferActionCodeType getAction()
          Gets the value of the action property.
 String[] getBestOfferID()
           
 String getBestOfferID(int idx)
           
 int getBestOfferIDLength()
           
 AmountType getCounterOfferPrice()
          Gets the value of the counterOfferPrice property.
 Integer getCounterOfferQuantity()
          Gets the value of the counterOfferQuantity property.
 String getItemID()
          Gets the value of the itemID property.
 String getSellerResponse()
          Gets the value of the sellerResponse property.
 void setAction(BestOfferActionCodeType value)
          Sets the value of the action property.
 String setBestOfferID(int idx, String value)
           
 void setBestOfferID(String[] values)
           
 void setCounterOfferPrice(AmountType value)
          Sets the value of the counterOfferPrice property.
 void setCounterOfferQuantity(Integer value)
          Sets the value of the counterOfferQuantity property.
 void setItemID(String value)
          Sets the value of the itemID property.
 void setSellerResponse(String value)
          Sets the value of the sellerResponse property.
 
Methods inherited from class com.ebay.soap.eBLBaseComponents.AbstractRequestType
_getAny, _getDetailLevel, _getOutputSelector, getAny, getAny, getAnyLength, getBotBlock, getDetailLevel, getDetailLevel, getDetailLevelLength, getEndUserIP, getErrorHandling, getErrorLanguage, getInvocationID, getMessageID, getOutputSelector, getOutputSelector, getOutputSelectorLength, getVersion, getWarningLevel, setAny, setAny, setBotBlock, setDetailLevel, setDetailLevel, setEndUserIP, setErrorHandling, setErrorLanguage, setInvocationID, setMessageID, setOutputSelector, setOutputSelector, setVersion, setWarningLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

itemID

protected String itemID

bestOfferID

protected List<String> bestOfferID

action

protected BestOfferActionCodeType action

sellerResponse

protected String sellerResponse

counterOfferPrice

protected AmountType counterOfferPrice

counterOfferQuantity

protected Integer counterOfferQuantity
Constructor Detail

RespondToBestOfferRequestType

public RespondToBestOfferRequestType()
Method Detail

getItemID

public String getItemID()
Gets the value of the itemID property.

Returns:
possible object is String

setItemID

public void setItemID(String value)
Sets the value of the itemID property.

Parameters:
value - allowed object is String

getBestOfferID

public String[] getBestOfferID()
Returns:
array of String

getBestOfferID

public String getBestOfferID(int idx)
Returns:
one of String

getBestOfferIDLength

public int getBestOfferIDLength()

setBestOfferID

public void setBestOfferID(String[] values)
Parameters:
values - allowed objects are String

_getBestOfferID

protected List<String> _getBestOfferID()

setBestOfferID

public String setBestOfferID(int idx,
                             String value)
Parameters:
value - allowed object is String

getAction

public BestOfferActionCodeType getAction()
Gets the value of the action property.

Returns:
possible object is BestOfferActionCodeType

setAction

public void setAction(BestOfferActionCodeType value)
Sets the value of the action property.

Parameters:
value - allowed object is BestOfferActionCodeType

getSellerResponse

public String getSellerResponse()
Gets the value of the sellerResponse property.

Returns:
possible object is String

setSellerResponse

public void setSellerResponse(String value)
Sets the value of the sellerResponse property.

Parameters:
value - allowed object is String

getCounterOfferPrice

public AmountType getCounterOfferPrice()
Gets the value of the counterOfferPrice property.

Returns:
possible object is AmountType

setCounterOfferPrice

public void setCounterOfferPrice(AmountType value)
Sets the value of the counterOfferPrice property.

Parameters:
value - allowed object is AmountType

getCounterOfferQuantity

public Integer getCounterOfferQuantity()
Gets the value of the counterOfferQuantity property.

Returns:
possible object is Integer

setCounterOfferQuantity

public void setCounterOfferQuantity(Integer value)
Sets the value of the counterOfferQuantity property.

Parameters:
value - allowed object is Integer

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.