Class ProductTailoringSetExternalImagesActionBuilder
- All Implemented Interfaces:
Builder<ProductTailoringSetExternalImagesAction>
Example to create an instance using the builder pattern
ProductTailoringSetExternalImagesAction productTailoringSetExternalImagesAction = ProductTailoringSetExternalImagesAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddImages
(Function<ImageBuilder, Image> builder) Images of the tailored ProductVariant.build()
builds ProductTailoringSetExternalImagesAction with checking for non-null required valuesbuilds ProductTailoringSetExternalImagesAction without checking for non-null required valuesImages of the tailored ProductVariant.getSku()
Thesku
of the tailored ProductVariant to update.Iftrue
, only the stagedimages
is updated.Theid
of the tailored ProductVariant to update.Images of the tailored ProductVariant.Images of the tailored ProductVariant.of()
factory method for an instance of ProductTailoringSetExternalImagesActionBuilderof
(ProductTailoringSetExternalImagesAction template) create builder for ProductTailoringSetExternalImagesAction instanceplusImages
(Image... images) Images of the tailored ProductVariant.plusImages
(Function<ImageBuilder, ImageBuilder> builder) Images of the tailored ProductVariant.setImages
(Function<ImageBuilder, Image> builder) Images of the tailored ProductVariant.Thesku
of the tailored ProductVariant to update.Iftrue
, only the stagedimages
is updated.Theid
of the tailored ProductVariant to update.withImages
(Function<ImageBuilder, ImageBuilder> builder) Images of the tailored ProductVariant.
-
Constructor Details
-
ProductTailoringSetExternalImagesActionBuilder
public ProductTailoringSetExternalImagesActionBuilder()
-
-
Method Details
-
variantId
The
id
of the tailored ProductVariant to update.- Parameters:
variantId
- value to be set- Returns:
- Builder
-
sku
The
sku
of the tailored ProductVariant to update.- Parameters:
sku
- value to be set- Returns:
- Builder
-
images
Images of the tailored ProductVariant.
Don't provide this field if you want to remove all images from the tailored Product Variant. Set to
[]
(empty) if you want to hide all images of the original ProductVariant on the tailored ProductVariant.- Parameters:
images
- value to be set- Returns:
- Builder
-
images
Images of the tailored ProductVariant.
Don't provide this field if you want to remove all images from the tailored Product Variant. Set to
[]
(empty) if you want to hide all images of the original ProductVariant on the tailored ProductVariant.- Parameters:
images
- value to be set- Returns:
- Builder
-
plusImages
Images of the tailored ProductVariant.
Don't provide this field if you want to remove all images from the tailored Product Variant. Set to
[]
(empty) if you want to hide all images of the original ProductVariant on the tailored ProductVariant.- Parameters:
images
- value to be set- Returns:
- Builder
-
plusImages
public ProductTailoringSetExternalImagesActionBuilder plusImages(Function<ImageBuilder, ImageBuilder> builder) Images of the tailored ProductVariant.
Don't provide this field if you want to remove all images from the tailored Product Variant. Set to
[]
(empty) if you want to hide all images of the original ProductVariant on the tailored ProductVariant.- Parameters:
builder
- function to build the images value- Returns:
- Builder
-
withImages
public ProductTailoringSetExternalImagesActionBuilder withImages(Function<ImageBuilder, ImageBuilder> builder) Images of the tailored ProductVariant.
Don't provide this field if you want to remove all images from the tailored Product Variant. Set to
[]
(empty) if you want to hide all images of the original ProductVariant on the tailored ProductVariant.- Parameters:
builder
- function to build the images value- Returns:
- Builder
-
addImages
public ProductTailoringSetExternalImagesActionBuilder addImages(Function<ImageBuilder, Image> builder) Images of the tailored ProductVariant.
Don't provide this field if you want to remove all images from the tailored Product Variant. Set to
[]
(empty) if you want to hide all images of the original ProductVariant on the tailored ProductVariant.- Parameters:
builder
- function to build the images value- Returns:
- Builder
-
setImages
public ProductTailoringSetExternalImagesActionBuilder setImages(Function<ImageBuilder, Image> builder) Images of the tailored ProductVariant.
Don't provide this field if you want to remove all images from the tailored Product Variant. Set to
[]
(empty) if you want to hide all images of the original ProductVariant on the tailored ProductVariant.- Parameters:
builder
- function to build the images value- Returns:
- Builder
-
staged
If
true
, only the stagedimages
is updated. Iffalse
, both the current and stagedimages
is updated.- Parameters:
staged
- value to be set- Returns:
- Builder
-
getVariantId
The
id
of the tailored ProductVariant to update.- Returns:
- variantId
-
getSku
The
sku
of the tailored ProductVariant to update.- Returns:
- sku
-
getImages
Images of the tailored ProductVariant.
Don't provide this field if you want to remove all images from the tailored Product Variant. Set to
[]
(empty) if you want to hide all images of the original ProductVariant on the tailored ProductVariant.- Returns:
- images
-
getStaged
If
true
, only the stagedimages
is updated. Iffalse
, both the current and stagedimages
is updated.- Returns:
- staged
-
build
builds ProductTailoringSetExternalImagesAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductTailoringSetExternalImagesAction>
- Returns:
- ProductTailoringSetExternalImagesAction
-
buildUnchecked
builds ProductTailoringSetExternalImagesAction without checking for non-null required values- Returns:
- ProductTailoringSetExternalImagesAction
-
of
factory method for an instance of ProductTailoringSetExternalImagesActionBuilder- Returns:
- builder
-
of
public static ProductTailoringSetExternalImagesActionBuilder of(ProductTailoringSetExternalImagesAction template) create builder for ProductTailoringSetExternalImagesAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-