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: freight shipping may be used when flat or calculated shipping cannot be used due to the greater weight of the item.
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're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, 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.


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 determined by a third party, FreightQuote.com, based on the item location (zip code).

Currently, Freight can be specified only on input via eBay Web site, not via API.


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: freight shipping may be used when flat or calculated shipping cannot be used due to the greater weight of the item.

Currently, FreightFlat is available only for the US, UK, AU, CA and CAFR sites, and only for domestic shipping. On the US site, FreightFlat applies to shipping with carriers that are not affiliated with eBay. For details about freight shipping, see "Specifying Freight Shipping" in the Shipping chapter of the User's Guide.


CUSTOM_CODE

public static final ShippingTypeCodeType CUSTOM_CODE
Reserved for future use.

Method Detail

values

public static final ShippingTypeCodeType[] values()
Returns an array containing the constants of this enum type, in the order they're 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're 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

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.