Interface ShoppingListStoreSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
ShoppingListStoreSetMessagePayload
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShoppingListStoreSetMessagePayload shoppingListStoreSetMessagePayload = ShoppingListStoreSetMessagePayload.builder()
.store(storeBuilder -> storeBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ShoppingListStoreSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ShoppingListStoreSetMessagePayloadbuilder
(ShoppingListStoreSetMessagePayload template) create builder for ShoppingListStoreSetMessagePayload instancedeepCopy
(ShoppingListStoreSetMessagePayload template) factory method to create a deep copy of ShoppingListStoreSetMessagePayload@NotNull @Valid StoreKeyReference
getStore()
KeyReference to a Store.of()
factory methodof
(ShoppingListStoreSetMessagePayload template) factory method to create a shallow copy ShoppingListStoreSetMessagePayloadvoid
setStore
(StoreKeyReference store) KeyReference to a Store.static com.fasterxml.jackson.core.type.TypeReference<ShoppingListStoreSetMessagePayload>
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
-
SHOPPING_LIST_STORE_SET
discriminator value for ShoppingListStoreSetMessagePayload- See Also:
-
-
Method Details
-
getStore
KeyReference to a Store.
- Returns:
- store
-
setStore
KeyReference to a Store.
- Parameters:
store
- value to be set
-
of
factory method- Returns:
- instance of ShoppingListStoreSetMessagePayload
-
of
factory method to create a shallow copy ShoppingListStoreSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ShoppingListStoreSetMessagePayload deepCopy(@Nullable ShoppingListStoreSetMessagePayload template) factory method to create a deep copy of ShoppingListStoreSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ShoppingListStoreSetMessagePayload- Returns:
- builder
-
builder
static ShoppingListStoreSetMessagePayloadBuilder builder(ShoppingListStoreSetMessagePayload template) create builder for ShoppingListStoreSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withShoppingListStoreSetMessagePayload
default <T> T withShoppingListStoreSetMessagePayload(Function<ShoppingListStoreSetMessagePayload, 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<ShoppingListStoreSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-