Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class BestOfferType

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

public class BestOfferType
extends Object
implements Serializable

Type defining the BestOffer container, which consists of information on one Best Offer or counter offer. This information includes the price of the offer, the expiration of the offer, and any messaging provided by the prospective buyer or seller.

Java class for BestOfferType complex type.

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

 <complexType name="BestOfferType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="BestOfferID" type="{urn:ebay:apis:eBLBaseComponents}BestOfferIDType" minOccurs="0"/>
         <element name="ExpirationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="Buyer" type="{urn:ebay:apis:eBLBaseComponents}UserType" minOccurs="0"/>
         <element name="Price" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="Status" type="{urn:ebay:apis:eBLBaseComponents}BestOfferStatusCodeType" minOccurs="0"/>
         <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="BuyerMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="SellerMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="BestOfferCodeType" type="{urn:ebay:apis:eBLBaseComponents}BestOfferTypeCodeType" minOccurs="0"/>
         <element name="CallStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="NewBestOffer" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="ImmediatePayEligible" 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  BestOfferTypeCodeType bestOfferCodeType
           
protected  String bestOfferID
           
protected  UserType buyer
           
protected  String buyerMessage
           
protected  String callStatus
           
protected  Calendar expirationTime
           
protected  Boolean immediatePayEligible
           
protected  Boolean newBestOffer
           
protected  AmountType price
           
protected  Integer quantity
           
protected  String sellerMessage
           
protected  BestOfferStatusCodeType status
           
 
Constructor Summary
BestOfferType()
           
 
Method Summary
protected  List<Object> _getAny()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 BestOfferTypeCodeType getBestOfferCodeType()
          Gets the value of the bestOfferCodeType property.
 String getBestOfferID()
          Gets the value of the bestOfferID property.
 UserType getBuyer()
          Gets the value of the buyer property.
 String getBuyerMessage()
          Gets the value of the buyerMessage property.
 String getCallStatus()
          Gets the value of the callStatus property.
 Calendar getExpirationTime()
          Gets the value of the expirationTime property.
 AmountType getPrice()
          Gets the value of the price property.
 Integer getQuantity()
          Gets the value of the quantity property.
 String getSellerMessage()
          Gets the value of the sellerMessage property.
 BestOfferStatusCodeType getStatus()
          Gets the value of the status property.
 Boolean isImmediatePayEligible()
          Gets the value of the immediatePayEligible property.
 Boolean isNewBestOffer()
          Gets the value of the newBestOffer property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setBestOfferCodeType(BestOfferTypeCodeType value)
          Sets the value of the bestOfferCodeType property.
 void setBestOfferID(String value)
          Sets the value of the bestOfferID property.
 void setBuyer(UserType value)
          Sets the value of the buyer property.
 void setBuyerMessage(String value)
          Sets the value of the buyerMessage property.
 void setCallStatus(String value)
          Sets the value of the callStatus property.
 void setExpirationTime(Calendar value)
          Sets the value of the expirationTime property.
 void setImmediatePayEligible(Boolean value)
          Sets the value of the immediatePayEligible property.
 void setNewBestOffer(Boolean value)
          Sets the value of the newBestOffer property.
 void setPrice(AmountType value)
          Sets the value of the price property.
 void setQuantity(Integer value)
          Sets the value of the quantity property.
 void setSellerMessage(String value)
          Sets the value of the sellerMessage property.
 void setStatus(BestOfferStatusCodeType value)
          Sets the value of the status property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bestOfferID

protected String bestOfferID

expirationTime

protected Calendar expirationTime

buyer

protected UserType buyer

price

protected AmountType price

status

protected BestOfferStatusCodeType status

quantity

protected Integer quantity

buyerMessage

protected String buyerMessage

sellerMessage

protected String sellerMessage

bestOfferCodeType

protected BestOfferTypeCodeType bestOfferCodeType

callStatus

protected String callStatus

newBestOffer

protected Boolean newBestOffer

immediatePayEligible

protected Boolean immediatePayEligible

any

protected List<Object> any
Constructor Detail

BestOfferType

public BestOfferType()
Method Detail

getBestOfferID

public String getBestOfferID()
Gets the value of the bestOfferID property.

Returns:
possible object is String

setBestOfferID

public void setBestOfferID(String value)
Sets the value of the bestOfferID property.

Parameters:
value - allowed object is String

getExpirationTime

public Calendar getExpirationTime()
Gets the value of the expirationTime property.

Returns:
possible object is String

setExpirationTime

public void setExpirationTime(Calendar value)
Sets the value of the expirationTime property.

Parameters:
value - allowed object is String

getBuyer

public UserType getBuyer()
Gets the value of the buyer property.

Returns:
possible object is UserType

setBuyer

public void setBuyer(UserType value)
Sets the value of the buyer property.

Parameters:
value - allowed object is UserType

getPrice

public AmountType getPrice()
Gets the value of the price property.

Returns:
possible object is AmountType

setPrice

public void setPrice(AmountType value)
Sets the value of the price property.

Parameters:
value - allowed object is AmountType

getStatus

public BestOfferStatusCodeType getStatus()
Gets the value of the status property.

Returns:
possible object is BestOfferStatusCodeType

setStatus

public void setStatus(BestOfferStatusCodeType value)
Sets the value of the status property.

Parameters:
value - allowed object is BestOfferStatusCodeType

getQuantity

public Integer getQuantity()
Gets the value of the quantity property.

Returns:
possible object is Integer

setQuantity

public void setQuantity(Integer value)
Sets the value of the quantity property.

Parameters:
value - allowed object is Integer

getBuyerMessage

public String getBuyerMessage()
Gets the value of the buyerMessage property.

Returns:
possible object is String

setBuyerMessage

public void setBuyerMessage(String value)
Sets the value of the buyerMessage property.

Parameters:
value - allowed object is String

getSellerMessage

public String getSellerMessage()
Gets the value of the sellerMessage property.

Returns:
possible object is String

setSellerMessage

public void setSellerMessage(String value)
Sets the value of the sellerMessage property.

Parameters:
value - allowed object is String

getBestOfferCodeType

public BestOfferTypeCodeType getBestOfferCodeType()
Gets the value of the bestOfferCodeType property.

Returns:
possible object is BestOfferTypeCodeType

setBestOfferCodeType

public void setBestOfferCodeType(BestOfferTypeCodeType value)
Sets the value of the bestOfferCodeType property.

Parameters:
value - allowed object is BestOfferTypeCodeType

getCallStatus

public String getCallStatus()
Gets the value of the callStatus property.

Returns:
possible object is String

setCallStatus

public void setCallStatus(String value)
Sets the value of the callStatus property.

Parameters:
value - allowed object is String

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

isImmediatePayEligible

public Boolean isImmediatePayEligible()
Gets the value of the immediatePayEligible property.

Returns:
possible object is Boolean

setImmediatePayEligible

public void setImmediatePayEligible(Boolean value)
Sets the value of the immediatePayEligible 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.