public class PaypalWalletExperienceContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaypalWalletExperienceContext.Builder
Class to build instances of
PaypalWalletExperienceContext. |
| Constructor and Description |
|---|
PaypalWalletExperienceContext()
Default constructor.
|
PaypalWalletExperienceContext(String brandName,
String locale,
PaypalWalletContextShippingPreference shippingPreference,
String returnUrl,
String cancelUrl,
PaypalExperienceLandingPage landingPage,
PaypalExperienceUserAction userAction,
PayeePaymentMethodPreference paymentMethodPreference,
CallbackConfiguration orderUpdateCallbackConfig)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBrandName()
Getter for BrandName.
|
String |
getCancelUrl()
Getter for CancelUrl.
|
PaypalExperienceLandingPage |
getLandingPage()
Getter for LandingPage.
|
String |
getLocale()
Getter for Locale.
|
CallbackConfiguration |
getOrderUpdateCallbackConfig()
Getter for OrderUpdateCallbackConfig.
|
PayeePaymentMethodPreference |
getPaymentMethodPreference()
Getter for PaymentMethodPreference.
|
String |
getReturnUrl()
Getter for ReturnUrl.
|
PaypalWalletContextShippingPreference |
getShippingPreference()
Getter for ShippingPreference.
|
PaypalExperienceUserAction |
getUserAction()
Getter for UserAction.
|
void |
setBrandName(String brandName)
Setter for BrandName.
|
void |
setCancelUrl(String cancelUrl)
Setter for CancelUrl.
|
void |
setLandingPage(PaypalExperienceLandingPage landingPage)
Setter for LandingPage.
|
void |
setLocale(String locale)
Setter for Locale.
|
void |
setOrderUpdateCallbackConfig(CallbackConfiguration orderUpdateCallbackConfig)
Setter for OrderUpdateCallbackConfig.
|
void |
setPaymentMethodPreference(PayeePaymentMethodPreference paymentMethodPreference)
Setter for PaymentMethodPreference.
|
void |
setReturnUrl(String returnUrl)
Setter for ReturnUrl.
|
void |
setShippingPreference(PaypalWalletContextShippingPreference shippingPreference)
Setter for ShippingPreference.
|
void |
setUserAction(PaypalExperienceUserAction userAction)
Setter for UserAction.
|
PaypalWalletExperienceContext.Builder |
toBuilder()
Builds a new
PaypalWalletExperienceContext.Builder object. |
String |
toString()
Converts this PaypalWalletExperienceContext into string format.
|
public PaypalWalletExperienceContext()
public PaypalWalletExperienceContext(String brandName, String locale, PaypalWalletContextShippingPreference shippingPreference, String returnUrl, String cancelUrl, PaypalExperienceLandingPage landingPage, PaypalExperienceUserAction userAction, PayeePaymentMethodPreference paymentMethodPreference, CallbackConfiguration orderUpdateCallbackConfig)
brandName - String value for brandName.locale - String value for locale.shippingPreference - PaypalWalletContextShippingPreference value for
shippingPreference.returnUrl - String value for returnUrl.cancelUrl - String value for cancelUrl.landingPage - PaypalExperienceLandingPage value for landingPage.userAction - PaypalExperienceUserAction value for userAction.paymentMethodPreference - PayeePaymentMethodPreference value for
paymentMethodPreference.orderUpdateCallbackConfig - CallbackConfiguration value for orderUpdateCallbackConfig.public String getBrandName()
public void setBrandName(String brandName)
brandName - Value for Stringpublic String getLocale()
public void setLocale(String locale)
locale - Value for Stringpublic PaypalWalletContextShippingPreference getShippingPreference()
public void setShippingPreference(PaypalWalletContextShippingPreference shippingPreference)
shippingPreference - Value for PaypalWalletContextShippingPreferencepublic String getReturnUrl()
public void setReturnUrl(String returnUrl)
returnUrl - Value for Stringpublic String getCancelUrl()
public void setCancelUrl(String cancelUrl)
cancelUrl - Value for Stringpublic PaypalExperienceLandingPage getLandingPage()
public void setLandingPage(PaypalExperienceLandingPage landingPage)
landingPage - Value for PaypalExperienceLandingPagepublic PaypalExperienceUserAction getUserAction()
public void setUserAction(PaypalExperienceUserAction userAction)
userAction - Value for PaypalExperienceUserActionpublic PayeePaymentMethodPreference getPaymentMethodPreference()
public void setPaymentMethodPreference(PayeePaymentMethodPreference paymentMethodPreference)
paymentMethodPreference - Value for PayeePaymentMethodPreferencepublic CallbackConfiguration getOrderUpdateCallbackConfig()
public void setOrderUpdateCallbackConfig(CallbackConfiguration orderUpdateCallbackConfig)
orderUpdateCallbackConfig - Value for CallbackConfigurationpublic String toString()
public PaypalWalletExperienceContext.Builder toBuilder()
PaypalWalletExperienceContext.Builder object.
Creates the instance with the state of the current model.PaypalWalletExperienceContext.Builder objectCopyright © 2025. All rights reserved.