Class StandalonePriceStagedChangesRemovedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.StandalonePriceStagedChangesRemovedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<StandalonePriceStagedChangesRemovedMessagePayload>
public class StandalonePriceStagedChangesRemovedMessagePayloadBuilder
extends Object
implements Builder<StandalonePriceStagedChangesRemovedMessagePayload>
StandalonePriceStagedChangesRemovedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StandalonePriceStagedChangesRemovedMessagePayload standalonePriceStagedChangesRemovedMessagePayload = StandalonePriceStagedChangesRemovedMessagePayload.builder()
.stagedChanges(stagedChangesBuilder -> stagedChangesBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StandalonePriceStagedChangesRemovedMessagePayload with checking for non-null required valuesbuilds StandalonePriceStagedChangesRemovedMessagePayload without checking for non-null required valuesRemoved changes of the StandalonePrice after the Remove Staged Changes update action.of()
factory method for an instance of StandalonePriceStagedChangesRemovedMessagePayloadBuildercreate builder for StandalonePriceStagedChangesRemovedMessagePayload instancestagedChanges
(StagedStandalonePrice stagedChanges) Removed changes of the StandalonePrice after the Remove Staged Changes update action.Removed changes of the StandalonePrice after the Remove Staged Changes update action.Removed changes of the StandalonePrice after the Remove Staged Changes update action.
-
Constructor Details
-
StandalonePriceStagedChangesRemovedMessagePayloadBuilder
public StandalonePriceStagedChangesRemovedMessagePayloadBuilder()
-
-
Method Details
-
stagedChanges
public StandalonePriceStagedChangesRemovedMessagePayloadBuilder stagedChanges(Function<StagedStandalonePriceBuilder, StagedStandalonePriceBuilder> builder) Removed changes of the StandalonePrice after the Remove Staged Changes update action.
- Parameters:
builder
- function to build the stagedChanges value- Returns:
- Builder
-
withStagedChanges
public StandalonePriceStagedChangesRemovedMessagePayloadBuilder withStagedChanges(Function<StagedStandalonePriceBuilder, StagedStandalonePrice> builder) Removed changes of the StandalonePrice after the Remove Staged Changes update action.
- Parameters:
builder
- function to build the stagedChanges value- Returns:
- Builder
-
stagedChanges
public StandalonePriceStagedChangesRemovedMessagePayloadBuilder stagedChanges(StagedStandalonePrice stagedChanges) Removed changes of the StandalonePrice after the Remove Staged Changes update action.
- Parameters:
stagedChanges
- value to be set- Returns:
- Builder
-
getStagedChanges
Removed changes of the StandalonePrice after the Remove Staged Changes update action.
- Returns:
- stagedChanges
-
build
builds StandalonePriceStagedChangesRemovedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<StandalonePriceStagedChangesRemovedMessagePayload>
- Returns:
- StandalonePriceStagedChangesRemovedMessagePayload
-
buildUnchecked
builds StandalonePriceStagedChangesRemovedMessagePayload without checking for non-null required values- Returns:
- StandalonePriceStagedChangesRemovedMessagePayload
-
of
factory method for an instance of StandalonePriceStagedChangesRemovedMessagePayloadBuilder- Returns:
- builder
-
of
public static StandalonePriceStagedChangesRemovedMessagePayloadBuilder of(StandalonePriceStagedChangesRemovedMessagePayload template) create builder for StandalonePriceStagedChangesRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-