Class OrderEditPreviewSuccessImpl
java.lang.Object
com.commercetools.api.models.order_edit.OrderEditPreviewSuccessImpl
- All Implemented Interfaces:
OrderEditPreviewSuccess
,OrderEditResult
,io.vrap.rmf.base.client.ModelBase
public class OrderEditPreviewSuccessImpl
extends Object
implements OrderEditPreviewSuccess, io.vrap.rmf.base.client.ModelBase
The data is not persisted but is dynamically pulled by dry-running the update actions from stagedActions
on the current version of the related Order, not from the Order version at the time the OrderEdit was created. Therefore, it cannot be queried.
-
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.order_edit.OrderEditPreviewSuccess
PREVIEW_SUCCESS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Messages that will be generated if the edit is applied.A preview of the edited Order as it will be after allstagedActions
(incl.getType()
int
hashCode()
void
setMessagePayloads
(MessagePayload... messagePayloads) Messages that will be generated if the edit is applied.void
setMessagePayloads
(List<MessagePayload> messagePayloads) Messages that will be generated if the edit is applied.void
setPreview
(StagedOrder preview) A preview of the edited Order as it will be after allstagedActions
(incl.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.order_edit.OrderEditPreviewSuccess
withOrderEditPreviewSuccess
Methods inherited from interface com.commercetools.api.models.order_edit.OrderEditResult
withOrderEditResult
-
Constructor Details
-
OrderEditPreviewSuccessImpl
public OrderEditPreviewSuccessImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceOrderEditResult
- Returns:
- type
-
getPreview
A preview of the edited Order as it will be after all
stagedActions
(incl. optional Order API Extensions) are applied.- Specified by:
getPreview
in interfaceOrderEditPreviewSuccess
- Returns:
- preview
-
getMessagePayloads
Messages that will be generated if the edit is applied.
- Specified by:
getMessagePayloads
in interfaceOrderEditPreviewSuccess
- Returns:
- messagePayloads
-
setPreview
Description copied from interface:OrderEditPreviewSuccess
A preview of the edited Order as it will be after all
stagedActions
(incl. optional Order API Extensions) are applied.- Specified by:
setPreview
in interfaceOrderEditPreviewSuccess
- Parameters:
preview
- value to be set
-
setMessagePayloads
Description copied from interface:OrderEditPreviewSuccess
Messages that will be generated if the edit is applied.
- Specified by:
setMessagePayloads
in interfaceOrderEditPreviewSuccess
- Parameters:
messagePayloads
- values to be set
-
setMessagePayloads
Description copied from interface:OrderEditPreviewSuccess
Messages that will be generated if the edit is applied.
- Specified by:
setMessagePayloads
in interfaceOrderEditPreviewSuccess
- Parameters:
messagePayloads
- values to be set
-
equals
-
hashCode
-