public enum PaypalExperienceLandingPage extends Enum<PaypalExperienceLandingPage>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
GUEST_CHECKOUT
When the customer clicks PayPal Checkout, the customer is redirected to a page to enter credit or debit card and other relevant billing information required to complete the purchase.
|
LOGIN
When the customer clicks PayPal Checkout, the customer is redirected to a page to log in to PayPal and approve the payment.
|
NO_PREFERENCE
When the customer clicks PayPal Checkout, the customer is redirected to either a page to log in to PayPal and approve the payment or to a page to enter credit or debit card and other relevant billing information required to complete the purchase, depending on their previous interaction with PayPal.
|
| Modifier and Type | Method and Description |
|---|---|
static PaypalExperienceLandingPage |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static PaypalExperienceLandingPage |
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<PaypalExperienceLandingPage> toConvert)
Convert list of PaypalExperienceLandingPage values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static PaypalExperienceLandingPage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaypalExperienceLandingPage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaypalExperienceLandingPage LOGIN
public static final PaypalExperienceLandingPage GUEST_CHECKOUT
public static final PaypalExperienceLandingPage NO_PREFERENCE
public static final PaypalExperienceLandingPage _UNKNOWN
public static PaypalExperienceLandingPage[] values()
for (PaypalExperienceLandingPage c : PaypalExperienceLandingPage.values()) System.out.println(c);
public static PaypalExperienceLandingPage 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 PaypalExperienceLandingPage 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 PaypalExperienceLandingPage fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<PaypalExperienceLandingPage>public static List<String> toValue(List<PaypalExperienceLandingPage> toConvert)
toConvert - The list of PaypalExperienceLandingPage values to convert.Copyright © 2025. All rights reserved.