All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ebay.apis.shopping.eblbasecomponents.InsuranceOptionCodeType Maven / Gradle / Ivy

Go to download

This Java client enables you to use Java to make API calls in the eBay Shopping API, which is an XML API. This maven build is simply the Apache CXF generated client code for the Shopping API WSDL.

The newest version!

package ebay.apis.shopping.eblbasecomponents;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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>
 * 
* */ @XmlType(name = "InsuranceOptionCodeType") @XmlEnum public enum InsuranceOptionCodeType { /** * * The seller offers the buyer the choice of paying * for shipping insurance or not. * * */ @XmlEnumValue("Optional") OPTIONAL("Optional"), /** * * The seller requires that the buyer pay for * shipping insurance. * * */ @XmlEnumValue("Required") REQUIRED("Required"), /** * * The seller does not offer shipping insurance to the buyer. * * */ @XmlEnumValue("NotOffered") NOT_OFFERED("NotOffered"), /** * * The seller is not charging separately for shipping * insurance costs; any insurance is already included in the * base shipping cost. * * */ @XmlEnumValue("IncludedInShippingHandling") INCLUDED_IN_SHIPPING_HANDLING("IncludedInShippingHandling"), /** * * 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. * * */ @XmlEnumValue("NotOfferedOnSite") NOT_OFFERED_ON_SITE("NotOfferedOnSite"), /** * * Placeholder value. See * token. * * */ @XmlEnumValue("CustomCode") CUSTOM_CODE("CustomCode"); private final String value; InsuranceOptionCodeType(String v) { value = v; } public String value() { return value; } public static InsuranceOptionCodeType fromValue(String v) { for (InsuranceOptionCodeType c: InsuranceOptionCodeType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy