Class RemoveAssociateChangeBuilder
java.lang.Object
com.commercetools.history.models.change.RemoveAssociateChangeBuilder
- All Implemented Interfaces:
Builder<RemoveAssociateChange>
@Deprecated
public class RemoveAssociateChangeBuilder
extends Object
implements Builder<RemoveAssociateChange>
Deprecated.
RemoveAssociateChangeBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
RemoveAssociateChange removeAssociateChange = RemoveAssociateChange.builder()
.change("{change}")
.previousValue(previousValueBuilder -> previousValueBuilder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.builds RemoveAssociateChange with checking for non-null required valuesDeprecated.builds RemoveAssociateChange without checking for non-null required valuesDeprecated.set the value to the changeDeprecated.value of change}Deprecated.Value before the change.static RemoveAssociateChangeBuilderof()Deprecated.factory method for an instance of RemoveAssociateChangeBuilderstatic RemoveAssociateChangeBuilderof(RemoveAssociateChange template) Deprecated.create builder for RemoveAssociateChange instancepreviousValue(Associate previousValue) Deprecated.Value before the change.Deprecated.Value before the change.withPreviousValue(Function<AssociateBuilder, Associate> builder) Deprecated.Value before the change.
-
Constructor Details
-
RemoveAssociateChangeBuilder
public RemoveAssociateChangeBuilder()Deprecated.
-
-
Method Details
-
change
Deprecated.set the value to the change- Parameters:
change- value to be set- Returns:
- Builder
-
previousValue
public RemoveAssociateChangeBuilder previousValue(Function<AssociateBuilder, AssociateBuilder> builder) Deprecated.Value before the change.
- Parameters:
builder- function to build the previousValue value- Returns:
- Builder
-
withPreviousValue
Deprecated.Value before the change.
- Parameters:
builder- function to build the previousValue value- Returns:
- Builder
-
previousValue
Deprecated.Value before the change.
- Parameters:
previousValue- value to be set- Returns:
- Builder
-
getChange
Deprecated.value of change}- Returns:
- change
-
getPreviousValue
Deprecated.Value before the change.
- Returns:
- previousValue
-
build
Deprecated.builds RemoveAssociateChange with checking for non-null required values- Specified by:
buildin interfaceBuilder<RemoveAssociateChange>- Returns:
- RemoveAssociateChange
-
buildUnchecked
Deprecated.builds RemoveAssociateChange without checking for non-null required values- Returns:
- RemoveAssociateChange
-
of
Deprecated.factory method for an instance of RemoveAssociateChangeBuilder- Returns:
- builder
-
of
Deprecated.create builder for RemoveAssociateChange instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-