Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class OfferType

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

public class OfferType
extends Object
implements Serializable

Contains information pertaining to an offer made on an item listing and the current bidding or purchase state of the listing.

Java class for OfferType complex type.

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

 <complexType name="OfferType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Action" type="{urn:ebay:apis:eBLBaseComponents}BidActionCodeType" minOccurs="0"/>
         <element name="Currency" type="{urn:ebay:apis:eBLBaseComponents}CurrencyCodeType" minOccurs="0"/>
         <element name="ItemID" type="{urn:ebay:apis:eBLBaseComponents}ItemIDType" minOccurs="0"/>
         <element name="MaxBid" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="SecondChanceEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="SiteCurrency" type="{urn:ebay:apis:eBLBaseComponents}CurrencyCodeType" minOccurs="0"/>
         <element name="TimeBid" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="HighestBid" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="ConvertedPrice" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <element name="TransactionID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="User" type="{urn:ebay:apis:eBLBaseComponents}UserType" minOccurs="0"/>
         <element name="UserConsent" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="BidCount" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="BestOfferID" type="{urn:ebay:apis:eBLBaseComponents}BestOfferIDType" minOccurs="0"/>
         <element name="MyMaxBid" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  BidActionCodeType action
           
protected  List<Object> any
           
protected  String bestOfferID
           
protected  Integer bidCount
           
protected  AmountType convertedPrice
           
protected  CurrencyCodeType currency
           
protected  AmountType highestBid
           
protected  String itemID
           
protected  AmountType maxBid
           
protected  String message
           
protected  AmountType myMaxBid
           
protected  Integer quantity
           
protected  Boolean secondChanceEnabled
           
protected  CurrencyCodeType siteCurrency
           
protected  Calendar timeBid
           
protected  String transactionID
           
protected  UserType user
           
protected  Boolean userConsent
           
 
Constructor Summary
OfferType()
           
 
Method Summary
protected  List<Object> _getAny()
           
 BidActionCodeType getAction()
          Gets the value of the action property.
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 String getBestOfferID()
          Gets the value of the bestOfferID property.
 Integer getBidCount()
          Gets the value of the bidCount property.
 AmountType getConvertedPrice()
          Gets the value of the convertedPrice property.
 CurrencyCodeType getCurrency()
          Gets the value of the currency property.
 AmountType getHighestBid()
          Gets the value of the highestBid property.
 String getItemID()
          Gets the value of the itemID property.
 AmountType getMaxBid()
          Gets the value of the maxBid property.
 String getMessage()
          Gets the value of the message property.
 AmountType getMyMaxBid()
          Gets the value of the myMaxBid property.
 Integer getQuantity()
          Gets the value of the quantity property.
 CurrencyCodeType getSiteCurrency()
          Gets the value of the siteCurrency property.
 Calendar getTimeBid()
          Gets the value of the timeBid property.
 String getTransactionID()
          Gets the value of the transactionID property.
 UserType getUser()
          Gets the value of the user property.
 Boolean isSecondChanceEnabled()
          Gets the value of the secondChanceEnabled property.
 Boolean isUserConsent()
          Gets the value of the userConsent property.
 void setAction(BidActionCodeType value)
          Sets the value of the action property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setBestOfferID(String value)
          Sets the value of the bestOfferID property.
 void setBidCount(Integer value)
          Sets the value of the bidCount property.
 void setConvertedPrice(AmountType value)
          Sets the value of the convertedPrice property.
 void setCurrency(CurrencyCodeType value)
          Sets the value of the currency property.
 void setHighestBid(AmountType value)
          Sets the value of the highestBid property.
 void setItemID(String value)
          Sets the value of the itemID property.
 void setMaxBid(AmountType value)
          Sets the value of the maxBid property.
 void setMessage(String value)
          Sets the value of the message property.
 void setMyMaxBid(AmountType value)
          Sets the value of the myMaxBid property.
 void setQuantity(Integer value)
          Sets the value of the quantity property.
 void setSecondChanceEnabled(Boolean value)
          Sets the value of the secondChanceEnabled property.
 void setSiteCurrency(CurrencyCodeType value)
          Sets the value of the siteCurrency property.
 void setTimeBid(Calendar value)
          Sets the value of the timeBid property.
 void setTransactionID(String value)
          Sets the value of the transactionID property.
 void setUser(UserType value)
          Sets the value of the user property.
 void setUserConsent(Boolean value)
          Sets the value of the userConsent property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

action

protected BidActionCodeType action

currency

protected CurrencyCodeType currency

itemID

protected String itemID

maxBid

protected AmountType maxBid

quantity

protected Integer quantity

secondChanceEnabled

protected Boolean secondChanceEnabled

siteCurrency

protected CurrencyCodeType siteCurrency

timeBid

protected Calendar timeBid

highestBid

protected AmountType highestBid

convertedPrice

protected AmountType convertedPrice

transactionID

protected String transactionID

user

protected UserType user

userConsent

protected Boolean userConsent

bidCount

protected Integer bidCount

message

protected String message

bestOfferID

protected String bestOfferID

myMaxBid

protected AmountType myMaxBid

any

protected List<Object> any
Constructor Detail

OfferType

public OfferType()
Method Detail

getAction

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

Returns:
possible object is BidActionCodeType

setAction

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

Parameters:
value - allowed object is BidActionCodeType

getCurrency

public CurrencyCodeType getCurrency()
Gets the value of the currency property.

Returns:
possible object is CurrencyCodeType

setCurrency

public void setCurrency(CurrencyCodeType value)
Sets the value of the currency property.

Parameters:
value - allowed object is CurrencyCodeType

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

getMaxBid

public AmountType getMaxBid()
Gets the value of the maxBid property.

Returns:
possible object is AmountType

setMaxBid

public void setMaxBid(AmountType value)
Sets the value of the maxBid property.

Parameters:
value - allowed object is AmountType

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

isSecondChanceEnabled

public Boolean isSecondChanceEnabled()
Gets the value of the secondChanceEnabled property.

Returns:
possible object is Boolean

setSecondChanceEnabled

public void setSecondChanceEnabled(Boolean value)
Sets the value of the secondChanceEnabled property.

Parameters:
value - allowed object is Boolean

getSiteCurrency

public CurrencyCodeType getSiteCurrency()
Gets the value of the siteCurrency property.

Returns:
possible object is CurrencyCodeType

setSiteCurrency

public void setSiteCurrency(CurrencyCodeType value)
Sets the value of the siteCurrency property.

Parameters:
value - allowed object is CurrencyCodeType

getTimeBid

public Calendar getTimeBid()
Gets the value of the timeBid property.

Returns:
possible object is String

setTimeBid

public void setTimeBid(Calendar value)
Sets the value of the timeBid property.

Parameters:
value - allowed object is String

getHighestBid

public AmountType getHighestBid()
Gets the value of the highestBid property.

Returns:
possible object is AmountType

setHighestBid

public void setHighestBid(AmountType value)
Sets the value of the highestBid property.

Parameters:
value - allowed object is AmountType

getConvertedPrice

public AmountType getConvertedPrice()
Gets the value of the convertedPrice property.

Returns:
possible object is AmountType

setConvertedPrice

public void setConvertedPrice(AmountType value)
Sets the value of the convertedPrice property.

Parameters:
value - allowed object is AmountType

getTransactionID

public String getTransactionID()
Gets the value of the transactionID property.

Returns:
possible object is String

setTransactionID

public void setTransactionID(String value)
Sets the value of the transactionID property.

Parameters:
value - allowed object is String

getUser

public UserType getUser()
Gets the value of the user property.

Returns:
possible object is UserType

setUser

public void setUser(UserType value)
Sets the value of the user property.

Parameters:
value - allowed object is UserType

isUserConsent

public Boolean isUserConsent()
Gets the value of the userConsent property.

Returns:
possible object is Boolean

setUserConsent

public void setUserConsent(Boolean value)
Sets the value of the userConsent property.

Parameters:
value - allowed object is Boolean

getBidCount

public Integer getBidCount()
Gets the value of the bidCount property.

Returns:
possible object is Integer

setBidCount

public void setBidCount(Integer value)
Sets the value of the bidCount property.

Parameters:
value - allowed object is Integer

getMessage

public String getMessage()
Gets the value of the message property.

Returns:
possible object is String

setMessage

public void setMessage(String value)
Sets the value of the message property.

Parameters:
value - allowed object is String

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

getMyMaxBid

public AmountType getMyMaxBid()
Gets the value of the myMaxBid property.

Returns:
possible object is AmountType

setMyMaxBid

public void setMyMaxBid(AmountType value)
Sets the value of the myMaxBid property.

Parameters:
value - allowed object is AmountType

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.