Class InventoryEntryCreatedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.InventoryEntryCreatedMessagePayloadBuilder
- All Implemented Interfaces:
- Builder<InventoryEntryCreatedMessagePayload>
public class InventoryEntryCreatedMessagePayloadBuilder
extends Object
implements Builder<InventoryEntryCreatedMessagePayload>
InventoryEntryCreatedMessagePayloadBuilder
 
Example to create an instance using the builder pattern
 
Example to create an instance using the builder pattern
     InventoryEntryCreatedMessagePayload inventoryEntryCreatedMessagePayload = InventoryEntryCreatedMessagePayload.builder()
             .inventoryEntry(inventoryEntryBuilder -> inventoryEntryBuilder)
             .build()
 - 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()builds InventoryEntryCreatedMessagePayload with checking for non-null required valuesbuilds InventoryEntryCreatedMessagePayload without checking for non-null required valuesInventoryEntry that was created.inventoryEntry(InventoryEntry inventoryEntry) InventoryEntry that was created.InventoryEntry that was created.of()factory method for an instance of InventoryEntryCreatedMessagePayloadBuilderof(InventoryEntryCreatedMessagePayload template) create builder for InventoryEntryCreatedMessagePayload instanceInventoryEntry that was created.
- 
Constructor Details- 
InventoryEntryCreatedMessagePayloadBuilderpublic InventoryEntryCreatedMessagePayloadBuilder()
 
- 
- 
Method Details- 
inventoryEntrypublic InventoryEntryCreatedMessagePayloadBuilder inventoryEntry(Function<InventoryEntryBuilder, InventoryEntryBuilder> builder) InventoryEntry that was created. - Parameters:
- builder- function to build the inventoryEntry value
- Returns:
- Builder
 
- 
withInventoryEntrypublic InventoryEntryCreatedMessagePayloadBuilder withInventoryEntry(Function<InventoryEntryBuilder, InventoryEntry> builder) InventoryEntry that was created. - Parameters:
- builder- function to build the inventoryEntry value
- Returns:
- Builder
 
- 
inventoryEntryInventoryEntry that was created. - Parameters:
- inventoryEntry- value to be set
- Returns:
- Builder
 
- 
getInventoryEntryInventoryEntry that was created. - Returns:
- inventoryEntry
 
- 
buildbuilds InventoryEntryCreatedMessagePayload with checking for non-null required values- Specified by:
- buildin interface- Builder<InventoryEntryCreatedMessagePayload>
- Returns:
- InventoryEntryCreatedMessagePayload
 
- 
buildUncheckedbuilds InventoryEntryCreatedMessagePayload without checking for non-null required values- Returns:
- InventoryEntryCreatedMessagePayload
 
- 
offactory method for an instance of InventoryEntryCreatedMessagePayloadBuilder- Returns:
- builder
 
- 
ofpublic static InventoryEntryCreatedMessagePayloadBuilder of(InventoryEntryCreatedMessagePayload template) create builder for InventoryEntryCreatedMessagePayload instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
 
-