Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class AddItemResponseType

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

public class AddItemResponseType
extends AbstractResponseType
implements Serializable

The base response of the AddItem call. The response will include the Item ID of the newly created listing, SKU (if any), listing recommendations (if applicable), the estimated fees for the new listing (except the Final Value Fee, which isn't calculated until the item has sold), the start and end times of the listing, and other details.

Java class for AddItemResponseType complex type.

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

 <complexType name="AddItemResponseType">
   <complexContent>
     <extension base="{urn:ebay:apis:eBLBaseComponents}AbstractResponseType">
       <sequence>
         <element name="ItemID" type="{urn:ebay:apis:eBLBaseComponents}ItemIDType" minOccurs="0"/>
         <element name="StartTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="EndTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="Fees" type="{urn:ebay:apis:eBLBaseComponents}FeesType" minOccurs="0"/>
         <element name="CategoryID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Category2ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="DiscountReason" type="{urn:ebay:apis:eBLBaseComponents}DiscountReasonCodeType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="ProductSuggestions" type="{urn:ebay:apis:eBLBaseComponents}ProductSuggestionsType" minOccurs="0"/>
         <element name="ListingRecommendations" type="{urn:ebay:apis:eBLBaseComponents}ListingRecommendationsType" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String category2ID
           
protected  String categoryID
           
protected  List<DiscountReasonCodeType> discountReason
           
protected  Calendar endTime
           
protected  FeesType fees
           
protected  String itemID
           
protected  ListingRecommendationsType listingRecommendations
           
protected  ProductSuggestionsType productSuggestions
           
protected  Calendar startTime
           
 
Fields inherited from class com.ebay.soap.eBLBaseComponents.AbstractResponseType
ack, any, botBlock, build, correlationID, duplicateInvocationDetails, eiasToken, errors, externalUserData, hardExpirationWarning, message, notificationEventName, notificationSignature, recipientUserID, timestamp, version
 
Constructor Summary
AddItemResponseType()
           
 
Method Summary
protected  List<DiscountReasonCodeType> _getDiscountReason()
           
 String getCategory2ID()
          Gets the value of the category2ID property.
 String getCategoryID()
          Gets the value of the categoryID property.
 DiscountReasonCodeType[] getDiscountReason()
           
 DiscountReasonCodeType getDiscountReason(int idx)
           
 int getDiscountReasonLength()
           
 Calendar getEndTime()
          Gets the value of the endTime property.
 FeesType getFees()
          Gets the value of the fees property.
 String getItemID()
          Gets the value of the itemID property.
 ListingRecommendationsType getListingRecommendations()
          Gets the value of the listingRecommendations property.
 ProductSuggestionsType getProductSuggestions()
          Gets the value of the productSuggestions property.
 Calendar getStartTime()
          Gets the value of the startTime property.
 void setCategory2ID(String value)
          Sets the value of the category2ID property.
 void setCategoryID(String value)
          Sets the value of the categoryID property.
 void setDiscountReason(DiscountReasonCodeType[] values)
           
 DiscountReasonCodeType setDiscountReason(int idx, DiscountReasonCodeType value)
           
 void setEndTime(Calendar value)
          Sets the value of the endTime property.
 void setFees(FeesType value)
          Sets the value of the fees property.
 void setItemID(String value)
          Sets the value of the itemID property.
 void setListingRecommendations(ListingRecommendationsType value)
          Sets the value of the listingRecommendations property.
 void setProductSuggestions(ProductSuggestionsType value)
          Sets the value of the productSuggestions property.
 void setStartTime(Calendar value)
          Sets the value of the startTime property.
 
Methods inherited from class com.ebay.soap.eBLBaseComponents.AbstractResponseType
_getAny, _getErrors, getAck, getAny, getAny, getAnyLength, getBotBlock, getBuild, getCorrelationID, getDuplicateInvocationDetails, getEIASToken, getErrors, getErrors, getErrorsLength, getExternalUserData, getHardExpirationWarning, getMessage, getNotificationEventName, getNotificationSignature, getRecipientUserID, getTimestamp, getVersion, setAck, setAny, setAny, setBotBlock, setBuild, setCorrelationID, setDuplicateInvocationDetails, setEIASToken, setErrors, setErrors, setExternalUserData, setHardExpirationWarning, setMessage, setNotificationEventName, setNotificationSignature, setRecipientUserID, setTimestamp, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

itemID

protected String itemID

startTime

protected Calendar startTime

endTime

protected Calendar endTime

fees

protected FeesType fees

categoryID

protected String categoryID

category2ID

protected String category2ID

discountReason

protected List<DiscountReasonCodeType> discountReason

productSuggestions

protected ProductSuggestionsType productSuggestions

listingRecommendations

protected ListingRecommendationsType listingRecommendations
Constructor Detail

AddItemResponseType

public AddItemResponseType()
Method Detail

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

getStartTime

public Calendar getStartTime()
Gets the value of the startTime property.

Returns:
possible object is String

setStartTime

public void setStartTime(Calendar value)
Sets the value of the startTime property.

Parameters:
value - allowed object is String

getEndTime

public Calendar getEndTime()
Gets the value of the endTime property.

Returns:
possible object is String

setEndTime

public void setEndTime(Calendar value)
Sets the value of the endTime property.

Parameters:
value - allowed object is String

getFees

public FeesType getFees()
Gets the value of the fees property.

Returns:
possible object is FeesType

setFees

public void setFees(FeesType value)
Sets the value of the fees property.

Parameters:
value - allowed object is FeesType

getCategoryID

public String getCategoryID()
Gets the value of the categoryID property.

Returns:
possible object is String

setCategoryID

public void setCategoryID(String value)
Sets the value of the categoryID property.

Parameters:
value - allowed object is String

getCategory2ID

public String getCategory2ID()
Gets the value of the category2ID property.

Returns:
possible object is String

setCategory2ID

public void setCategory2ID(String value)
Sets the value of the category2ID property.

Parameters:
value - allowed object is String

getDiscountReason

public DiscountReasonCodeType[] getDiscountReason()
Returns:
array of DiscountReasonCodeType

getDiscountReason

public DiscountReasonCodeType getDiscountReason(int idx)
Returns:
one of DiscountReasonCodeType

getDiscountReasonLength

public int getDiscountReasonLength()

setDiscountReason

public void setDiscountReason(DiscountReasonCodeType[] values)
Parameters:
values - allowed objects are DiscountReasonCodeType

_getDiscountReason

protected List<DiscountReasonCodeType> _getDiscountReason()

setDiscountReason

public DiscountReasonCodeType setDiscountReason(int idx,
                                                DiscountReasonCodeType value)
Parameters:
value - allowed object is DiscountReasonCodeType

getProductSuggestions

public ProductSuggestionsType getProductSuggestions()
Gets the value of the productSuggestions property.

Returns:
possible object is ProductSuggestionsType

setProductSuggestions

public void setProductSuggestions(ProductSuggestionsType value)
Sets the value of the productSuggestions property.

Parameters:
value - allowed object is ProductSuggestionsType

getListingRecommendations

public ListingRecommendationsType getListingRecommendations()
Gets the value of the listingRecommendations property.

Returns:
possible object is ListingRecommendationsType

setListingRecommendations

public void setListingRecommendations(ListingRecommendationsType value)
Sets the value of the listingRecommendations property.

Parameters:
value - allowed object is ListingRecommendationsType

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.