Changes since
the last release

com.ebay.soap.eBLBaseComponents
Enum PurchasePurposeTypeCodeType

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

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

Java class for PurchasePurposeTypeCodeType.

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

 <simpleType name="PurchasePurposeTypeCodeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="Other"/>
     <enumeration value="BuyNowItem"/>
     <enumeration value="ShoppingCart"/>
     <enumeration value="AuctionItem"/>
     <enumeration value="GiftCertificates"/>
     <enumeration value="Subscription"/>
     <enumeration value="Donation"/>
     <enumeration value="eBayBilling"/>
     <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
AUCTION_ITEM
          This value is not used.
BUY_NOW_ITEM
          This value is not used.
CUSTOM_CODE
          This value is not used.
DONATION
          This value is not used.
E_BAY_BILLING
          This value is not used.
GIFT_CERTIFICATES
          This value is not used.
OTHER
          This value is not used.
SHOPPING_CART
          This value is not used.
SUBSCRIPTION
          This value is not used.
 
Method Summary
static PurchasePurposeTypeCodeType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static PurchasePurposeTypeCodeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PurchasePurposeTypeCodeType[] 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

OTHER

public static final PurchasePurposeTypeCodeType OTHER
This value is not used.


BUY_NOW_ITEM

public static final PurchasePurposeTypeCodeType BUY_NOW_ITEM
This value is not used.


SHOPPING_CART

public static final PurchasePurposeTypeCodeType SHOPPING_CART
This value is not used.


AUCTION_ITEM

public static final PurchasePurposeTypeCodeType AUCTION_ITEM
This value is not used.


GIFT_CERTIFICATES

public static final PurchasePurposeTypeCodeType GIFT_CERTIFICATES
This value is not used.


SUBSCRIPTION

public static final PurchasePurposeTypeCodeType SUBSCRIPTION
This value is not used.


DONATION

public static final PurchasePurposeTypeCodeType DONATION
This value is not used.


E_BAY_BILLING

public static final PurchasePurposeTypeCodeType E_BAY_BILLING
This value is not used.


CUSTOM_CODE

public static final PurchasePurposeTypeCodeType CUSTOM_CODE
This value is not used.

Method Detail

values

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

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

valueOf

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