Package com.commercetools.api.models.me
Class MyQuoteChangeMyQuoteStateActionImpl
java.lang.Object
com.commercetools.api.models.me.MyQuoteChangeMyQuoteStateActionImpl
- All Implemented Interfaces:
MyQuoteChangeMyQuoteStateAction
,MyQuoteUpdateAction
,ResourceUpdateAction<MyQuoteUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class MyQuoteChangeMyQuoteStateActionImpl
extends Object
implements MyQuoteChangeMyQuoteStateAction, io.vrap.rmf.base.client.ModelBase
When accepting, declining, or renegotiating B2B Quotes, the Customer must have the AcceptMyQuotes
, DeclineMyQuotes
, or RenegotiateMyQuotes
Permission, respectively. If the required Permission is missing, an AssociateMissingPermission error is returned.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.me.MyQuoteChangeMyQuoteStateAction
CHANGE_MY_QUOTE_STATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
New state to be set for the Quote.int
hashCode()
void
setQuoteState
(MyQuoteState quoteState) New state to be set for the Quote.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.me.MyQuoteChangeMyQuoteStateAction
withMyQuoteChangeMyQuoteStateAction
Methods inherited from interface com.commercetools.api.models.me.MyQuoteUpdateAction
withMyQuoteUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
MyQuoteChangeMyQuoteStateActionImpl
public MyQuoteChangeMyQuoteStateActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceMyQuoteUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<MyQuoteUpdateAction>
- Returns:
- action
-
getQuoteState
New state to be set for the Quote.
- Specified by:
getQuoteState
in interfaceMyQuoteChangeMyQuoteStateAction
- Returns:
- quoteState
-
setQuoteState
Description copied from interface:MyQuoteChangeMyQuoteStateAction
New state to be set for the Quote.
- Specified by:
setQuoteState
in interfaceMyQuoteChangeMyQuoteStateAction
- Parameters:
quoteState
- value to be set
-
equals
-
hashCode
-