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