Class StandalonePriceDeletedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.StandalonePriceDeletedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<StandalonePriceDeletedMessagePayload>
public class StandalonePriceDeletedMessagePayloadBuilder
extends Object
implements Builder<StandalonePriceDeletedMessagePayload>
StandalonePriceDeletedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StandalonePriceDeletedMessagePayload standalonePriceDeletedMessagePayload = StandalonePriceDeletedMessagePayload.builder()
.sku("{sku}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StandalonePriceDeletedMessagePayload with checking for non-null required valuesbuilds StandalonePriceDeletedMessagePayload without checking for non-null required valuesgetSku()
SKU of the ProductVariant to which the deleted Standalone Price was associated.of()
factory method for an instance of StandalonePriceDeletedMessagePayloadBuilderof
(StandalonePriceDeletedMessagePayload template) create builder for StandalonePriceDeletedMessagePayload instanceSKU of the ProductVariant to which the deleted Standalone Price was associated.
-
Constructor Details
-
StandalonePriceDeletedMessagePayloadBuilder
public StandalonePriceDeletedMessagePayloadBuilder()
-
-
Method Details
-
sku
SKU of the ProductVariant to which the deleted Standalone Price was associated.
- Parameters:
sku
- value to be set- Returns:
- Builder
-
getSku
SKU of the ProductVariant to which the deleted Standalone Price was associated.
- Returns:
- sku
-
build
builds StandalonePriceDeletedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<StandalonePriceDeletedMessagePayload>
- Returns:
- StandalonePriceDeletedMessagePayload
-
buildUnchecked
builds StandalonePriceDeletedMessagePayload without checking for non-null required values- Returns:
- StandalonePriceDeletedMessagePayload
-
of
factory method for an instance of StandalonePriceDeletedMessagePayloadBuilder- Returns:
- builder
-
of
public static StandalonePriceDeletedMessagePayloadBuilder of(StandalonePriceDeletedMessagePayload template) create builder for StandalonePriceDeletedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-