Class QuoteUpdateImpl
java.lang.Object
com.commercetools.api.models.quote.QuoteUpdateImpl
- All Implemented Interfaces:
QuoteUpdate
,ResourceUpdate<QuoteUpdate,
,QuoteUpdateAction, QuoteUpdateBuilder> io.vrap.rmf.base.client.ModelBase
public class QuoteUpdateImpl
extends Object
implements QuoteUpdate, io.vrap.rmf.base.client.ModelBase
QuoteUpdate
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Update actions to be performed on the Quote.Expected version of the Quote to which the changes should be applied.int
hashCode()
void
setActions
(QuoteUpdateAction... actions) Update actions to be performed on the Quote.void
setActions
(List<QuoteUpdateAction> actions) Update actions to be performed on the Quote.void
setVersion
(Long version) Expected version of the Quote to which the changes should be applied.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.quote.QuoteUpdate
withQuoteUpdate
Methods inherited from interface com.commercetools.api.models.ResourceUpdate
get
-
Constructor Details
-
QuoteUpdateImpl
public QuoteUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the Quote to which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.
- Specified by:
getVersion
in interfaceQuoteUpdate
- Specified by:
getVersion
in interfaceResourceUpdate<QuoteUpdate,
QuoteUpdateAction, QuoteUpdateBuilder> - Returns:
- version
-
getActions
Update actions to be performed on the Quote.
- Specified by:
getActions
in interfaceQuoteUpdate
- Specified by:
getActions
in interfaceResourceUpdate<QuoteUpdate,
QuoteUpdateAction, QuoteUpdateBuilder> - Returns:
- actions
-
setVersion
Description copied from interface:QuoteUpdate
Expected version of the Quote to which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.
- Specified by:
setVersion
in interfaceQuoteUpdate
- Specified by:
setVersion
in interfaceResourceUpdate<QuoteUpdate,
QuoteUpdateAction, QuoteUpdateBuilder> - Parameters:
version
- value to be set
-
setActions
Description copied from interface:QuoteUpdate
Update actions to be performed on the Quote.
- Specified by:
setActions
in interfaceQuoteUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:QuoteUpdate
Update actions to be performed on the Quote.
- Specified by:
setActions
in interfaceQuoteUpdate
- Specified by:
setActions
in interfaceResourceUpdate<QuoteUpdate,
QuoteUpdateAction, QuoteUpdateBuilder> - Parameters:
actions
- values to be set
-
equals
-
hashCode
public int hashCode()
-