Class CheckoutPaymentExpectations

java.lang.Object
com.broadleafcommerce.cartoperation.domain.payment.CheckoutPaymentExpectations
All Implemented Interfaces:
Serializable

public class CheckoutPaymentExpectations extends Object implements 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 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

      public List<CheckoutPaymentMethodOption> 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

      public void setPaymentMethodOptions(List<CheckoutPaymentMethodOption> paymentMethodOptions)
      The available payment options for this cart.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object