public class SubscriptionApplicationContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SubscriptionApplicationContext.Builder
Class to build instances of
SubscriptionApplicationContext. |
| Constructor and Description |
|---|
SubscriptionApplicationContext()
Default constructor.
|
SubscriptionApplicationContext(String returnUrl,
String cancelUrl,
String brandName,
String locale,
ExperienceContextShippingPreference shippingPreference,
ApplicationContextUserAction userAction,
PaymentMethod paymentMethod)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBrandName()
Getter for BrandName.
|
String |
getCancelUrl()
Getter for CancelUrl.
|
String |
getLocale()
Getter for Locale.
|
PaymentMethod |
getPaymentMethod()
Getter for PaymentMethod.
|
String |
getReturnUrl()
Getter for ReturnUrl.
|
ExperienceContextShippingPreference |
getShippingPreference()
Getter for ShippingPreference.
|
ApplicationContextUserAction |
getUserAction()
Getter for UserAction.
|
void |
setBrandName(String brandName)
Setter for BrandName.
|
void |
setCancelUrl(String cancelUrl)
Setter for CancelUrl.
|
void |
setLocale(String locale)
Setter for Locale.
|
void |
setPaymentMethod(PaymentMethod paymentMethod)
Setter for PaymentMethod.
|
void |
setReturnUrl(String returnUrl)
Setter for ReturnUrl.
|
void |
setShippingPreference(ExperienceContextShippingPreference shippingPreference)
Setter for ShippingPreference.
|
void |
setUserAction(ApplicationContextUserAction userAction)
Setter for UserAction.
|
SubscriptionApplicationContext.Builder |
toBuilder()
Builds a new
SubscriptionApplicationContext.Builder object. |
String |
toString()
Converts this SubscriptionApplicationContext into string format.
|
public SubscriptionApplicationContext()
public SubscriptionApplicationContext(String returnUrl, String cancelUrl, String brandName, String locale, ExperienceContextShippingPreference shippingPreference, ApplicationContextUserAction userAction, PaymentMethod paymentMethod)
returnUrl - String value for returnUrl.cancelUrl - String value for cancelUrl.brandName - String value for brandName.locale - String value for locale.shippingPreference - ExperienceContextShippingPreference value for shippingPreference.userAction - ApplicationContextUserAction value for userAction.paymentMethod - PaymentMethod value for paymentMethod.public String getBrandName()
public void setBrandName(String brandName)
brandName - Value for Stringpublic String getLocale()
public void setLocale(String locale)
locale - Value for Stringpublic ExperienceContextShippingPreference getShippingPreference()
public void setShippingPreference(ExperienceContextShippingPreference shippingPreference)
shippingPreference - Value for ExperienceContextShippingPreferencepublic ApplicationContextUserAction getUserAction()
public void setUserAction(ApplicationContextUserAction userAction)
userAction - Value for ApplicationContextUserActionpublic PaymentMethod getPaymentMethod()
public void setPaymentMethod(PaymentMethod paymentMethod)
paymentMethod - Value for PaymentMethodpublic String getReturnUrl()
public void setReturnUrl(String returnUrl)
returnUrl - Value for Stringpublic String getCancelUrl()
public void setCancelUrl(String cancelUrl)
cancelUrl - Value for Stringpublic String toString()
public SubscriptionApplicationContext.Builder toBuilder()
SubscriptionApplicationContext.Builder object.
Creates the instance with the state of the current model.SubscriptionApplicationContext.Builder objectCopyright © 2026. All rights reserved.