Changes since
the last release

com.ebay.soap.eBLBaseComponents
Enum WarrantyTypeOptionsCodeType

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

public enum WarrantyTypeOptionsCodeType
extends Enum<WarrantyTypeOptionsCodeType>

Java class for WarrantyTypeOptionsCodeType.

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

 <simpleType name="WarrantyTypeOptionsCodeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="ReplacementWarranty"/>
     <enumeration value="DealerWarranty"/>
     <enumeration value="ManufacturerWarranty"/>
     <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.
DEALER_WARRANTY
          If this value is returned in the ReturnPolicyDetails.WarrantyType container of the GeteBayDetails response, the seller may offer a dealer warranty to the buyer.
MANUFACTURER_WARRANTY
          If this value is returned in the ReturnPolicyDetails.WarrantyType container of the GeteBayDetails response, the seller may offer a manufacturer warranty to the buyer.
REPLACEMENT_WARRANTY
          If this value is returned in the ReturnPolicyDetails.WarrantyType container of the GeteBayDetails response, the seller may offer a replacement warranty to the buyer.
 
Method Summary
static WarrantyTypeOptionsCodeType fromValue(String v)
           
 String value()
           
static WarrantyTypeOptionsCodeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WarrantyTypeOptionsCodeType[] 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

REPLACEMENT_WARRANTY

public static final WarrantyTypeOptionsCodeType REPLACEMENT_WARRANTY
If this value is returned in the ReturnPolicyDetails.WarrantyType container of the GeteBayDetails response, the seller may offer a replacement warranty to the buyer. The seller can offer a replacement warranty through the ReturnPolicy.WarrantyTypeOption field in an add/revise/relist API call.


DEALER_WARRANTY

public static final WarrantyTypeOptionsCodeType DEALER_WARRANTY
If this value is returned in the ReturnPolicyDetails.WarrantyType container of the GeteBayDetails response, the seller may offer a dealer warranty to the buyer. The seller can offer a dealer warranty through the ReturnPolicy.WarrantyTypeOption field in an add/revise/relist API call.


MANUFACTURER_WARRANTY

public static final WarrantyTypeOptionsCodeType MANUFACTURER_WARRANTY
If this value is returned in the ReturnPolicyDetails.WarrantyType container of the GeteBayDetails response, the seller may offer a manufacturer warranty to the buyer. The seller can offer a manufacturer warranty through the ReturnPolicy.WarrantyTypeOption field in an add/revise/relist API call.


CUSTOM_CODE

public static final WarrantyTypeOptionsCodeType CUSTOM_CODE
This value is reserved for internal or future use.

Method Detail

values

public static WarrantyTypeOptionsCodeType[] 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 (WarrantyTypeOptionsCodeType c : WarrantyTypeOptionsCodeType.values())
    System.out.println(c);

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

valueOf

public static WarrantyTypeOptionsCodeType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static WarrantyTypeOptionsCodeType fromValue(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.