Class CheckoutProcessDto

java.lang.Object
com.broadleafcommerce.cartoperation.domain.checkout.CheckoutProcessDto

public class CheckoutProcessDto extends Object
  • Constructor Details

    • CheckoutProcessDto

      public CheckoutProcessDto()
  • Method Details

    • getPaymentSummaries

      public List<PaymentSummary> getPaymentSummaries()
      Convenient method to get a list of PaymentSummaries from getPaymentById().
      Returns:
      a list of PaymentSummaries from getPaymentById().
    • setPaymentSummaries

      public void setPaymentSummaries(List<PaymentSummary> paymentSummaries)
      Convenient method to set getPaymentById() from a list of PaymentSummaries
      Parameters:
      paymentSummaries - a list of PaymentSummaries used to set getPaymentById().
    • getRequestId

      public String getRequestId()
      A unique id used to represent the request. This value can be used to link various persisted entities/values to the originating request.
    • getOriginalCartStatus

      public String getOriginalCartStatus()
      The original Cart.getStatus() before checkout submission.
    • getCart

      public com.broadleafcommerce.cart.client.domain.Cart getCart()
      Resolved Cart for this checkout process request.
    • getCustomerRef

      @Nullable public com.broadleafcommerce.order.common.domain.CustomerRef getCustomerRef()
      Resolved CustomerRef for this checkout process request representing the user submitting checkout.
    • getPaymentLockTokens

      public Map<String,String> getPaymentLockTokens()
      Resolved payment lock tokens for this checkout process request.
    • getPaymentById

      public Map<String,PaymentSummary> getPaymentById()
      Resolved PaymentSummaries for this checkout process request.
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      Miscellaneous attributes that can be added to this request in order to provide more information.
    • setRequestId

      public void setRequestId(String requestId)
      A unique id used to represent the request. This value can be used to link various persisted entities/values to the originating request.
    • setOriginalCartStatus

      public void setOriginalCartStatus(String originalCartStatus)
      The original Cart.getStatus() before checkout submission.
    • setCart

      public void setCart(com.broadleafcommerce.cart.client.domain.Cart cart)
      Resolved Cart for this checkout process request.
    • setCustomerRef

      public void setCustomerRef(@Nullable com.broadleafcommerce.order.common.domain.CustomerRef customerRef)
      Resolved CustomerRef for this checkout process request representing the user submitting checkout.
    • setPaymentLockTokens

      public void setPaymentLockTokens(Map<String,String> paymentLockTokens)
      Resolved payment lock tokens for this checkout process request.
    • setPaymentById

      public void setPaymentById(Map<String,PaymentSummary> paymentById)
      Resolved PaymentSummaries for this checkout process request.
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Miscellaneous attributes that can be added to this request in order to provide more information.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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