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
Enumerates the statuses for a quote.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the quote is assigned to a sales rep.Indicates that the quote is canceled.Indicates that the quote is being drafted and have not been submitted to the sellers.Indicates that the quote is being edited by the buyer after the seller's response.Indicates that the quote is expired.Indicates that the quote has been responded back to the requester with the quoted prices.Indicates that the quote has been requested to the seller.Indicates that the quote is rejected. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isAssigned
(String status) static boolean
isCanceled
(String status) static boolean
isDrafting
(String status) static boolean
static boolean
static boolean
isPublished
(String status) static boolean
isQuoteRequested
(String status) static boolean
isRejected
(String status) static DefaultQuoteStatuses
Returns the enum constant of this class with the specified name.static DefaultQuoteStatuses[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.broadleafcommerce.cart.client.domain.enums.CartStatus
name
-
Enum Constant Details
-
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
Indicates that the quote has been requested to the seller. -
ASSIGNED
Indicates that the quote is assigned to a sales rep. -
PUBLISHED
Indicates that the quote has been responded back to the requester with the quoted prices. -
EDITING
Indicates that the quote is being edited by the buyer after the seller's response. -
EXPIRED
Indicates that the quote is expired. -
REJECTED
Indicates that the quote is rejected. -
CANCELED
Indicates that the quote is canceled.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
isDrafting
-
isQuoteRequested
-
isAssigned
-
isPublished
-
isEditing
-
isExpired
-
isRejected
-
isCanceled
-