Class ProductVariantSelectionIncludeAllExceptBuilder
java.lang.Object
com.commercetools.api.models.product_selection.ProductVariantSelectionIncludeAllExceptBuilder
- All Implemented Interfaces:
Builder<ProductVariantSelectionIncludeAllExcept>
public class ProductVariantSelectionIncludeAllExceptBuilder
extends Object
implements Builder<ProductVariantSelectionIncludeAllExcept>
ProductVariantSelectionIncludeAllExceptBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductVariantSelectionIncludeAllExcept productVariantSelectionIncludeAllExcept = ProductVariantSelectionIncludeAllExcept.builder()
.plusSkus(skusBuilder -> skusBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProductVariantSelectionIncludeAllExcept with checking for non-null required valuesbuilds ProductVariantSelectionIncludeAllExcept without checking for non-null required valuesgetSkus()
Non-empty array of SKUs representing Product Variants to be excluded from the Product Selection.of()
factory method for an instance of ProductVariantSelectionIncludeAllExceptBuilderof
(ProductVariantSelectionIncludeAllExcept template) create builder for ProductVariantSelectionIncludeAllExcept instanceNon-empty array of SKUs representing Product Variants to be excluded from the Product Selection.Non-empty array of SKUs representing Product Variants to be excluded from the Product Selection.Non-empty array of SKUs representing Product Variants to be excluded from the Product Selection.
-
Constructor Details
-
ProductVariantSelectionIncludeAllExceptBuilder
public ProductVariantSelectionIncludeAllExceptBuilder()
-
-
Method Details
-
skus
Non-empty array of SKUs representing Product Variants to be excluded from the Product Selection.
- Parameters:
skus
- value to be set- Returns:
- Builder
-
skus
Non-empty array of SKUs representing Product Variants to be excluded from the Product Selection.
- Parameters:
skus
- value to be set- Returns:
- Builder
-
plusSkus
Non-empty array of SKUs representing Product Variants to be excluded from the Product Selection.
- Parameters:
skus
- value to be set- Returns:
- Builder
-
getSkus
Non-empty array of SKUs representing Product Variants to be excluded from the Product Selection.
- Returns:
- skus
-
build
builds ProductVariantSelectionIncludeAllExcept with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductVariantSelectionIncludeAllExcept>
- Returns:
- ProductVariantSelectionIncludeAllExcept
-
buildUnchecked
builds ProductVariantSelectionIncludeAllExcept without checking for non-null required values- Returns:
- ProductVariantSelectionIncludeAllExcept
-
of
factory method for an instance of ProductVariantSelectionIncludeAllExceptBuilder- Returns:
- builder
-
of
public static ProductVariantSelectionIncludeAllExceptBuilder of(ProductVariantSelectionIncludeAllExcept template) create builder for ProductVariantSelectionIncludeAllExcept instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-