public enum CallbackEvents extends Enum<CallbackEvents>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
SHIPPING_ADDRESS
When Buyer changes or selects the shipping address on the PayPal/Venmo buyer approval flow , PayPal/Venmo will call merchant with the callback URL to update order totals.
|
SHIPPING_OPTIONS
When Buyer changes or selects the shipping options on the PayPal/Venmo buyer approval flow , PayPal/Venmo will call merchant with the callback URL to update order totals.
|
| Modifier and Type | Method and Description |
|---|---|
static CallbackEvents |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static CallbackEvents |
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<CallbackEvents> toConvert)
Convert list of CallbackEvents values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static CallbackEvents |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallbackEvents[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallbackEvents SHIPPING_ADDRESS
public static final CallbackEvents SHIPPING_OPTIONS
public static final CallbackEvents _UNKNOWN
public static CallbackEvents[] values()
for (CallbackEvents c : CallbackEvents.values()) System.out.println(c);
public static CallbackEvents 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 CallbackEvents 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 CallbackEvents fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<CallbackEvents>public static List<String> toValue(List<CallbackEvents> toConvert)
toConvert - The list of CallbackEvents values to convert.Copyright © 2025. All rights reserved.