Class OrderEditImpl
- All Implemented Interfaces:
BaseResource
,Customizable<OrderEdit>
,DomainResource<OrderEdit>
,Identifiable<OrderEdit>
,OrderEdit
,OrderEditMixin
,Referencable<OrderEdit>
,ResourceIdentifiable<OrderEdit>
,Versioned<OrderEdit>
,WithKey
,io.vrap.rmf.base.client.ModelBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
This field can be used to add textual information regarding the edit.Present on resources created after 1 February 2019 except for events not tracked.Custom Fields defined for the entitygetId()
Unique identifier of the OrderEdit.getKey()
User-defined unique identifier of the OrderEdit.Present on resources created after 1 February 2019 except for events not tracked.The order to be updated with this edit.Contains a preview of the changes in case of unapplied edit.The actions to apply to the Order.The current version of the OrderEdit.int
hashCode()
void
setComment
(String comment) This field can be used to add textual information regarding the edit.void
setCreatedAt
(ZonedDateTime createdAt) set createdAtvoid
setCreatedBy
(CreatedBy createdBy) Present on resources created after 1 February 2019 except for events not tracked.void
setCustom
(CustomFields custom) set customvoid
Unique identifier of the OrderEdit.void
User-defined unique identifier of the OrderEdit.void
setLastModifiedAt
(ZonedDateTime lastModifiedAt) set lastModifiedAtvoid
setLastModifiedBy
(LastModifiedBy lastModifiedBy) Present on resources created after 1 February 2019 except for events not tracked.void
setResource
(OrderReference resource) The order to be updated with this edit.void
setResult
(OrderEditResult result) Contains a preview of the changes in case of unapplied edit.void
setStagedActions
(StagedOrderUpdateAction... stagedActions) The actions to apply to the Order.void
setStagedActions
(List<StagedOrderUpdateAction> stagedActions) The actions to apply to the Order.void
setVersion
(Long version) The current version of the OrderEdit.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResource
Methods inherited from interface com.commercetools.api.models.Customizable
unwrapCustomizable
Methods inherited from interface com.commercetools.api.models.DomainResource
get
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.order_edit.OrderEdit
withOrderEdit
Methods inherited from interface com.commercetools.api.models.order_edit.OrderEditMixin
toReference, toResourceIdentifier
-
Constructor Details
-
OrderEditImpl
public OrderEditImpl()create empty instance
-
-
Method Details
-
getId
Unique identifier of the OrderEdit.
- Specified by:
getId
in interfaceBaseResource
- Specified by:
getId
in interfaceDomainResource<OrderEdit>
- Specified by:
getId
in interfaceIdentifiable<OrderEdit>
- Specified by:
getId
in interfaceOrderEdit
- Specified by:
getId
in interfaceVersioned<OrderEdit>
- Returns:
- id
-
getVersion
The current version of the OrderEdit.
- Specified by:
getVersion
in interfaceBaseResource
- Specified by:
getVersion
in interfaceDomainResource<OrderEdit>
- Specified by:
getVersion
in interfaceOrderEdit
- Specified by:
getVersion
in interfaceVersioned<OrderEdit>
- Returns:
- version
-
getCreatedAt
- Specified by:
getCreatedAt
in interfaceBaseResource
- Specified by:
getCreatedAt
in interfaceOrderEdit
- Returns:
- createdAt
-
getLastModifiedAt
- Specified by:
getLastModifiedAt
in interfaceBaseResource
- Specified by:
getLastModifiedAt
in interfaceOrderEdit
- Returns:
- lastModifiedAt
-
getLastModifiedBy
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
getLastModifiedBy
in interfaceOrderEdit
- Returns:
- lastModifiedBy
-
getCreatedBy
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
getCreatedBy
in interfaceOrderEdit
- Returns:
- createdBy
-
getKey
User-defined unique identifier of the OrderEdit.
-
getResource
The order to be updated with this edit.
- Specified by:
getResource
in interfaceOrderEdit
- Returns:
- resource
-
getStagedActions
The actions to apply to the Order. Cannot be updated after the edit has been applied.
- Specified by:
getStagedActions
in interfaceOrderEdit
- Returns:
- stagedActions
-
getCustom
Description copied from interface:Customizable
Custom Fields defined for the entity
- Specified by:
getCustom
in interfaceCustomizable<OrderEdit>
- Specified by:
getCustom
in interfaceOrderEdit
- Returns:
- custom
-
getResult
Contains a preview of the changes in case of unapplied edit. For applied edits, it contains the summary of the changes.
-
getComment
This field can be used to add textual information regarding the edit.
- Specified by:
getComment
in interfaceOrderEdit
- Returns:
- comment
-
setId
Description copied from interface:OrderEdit
Unique identifier of the OrderEdit.
- Specified by:
setId
in interfaceBaseResource
- Specified by:
setId
in interfaceOrderEdit
- Parameters:
id
- value to be set
-
setVersion
Description copied from interface:OrderEdit
The current version of the OrderEdit.
- Specified by:
setVersion
in interfaceBaseResource
- Specified by:
setVersion
in interfaceOrderEdit
- Parameters:
version
- value to be set
-
setCreatedAt
Description copied from interface:OrderEdit
set createdAt- Specified by:
setCreatedAt
in interfaceBaseResource
- Specified by:
setCreatedAt
in interfaceOrderEdit
- Parameters:
createdAt
- value to be set
-
setLastModifiedAt
Description copied from interface:OrderEdit
set lastModifiedAt- Specified by:
setLastModifiedAt
in interfaceBaseResource
- Specified by:
setLastModifiedAt
in interfaceOrderEdit
- Parameters:
lastModifiedAt
- value to be set
-
setLastModifiedBy
Description copied from interface:OrderEdit
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
setLastModifiedBy
in interfaceOrderEdit
- Parameters:
lastModifiedBy
- value to be set
-
setCreatedBy
Description copied from interface:OrderEdit
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
setCreatedBy
in interfaceOrderEdit
- Parameters:
createdBy
- value to be set
-
setKey
Description copied from interface:OrderEdit
User-defined unique identifier of the OrderEdit.
-
setResource
Description copied from interface:OrderEdit
The order to be updated with this edit.
- Specified by:
setResource
in interfaceOrderEdit
- Parameters:
resource
- value to be set
-
setStagedActions
Description copied from interface:OrderEdit
The actions to apply to the Order. Cannot be updated after the edit has been applied.
- Specified by:
setStagedActions
in interfaceOrderEdit
- Parameters:
stagedActions
- values to be set
-
setStagedActions
Description copied from interface:OrderEdit
The actions to apply to the Order. Cannot be updated after the edit has been applied.
- Specified by:
setStagedActions
in interfaceOrderEdit
- Parameters:
stagedActions
- values to be set
-
setCustom
Description copied from interface:OrderEdit
set custom- Specified by:
setCustom
in interfaceCustomizable<OrderEdit>
- Specified by:
setCustom
in interfaceOrderEdit
- Parameters:
custom
- value to be set
-
setResult
Description copied from interface:OrderEdit
Contains a preview of the changes in case of unapplied edit. For applied edits, it contains the summary of the changes.
-
setComment
Description copied from interface:OrderEdit
This field can be used to add textual information regarding the edit.
- Specified by:
setComment
in interfaceOrderEdit
- Parameters:
comment
- value to be set
-
equals
-
hashCode
-