Changes since
the last release

com.ebay.soap.eBLBaseComponents
Enum GalleryTypeCodeType

java.lang.Object
  extended by java.lang.Enum<GalleryTypeCodeType>
      extended by com.ebay.soap.eBLBaseComponents.GalleryTypeCodeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GalleryTypeCodeType>

public enum GalleryTypeCodeType
extends java.lang.Enum<GalleryTypeCodeType>

Java class for GalleryTypeCodeType.

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

 <simpleType name="GalleryTypeCodeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="None"/>
     <enumeration value="Featured"/>
     <enumeration value="Gallery"/>
     <enumeration value="Plus"/>
     <enumeration value="CustomCode"/>
   </restriction>
 </simpleType>
 
Note: Per JAXB standards, underscores are added to separate words in enumerations (e.g., PayPal becomes PAY_PAL).


Enum Constant Summary
CUSTOM_CODE
          Reserved for internal use only.
FEATURED
          Highlights the listing by randomly placing it at the top of the search results.
GALLERY
          This feature, which is free on all sites, adds a Gallery image in the search results.
NONE
          Gallery is supported free on all sites.
PLUS
          Adds a Gallery Plus icon to the listing.
 
Method Summary
static GalleryTypeCodeType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static GalleryTypeCodeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GalleryTypeCodeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final GalleryTypeCodeType NONE
Gallery is supported free on all sites. So this field is useful only for removing an existing feature setting when using RelistItem.


FEATURED

public static final GalleryTypeCodeType FEATURED
Highlights the listing by randomly placing it at the top of the search results. When Featured is included in an item listing, the listing also automatically gets the Gallery and Plus functionality at no extra cost.

Sites That Support Featured: You can check if a site supports Featured by using the GeteBayDetails call and passing in ListingFeatureDetails in the DetailName field. In the response, check the ListingFeatureDetails container for FeaturedFirst.


GALLERY

public static final GalleryTypeCodeType GALLERY
This feature, which is free on all sites, adds a Gallery image in the search results. A Gallery image is an image that was uploaded and copied to EPS (eBay Picture Service). This copy is stored for 30 days or until the image is associated with a listing. Once the image is associated with a listing, the period is extended to 90 days after the item's sale_end date and is extended again if the item is relisted or used in subsequent listings. As part of storing a copy, EPS also makes additional sizes available (thumbnail, main image, supersize, popup, etc.), which are used by the various Gallery enhancements.

All images must comply to the Picture Requirements.


PLUS

public static final GalleryTypeCodeType PLUS
Adds a Gallery Plus icon to the listing.

When Plus is selected in a request that specifies at least two images (using ItemType.PictureDetailsType.PictureURL), the Gallery Plus feature automatically includes a Gallery Showcase of all the listing's images.

The Gallery Showcase displays when hovering over or clicking on the listing's Gallery Plus icon in the search results. The Showcase window displays a large (400px x 400px) preview image which is first image specified PictureURL, as well as up to 11 (64 px x 64 px) selectable thumbnails for the remaining EPS images. Clicking on the preview image displays the item's listing page.

If Plus is selected and the request includes only one EPS image or any self-hosted images, the listing includes a Gallery Plus icon that, when hovered over or clicked, displays a large (400px x 400px) preview image of the item. Clicking the image displays the View Item page for that listing.

When using RelistItem or ReviseItem (item has no bids and more than 12 hours before the listing's end), Plus can be unselected in the request. However, the Plus fee will still apply if a previous request selected Plus. There is at most one Plus fee per listing.

When "Plus" is included in an item listing, the listing also automatically gets the Gallery functionality at no extra cost. "Gallery" does not need to be specified separately in the listing.

Listing images that are originally smaller than 400px x 400px are centered in the preview frame. Images that are originally larger than 400px x 400px are scaled down to 400px on their longest side (maintaining their original aspect ratio).


CUSTOM_CODE

public static final GalleryTypeCodeType CUSTOM_CODE
Reserved for internal use only.

Method Detail

values

public static GalleryTypeCodeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GalleryTypeCodeType c : GalleryTypeCodeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GalleryTypeCodeType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public java.lang.String value()

fromValue

public static GalleryTypeCodeType fromValue(java.lang.String v)

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.