Class ProductTailoringNameSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<ProductTailoringNameSetMessagePayload>
Example to create an instance using the builder pattern
ProductTailoringNameSetMessagePayload productTailoringNameSetMessagePayload = ProductTailoringNameSetMessagePayload.builder()
.store(storeBuilder -> storeBuilder)
.product(productBuilder -> productBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProductTailoringNameSetMessagePayload with checking for non-null required valuesbuilds ProductTailoringNameSetMessagePayload without checking for non-null required valuesgetName()
The name of the Product Tailoring after the Set Name update action.The name of the ProductTailoring before the Set Name update action.Reference to the Product the Product Tailoring belongs to.User-defined unique identifier of the Product this Product Tailoring belongs to.getStore()
The Store to which the Product Tailoring belongs.name
(LocalizedString name) The name of the Product Tailoring after the Set Name update action.The name of the Product Tailoring after the Set Name update action.of()
factory method for an instance of ProductTailoringNameSetMessagePayloadBuilderof
(ProductTailoringNameSetMessagePayload template) create builder for ProductTailoringNameSetMessagePayload instanceoldName
(LocalizedString oldName) The name of the ProductTailoring before the Set Name update action.The name of the ProductTailoring before the Set Name 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) User-defined unique identifier of the Product this Product Tailoring belongs to.store
(StoreKeyReference store) The Store to which the Product Tailoring belongs.The Store to which the Product Tailoring belongs.The name of the Product Tailoring after the Set Name update action.The name of the ProductTailoring before the Set Name update action.Reference to the Product the Product Tailoring belongs to.The Store to which the Product Tailoring belongs.
-
Constructor Details
-
ProductTailoringNameSetMessagePayloadBuilder
public ProductTailoringNameSetMessagePayloadBuilder()
-
-
Method Details
-
store
public ProductTailoringNameSetMessagePayloadBuilder 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 ProductTailoringNameSetMessagePayloadBuilder 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
User-defined unique identifier of the Product this Product Tailoring belongs to.
- Parameters:
productKey
- value to be set- Returns:
- Builder
-
product
public ProductTailoringNameSetMessagePayloadBuilder 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 ProductTailoringNameSetMessagePayloadBuilder 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
-
name
public ProductTailoringNameSetMessagePayloadBuilder name(Function<LocalizedStringBuilder, LocalizedStringBuilder> builder) The name of the Product Tailoring after the Set Name update action.
- Parameters:
builder
- function to build the name value- Returns:
- Builder
-
withName
public ProductTailoringNameSetMessagePayloadBuilder withName(Function<LocalizedStringBuilder, LocalizedString> builder) The name of the Product Tailoring after the Set Name update action.
- Parameters:
builder
- function to build the name value- Returns:
- Builder
-
name
The name of the Product Tailoring after the Set Name update action.
- Parameters:
name
- value to be set- Returns:
- Builder
-
oldName
public ProductTailoringNameSetMessagePayloadBuilder oldName(Function<LocalizedStringBuilder, LocalizedStringBuilder> builder) The name of the ProductTailoring before the Set Name update action.
- Parameters:
builder
- function to build the oldName value- Returns:
- Builder
-
withOldName
public ProductTailoringNameSetMessagePayloadBuilder withOldName(Function<LocalizedStringBuilder, LocalizedString> builder) The name of the ProductTailoring before the Set Name update action.
- Parameters:
builder
- function to build the oldName value- Returns:
- Builder
-
oldName
The name of the ProductTailoring before the Set Name update action.
- Parameters:
oldName
- value to be set- Returns:
- Builder
-
getStore
The Store to which the Product Tailoring belongs.
- Returns:
- store
-
getProductKey
User-defined unique identifier of the Product this Product Tailoring belongs to.
- Returns:
- productKey
-
getProduct
Reference to the Product the Product Tailoring belongs to.
- Returns:
- product
-
getName
The name of the Product Tailoring after the Set Name update action.
- Returns:
- name
-
getOldName
The name of the ProductTailoring before the Set Name update action.
- Returns:
- oldName
-
build
builds ProductTailoringNameSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductTailoringNameSetMessagePayload>
- Returns:
- ProductTailoringNameSetMessagePayload
-
buildUnchecked
builds ProductTailoringNameSetMessagePayload without checking for non-null required values- Returns:
- ProductTailoringNameSetMessagePayload
-
of
factory method for an instance of ProductTailoringNameSetMessagePayloadBuilder- Returns:
- builder
-
of
public static ProductTailoringNameSetMessagePayloadBuilder of(ProductTailoringNameSetMessagePayload template) create builder for ProductTailoringNameSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-