|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ListingDurationCodeType>
com.ebay.soap.eBLBaseComponents.ListingDurationCodeType
public enum ListingDurationCodeType
Java class for ListingDurationCodeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ListingDurationCodeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="Days_1"/> <enumeration value="Days_3"/> <enumeration value="Days_5"/> <enumeration value="Days_7"/> <enumeration value="Days_10"/> <enumeration value="Days_14"/> <enumeration value="Days_21"/> <enumeration value="Days_30"/> <enumeration value="Days_60"/> <enumeration value="Days_90"/> <enumeration value="Days_120"/> <enumeration value="GTC"/> <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
This value is reserved for internal or future use. |
|
DAYS_1
This value is used to set the duration of the listing to one day. |
|
DAYS_10
This value is used to set the duration of the listing to 10 days. |
|
DAYS_120
This value is used to set the duration of the listing to 120 days. |
|
DAYS_14
This value is used to set the duration of the listing to 14 days. |
|
DAYS_21
This value is used to set the duration of the listing to 21 days. |
|
DAYS_3
This value is used to set the duration of the listing to three days. |
|
DAYS_30
This value is used to set the duration of the listing to 30 days. |
|
DAYS_5
This value is used to set the duration of the listing to five days. |
|
DAYS_60
This value is used to set the duration of the listing to 60 days. |
|
DAYS_7
This value is used to set the duration of the listing to seven days. |
|
DAYS_90
This value is used to set the duration of the listing to 90 days. |
|
GTC
This value is used to set the duration of the listing to "Good 'Til Cancelled". |
Method Summary | |
---|---|
static ListingDurationCodeType |
fromValue(String v)
|
String |
value()
|
static ListingDurationCodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ListingDurationCodeType[] |
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 |
---|
public static final ListingDurationCodeType DAYS_1
public static final ListingDurationCodeType DAYS_3
public static final ListingDurationCodeType DAYS_5
public static final ListingDurationCodeType DAYS_7
public static final ListingDurationCodeType DAYS_10
public static final ListingDurationCodeType DAYS_14
public static final ListingDurationCodeType DAYS_21
public static final ListingDurationCodeType DAYS_30
public static final ListingDurationCodeType DAYS_60
public static final ListingDurationCodeType DAYS_90
public static final ListingDurationCodeType DAYS_120
public static final ListingDurationCodeType GTC
public static final ListingDurationCodeType CUSTOM_CODE
Method Detail |
---|
public static ListingDurationCodeType[] values()
for (ListingDurationCodeType c : ListingDurationCodeType.values()) System.out.println(c);
public static ListingDurationCodeType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String value()
public static ListingDurationCodeType fromValue(String v)
|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
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.