Class CheckoutPaymentExpectations
java.lang.Object
com.broadleafcommerce.cartoperation.domain.payment.CheckoutPaymentExpectations
- All Implemented Interfaces:
Serializable
DTO that provides consolidated information about checkout payment requirements and available
payment options.
- Since:
- Cart Operation Service 3.0.0, Release Train 3.0.0
- Author:
- Chris Kittrell (ckittrell)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe available payment options for this cart.inthashCode()booleanWhether a payment method is required to submit the checkout successfully.booleanWhether a saved payment method is required to complete the checkout (e.g., for future recurring subscription billing cycles).voidsetPaymentMethodOptions(List<CheckoutPaymentMethodOption> paymentMethodOptions) The available payment options for this cart.voidsetPaymentRequired(boolean paymentRequired) Whether a payment method is required to submit the checkout successfully.voidsetSavedPaymentMethodRequired(boolean savedPaymentMethodRequired) Whether a saved payment method is required to complete the checkout (e.g., for future recurring subscription billing cycles).toString()
-
Constructor Details
-
CheckoutPaymentExpectations
public CheckoutPaymentExpectations()
-
-
Method Details
-
isPaymentRequired
public boolean isPaymentRequired()Whether a payment method is required to submit the checkout successfully. -
isSavedPaymentMethodRequired
public boolean isSavedPaymentMethodRequired()Whether a saved payment method is required to complete the checkout (e.g., for future recurring subscription billing cycles). -
getPaymentMethodOptions
The available payment options for this cart. -
setPaymentRequired
public void setPaymentRequired(boolean paymentRequired) Whether a payment method is required to submit the checkout successfully. -
setSavedPaymentMethodRequired
public void setSavedPaymentMethodRequired(boolean savedPaymentMethodRequired) Whether a saved payment method is required to complete the checkout (e.g., for future recurring subscription billing cycles). -
setPaymentMethodOptions
The available payment options for this cart. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-