Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class ListingEnhancementDurationReferenceType

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

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

Note: This type is no longer applicable, as the Featured Gallery listing feature is being deprecated for all sites. If a seller attempts to add Featured Gallery as a listing enhancement, it is allowed, but a warning will be returned announcing the deprecation of the feature. Starting August 15, 2019, this feature cannot be added when creating a new listing or revising an existing listing. For existing listings that already have the feature, the seller will not be able to change the duration to Lifetime. On September 15, 2019, this feature will be wired off. If a seller revises an existing listing that had this feature set, the GalleryType value will automatically default to Gallery.
Type used by the GalleryFeaturedDurations container that is returned at the SiteDefaults and Category level in a GetCategoryFeatures response. GalleryFeaturedDurations container consists of the supported time durations that a picture gallery can be featured

Java class for ListingEnhancementDurationReferenceType complex type.

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

 <complexType name="ListingEnhancementDurationReferenceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Duration" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  java.util.List<java.lang.String> duration
           
 
Constructor Summary
ListingEnhancementDurationReferenceType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
protected  java.util.List<java.lang.String> _getDuration()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 java.lang.String[] getDuration()
           
 java.lang.String getDuration(int idx)
           
 int getDurationLength()
           
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 java.lang.String setDuration(int idx, java.lang.String value)
           
 void setDuration(java.lang.String[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

duration

protected java.util.List<java.lang.String> duration

any

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

ListingEnhancementDurationReferenceType

public ListingEnhancementDurationReferenceType()
Method Detail

getDuration

public java.lang.String[] getDuration()
Returns:
array of String

getDuration

public java.lang.String getDuration(int idx)
Returns:
one of String

getDurationLength

public int getDurationLength()

setDuration

public void setDuration(java.lang.String[] values)
Parameters:
values - allowed objects are String

_getDuration

protected java.util.List<java.lang.String> _getDuration()

setDuration

public java.lang.String setDuration(int idx,
                                    java.lang.String value)
Parameters:
value - allowed object is String

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.