Interface AddAssociateChange
- All Superinterfaces:
Change
Deprecated.
This Change is no longer triggered by the Add Associate update action. It has been deprecated and replaced by the SetAssociatesChange.
Example to create an instance using the builder pattern
AddAssociateChange addAssociateChange = AddAssociateChange.builder()
.change("{change}")
.nextValue(nextValueBuilder -> nextValueBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.discriminator value for AddAssociateChange -
Method Summary
Modifier and TypeMethodDescriptionstatic AddAssociateChangeBuilderbuilder()Deprecated.builder factory method for AddAssociateChangestatic AddAssociateChangeBuilderbuilder(AddAssociateChange template) Deprecated.create builder for AddAssociateChange instancecopyDeep()Deprecated.static AddAssociateChangedeepCopy(AddAssociateChange template) Deprecated.factory method to create a deep copy of AddAssociateChange@NotNull StringDeprecated.Type of change on a resource that is similar to the update action it relates to, where possible.@NotNull @Valid AssociateDeprecated.Value after the change.@NotNull StringgetType()Deprecated.Unique discriminator value to reliably deserialize the data type.static AddAssociateChangeof()Deprecated.factory methodstatic AddAssociateChangeof(AddAssociateChange template) Deprecated.factory method to create a shallow copy AddAssociateChangevoidDeprecated.set changevoidsetNextValue(Associate nextValue) Deprecated.Value after the change.static com.fasterxml.jackson.core.type.TypeReference<AddAssociateChange>Deprecated.gives a TypeReference for usage with Jackson DataBinddefault <T> TwithAddAssociateChange(Function<AddAssociateChange, T> helper) Deprecated.accessor map functionMethods inherited from interface com.commercetools.history.models.change.Change
withChange
-
Field Details
-
ADD_ASSOCIATE_CHANGE
Deprecated.discriminator value for AddAssociateChange- See Also:
-
-
Method Details
-
getChange
Deprecated.Description copied from interface:ChangeType of change on a resource that is similar to the update action it relates to, where possible. It is not a unique identifier for the data structure, for example, the
setDescriptionchange can occur with a localized and non-localized representation.Records can be filtered by this value using the
changesquery parameter. -
getType
Deprecated.Description copied from interface:ChangeUnique discriminator value to reliably deserialize the data type.
-
getNextValue
Deprecated.Value after the change.
- Returns:
- nextValue
-
setChange
Deprecated.set change -
setNextValue
Deprecated.Value after the change.
- Parameters:
nextValue- value to be set
-
of
Deprecated.factory method- Returns:
- instance of AddAssociateChange
-
of
Deprecated.factory method to create a shallow copy AddAssociateChange- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AddAssociateChange copyDeep()Deprecated. -
deepCopy
Deprecated.factory method to create a deep copy of AddAssociateChange- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
Deprecated.builder factory method for AddAssociateChange- Returns:
- builder
-
builder
Deprecated.create builder for AddAssociateChange instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAddAssociateChange
Deprecated.accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
Deprecated.gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-