Interface BusinessUnitStoresSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set Stores update action.
Example to create an instance using the builder pattern
BusinessUnitStoresSetMessagePayload businessUnitStoresSetMessagePayload = BusinessUnitStoresSetMessagePayload.builder()
.plusStores(storesBuilder -> storesBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for BusinessUnitStoresSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitStoresSetMessagePayloadbuilder
(BusinessUnitStoresSetMessagePayload template) create builder for BusinessUnitStoresSetMessagePayload instancedeepCopy
(BusinessUnitStoresSetMessagePayload template) factory method to create a deep copy of BusinessUnitStoresSetMessagePayload@NotNull @Valid List<StoreKeyReference>
Stores of the Business Unit after the Set Stores update action.of()
factory methodof
(BusinessUnitStoresSetMessagePayload template) factory method to create a shallow copy BusinessUnitStoresSetMessagePayloadvoid
setStores
(StoreKeyReference... stores) Stores of the Business Unit after the Set Stores update action.void
setStores
(List<StoreKeyReference> stores) Stores of the Business Unit after the Set Stores update action.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitStoresSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
BUSINESS_UNIT_STORES_SET
discriminator value for BusinessUnitStoresSetMessagePayload- See Also:
-
-
Method Details
-
getStores
Stores of the Business Unit after the Set Stores update action.
- Returns:
- stores
-
setStores
Stores of the Business Unit after the Set Stores update action.
- Parameters:
stores
- values to be set
-
setStores
Stores of the Business Unit after the Set Stores update action.
- Parameters:
stores
- values to be set
-
of
factory method- Returns:
- instance of BusinessUnitStoresSetMessagePayload
-
of
factory method to create a shallow copy BusinessUnitStoresSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static BusinessUnitStoresSetMessagePayload deepCopy(@Nullable BusinessUnitStoresSetMessagePayload template) factory method to create a deep copy of BusinessUnitStoresSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitStoresSetMessagePayload- Returns:
- builder
-
builder
static BusinessUnitStoresSetMessagePayloadBuilder builder(BusinessUnitStoresSetMessagePayload template) create builder for BusinessUnitStoresSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitStoresSetMessagePayload
default <T> T withBusinessUnitStoresSetMessagePayload(Function<BusinessUnitStoresSetMessagePayload, T> helper) 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<BusinessUnitStoresSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-