Interface BusinessUnitStoreRemovedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Remove Store update action.
Example to create an instance using the builder pattern
BusinessUnitStoreRemovedMessagePayload businessUnitStoreRemovedMessagePayload = BusinessUnitStoreRemovedMessagePayload.builder()
.store(storeBuilder -> storeBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for BusinessUnitStoreRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitStoreRemovedMessagePayloadcreate builder for BusinessUnitStoreRemovedMessagePayload instancefactory method to create a deep copy of BusinessUnitStoreRemovedMessagePayload@NotNull @Valid StoreKeyReference
getStore()
The Store that was removed from the Business Unit.of()
factory methodof
(BusinessUnitStoreRemovedMessagePayload template) factory method to create a shallow copy BusinessUnitStoreRemovedMessagePayloadvoid
setStore
(StoreKeyReference store) The Store that was removed from the Business Unit.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitStoreRemovedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withBusinessUnitStoreRemovedMessagePayload
(Function<BusinessUnitStoreRemovedMessagePayload, T> helper) 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_STORE_REMOVED
discriminator value for BusinessUnitStoreRemovedMessagePayload- See Also:
-
-
Method Details
-
getStore
The Store that was removed from the Business Unit.
- Returns:
- store
-
setStore
The Store that was removed from the Business Unit.
- Parameters:
store
- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitStoreRemovedMessagePayload
-
of
factory method to create a shallow copy BusinessUnitStoreRemovedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static BusinessUnitStoreRemovedMessagePayload deepCopy(@Nullable BusinessUnitStoreRemovedMessagePayload template) factory method to create a deep copy of BusinessUnitStoreRemovedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitStoreRemovedMessagePayload- Returns:
- builder
-
builder
static BusinessUnitStoreRemovedMessagePayloadBuilder builder(BusinessUnitStoreRemovedMessagePayload template) create builder for BusinessUnitStoreRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitStoreRemovedMessagePayload
default <T> T withBusinessUnitStoreRemovedMessagePayload(Function<BusinessUnitStoreRemovedMessagePayload, 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<BusinessUnitStoreRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-