Changes since
the last release

com.ebay.soap.eBLBaseComponents
Enum ShippingTypeCodeType

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

public enum ShippingTypeCodeType
extends Enum<ShippingTypeCodeType>

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="FreightFlat"/>
     <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
CALCULATED
          Calculated shipping model: the cost of shipping is determined in large part by the seller-offered and buyer-selected shipping service.
CALCULATED_DOMESTIC_FLAT_INTERNATIONAL
          The seller specified one or more calculated domestic shipping services and one or more flat international shipping services.
CUSTOM_CODE
          Reserved for future use.
FLAT
          Flat 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.
FLAT_DOMESTIC_CALCULATED_INTERNATIONAL
          The seller specified one or more flat domestic shipping services and one or more calculated international shipping services.
FREE
          Free shipping.
FREIGHT
          Freight shipping model.
FREIGHT_FLAT
          Freight shipping model.
NOT_SPECIFIED
          The seller did not specify the shipping type.
 
Method Summary
static ShippingTypeCodeType fromValue(String v)
           
 String value()
           
static ShippingTypeCodeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ShippingTypeCodeType[] 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

FLAT

public static final ShippingTypeCodeType FLAT
Flat 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.

Note: This shipping type includes an option for a Flat Rate Freight shipping service. For details about freight shipping, see Specifying Freight Shipping in the eBay Features Guide.


CALCULATED

public static final ShippingTypeCodeType CALCULATED
Calculated shipping model: the cost of shipping is determined in large part by the seller-offered and buyer-selected shipping service. The seller might assess an additional fee via PackagingHandlingCosts.


FREIGHT

public static final ShippingTypeCodeType FREIGHT
Freight shipping model. Available only for US domestic shipping. The cost of shipping is automatically determined by an affiliated third party, FreightQuote.com, based on the item location (postal code).

Note: This shipping type cannot be set via API, but it is automatically set by eBay when a buyer selects the FreightQuote.com option on the US eBay website.

For details about types of freight shipping that you can specify via API, see Specifying Freight Shipping in the eBay Features Guide.


FREE

public static final ShippingTypeCodeType FREE
Free shipping. This field is output-only so if you want to use AddItem to specify a free Shipping Cost, specify 0 in Item.ShippingDetails.ShippingServiceOptions.ShippingServiceCost.


NOT_SPECIFIED

public static final ShippingTypeCodeType NOT_SPECIFIED
The seller did not specify the shipping type.


FLAT_DOMESTIC_CALCULATED_INTERNATIONAL

public static final ShippingTypeCodeType FLAT_DOMESTIC_CALCULATED_INTERNATIONAL
The seller specified one or more flat domestic shipping services and one or more calculated international shipping services.


CALCULATED_DOMESTIC_FLAT_INTERNATIONAL

public static final ShippingTypeCodeType CALCULATED_DOMESTIC_FLAT_INTERNATIONAL
The seller specified one or more calculated domestic shipping services and one or more flat international shipping services.


FREIGHT_FLAT

public static final ShippingTypeCodeType FREIGHT_FLAT
Freight shipping model. Available only for the US, UK, AU, CA and CAFR sites, and only for domestic shipping. FreightFlat applies to shipping with carriers that are not affiliated with eBay. It is negotiated freight, not a flat rate. Sellers negotiate the shipping cost with their chosen carrier and the buyer before completing the sale. FreightFlat shipping may be used when calculated shipping cannot be used due to the greater weight of the item.

For details about freight shipping, see Specifying Freight Shipping in the eBay Features Guide.


CUSTOM_CODE

public static final ShippingTypeCodeType CUSTOM_CODE
Reserved for future use.

Method Detail

values

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

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

valueOf

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