Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class OfferType

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

public class OfferType
extends java.lang.Object
implements java.io.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="Discounts" type="{urn:ebay:apis:eBLBaseComponents}OfferDiscountsType" 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  java.util.List<java.lang.Object> any
           
protected  java.lang.String bestOfferID
           
protected  java.lang.Integer bidCount
           
protected  AmountType convertedPrice
           
protected  CurrencyCodeType currency
           
protected  OfferDiscountsType discounts
           
protected  AmountType highestBid
           
protected  java.lang.String itemID
           
protected  AmountType maxBid
           
protected  java.lang.String message
           
protected  AmountType myMaxBid
           
protected  java.lang.Integer quantity
           
protected  java.lang.Boolean secondChanceEnabled
           
protected  CurrencyCodeType siteCurrency
           
protected  java.util.Calendar timeBid
           
protected  java.lang.String transactionID
           
protected  UserType user
           
protected  java.lang.Boolean userConsent
           
 
Constructor Summary
OfferType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
 BidActionCodeType getAction()
          Gets the value of the action property.
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 java.lang.String getBestOfferID()
          Gets the value of the bestOfferID property.
 java.lang.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.
 OfferDiscountsType getDiscounts()
          Gets the value of the discounts property.
 AmountType getHighestBid()
          Gets the value of the highestBid property.
 java.lang.String getItemID()
          Gets the value of the itemID property.
 AmountType getMaxBid()
          Gets the value of the maxBid property.
 java.lang.String getMessage()
          Gets the value of the message property.
 AmountType getMyMaxBid()
          Gets the value of the myMaxBid property.
 java.lang.Integer getQuantity()
          Gets the value of the quantity property.
 CurrencyCodeType getSiteCurrency()
          Gets the value of the siteCurrency property.
 java.util.Calendar getTimeBid()
          Gets the value of the timeBid property.
 java.lang.String getTransactionID()
          Gets the value of the transactionID property.
 UserType getUser()
          Gets the value of the user property.
 java.lang.Boolean isSecondChanceEnabled()
          Gets the value of the secondChanceEnabled property.
 java.lang.Boolean isUserConsent()
          Gets the value of the userConsent property.
 void setAction(BidActionCodeType value)
          Sets the value of the action property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setBestOfferID(java.lang.String value)
          Sets the value of the bestOfferID property.
 void setBidCount(java.lang.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 setDiscounts(OfferDiscountsType value)
          Sets the value of the discounts property.
 void setHighestBid(AmountType value)
          Sets the value of the highestBid property.
 void setItemID(java.lang.String value)
          Sets the value of the itemID property.
 void setMaxBid(AmountType value)
          Sets the value of the maxBid property.
 void setMessage(java.lang.String value)
          Sets the value of the message property.
 void setMyMaxBid(AmountType value)
          Sets the value of the myMaxBid property.
 void setQuantity(java.lang.Integer value)
          Sets the value of the quantity property.
 void setSecondChanceEnabled(java.lang.Boolean value)
          Sets the value of the secondChanceEnabled property.
 void setSiteCurrency(CurrencyCodeType value)
          Sets the value of the siteCurrency property.
 void setTimeBid(java.util.Calendar value)
          Sets the value of the timeBid property.
 void setTransactionID(java.lang.String value)
          Sets the value of the transactionID property.
 void setUser(UserType value)
          Sets the value of the user property.
 void setUserConsent(java.lang.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 java.lang.String itemID

maxBid

protected AmountType maxBid

discounts

protected OfferDiscountsType discounts

quantity

protected java.lang.Integer quantity

secondChanceEnabled

protected java.lang.Boolean secondChanceEnabled

siteCurrency

protected CurrencyCodeType siteCurrency

timeBid

protected java.util.Calendar timeBid

highestBid

protected AmountType highestBid

convertedPrice

protected AmountType convertedPrice

transactionID

protected java.lang.String transactionID

user

protected UserType user

userConsent

protected java.lang.Boolean userConsent

bidCount

protected java.lang.Integer bidCount

message

protected java.lang.String message

bestOfferID

protected java.lang.String bestOfferID

myMaxBid

protected AmountType myMaxBid

any

protected java.util.List<java.lang.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 java.lang.String getItemID()
Gets the value of the itemID property.

Returns:
possible object is String

setItemID

public void setItemID(java.lang.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

getDiscounts

public OfferDiscountsType getDiscounts()
Gets the value of the discounts property.

Returns:
possible object is OfferDiscountsType

setDiscounts

public void setDiscounts(OfferDiscountsType value)
Sets the value of the discounts property.

Parameters:
value - allowed object is OfferDiscountsType

getQuantity

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

Returns:
possible object is Integer

setQuantity

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

Parameters:
value - allowed object is Integer

isSecondChanceEnabled

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

Returns:
possible object is Boolean

setSecondChanceEnabled

public void setSecondChanceEnabled(java.lang.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 java.util.Calendar getTimeBid()
Gets the value of the timeBid property.

Returns:
possible object is String

setTimeBid

public void setTimeBid(java.util.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 java.lang.String getTransactionID()
Gets the value of the transactionID property.

Returns:
possible object is String

setTransactionID

public void setTransactionID(java.lang.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 java.lang.Boolean isUserConsent()
Gets the value of the userConsent property.

Returns:
possible object is Boolean

setUserConsent

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

Parameters:
value - allowed object is Boolean

getBidCount

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

Returns:
possible object is Integer

setBidCount

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

Parameters:
value - allowed object is Integer

getMessage

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

Returns:
possible object is String

setMessage

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

Parameters:
value - allowed object is String

getBestOfferID

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

Returns:
possible object is String

setBestOfferID

public void setBestOfferID(java.lang.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 java.lang.Object[] getAny()
Returns:
array of Object Element

getAny

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

getAnyLength

public int getAnyLength()

setAny

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

_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 Object Element

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.