Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class ListingRecommendationType

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

public class ListingRecommendationType
extends Object
implements Serializable

Type defining the Recommendation container(s) that are conditionally returned in all Add/Revise/Relist/Verify API calls. Each Recommendation container provides a message to the seller on how a listing can be improved or brought up to standard in regards to top-rated seller/listing requirements, mandated or recommended Item Specifics, picture quality requirements, pricing and/or listing format recommendations, recommended keywords and/or Item Specifics in a Title, and/or a recommendation to use Fast 'N Free shipping.

One or more Recommendation containers can be returned for each listing.

Java class for ListingRecommendationType complex type.

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

 <complexType name="ListingRecommendationType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Group" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="FieldName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Code" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Metadata" type="{urn:ebay:apis:eBLBaseComponents}MetadataType" maxOccurs="unbounded" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
protected  String code
           
protected  String fieldName
           
protected  String group
           
protected  String message
           
protected  List<MetadataType> metadata
           
protected  String type
           
protected  List<String> value
           
 
Constructor Summary
ListingRecommendationType()
           
 
Method Summary
protected  List<Object> _getAny()
           
protected  List<MetadataType> _getMetadata()
           
protected  List<String> _getValue()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 String getCode()
          Gets the value of the code property.
 String getFieldName()
          Gets the value of the fieldName property.
 String getGroup()
          Gets the value of the group property.
 String getMessage()
          Gets the value of the message property.
 MetadataType[] getMetadata()
           
 MetadataType getMetadata(int idx)
           
 int getMetadataLength()
           
 String getType()
          Gets the value of the type property.
 String[] getValue()
           
 String getValue(int idx)
           
 int getValueLength()
           
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setCode(String value)
          Sets the value of the code property.
 void setFieldName(String value)
          Sets the value of the fieldName property.
 void setGroup(String value)
          Sets the value of the group property.
 void setMessage(String value)
          Sets the value of the message property.
 MetadataType setMetadata(int idx, MetadataType value)
           
 void setMetadata(MetadataType[] values)
           
 void setType(String value)
          Sets the value of the type property.
 String setValue(int idx, String value)
           
 void setValue(String[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected String type

group

protected String group

fieldName

protected String fieldName

code

protected String code

value

protected List<String> value

message

protected String message

metadata

protected List<MetadataType> metadata

any

protected List<Object> any
Constructor Detail

ListingRecommendationType

public ListingRecommendationType()
Method Detail

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getGroup

public String getGroup()
Gets the value of the group property.

Returns:
possible object is String

setGroup

public void setGroup(String value)
Sets the value of the group property.

Parameters:
value - allowed object is String

getFieldName

public String getFieldName()
Gets the value of the fieldName property.

Returns:
possible object is String

setFieldName

public void setFieldName(String value)
Sets the value of the fieldName property.

Parameters:
value - allowed object is String

getCode

public String getCode()
Gets the value of the code property.

Returns:
possible object is String

setCode

public void setCode(String value)
Sets the value of the code property.

Parameters:
value - allowed object is String

getValue

public String[] getValue()
Returns:
array of String

getValue

public String getValue(int idx)
Returns:
one of String

getValueLength

public int getValueLength()

setValue

public void setValue(String[] values)
Parameters:
values - allowed objects are String

_getValue

protected List<String> _getValue()

setValue

public String setValue(int idx,
                       String value)
Parameters:
value - allowed object is String

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

getMetadata

public MetadataType[] getMetadata()
Returns:
array of MetadataType

getMetadata

public MetadataType getMetadata(int idx)
Returns:
one of MetadataType

getMetadataLength

public int getMetadataLength()

setMetadata

public void setMetadata(MetadataType[] values)
Parameters:
values - allowed objects are MetadataType

_getMetadata

protected List<MetadataType> _getMetadata()

setMetadata

public MetadataType setMetadata(int idx,
                                MetadataType value)
Parameters:
value - allowed object is MetadataType

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.