public class OrderApplicationContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderApplicationContext.Builder
Class to build instances of
OrderApplicationContext. |
| Constructor and Description |
|---|
OrderApplicationContext()
Default constructor.
|
OrderApplicationContext(String brandName,
String locale,
OrderApplicationContextLandingPage landingPage,
OrderApplicationContextShippingPreference shippingPreference,
OrderApplicationContextUserAction userAction,
PaymentMethodPreference paymentMethod,
String returnUrl,
String cancelUrl,
StoredPaymentSource storedPaymentSource)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBrandName()
Getter for BrandName.
|
String |
getCancelUrl()
Getter for CancelUrl.
|
OrderApplicationContextLandingPage |
getLandingPage()
Getter for LandingPage.
|
String |
getLocale()
Getter for Locale.
|
PaymentMethodPreference |
getPaymentMethod()
Getter for PaymentMethod.
|
String |
getReturnUrl()
Getter for ReturnUrl.
|
OrderApplicationContextShippingPreference |
getShippingPreference()
Getter for ShippingPreference.
|
StoredPaymentSource |
getStoredPaymentSource()
Getter for StoredPaymentSource.
|
OrderApplicationContextUserAction |
getUserAction()
Getter for UserAction.
|
void |
setBrandName(String brandName)
Setter for BrandName.
|
void |
setCancelUrl(String cancelUrl)
Setter for CancelUrl.
|
void |
setLandingPage(OrderApplicationContextLandingPage landingPage)
Setter for LandingPage.
|
void |
setLocale(String locale)
Setter for Locale.
|
void |
setPaymentMethod(PaymentMethodPreference paymentMethod)
Setter for PaymentMethod.
|
void |
setReturnUrl(String returnUrl)
Setter for ReturnUrl.
|
void |
setShippingPreference(OrderApplicationContextShippingPreference shippingPreference)
Setter for ShippingPreference.
|
void |
setStoredPaymentSource(StoredPaymentSource storedPaymentSource)
Setter for StoredPaymentSource.
|
void |
setUserAction(OrderApplicationContextUserAction userAction)
Setter for UserAction.
|
OrderApplicationContext.Builder |
toBuilder()
Builds a new
OrderApplicationContext.Builder object. |
String |
toString()
Converts this OrderApplicationContext into string format.
|
public OrderApplicationContext()
public OrderApplicationContext(String brandName, String locale, OrderApplicationContextLandingPage landingPage, OrderApplicationContextShippingPreference shippingPreference, OrderApplicationContextUserAction userAction, PaymentMethodPreference paymentMethod, String returnUrl, String cancelUrl, StoredPaymentSource storedPaymentSource)
brandName - String value for brandName.locale - String value for locale.landingPage - OrderApplicationContextLandingPage value for landingPage.shippingPreference - OrderApplicationContextShippingPreference value for
shippingPreference.userAction - OrderApplicationContextUserAction value for userAction.paymentMethod - PaymentMethodPreference value for paymentMethod.returnUrl - String value for returnUrl.cancelUrl - String value for cancelUrl.storedPaymentSource - StoredPaymentSource value for storedPaymentSource.public String getBrandName()
public void setBrandName(String brandName)
brandName - Value for Stringpublic String getLocale()
public void setLocale(String locale)
locale - Value for Stringpublic OrderApplicationContextLandingPage getLandingPage()
public void setLandingPage(OrderApplicationContextLandingPage landingPage)
landingPage - Value for OrderApplicationContextLandingPagepublic OrderApplicationContextShippingPreference getShippingPreference()
public void setShippingPreference(OrderApplicationContextShippingPreference shippingPreference)
shippingPreference - Value for OrderApplicationContextShippingPreferencepublic OrderApplicationContextUserAction getUserAction()
public void setUserAction(OrderApplicationContextUserAction userAction)
userAction - Value for OrderApplicationContextUserActionpublic PaymentMethodPreference getPaymentMethod()
public void setPaymentMethod(PaymentMethodPreference paymentMethod)
paymentMethod - Value for PaymentMethodPreferencepublic String getReturnUrl()
public void setReturnUrl(String returnUrl)
returnUrl - Value for Stringpublic String getCancelUrl()
public void setCancelUrl(String cancelUrl)
cancelUrl - Value for Stringpublic StoredPaymentSource getStoredPaymentSource()
public void setStoredPaymentSource(StoredPaymentSource storedPaymentSource)
storedPaymentSource - Value for StoredPaymentSourcepublic String toString()
public OrderApplicationContext.Builder toBuilder()
OrderApplicationContext.Builder object.
Creates the instance with the state of the current model.OrderApplicationContext.Builder objectCopyright © 2025. All rights reserved.