Class ProductTailoringImagesSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<ProductTailoringImagesSetMessagePayload>
Example to create an instance using the builder pattern
ProductTailoringImagesSetMessagePayload productTailoringImagesSetMessagePayload = ProductTailoringImagesSetMessagePayload.builder()
.store(storeBuilder -> storeBuilder)
.product(productBuilder -> productBuilder)
.variantId(0.3)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddImages
(Function<ImageBuilder, Image> builder) Images on the tailored Product Variant after the Set Images update action.addOldImages
(Function<ImageBuilder, Image> builder) Images on the tailored Product Variant before the Set Images update action.build()
builds ProductTailoringImagesSetMessagePayload with checking for non-null required valuesbuilds ProductTailoringImagesSetMessagePayload without checking for non-null required valuesImages on the tailored Product Variant after the Set Images update action.Images on the tailored Product Variant before the Set Images update action.Reference to the Product the Product Tailoring belongs to.key
of the tailored Product.getStore()
The Store to which the Product Tailoring belongs.id
of the tailored Product Variant.Images on the tailored Product Variant after the Set Images update action.Images on the tailored Product Variant after the Set Images update action.of()
factory method for an instance of ProductTailoringImagesSetMessagePayloadBuilderof
(ProductTailoringImagesSetMessagePayload template) create builder for ProductTailoringImagesSetMessagePayload instanceImages on the tailored Product Variant before the Set Images update action.Images on the tailored Product Variant before the Set Images update action.plusImages
(Image... images) Images on the tailored Product Variant after the Set Images update action.plusImages
(Function<ImageBuilder, ImageBuilder> builder) Images on the tailored Product Variant after the Set Images update action.plusOldImages
(Image... oldImages) Images on the tailored Product Variant before the Set Images update action.plusOldImages
(Function<ImageBuilder, ImageBuilder> builder) Images on the tailored Product Variant before the Set Images update action.product
(ProductReference product) Reference to the Product the Product Tailoring belongs to.Reference to the Product the Product Tailoring belongs to.productKey
(String productKey) key
of the tailored Product.setImages
(Function<ImageBuilder, Image> builder) Images on the tailored Product Variant after the Set Images update action.setOldImages
(Function<ImageBuilder, Image> builder) Images on the tailored Product Variant before the Set Images update action.store
(StoreKeyReference store) The Store to which the Product Tailoring belongs.The Store to which the Product Tailoring belongs.id
of the tailored Product Variant.withImages
(Function<ImageBuilder, ImageBuilder> builder) Images on the tailored Product Variant after the Set Images update action.withOldImages
(Function<ImageBuilder, ImageBuilder> builder) Images on the tailored Product Variant before the Set Images update action.Reference to the Product the Product Tailoring belongs to.The Store to which the Product Tailoring belongs.
-
Constructor Details
-
ProductTailoringImagesSetMessagePayloadBuilder
public ProductTailoringImagesSetMessagePayloadBuilder()
-
-
Method Details
-
store
public ProductTailoringImagesSetMessagePayloadBuilder store(Function<StoreKeyReferenceBuilder, StoreKeyReferenceBuilder> builder) The Store to which the Product Tailoring belongs.
- Parameters:
builder
- function to build the store value- Returns:
- Builder
-
withStore
public ProductTailoringImagesSetMessagePayloadBuilder withStore(Function<StoreKeyReferenceBuilder, StoreKeyReference> builder) The Store to which the Product Tailoring belongs.
- Parameters:
builder
- function to build the store value- Returns:
- Builder
-
store
The Store to which the Product Tailoring belongs.
- Parameters:
store
- value to be set- Returns:
- Builder
-
productKey
key
of the tailored Product.- Parameters:
productKey
- value to be set- Returns:
- Builder
-
product
public ProductTailoringImagesSetMessagePayloadBuilder product(Function<ProductReferenceBuilder, ProductReferenceBuilder> builder) Reference to the Product the Product Tailoring belongs to.
- Parameters:
builder
- function to build the product value- Returns:
- Builder
-
withProduct
public ProductTailoringImagesSetMessagePayloadBuilder withProduct(Function<ProductReferenceBuilder, ProductReference> builder) Reference to the Product the Product Tailoring belongs to.
- Parameters:
builder
- function to build the product value- Returns:
- Builder
-
product
Reference to the Product the Product Tailoring belongs to.
- Parameters:
product
- value to be set- Returns:
- Builder
-
variantId
id
of the tailored Product Variant.- Parameters:
variantId
- value to be set- Returns:
- Builder
-
oldImages
Images on the tailored Product Variant before the Set Images update action.
- Parameters:
oldImages
- value to be set- Returns:
- Builder
-
oldImages
Images on the tailored Product Variant before the Set Images update action.
- Parameters:
oldImages
- value to be set- Returns:
- Builder
-
plusOldImages
Images on the tailored Product Variant before the Set Images update action.
- Parameters:
oldImages
- value to be set- Returns:
- Builder
-
plusOldImages
public ProductTailoringImagesSetMessagePayloadBuilder plusOldImages(Function<ImageBuilder, ImageBuilder> builder) Images on the tailored Product Variant before the Set Images update action.
- Parameters:
builder
- function to build the oldImages value- Returns:
- Builder
-
withOldImages
public ProductTailoringImagesSetMessagePayloadBuilder withOldImages(Function<ImageBuilder, ImageBuilder> builder) Images on the tailored Product Variant before the Set Images update action.
- Parameters:
builder
- function to build the oldImages value- Returns:
- Builder
-
addOldImages
public ProductTailoringImagesSetMessagePayloadBuilder addOldImages(Function<ImageBuilder, Image> builder) Images on the tailored Product Variant before the Set Images update action.
- Parameters:
builder
- function to build the oldImages value- Returns:
- Builder
-
setOldImages
public ProductTailoringImagesSetMessagePayloadBuilder setOldImages(Function<ImageBuilder, Image> builder) Images on the tailored Product Variant before the Set Images update action.
- Parameters:
builder
- function to build the oldImages value- Returns:
- Builder
-
images
Images on the tailored Product Variant after the Set Images update action.
- Parameters:
images
- value to be set- Returns:
- Builder
-
images
Images on the tailored Product Variant after the Set Images update action.
- Parameters:
images
- value to be set- Returns:
- Builder
-
plusImages
Images on the tailored Product Variant after the Set Images update action.
- Parameters:
images
- value to be set- Returns:
- Builder
-
plusImages
public ProductTailoringImagesSetMessagePayloadBuilder plusImages(Function<ImageBuilder, ImageBuilder> builder) Images on the tailored Product Variant after the Set Images update action.
- Parameters:
builder
- function to build the images value- Returns:
- Builder
-
withImages
public ProductTailoringImagesSetMessagePayloadBuilder withImages(Function<ImageBuilder, ImageBuilder> builder) Images on the tailored Product Variant after the Set Images update action.
- Parameters:
builder
- function to build the images value- Returns:
- Builder
-
addImages
public ProductTailoringImagesSetMessagePayloadBuilder addImages(Function<ImageBuilder, Image> builder) Images on the tailored Product Variant after the Set Images update action.
- Parameters:
builder
- function to build the images value- Returns:
- Builder
-
setImages
public ProductTailoringImagesSetMessagePayloadBuilder setImages(Function<ImageBuilder, Image> builder) Images on the tailored Product Variant after the Set Images update action.
- Parameters:
builder
- function to build the images value- Returns:
- Builder
-
getStore
The Store to which the Product Tailoring belongs.
- Returns:
- store
-
getProductKey
key
of the tailored Product.- Returns:
- productKey
-
getProduct
Reference to the Product the Product Tailoring belongs to.
- Returns:
- product
-
getVariantId
id
of the tailored Product Variant.- Returns:
- variantId
-
getOldImages
Images on the tailored Product Variant before the Set Images update action.
- Returns:
- oldImages
-
getImages
Images on the tailored Product Variant after the Set Images update action.
- Returns:
- images
-
build
builds ProductTailoringImagesSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductTailoringImagesSetMessagePayload>
- Returns:
- ProductTailoringImagesSetMessagePayload
-
buildUnchecked
builds ProductTailoringImagesSetMessagePayload without checking for non-null required values- Returns:
- ProductTailoringImagesSetMessagePayload
-
of
factory method for an instance of ProductTailoringImagesSetMessagePayloadBuilder- Returns:
- builder
-
of
public static ProductTailoringImagesSetMessagePayloadBuilder of(ProductTailoringImagesSetMessagePayload template) create builder for ProductTailoringImagesSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-