Class RemoveProductSelectionChangeBuilder
java.lang.Object
com.commercetools.history.models.change.RemoveProductSelectionChangeBuilder
- All Implemented Interfaces:
Builder<RemoveProductSelectionChange>
@Deprecated
public class RemoveProductSelectionChangeBuilder
extends Object
implements Builder<RemoveProductSelectionChange>
Deprecated.
RemoveProductSelectionChangeBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
RemoveProductSelectionChange removeProductSelectionChange = RemoveProductSelectionChange.builder()
.change("{change}")
.previousValue(previousValueBuilder -> previousValueBuilder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.builds RemoveProductSelectionChange with checking for non-null required valuesDeprecated.builds RemoveProductSelectionChange without checking for non-null required valuesDeprecated.set the value to the changeDeprecated.value of change}Deprecated.Value before the change.of()Deprecated.factory method for an instance of RemoveProductSelectionChangeBuilderof(RemoveProductSelectionChange template) Deprecated.create builder for RemoveProductSelectionChange instancepreviousValue(ProductSelectionSetting previousValue) Deprecated.Value before the change.Deprecated.Value before the change.Deprecated.Value before the change.
-
Constructor Details
-
RemoveProductSelectionChangeBuilder
public RemoveProductSelectionChangeBuilder()Deprecated.
-
-
Method Details
-
change
Deprecated.set the value to the change- Parameters:
change- value to be set- Returns:
- Builder
-
previousValue
public RemoveProductSelectionChangeBuilder previousValue(Function<ProductSelectionSettingBuilder, ProductSelectionSettingBuilder> builder) Deprecated.Value before the change.
- Parameters:
builder- function to build the previousValue value- Returns:
- Builder
-
withPreviousValue
public RemoveProductSelectionChangeBuilder withPreviousValue(Function<ProductSelectionSettingBuilder, ProductSelectionSetting> builder) 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 RemoveProductSelectionChange with checking for non-null required values- Specified by:
buildin interfaceBuilder<RemoveProductSelectionChange>- Returns:
- RemoveProductSelectionChange
-
buildUnchecked
Deprecated.builds RemoveProductSelectionChange without checking for non-null required values- Returns:
- RemoveProductSelectionChange
-
of
Deprecated.factory method for an instance of RemoveProductSelectionChangeBuilder- Returns:
- builder
-
of
Deprecated.create builder for RemoveProductSelectionChange instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-