Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class VariationsType

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

public class VariationsType
extends java.lang.Object
implements java.io.Serializable

Variations are multiple similar (but not identical) items in a fixed-price listing. For example, a single listing could contain multiple items of the same brand and model that vary by color and size (like "Blue, Large" and "Black, Medium"). Each variation can have its own quantity and price. For example, a listing could include 10 "Blue, Large" variations and 20 "Black, Medium" variations.

Java class for VariationsType complex type.

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

 <complexType name="VariationsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Variation" type="{urn:ebay:apis:eBLBaseComponents}VariationType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Pictures" type="{urn:ebay:apis:eBLBaseComponents}PicturesType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="VariationSpecificsSet" type="{urn:ebay:apis:eBLBaseComponents}NameValueListArrayType" minOccurs="0"/>
         <element name="ModifyNameList" type="{urn:ebay:apis:eBLBaseComponents}ModifyNameArrayType" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  ModifyNameArrayType modifyNameList
           
protected  java.util.List<PicturesType> pictures
           
protected  java.util.List<VariationType> variation
           
protected  NameValueListArrayType variationSpecificsSet
           
 
Constructor Summary
VariationsType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
protected  java.util.List<PicturesType> _getPictures()
           
protected  java.util.List<VariationType> _getVariation()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 ModifyNameArrayType getModifyNameList()
          Gets the value of the modifyNameList property.
 PicturesType[] getPictures()
           
 PicturesType getPictures(int idx)
           
 int getPicturesLength()
           
 VariationType[] getVariation()
           
 VariationType getVariation(int idx)
           
 int getVariationLength()
           
 NameValueListArrayType getVariationSpecificsSet()
          Gets the value of the variationSpecificsSet property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setModifyNameList(ModifyNameArrayType value)
          Sets the value of the modifyNameList property.
 PicturesType setPictures(int idx, PicturesType value)
           
 void setPictures(PicturesType[] values)
           
 VariationType setVariation(int idx, VariationType value)
           
 void setVariation(VariationType[] values)
           
 void setVariationSpecificsSet(NameValueListArrayType value)
          Sets the value of the variationSpecificsSet property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

variation

protected java.util.List<VariationType> variation

pictures

protected java.util.List<PicturesType> pictures

variationSpecificsSet

protected NameValueListArrayType variationSpecificsSet

modifyNameList

protected ModifyNameArrayType modifyNameList

any

protected java.util.List<java.lang.Object> any
Constructor Detail

VariationsType

public VariationsType()
Method Detail

getVariation

public VariationType[] getVariation()
Returns:
array of VariationType

getVariation

public VariationType getVariation(int idx)
Returns:
one of VariationType

getVariationLength

public int getVariationLength()

setVariation

public void setVariation(VariationType[] values)
Parameters:
values - allowed objects are VariationType

_getVariation

protected java.util.List<VariationType> _getVariation()

setVariation

public VariationType setVariation(int idx,
                                  VariationType value)
Parameters:
value - allowed object is VariationType

getPictures

public PicturesType[] getPictures()
Returns:
array of PicturesType

getPictures

public PicturesType getPictures(int idx)
Returns:
one of PicturesType

getPicturesLength

public int getPicturesLength()

setPictures

public void setPictures(PicturesType[] values)
Parameters:
values - allowed objects are PicturesType

_getPictures

protected java.util.List<PicturesType> _getPictures()

setPictures

public PicturesType setPictures(int idx,
                                PicturesType value)
Parameters:
value - allowed object is PicturesType

getVariationSpecificsSet

public NameValueListArrayType getVariationSpecificsSet()
Gets the value of the variationSpecificsSet property.

Returns:
possible object is NameValueListArrayType

setVariationSpecificsSet

public void setVariationSpecificsSet(NameValueListArrayType value)
Sets the value of the variationSpecificsSet property.

Parameters:
value - allowed object is NameValueListArrayType

getModifyNameList

public ModifyNameArrayType getModifyNameList()
Gets the value of the modifyNameList property.

Returns:
possible object is ModifyNameArrayType

setModifyNameList

public void setModifyNameList(ModifyNameArrayType value)
Sets the value of the modifyNameList property.

Parameters:
value - allowed object is ModifyNameArrayType

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.