Enum Class DefaultQuoteStatuses

java.lang.Object
java.lang.Enum<DefaultQuoteStatuses>
com.broadleafcommerce.cart.client.domain.enums.DefaultQuoteStatuses
All Implemented Interfaces:
CartStatus, Serializable, Comparable<DefaultQuoteStatuses>, Constable

public enum DefaultQuoteStatuses extends Enum<DefaultQuoteStatuses> implements CartStatus
Enumerates the statuses for a quote.
  • Enum Constant Details

    • DRAFTING

      public static final DefaultQuoteStatuses DRAFTING
      Indicates that the quote is being drafted and have not been submitted to the sellers.

      It's typically used for carts that have just been converted into a quote.

      See Also:
    • QUOTE_REQUESTED

      public static final DefaultQuoteStatuses QUOTE_REQUESTED
      Indicates that the quote has been requested to the seller.
    • ASSIGNED

      public static final DefaultQuoteStatuses ASSIGNED
      Indicates that the quote is assigned to a sales rep.
    • PUBLISHED

      public static final DefaultQuoteStatuses PUBLISHED
      Indicates that the quote has been responded back to the requester with the quoted prices.
    • EDITING

      public static final DefaultQuoteStatuses EDITING
      Indicates that the quote is being edited by the buyer after the seller's response.
    • EXPIRED

      public static final DefaultQuoteStatuses EXPIRED
      Indicates that the quote is expired.
    • REJECTED

      public static final DefaultQuoteStatuses REJECTED
      Indicates that the quote is rejected.
    • CANCELED

      public static final DefaultQuoteStatuses CANCELED
      Indicates that the quote is canceled.
  • Method Details

    • values

      public static DefaultQuoteStatuses[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DefaultQuoteStatuses valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isDrafting

      public static boolean isDrafting(String status)
    • isQuoteRequested

      public static boolean isQuoteRequested(String status)
    • isAssigned

      public static boolean isAssigned(String status)
    • isPublished

      public static boolean isPublished(String status)
    • isEditing

      public static boolean isEditing(String status)
    • isExpired

      public static boolean isExpired(String status)
    • isRejected

      public static boolean isRejected(String status)
    • isCanceled

      public static boolean isCanceled(String status)