public static class CheckoutOptions.Builder extends Object
CheckoutOptions.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CheckoutOptions.Builder |
acceptedPaymentMethods(AcceptedPaymentMethods acceptedPaymentMethods)
Setter for acceptedPaymentMethods.
|
CheckoutOptions.Builder |
allowTipping(Boolean allowTipping)
Setter for allowTipping.
|
CheckoutOptions.Builder |
askForShippingAddress(Boolean askForShippingAddress)
Setter for askForShippingAddress.
|
CheckoutOptions |
build()
Builds a new
CheckoutOptions object using the set fields. |
CheckoutOptions.Builder |
customFields(List<CustomField> customFields)
Setter for customFields.
|
CheckoutOptions.Builder |
merchantSupportEmail(String merchantSupportEmail)
Setter for merchantSupportEmail.
|
CheckoutOptions.Builder |
redirectUrl(String redirectUrl)
Setter for redirectUrl.
|
CheckoutOptions.Builder |
subscriptionPlanId(String subscriptionPlanId)
Setter for subscriptionPlanId.
|
public CheckoutOptions.Builder allowTipping(Boolean allowTipping)
allowTipping - Boolean value for allowTipping.public CheckoutOptions.Builder customFields(List<CustomField> customFields)
customFields - List of CustomField value for customFields.public CheckoutOptions.Builder subscriptionPlanId(String subscriptionPlanId)
subscriptionPlanId - String value for subscriptionPlanId.public CheckoutOptions.Builder redirectUrl(String redirectUrl)
redirectUrl - String value for redirectUrl.public CheckoutOptions.Builder merchantSupportEmail(String merchantSupportEmail)
merchantSupportEmail - String value for merchantSupportEmail.public CheckoutOptions.Builder askForShippingAddress(Boolean askForShippingAddress)
askForShippingAddress - Boolean value for askForShippingAddress.public CheckoutOptions.Builder acceptedPaymentMethods(AcceptedPaymentMethods acceptedPaymentMethods)
acceptedPaymentMethods - AcceptedPaymentMethods value for acceptedPaymentMethods.public CheckoutOptions build()
CheckoutOptions object using the set fields.CheckoutOptionsCopyright © 2022. All rights reserved.