Changes since
the last release

com.ebay.soap.eBLBaseComponents
Enum RefundOptionsCodeType

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

public enum RefundOptionsCodeType
extends Enum<RefundOptionsCodeType>

Java class for RefundOptionsCodeType.

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

 <simpleType name="RefundOptionsCodeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="MoneyBack"/>
     <enumeration value="Exchange"/>
     <enumeration value="MerchandiseCredit"/>
     <enumeration value="MoneyBackOrExchange"/>
     <enumeration value="MoneyBackOrReplacement"/>
     <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
CUSTOM_CODE
          Reserved for internal or future use.
EXCHANGE
          Note: This value is deprecated on the US site, and all listings attempting to use this value will be blocked.
MERCHANDISE_CREDIT
          Note: This value is deprecated on the US site, and all listings attempting to use this value will be blocked.
MONEY_BACK
          This value indicates that the seller will refund the buyer the cost of the item, excluding shipping and handling costs and any restocking fee (US only).
MONEY_BACK_OR_EXCHANGE
          Note: US sellers that are willing to refund buyers or offer an identical replacement item, should use the MoneyBackOrReplacement value instead of MoneyBackOrExchange.
MONEY_BACK_OR_REPLACEMENT
          Note: This value is only available on the US site.
 
Method Summary
static RefundOptionsCodeType fromValue(String v)
           
 String value()
           
static RefundOptionsCodeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RefundOptionsCodeType[] 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

MONEY_BACK

public static final RefundOptionsCodeType MONEY_BACK
This value indicates that the seller will refund the buyer the cost of the item, excluding shipping and handling costs and any restocking fee (US only).

The seller should use the ReturnPolicy.Description field in the Add API call to explain how the refund will be handled (such as whether the refund will occur via PayPal).


EXCHANGE

public static final RefundOptionsCodeType EXCHANGE
Note: This value is deprecated on the US site, and all listings attempting to use this value will be blocked. This value indicates that the seller will exchange the returned item for another item. The seller should use the ReturnPolicy.Description field in the Add API call to explain how this will occur (such as whether the seller will send an identical item in place of the returned item).


MERCHANDISE_CREDIT

public static final RefundOptionsCodeType MERCHANDISE_CREDIT
Note: This value is deprecated on the US site, and all listings attempting to use this value will be blocked. The seller will give the buyer a credit toward the purchase of another item. The seller should use the ReturnPolicy.Description field in the Add API call to explain how the buyer can redeem this credit.


MONEY_BACK_OR_EXCHANGE

public static final RefundOptionsCodeType MONEY_BACK_OR_EXCHANGE
Note: US sellers that are willing to refund buyers or offer an identical replacement item, should use the MoneyBackOrReplacement value instead of MoneyBackOrExchange. This value indicates that the seller will refund the buyer the cost of the item, excluding shipping and handling costs and any restocking fee (US only), or the seller will exchange the returned item for another identical item.

The seller should use the ReturnPolicy.Description field in the Add API call to explain how the refund will be handled, such as whether the refund will occur via PayPal, or how the exchange will occur, such as whether the seller will send an identical item in place of the returned item.


MONEY_BACK_OR_REPLACEMENT

public static final RefundOptionsCodeType MONEY_BACK_OR_REPLACEMENT
Note: This value is only available on the US site. US sellers should use this value (and not MoneyBackOrExchange) if they are willing to refund buyers or offer an identical replacement item. This value indicates that the seller will refund the buyer the cost of the item (excluding shipping and handling costs and any restocking fee) through eBay returns, or the seller will replace the returned item with another identical item.

The seller should use the ReturnPolicy.Description field in the Add API call to explain to buyer that are refunds and replacements will be handled through the eBay returns process.


CUSTOM_CODE

public static final RefundOptionsCodeType CUSTOM_CODE
Reserved for internal or future use.

Method Detail

values

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

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

valueOf

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