Class InventoryEntryBuilder

java.lang.Object
com.commercetools.api.models.inventory.InventoryEntryBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<InventoryEntry>

public class InventoryEntryBuilder extends Object implements io.vrap.rmf.base.client.Builder<InventoryEntry>
InventoryEntryBuilder
Example to create an instance using the builder pattern

     InventoryEntry inventoryEntry = InventoryEntry.builder()
             .id("{id}")
             .version(0.3)
             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .sku("{sku}")
             .quantityOnStock(0.3)
             .availableQuantity(0.3)
             .build()