public class InventoryChange extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InventoryChange.Builder
Class to build instances of
InventoryChange. |
| Constructor and Description |
|---|
InventoryChange(String type,
InventoryPhysicalCount physicalCount,
InventoryAdjustment adjustment,
InventoryTransfer transfer,
CatalogMeasurementUnit measurementUnit,
String measurementUnitId)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
InventoryAdjustment |
getAdjustment()
Getter for Adjustment.
|
CatalogMeasurementUnit |
getMeasurementUnit()
Getter for MeasurementUnit.
|
String |
getMeasurementUnitId()
Getter for MeasurementUnitId.
|
InventoryPhysicalCount |
getPhysicalCount()
Getter for PhysicalCount.
|
InventoryTransfer |
getTransfer()
Getter for Transfer.
|
String |
getType()
Getter for Type.
|
int |
hashCode() |
InventoryChange.Builder |
toBuilder()
Builds a new
InventoryChange.Builder object. |
String |
toString()
Converts this InventoryChange into string format.
|
public InventoryChange(String type, InventoryPhysicalCount physicalCount, InventoryAdjustment adjustment, InventoryTransfer transfer, CatalogMeasurementUnit measurementUnit, String measurementUnitId)
type - String value for type.physicalCount - InventoryPhysicalCount value for physicalCount.adjustment - InventoryAdjustment value for adjustment.transfer - InventoryTransfer value for transfer.measurementUnit - CatalogMeasurementUnit value for measurementUnit.measurementUnitId - String value for measurementUnitId.public String getType()
public InventoryPhysicalCount getPhysicalCount()
public InventoryAdjustment getAdjustment()
public InventoryTransfer getTransfer()
public CatalogMeasurementUnit getMeasurementUnit()
public String getMeasurementUnitId()
public String toString()
public InventoryChange.Builder toBuilder()
InventoryChange.Builder object.
Creates the instance with the state of the current model.InventoryChange.Builder objectCopyright © 2022. All rights reserved.