Interface QuoteRequestState
- All Superinterfaces:
JsonEnum
- All Known Implementing Classes:
QuoteRequestState.QuoteRequestStateEnum
Predefined states tracking the status of the Quote Request in the negotiation process.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
possible values of QuoteRequestState -
Field Summary
Modifier and TypeFieldDescriptionstatic final QuoteRequestState
Indicates that the Quote Request has been accepted by the Seller and the negotiation process continues with preparing a Staged Quote for the Buyer.static final QuoteRequestState
Indicates that the Buyer has withdrawn the Quote Request.static final QuoteRequestState
Final state of the negotiation process.static final QuoteRequestState
Indicates that the Quote Request has been rejected by the Seller and the negotiation process terminated.static final QuoteRequestState
Initial state of the negotiation process. -
Method Summary
Modifier and TypeMethodDescriptionstatic QuoteRequestState
factory method for a enum value of QuoteRequestState if no enum has been found an anonymous instance will be createdstatic Optional<QuoteRequestState>
findEnumViaJsonName
(String jsonName) method to find enum using the JSON valuethe JSON valuename()
the enum valuetoString()
convert value to stringstatic QuoteRequestState[]
values()
possible enum values
-
Field Details
-
SUBMITTED
Initial state of the negotiation process. Indicates that the Quote Request has been submitted by the Buyer, but the Seller has not yet decided whether to accept or to reject the request.
-
ACCEPTED
Indicates that the Quote Request has been accepted by the Seller and the negotiation process continues with preparing a Staged Quote for the Buyer.
-
CLOSED
Final state of the negotiation process. Indicates that the Quote Request had been accepted by the Seller and there is no further action that can be performed by any party.
-
REJECTED
Indicates that the Quote Request has been rejected by the Seller and the negotiation process terminated.
-
CANCELLED
Indicates that the Buyer has withdrawn the Quote Request.
-
-
Method Details
-
getJsonName
String getJsonName()the JSON value- Specified by:
getJsonName
in interfaceJsonEnum
- Returns:
- json value
-
name
String name()the enum value -
toString
String toString()convert value to string -
findEnum
factory method for a enum value of QuoteRequestState if no enum has been found an anonymous instance will be created- Parameters:
value
- the enum value to be wrapped- Returns:
- enum instance
-
findEnumViaJsonName
method to find enum using the JSON value- Parameters:
jsonName
- the json value to be wrapped- Returns:
- optional of enum instance
-
values
possible enum values- Returns:
- array of possible enum values
-