Interface QuoteState
- All Superinterfaces:
io.vrap.rmf.base.client.JsonEnum
- All Known Implementing Classes:
QuoteState.QuoteStateEnum
public interface QuoteState
extends io.vrap.rmf.base.client.JsonEnum
Predefined states tracking the status of the Quote.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
possible values of QuoteState -
Field Summary
Modifier and TypeFieldDescriptionstatic final QuoteState
A state indicating that the Buyer has accepted the Quote.static final QuoteState
A state indicating that the Buyer has declined the Quote.static final QuoteState
A state indicating that the Buyer has declined and requested to renegotiate the Quote.static final QuoteState
static final QuoteState
A state indicating that the Seller has created a new Quote after a renegotiation has been requested.static final QuoteState
-
Method Summary
Modifier and TypeMethodDescriptionstatic QuoteState
factory method for a enum value of QuoteState if no enum has been found an anonymous instance will be createdstatic Optional<QuoteState>
findEnumViaJsonName
(String jsonName) method to find enum using the JSON valuethe JSON valuename()
the enum valuetoString()
convert value to stringstatic QuoteState[]
values()
possible enum values
-
Field Details
-
PENDING
-
DECLINED
A state indicating that the Buyer has declined the Quote.
-
DECLINED_FOR_RENEGOTIATION
A state indicating that the Buyer has declined and requested to renegotiate the Quote.
-
RENEGOTIATION_ADDRESSED
A state indicating that the Seller has created a new Quote after a renegotiation has been requested.
-
ACCEPTED
A state indicating that the Buyer has accepted the Quote.
-
WITHDRAWN
-
-
Method Details
-
getJsonName
String getJsonName()the JSON value- Specified by:
getJsonName
in interfaceio.vrap.rmf.base.client.JsonEnum
- Returns:
- json value
-
name
String name()the enum value- Specified by:
name
in interfaceio.vrap.rmf.base.client.JsonEnum
- Returns:
- name
-
toString
String toString()convert value to string -
findEnum
factory method for a enum value of QuoteState 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
-