Changes since
the last release

com.ebay.soap.eBLBaseComponents
Enum InsuranceOptionCodeType

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

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

Java class for InsuranceOptionCodeType.

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

 <simpleType name="InsuranceOptionCodeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="Optional"/>
     <enumeration value="Required"/>
     <enumeration value="NotOffered"/>
     <enumeration value="IncludedInShippingHandling"/>
     <enumeration value="NotOfferedOnSite"/>
     <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 or future use
INCLUDED_IN_SHIPPING_HANDLING
          The seller is not charging separately for shipping insurance costs; any insurance is already included in the base shipping cost.
NOT_OFFERED
          The seller does not offer shipping insurance to the buyer.
NOT_OFFERED_ON_SITE
          Shipping insurance is not offered as a separate option on the site where the item is listed.
OPTIONAL
          The seller offers the buyer the choice of paying for shipping insurance or not.
REQUIRED
          The seller requires that the buyer pay for shipping insurance.
 
Method Summary
static InsuranceOptionCodeType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static InsuranceOptionCodeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static InsuranceOptionCodeType[] 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

OPTIONAL

public static final InsuranceOptionCodeType OPTIONAL
The seller offers the buyer the choice of paying for shipping insurance or not.


REQUIRED

public static final InsuranceOptionCodeType REQUIRED
The seller requires that the buyer pay for shipping insurance.


NOT_OFFERED

public static final InsuranceOptionCodeType NOT_OFFERED
The seller does not offer shipping insurance to the buyer.


INCLUDED_IN_SHIPPING_HANDLING

public static final InsuranceOptionCodeType INCLUDED_IN_SHIPPING_HANDLING
The seller is not charging separately for shipping insurance costs; any insurance is already included in the base shipping cost.


NOT_OFFERED_ON_SITE

public static final InsuranceOptionCodeType NOT_OFFERED_ON_SITE
Shipping insurance is not offered as a separate option on the site where the item is listed. (Some shipping services, such as DE_InsuredExpressOrCourier, include insurance as part of the service.) If another insurance option is specified in the listing request and the site does not support shipping insurance as a separate option, eBay will reset the insurance option to this value. At the time of this writing, this option is only meaningful for the eBay Germany, Austria, and Switzerland sites.


CUSTOM_CODE

public static final InsuranceOptionCodeType CUSTOM_CODE
Reserved for internal or future use

Method Detail

values

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

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

valueOf

public static InsuranceOptionCodeType 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 InsuranceOptionCodeType 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.