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

ebay.apis.shopping.eblbasecomponents.ShippingTypeCodeType 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 ShippingTypeCodeType. * *

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

*

 * <simpleType name="ShippingTypeCodeType">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *     <enumeration value="Flat"/>
 *     <enumeration value="Calculated"/>
 *     <enumeration value="Freight"/>
 *     <enumeration value="Free"/>
 *     <enumeration value="NotSpecified"/>
 *     <enumeration value="FlatDomesticCalculatedInternational"/>
 *     <enumeration value="CalculatedDomesticFlatInternational"/>
 *     <enumeration value="CustomCode"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "ShippingTypeCodeType") @XmlEnum public enum ShippingTypeCodeType { /** * * The flat rate shipping model: the seller establishes the cost of shipping and cost of * shipping insurance, regardless of what any buyer-selected shipping service * might charge the seller. * * */ @XmlEnumValue("Flat") FLAT("Flat"), /** * * The calculated shipping model: the posted cost of shipping is based on the * seller-offered and buyer-selected shipping service, where the shipping costs * are calculated by eBay and the shipping carrier based on the buyer's address, * and any packaging/handling costs established by the seller are automatically * rolled into the total. * * */ @XmlEnumValue("Calculated") CALCULATED("Calculated"), /** * * The freight shipping model: the cost of shipping is determined by a third * party, FreightQuote.com, based on the item location (zip code). Currently, * Freight can only be specified on input via eBay Web site, not via API. * * */ @XmlEnumValue("Freight") FREIGHT("Freight"), /** * * Free is used when the seller is declaring that shipping is free for the buyer. * Since Free cannot be selected via API, the seller has two options for * signifying that shipping is free when listing an item: *
* - omit shipping details, mention in the item description that shipping is * free, and set ShippingTermsInDescription to true *
* - select an arbitrary shipping service and set its shipping cost to 0, mention * in the item description that shipping is free, and set * ShippingTermsInDescription to true *
* The latter is a better way to communicate "free shipping" because eBay picks * up the "0" cost and can more accurately identify shipping costs in search * results. * * */ @XmlEnumValue("Free") FREE("Free"), /** * * The seller did not specify the shipping type. * * */ @XmlEnumValue("NotSpecified") NOT_SPECIFIED("NotSpecified"), /** * * The seller specified one or more flat domestic shipping services * and one or more calculated international shipping services. * * */ @XmlEnumValue("FlatDomesticCalculatedInternational") FLAT_DOMESTIC_CALCULATED_INTERNATIONAL("FlatDomesticCalculatedInternational"), /** * * The seller specified one or more calculated domestic shipping services * and one or more flat international shipping services. * * */ @XmlEnumValue("CalculatedDomesticFlatInternational") CALCULATED_DOMESTIC_FLAT_INTERNATIONAL("CalculatedDomesticFlatInternational"), /** * * Placeholder value. See * token. * * */ @XmlEnumValue("CustomCode") CUSTOM_CODE("CustomCode"); private final String value; ShippingTypeCodeType(String v) { value = v; } public String value() { return value; } public static ShippingTypeCodeType fromValue(String v) { for (ShippingTypeCodeType c: ShippingTypeCodeType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy