urn.ebay.apis.eBLBaseComponents
Enum RefundSourceCodeType
java.lang.Object
java.lang.Enum<RefundSourceCodeType>
urn.ebay.apis.eBLBaseComponents.RefundSourceCodeType
- All Implemented Interfaces:
- Serializable, Comparable<RefundSourceCodeType>
public enum RefundSourceCodeType
- extends Enum<RefundSourceCodeType>
RefundSourceCodeType
This is the type of PayPal funding source that can be used
for auto refund.
any - Means Merchant doesn't have any preference. PayPal
can use any available funding source (Balance or eCheck)
default - Means merchant's preferred funding source as
configured in his profile. (Balance or eCheck)
instant - Only Balance
echeck - Merchant prefers echeck. If PayPal balance can
cover the refund amount, we will use PayPal balance.
(balance or eCheck)
ANY
public static final RefundSourceCodeType ANY
DEFAULT
public static final RefundSourceCodeType DEFAULT
INSTANT
public static final RefundSourceCodeType INSTANT
ECHECK
public static final RefundSourceCodeType ECHECK
values
public static RefundSourceCodeType[] 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 (RefundSourceCodeType c : RefundSourceCodeType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RefundSourceCodeType 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
getValue
public String getValue()
fromValue
public static RefundSourceCodeType fromValue(String v)
Copyright © 2012. All Rights Reserved.