Class StoreNameSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.StoreNameSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<StoreNameSetMessagePayload>
public class StoreNameSetMessagePayloadBuilder
extends Object
implements Builder<StoreNameSetMessagePayload>
StoreNameSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StoreNameSetMessagePayload storeNameSetMessagePayload = StoreNameSetMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionNames set for the Store in different locales.build()
builds StoreNameSetMessagePayload with checking for non-null required valuesbuilds StoreNameSetMessagePayload without checking for non-null required valuesgetName()
Name of the Store set during the Set Name update action.Names set for the Store in different locales.name
(LocalizedString name) Name of the Store set during the Set Name update action.Name of the Store set during the Set Name update action.nameAllLocales
(LocalizedString... nameAllLocales) Names set for the Store in different locales.nameAllLocales
(List<LocalizedString> nameAllLocales) Names set for the Store in different locales.of()
factory method for an instance of StoreNameSetMessagePayloadBuilderof
(StoreNameSetMessagePayload template) create builder for StoreNameSetMessagePayload instanceplusNameAllLocales
(LocalizedString... nameAllLocales) Names set for the Store in different locales.Names set for the Store in different locales.Names set for the Store in different locales.Name of the Store set during the Set Name update action.Names set for the Store in different locales.
-
Constructor Details
-
StoreNameSetMessagePayloadBuilder
public StoreNameSetMessagePayloadBuilder()
-
-
Method Details
-
name
public StoreNameSetMessagePayloadBuilder name(Function<LocalizedStringBuilder, LocalizedStringBuilder> builder) Name of the Store set during the Set Name update action.
- Parameters:
builder
- function to build the name value- Returns:
- Builder
-
withName
public StoreNameSetMessagePayloadBuilder withName(Function<LocalizedStringBuilder, LocalizedString> builder) Name of the Store set during the Set Name update action.
- Parameters:
builder
- function to build the name value- Returns:
- Builder
-
name
Name of the Store set during the Set Name update action.
- Parameters:
name
- value to be set- Returns:
- Builder
-
nameAllLocales
public StoreNameSetMessagePayloadBuilder nameAllLocales(@Nullable LocalizedString... nameAllLocales) Names set for the Store in different locales.
- Parameters:
nameAllLocales
- value to be set- Returns:
- Builder
-
nameAllLocales
public StoreNameSetMessagePayloadBuilder nameAllLocales(@Nullable List<LocalizedString> nameAllLocales) Names set for the Store in different locales.
- Parameters:
nameAllLocales
- value to be set- Returns:
- Builder
-
plusNameAllLocales
public StoreNameSetMessagePayloadBuilder plusNameAllLocales(@Nullable LocalizedString... nameAllLocales) Names set for the Store in different locales.
- Parameters:
nameAllLocales
- value to be set- Returns:
- Builder
-
plusNameAllLocales
public StoreNameSetMessagePayloadBuilder plusNameAllLocales(Function<LocalizedStringBuilder, LocalizedStringBuilder> builder) Names set for the Store in different locales.
- Parameters:
builder
- function to build the nameAllLocales value- Returns:
- Builder
-
withNameAllLocales
public StoreNameSetMessagePayloadBuilder withNameAllLocales(Function<LocalizedStringBuilder, LocalizedStringBuilder> builder) Names set for the Store in different locales.
- Parameters:
builder
- function to build the nameAllLocales value- Returns:
- Builder
-
addNameAllLocales
public StoreNameSetMessagePayloadBuilder addNameAllLocales(Function<LocalizedStringBuilder, LocalizedString> builder) Names set for the Store in different locales.
- Parameters:
builder
- function to build the nameAllLocales value- Returns:
- Builder
-
setNameAllLocales
public StoreNameSetMessagePayloadBuilder setNameAllLocales(Function<LocalizedStringBuilder, LocalizedString> builder) Names set for the Store in different locales.
- Parameters:
builder
- function to build the nameAllLocales value- Returns:
- Builder
-
getName
Name of the Store set during the Set Name update action.
- Returns:
- name
-
getNameAllLocales
Names set for the Store in different locales.
- Returns:
- nameAllLocales
-
build
builds StoreNameSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<StoreNameSetMessagePayload>
- Returns:
- StoreNameSetMessagePayload
-
buildUnchecked
builds StoreNameSetMessagePayload without checking for non-null required values- Returns:
- StoreNameSetMessagePayload
-
of
factory method for an instance of StoreNameSetMessagePayloadBuilder- Returns:
- builder
-
of
create builder for StoreNameSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-