public enum PaypalWalletContextShippingPreference extends Enum<PaypalWalletContextShippingPreference>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
GET_FROM_FILE
Get the customer-provided shipping address on the PayPal site.
|
NO_SHIPPING
Removes the shipping address information from the API response and the Paypal site.
|
SET_PROVIDED_ADDRESS
Get the merchant-provided address.
|
| Modifier and Type | Method and Description |
|---|---|
static PaypalWalletContextShippingPreference |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static PaypalWalletContextShippingPreference |
fromString(String toConvert)
Returns the enum member associated with the given string value.
|
String |
toString()
Get string representation of this enum.
|
static List<String> |
toValue(List<PaypalWalletContextShippingPreference> toConvert)
Convert list of PaypalWalletContextShippingPreference values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static PaypalWalletContextShippingPreference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaypalWalletContextShippingPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaypalWalletContextShippingPreference GET_FROM_FILE
public static final PaypalWalletContextShippingPreference NO_SHIPPING
public static final PaypalWalletContextShippingPreference SET_PROVIDED_ADDRESS
public static final PaypalWalletContextShippingPreference _UNKNOWN
public static PaypalWalletContextShippingPreference[] values()
for (PaypalWalletContextShippingPreference c : PaypalWalletContextShippingPreference.values()) System.out.println(c);
public static PaypalWalletContextShippingPreference valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static PaypalWalletContextShippingPreference constructFromString(String toConvert) throws IOException
toConvert - String value to get enum member.IOException - when provided value is not mapped to any enum member.public static PaypalWalletContextShippingPreference fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<PaypalWalletContextShippingPreference>public static List<String> toValue(List<PaypalWalletContextShippingPreference> toConvert)
toConvert - The list of PaypalWalletContextShippingPreference values to convert.Copyright © 2025. All rights reserved.