public static class CheckoutOptions.Builder extends Object
CheckoutOptions.| Constructor and Description |
|---|
Builder() |
public CheckoutOptions.Builder allowTipping(Boolean allowTipping)
allowTipping - Boolean value for allowTipping.public CheckoutOptions.Builder unsetAllowTipping()
public CheckoutOptions.Builder customFields(List<CustomField> customFields)
customFields - List of CustomField value for customFields.public CheckoutOptions.Builder unsetCustomFields()
public CheckoutOptions.Builder subscriptionPlanId(String subscriptionPlanId)
subscriptionPlanId - String value for subscriptionPlanId.public CheckoutOptions.Builder unsetSubscriptionPlanId()
public CheckoutOptions.Builder redirectUrl(String redirectUrl)
redirectUrl - String value for redirectUrl.public CheckoutOptions.Builder unsetRedirectUrl()
public CheckoutOptions.Builder merchantSupportEmail(String merchantSupportEmail)
merchantSupportEmail - String value for merchantSupportEmail.public CheckoutOptions.Builder unsetMerchantSupportEmail()
public CheckoutOptions.Builder askForShippingAddress(Boolean askForShippingAddress)
askForShippingAddress - Boolean value for askForShippingAddress.public CheckoutOptions.Builder unsetAskForShippingAddress()
public CheckoutOptions.Builder acceptedPaymentMethods(AcceptedPaymentMethods acceptedPaymentMethods)
acceptedPaymentMethods - AcceptedPaymentMethods value for acceptedPaymentMethods.public CheckoutOptions.Builder appFeeMoney(Money appFeeMoney)
appFeeMoney - Money value for appFeeMoney.public CheckoutOptions.Builder shippingFee(ShippingFee shippingFee)
shippingFee - ShippingFee value for shippingFee.public CheckoutOptions.Builder enableCoupon(Boolean enableCoupon)
enableCoupon - Boolean value for enableCoupon.public CheckoutOptions.Builder unsetEnableCoupon()
public CheckoutOptions.Builder enableLoyalty(Boolean enableLoyalty)
enableLoyalty - Boolean value for enableLoyalty.public CheckoutOptions.Builder unsetEnableLoyalty()
public CheckoutOptions build()
CheckoutOptions object using the set fields.CheckoutOptionsCopyright © 2023. All rights reserved.