public enum PaypalWalletContactPreference extends Enum<PaypalWalletContactPreference>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
NO_CONTACT_INFO
The merchant can opt out of showing buyer's contact information on PayPal checkout.
|
RETAIN_CONTACT_INFO
The buyer can only see but can not override merchant passed contact information (shipping.email_address and shipping.phone_number) on PayPal checkout.
|
UPDATE_CONTACT_INFO
The merchant allows buyer to add or update shipping contact information on the PayPal checkout.
|
| Modifier and Type | Method and Description |
|---|---|
static PaypalWalletContactPreference |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static PaypalWalletContactPreference |
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<PaypalWalletContactPreference> toConvert)
Convert list of PaypalWalletContactPreference values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static PaypalWalletContactPreference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaypalWalletContactPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaypalWalletContactPreference NO_CONTACT_INFO
public static final PaypalWalletContactPreference UPDATE_CONTACT_INFO
public static final PaypalWalletContactPreference RETAIN_CONTACT_INFO
public static final PaypalWalletContactPreference _UNKNOWN
public static PaypalWalletContactPreference[] values()
for (PaypalWalletContactPreference c : PaypalWalletContactPreference.values()) System.out.println(c);
public static PaypalWalletContactPreference 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 PaypalWalletContactPreference 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 PaypalWalletContactPreference fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<PaypalWalletContactPreference>public static List<String> toValue(List<PaypalWalletContactPreference> toConvert)
toConvert - The list of PaypalWalletContactPreference values to convert.Copyright © 2026. All rights reserved.