Class ShoppingListStoreSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.ShoppingListStoreSetMessagePayloadBuilder
- All Implemented Interfaces:
- Builder<ShoppingListStoreSetMessagePayload>
public class ShoppingListStoreSetMessagePayloadBuilder
extends Object
implements Builder<ShoppingListStoreSetMessagePayload>
ShoppingListStoreSetMessagePayloadBuilder
 
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()
 - 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()builds ShoppingListStoreSetMessagePayload with checking for non-null required valuesbuilds ShoppingListStoreSetMessagePayload without checking for non-null required valuesgetStore()KeyReference to a Store.of()factory method for an instance of ShoppingListStoreSetMessagePayloadBuilderof(ShoppingListStoreSetMessagePayload template) create builder for ShoppingListStoreSetMessagePayload instancestore(StoreKeyReference store) KeyReference to a Store.KeyReference to a Store.KeyReference to a Store.
- 
Constructor Details- 
ShoppingListStoreSetMessagePayloadBuilderpublic ShoppingListStoreSetMessagePayloadBuilder()
 
- 
- 
Method Details- 
storepublic ShoppingListStoreSetMessagePayloadBuilder store(Function<StoreKeyReferenceBuilder, StoreKeyReferenceBuilder> builder) KeyReference to a Store. - Parameters:
- builder- function to build the store value
- Returns:
- Builder
 
- 
withStorepublic ShoppingListStoreSetMessagePayloadBuilder withStore(Function<StoreKeyReferenceBuilder, StoreKeyReference> builder) KeyReference to a Store. - Parameters:
- builder- function to build the store value
- Returns:
- Builder
 
- 
storeKeyReference to a Store. - Parameters:
- store- value to be set
- Returns:
- Builder
 
- 
getStoreKeyReference to a Store. - Returns:
- store
 
- 
buildbuilds ShoppingListStoreSetMessagePayload with checking for non-null required values- Specified by:
- buildin interface- Builder<ShoppingListStoreSetMessagePayload>
- Returns:
- ShoppingListStoreSetMessagePayload
 
- 
buildUncheckedbuilds ShoppingListStoreSetMessagePayload without checking for non-null required values- Returns:
- ShoppingListStoreSetMessagePayload
 
- 
offactory method for an instance of ShoppingListStoreSetMessagePayloadBuilder- Returns:
- builder
 
- 
ofpublic static ShoppingListStoreSetMessagePayloadBuilder of(ShoppingListStoreSetMessagePayload template) create builder for ShoppingListStoreSetMessagePayload instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
 
-