public class CheckoutOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CheckoutOptions.Builder
Class to build instances of
CheckoutOptions. |
| Constructor and Description |
|---|
CheckoutOptions(Boolean allowTipping,
List<CustomField> customFields,
String subscriptionPlanId,
String redirectUrl,
String merchantSupportEmail,
Boolean askForShippingAddress,
AcceptedPaymentMethods acceptedPaymentMethods)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AcceptedPaymentMethods |
getAcceptedPaymentMethods()
Getter for AcceptedPaymentMethods.
|
Boolean |
getAllowTipping()
Getter for AllowTipping.
|
Boolean |
getAskForShippingAddress()
Getter for AskForShippingAddress.
|
List<CustomField> |
getCustomFields()
Getter for CustomFields.
|
String |
getMerchantSupportEmail()
Getter for MerchantSupportEmail.
|
String |
getRedirectUrl()
Getter for RedirectUrl.
|
String |
getSubscriptionPlanId()
Getter for SubscriptionPlanId.
|
int |
hashCode() |
CheckoutOptions.Builder |
toBuilder()
Builds a new
CheckoutOptions.Builder object. |
String |
toString()
Converts this CheckoutOptions into string format.
|
public CheckoutOptions(Boolean allowTipping, List<CustomField> customFields, String subscriptionPlanId, String redirectUrl, String merchantSupportEmail, Boolean askForShippingAddress, AcceptedPaymentMethods acceptedPaymentMethods)
allowTipping - Boolean value for allowTipping.customFields - List of CustomField value for customFields.subscriptionPlanId - String value for subscriptionPlanId.redirectUrl - String value for redirectUrl.merchantSupportEmail - String value for merchantSupportEmail.askForShippingAddress - Boolean value for askForShippingAddress.acceptedPaymentMethods - AcceptedPaymentMethods value for acceptedPaymentMethods.public Boolean getAllowTipping()
public List<CustomField> getCustomFields()
public String getSubscriptionPlanId()
public String getRedirectUrl()
public String getMerchantSupportEmail()
public Boolean getAskForShippingAddress()
public AcceptedPaymentMethods getAcceptedPaymentMethods()
public String toString()
public CheckoutOptions.Builder toBuilder()
CheckoutOptions.Builder object.
Creates the instance with the state of the current model.CheckoutOptions.Builder objectCopyright © 2022. All rights reserved.