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