Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class BestOfferDetailsType

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

public class BestOfferDetailsType
extends Object
implements Serializable

Type defining the BestOfferDetails container, which consists of Best Offer details associated with a listing. The BestOfferEnabled field in this container is used by Add/Revise/Relist calls to enable the Best Offer feature on a listing.

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 BestOfferDetailsType complex type.

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

 <complexType name="BestOfferDetailsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="BestOfferCount" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="BestOfferEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="BestOffer" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="BestOfferStatus" type="{urn:ebay:apis:eBLBaseComponents}BestOfferStatusCodeType" minOccurs="0"/>
         <element name="BestOfferType" type="{urn:ebay:apis:eBLBaseComponents}BestOfferTypeCodeType" minOccurs="0"/>
         <element name="NewBestOffer" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
protected  AmountType bestOffer
           
protected  Integer bestOfferCount
           
protected  Boolean bestOfferEnabled
           
protected  BestOfferStatusCodeType bestOfferStatus
           
protected  BestOfferTypeCodeType bestOfferType
           
protected  Boolean newBestOffer
           
 
Constructor Summary
BestOfferDetailsType()
           
 
Method Summary
protected  List<Object> _getAny()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 AmountType getBestOffer()
          Gets the value of the bestOffer property.
 Integer getBestOfferCount()
          Gets the value of the bestOfferCount property.
 BestOfferStatusCodeType getBestOfferStatus()
          Gets the value of the bestOfferStatus property.
 BestOfferTypeCodeType getBestOfferType()
          Gets the value of the bestOfferType property.
 Boolean isBestOfferEnabled()
          Gets the value of the bestOfferEnabled property.
 Boolean isNewBestOffer()
          Gets the value of the newBestOffer property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setBestOffer(AmountType value)
          Sets the value of the bestOffer property.
 void setBestOfferCount(Integer value)
          Sets the value of the bestOfferCount property.
 void setBestOfferEnabled(Boolean value)
          Sets the value of the bestOfferEnabled property.
 void setBestOfferStatus(BestOfferStatusCodeType value)
          Sets the value of the bestOfferStatus property.
 void setBestOfferType(BestOfferTypeCodeType value)
          Sets the value of the bestOfferType property.
 void setNewBestOffer(Boolean value)
          Sets the value of the newBestOffer property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bestOfferCount

protected Integer bestOfferCount

bestOfferEnabled

protected Boolean bestOfferEnabled

bestOffer

protected AmountType bestOffer

bestOfferStatus

protected BestOfferStatusCodeType bestOfferStatus

bestOfferType

protected BestOfferTypeCodeType bestOfferType

newBestOffer

protected Boolean newBestOffer

any

protected List<Object> any
Constructor Detail

BestOfferDetailsType

public BestOfferDetailsType()
Method Detail

getBestOfferCount

public Integer getBestOfferCount()
Gets the value of the bestOfferCount property.

Returns:
possible object is Integer

setBestOfferCount

public void setBestOfferCount(Integer value)
Sets the value of the bestOfferCount property.

Parameters:
value - allowed object is Integer

isBestOfferEnabled

public Boolean isBestOfferEnabled()
Gets the value of the bestOfferEnabled property.

Returns:
possible object is Boolean

setBestOfferEnabled

public void setBestOfferEnabled(Boolean value)
Sets the value of the bestOfferEnabled property.

Parameters:
value - allowed object is Boolean

getBestOffer

public AmountType getBestOffer()
Gets the value of the bestOffer property.

Returns:
possible object is AmountType

setBestOffer

public void setBestOffer(AmountType value)
Sets the value of the bestOffer property.

Parameters:
value - allowed object is AmountType

getBestOfferStatus

public BestOfferStatusCodeType getBestOfferStatus()
Gets the value of the bestOfferStatus property.

Returns:
possible object is BestOfferStatusCodeType

setBestOfferStatus

public void setBestOfferStatus(BestOfferStatusCodeType value)
Sets the value of the bestOfferStatus property.

Parameters:
value - allowed object is BestOfferStatusCodeType

getBestOfferType

public BestOfferTypeCodeType getBestOfferType()
Gets the value of the bestOfferType property.

Returns:
possible object is BestOfferTypeCodeType

setBestOfferType

public void setBestOfferType(BestOfferTypeCodeType value)
Sets the value of the bestOfferType property.

Parameters:
value - allowed object is BestOfferTypeCodeType

isNewBestOffer

public Boolean isNewBestOffer()
Gets the value of the newBestOffer property.

Returns:
possible object is Boolean

setNewBestOffer

public void setNewBestOffer(Boolean value)
Sets the value of the newBestOffer property.

Parameters:
value - allowed object is Boolean

getAny

public Object[] getAny()
Returns:
array of Element Object

getAny

public Object getAny(int idx)
Returns:
one of Element Object

getAnyLength

public int getAnyLength()

setAny

public void setAny(Object[] values)
Parameters:
values - allowed objects are Element Object

_getAny

protected List<Object> _getAny()

setAny

public Object setAny(int idx,
                     Object value)
Parameters:
value - allowed object is Element Object

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.