public final class InventoryEntryQuantitySetMessagePayloadBuilder extends Object
Constructor and Description |
---|
InventoryEntryQuantitySetMessagePayloadBuilder() |
Modifier and Type | Method and Description |
---|---|
InventoryEntryQuantitySetMessagePayload |
build() |
Long |
getNewAvailableQuantity() |
Long |
getNewQuantityOnStock() |
Long |
getOldAvailableQuantity() |
Long |
getOldQuantityOnStock() |
InventoryEntryQuantitySetMessagePayloadBuilder |
newAvailableQuantity(Long newAvailableQuantity) |
InventoryEntryQuantitySetMessagePayloadBuilder |
newQuantityOnStock(Long newQuantityOnStock) |
static InventoryEntryQuantitySetMessagePayloadBuilder |
of() |
static InventoryEntryQuantitySetMessagePayloadBuilder |
of(InventoryEntryQuantitySetMessagePayload template) |
InventoryEntryQuantitySetMessagePayloadBuilder |
oldAvailableQuantity(Long oldAvailableQuantity) |
InventoryEntryQuantitySetMessagePayloadBuilder |
oldQuantityOnStock(Long oldQuantityOnStock) |
public InventoryEntryQuantitySetMessagePayloadBuilder()
public InventoryEntryQuantitySetMessagePayloadBuilder oldQuantityOnStock(Long oldQuantityOnStock)
public InventoryEntryQuantitySetMessagePayloadBuilder newQuantityOnStock(Long newQuantityOnStock)
public InventoryEntryQuantitySetMessagePayloadBuilder oldAvailableQuantity(Long oldAvailableQuantity)
public InventoryEntryQuantitySetMessagePayloadBuilder newAvailableQuantity(Long newAvailableQuantity)
public Long getOldQuantityOnStock()
public Long getNewQuantityOnStock()
public Long getOldAvailableQuantity()
public Long getNewAvailableQuantity()
public InventoryEntryQuantitySetMessagePayload build()
public static InventoryEntryQuantitySetMessagePayloadBuilder of()
public static InventoryEntryQuantitySetMessagePayloadBuilder of(InventoryEntryQuantitySetMessagePayload template)