Interface ProductVariantSelectionInclusion
- All Superinterfaces:
ProductVariantSelection
- All Known Implementing Classes:
ProductVariantSelectionInclusionImpl
Deprecated.
Only Product Variants with explicitly stated SKUs are part of the Product Selection.
Example to create an instance using the builder pattern
ProductVariantSelectionInclusion productVariantSelectionInclusion = ProductVariantSelectionInclusion.builder()
.plusSkus(skusBuilder -> skusBuilder)
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Deprecated.builder factory method for ProductVariantSelectionInclusionbuilder
(ProductVariantSelectionInclusion template) Deprecated.create builder for ProductVariantSelectionInclusion instancedeepCopy
(ProductVariantSelectionInclusion template) Deprecated.factory method to create a deep copy of ProductVariantSelectionInclusiongetSkus()
Deprecated.Non-empty array of SKUs representing Product Variants to be included into the Product Selection.@NotNull ProductVariantSelectionTypeEnum
getType()
Deprecated.Determines whether the SKUs are to be included in, or excluded from, the Product Selection.of()
Deprecated.factory methodof
(ProductVariantSelectionInclusion template) Deprecated.factory method to create a shallow copy ProductVariantSelectionInclusionvoid
Deprecated.Non-empty array of SKUs representing Product Variants to be included into the Product Selection.void
Deprecated.Non-empty array of SKUs representing Product Variants to be included into the Product Selection.static com.fasterxml.jackson.core.type.TypeReference<ProductVariantSelectionInclusion>
Deprecated.gives a TypeReference for usage with Jackson DataBinddefault <T> T
Deprecated.accessor map functionMethods inherited from interface com.commercetools.api.models.product_selection.ProductVariantSelection
withProductVariantSelection
-
Field Details
-
INCLUSION
Deprecated.discriminator value for ProductVariantSelectionInclusion- See Also:
-
-
Method Details
-
getType
Deprecated.Description copied from interface:ProductVariantSelection
Determines whether the SKUs are to be included in, or excluded from, the Product Selection.
- Specified by:
getType
in interfaceProductVariantSelection
- Returns:
- type
-
getSkus
Deprecated.Non-empty array of SKUs representing Product Variants to be included into the Product Selection.
- Returns:
- skus
-
setSkus
Deprecated.Non-empty array of SKUs representing Product Variants to be included into the Product Selection.
- Parameters:
skus
- values to be set
-
setSkus
Deprecated.Non-empty array of SKUs representing Product Variants to be included into the Product Selection.
- Parameters:
skus
- values to be set
-
of
Deprecated.factory method- Returns:
- instance of ProductVariantSelectionInclusion
-
of
Deprecated.factory method to create a shallow copy ProductVariantSelectionInclusion- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductVariantSelectionInclusion deepCopy(@Nullable ProductVariantSelectionInclusion template) Deprecated.factory method to create a deep copy of ProductVariantSelectionInclusion- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
Deprecated.builder factory method for ProductVariantSelectionInclusion- Returns:
- builder
-
builder
Deprecated.create builder for ProductVariantSelectionInclusion instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductVariantSelectionInclusion
default <T> T withProductVariantSelectionInclusion(Function<ProductVariantSelectionInclusion, T> helper) Deprecated.accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProductVariantSelectionInclusion> typeReference()Deprecated.gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-