Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class BestOfferDetailsType

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

public class BestOfferDetailsType
extends java.lang.Object
implements java.io.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.

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  java.util.List<java.lang.Object> any
           
protected  AmountType bestOffer
           
protected  java.lang.Integer bestOfferCount
           
protected  java.lang.Boolean bestOfferEnabled
           
protected  BestOfferStatusCodeType bestOfferStatus
           
protected  BestOfferTypeCodeType bestOfferType
           
protected  java.lang.Boolean newBestOffer
           
 
Constructor Summary
BestOfferDetailsType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 AmountType getBestOffer()
          Gets the value of the bestOffer property.
 java.lang.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.
 java.lang.Boolean isBestOfferEnabled()
          Gets the value of the bestOfferEnabled property.
 java.lang.Boolean isNewBestOffer()
          Gets the value of the newBestOffer property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setBestOffer(AmountType value)
          Sets the value of the bestOffer property.
 void setBestOfferCount(java.lang.Integer value)
          Sets the value of the bestOfferCount property.
 void setBestOfferEnabled(java.lang.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(java.lang.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 java.lang.Integer bestOfferCount

bestOfferEnabled

protected java.lang.Boolean bestOfferEnabled

bestOffer

protected AmountType bestOffer

bestOfferStatus

protected BestOfferStatusCodeType bestOfferStatus

bestOfferType

protected BestOfferTypeCodeType bestOfferType

newBestOffer

protected java.lang.Boolean newBestOffer

any

protected java.util.List<java.lang.Object> any
Constructor Detail

BestOfferDetailsType

public BestOfferDetailsType()
Method Detail

getBestOfferCount

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

Returns:
possible object is Integer

setBestOfferCount

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

Parameters:
value - allowed object is Integer

isBestOfferEnabled

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

Returns:
possible object is Boolean

setBestOfferEnabled

public void setBestOfferEnabled(java.lang.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 java.lang.Boolean isNewBestOffer()
Gets the value of the newBestOffer property.

Returns:
possible object is Boolean

setNewBestOffer

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

Parameters:
value - allowed object is Boolean

getAny

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

getAny

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

getAnyLength

public int getAnyLength()

setAny

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

_getAny

protected java.util.List<java.lang.Object> _getAny()

setAny

public java.lang.Object setAny(int idx,
                               java.lang.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.