java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<WarehouseAvailableStock>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.warehouseavailablestock.WarehouseAvailableStock
All Implemented Interfaces:
VdmEntitySet

public class WarehouseAvailableStock extends VdmEntity<WarehouseAvailableStock> implements VdmEntitySet
Available Stock

Original entity name from the Odata EDM: WarehouseAvailableStock_Type

  • Field Details

  • Constructor Details

    • WarehouseAvailableStock

      public WarehouseAvailableStock()
    • WarehouseAvailableStock

      public WarehouseAvailableStock(@Nullable String eWMWarehouse, @Nullable String product, @Nullable String batch, @Nullable String eWMStockOwner, @Nullable String entitledToDisposeParty, @Nullable String eWMStockType, @Nullable String eWMStockUsage, @Nullable String stockDocumentCategory, @Nullable String eWMDocumentCategory, @Nullable String wBSElementExternalID, @Nullable String specialStockIdfgSalesOrder, @Nullable String specialStockIdfgSalesOrderItem, @Nullable String handlingUnitExternalID, @Nullable String eWMStorageBin, @Nullable String eWMResource, @Nullable String wBSElementInternalID, @Nullable String eWMStorageType, @Nullable BigDecimal availableEWMStockQty, @Nullable String eWMStockQuantityBaseUnit, @Nullable String eWMStockQtyBaseUnitISOCode, @Nullable String stockKeepingAlternativeUoM, @Nullable String stockKeepingAltvUnitISOCode, @Nullable OffsetDateTime goodsReceiptUTCDateTime, @Nullable LocalDate shelfLifeExpirationDate, @Nullable Boolean eWMStockIsBlockedForInventory, @Nullable Boolean eWMBatchIsInRestrictedUseStock, @Nullable UUID parentHandlingUnitUUID, @Nullable UUID stockItemUUID)
  • Method Details

    • getType

      @Nonnull public Class<WarehouseAvailableStock> getType()
      Specified by:
      getType in class VdmObject<WarehouseAvailableStock>
    • setEWMWarehouse

      public void setEWMWarehouse(@Nullable String eWMWarehouse)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: EWMWarehouse

      Parameters:
      eWMWarehouse - Warehouse Number/Warehouse Complex
    • setProduct

      public void setProduct(@Nullable String product)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Product

      Parameters:
      product - Product Number
    • setBatch

      public void setBatch(@Nullable String batch)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Batch

      Parameters:
      batch - Batch
    • setEWMStockOwner

      public void setEWMStockOwner(@Nullable String eWMStockOwner)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: EWMStockOwner

      Parameters:
      eWMStockOwner - Stock Owner
    • setEntitledToDisposeParty

      public void setEntitledToDisposeParty(@Nullable String entitledToDisposeParty)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: EntitledToDisposeParty

      Parameters:
      entitledToDisposeParty - Party Entitled to Dispose
    • setEWMStockType

      public void setEWMStockType(@Nullable String eWMStockType)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: EWMStockType

      Parameters:
      eWMStockType - Stock Type
    • setEWMStockUsage

      public void setEWMStockUsage(@Nullable String eWMStockUsage)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: EWMStockUsage

      Parameters:
      eWMStockUsage - Stock Usage
    • setStockDocumentCategory

      public void setStockDocumentCategory(@Nullable String stockDocumentCategory)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: StockDocumentCategory

      Parameters:
      stockDocumentCategory - Special Reference Stock Type
    • setEWMDocumentCategory

      public void setEWMDocumentCategory(@Nullable String eWMDocumentCategory)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: EWMDocumentCategory

      Parameters:
      eWMDocumentCategory - Doc. Category for Doc. Reference and Doc.-Related Stock
    • setWBSElementExternalID

      public void setWBSElementExternalID(@Nullable String wBSElementExternalID)
      (Key Field) Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: WBSElementExternalID

      Parameters:
      wBSElementExternalID - Work Breakdown Structure Element (WBS Element) Edited
    • setSpecialStockIdfgSalesOrder

      public void setSpecialStockIdfgSalesOrder(@Nullable String specialStockIdfgSalesOrder)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SpecialStockIdfgSalesOrder

      Parameters:
      specialStockIdfgSalesOrder - Sales and Distribution Document Number
    • setSpecialStockIdfgSalesOrderItem

      public void setSpecialStockIdfgSalesOrderItem(@Nullable String specialStockIdfgSalesOrderItem)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SpecialStockIdfgSalesOrderItem

      Parameters:
      specialStockIdfgSalesOrderItem - Sales Order/Project Item for Sales Order/Project Stock
    • setHandlingUnitExternalID

      public void setHandlingUnitExternalID(@Nullable String handlingUnitExternalID)
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: HandlingUnitExternalID

      Parameters:
      handlingUnitExternalID - Handling Unit
    • setEWMStorageBin

      public void setEWMStorageBin(@Nullable String eWMStorageBin)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: EWMStorageBin

      Parameters:
      eWMStorageBin - Storage Bin
    • setEWMResource

      public void setEWMResource(@Nullable String eWMResource)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: EWMResource

      Parameters:
      eWMResource - Resource (Means of Transportation or User)
    • setWBSElementInternalID

      public void setWBSElementInternalID(@Nullable String wBSElementInternalID)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: WBSElementInternalID

      Parameters:
      wBSElementInternalID - WBS Element
    • setEWMStorageType

      public void setEWMStorageType(@Nullable String eWMStorageType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: EWMStorageType

      Parameters:
      eWMStorageType - Storage Type
    • setAvailableEWMStockQty

      public void setAvailableEWMStockQty(@Nullable BigDecimal availableEWMStockQty)
      Constraints: Not nullable, Precision: 31, Scale: 14

      Original property name from the Odata EDM: AvailableEWMStockQty

      Parameters:
      availableEWMStockQty - Available Quantity
    • setEWMStockQuantityBaseUnit

      public void setEWMStockQuantityBaseUnit(@Nullable String eWMStockQuantityBaseUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: EWMStockQuantityBaseUnit

      Parameters:
      eWMStockQuantityBaseUnit - Base Unit of Measure
    • setEWMStockQtyBaseUnitISOCode

      public void setEWMStockQtyBaseUnitISOCode(@Nullable String eWMStockQtyBaseUnitISOCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: EWMStockQtyBaseUnitISOCode

      Parameters:
      eWMStockQtyBaseUnitISOCode - ISO Code for Unit of Measurement
    • setStockKeepingAlternativeUoM

      public void setStockKeepingAlternativeUoM(@Nullable String stockKeepingAlternativeUoM)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: StockKeepingAlternativeUoM

      Parameters:
      stockKeepingAlternativeUoM - Alternative Unit of Measure for Stockkeeping Unit
    • setStockKeepingAltvUnitISOCode

      public void setStockKeepingAltvUnitISOCode(@Nullable String stockKeepingAltvUnitISOCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: StockKeepingAltvUnitISOCode

      Parameters:
      stockKeepingAltvUnitISOCode - ISO Code for Unit of Measurement
    • setGoodsReceiptUTCDateTime

      public void setGoodsReceiptUTCDateTime(@Nullable OffsetDateTime goodsReceiptUTCDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: GoodsReceiptUTCDateTime

      Parameters:
      goodsReceiptUTCDateTime - Date and Time of Goods Receipt
    • setShelfLifeExpirationDate

      public void setShelfLifeExpirationDate(@Nullable LocalDate shelfLifeExpirationDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ShelfLifeExpirationDate

      Parameters:
      shelfLifeExpirationDate - Shelf Life Expiration Date
    • setEWMStockIsBlockedForInventory

      public void setEWMStockIsBlockedForInventory(@Nullable Boolean eWMStockIsBlockedForInventory)
      Constraints: Not nullable

      Original property name from the Odata EDM: EWMStockIsBlockedForInventory

      Parameters:
      eWMStockIsBlockedForInventory - Blocking Indicator: Current Inventory (System)
    • setEWMBatchIsInRestrictedUseStock

      public void setEWMBatchIsInRestrictedUseStock(@Nullable Boolean eWMBatchIsInRestrictedUseStock)
      Constraints: Not nullable

      Original property name from the Odata EDM: EWMBatchIsInRestrictedUseStock

      Parameters:
      eWMBatchIsInRestrictedUseStock - Batch in Restricted-Use Stock
    • setParentHandlingUnitUUID

      public void setParentHandlingUnitUUID(@Nullable UUID parentHandlingUnitUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: ParentHandlingUnitUUID

      Parameters:
      parentHandlingUnitUUID - Parent GUID
    • setStockItemUUID

      public void setStockItemUUID(@Nullable UUID stockItemUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: StockItemUUID

      Parameters:
      stockItemUUID - GUID Stock Item
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<WarehouseAvailableStock>
    • getKey

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<WarehouseAvailableStock>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<WarehouseAvailableStock>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<WarehouseAvailableStock>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<WarehouseAvailableStock>
    • builder

    • getEWMWarehouse

      @Nullable public String getEWMWarehouse()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: EWMWarehouse

      Returns:
      Warehouse Number/Warehouse Complex
    • getProduct

      @Nullable public String getProduct()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Product

      Returns:
      Product Number
    • getBatch

      @Nullable public String getBatch()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Batch

      Returns:
      Batch
    • getEWMStockOwner

      @Nullable public String getEWMStockOwner()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: EWMStockOwner

      Returns:
      Stock Owner
    • getEntitledToDisposeParty

      @Nullable public String getEntitledToDisposeParty()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: EntitledToDisposeParty

      Returns:
      Party Entitled to Dispose
    • getEWMStockType

      @Nullable public String getEWMStockType()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: EWMStockType

      Returns:
      Stock Type
    • getEWMStockUsage

      @Nullable public String getEWMStockUsage()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: EWMStockUsage

      Returns:
      Stock Usage
    • getStockDocumentCategory

      @Nullable public String getStockDocumentCategory()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: StockDocumentCategory

      Returns:
      Special Reference Stock Type
    • getEWMDocumentCategory

      @Nullable public String getEWMDocumentCategory()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: EWMDocumentCategory

      Returns:
      Doc. Category for Doc. Reference and Doc.-Related Stock
    • getWBSElementExternalID

      @Nullable public String getWBSElementExternalID()
      (Key Field) Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: WBSElementExternalID

      Returns:
      Work Breakdown Structure Element (WBS Element) Edited
    • getSpecialStockIdfgSalesOrder

      @Nullable public String getSpecialStockIdfgSalesOrder()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SpecialStockIdfgSalesOrder

      Returns:
      Sales and Distribution Document Number
    • getSpecialStockIdfgSalesOrderItem

      @Nullable public String getSpecialStockIdfgSalesOrderItem()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: SpecialStockIdfgSalesOrderItem

      Returns:
      Sales Order/Project Item for Sales Order/Project Stock
    • getHandlingUnitExternalID

      @Nullable public String getHandlingUnitExternalID()
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: HandlingUnitExternalID

      Returns:
      Handling Unit
    • getEWMStorageBin

      @Nullable public String getEWMStorageBin()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: EWMStorageBin

      Returns:
      Storage Bin
    • getEWMResource

      @Nullable public String getEWMResource()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: EWMResource

      Returns:
      Resource (Means of Transportation or User)
    • getWBSElementInternalID

      @Nullable public String getWBSElementInternalID()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: WBSElementInternalID

      Returns:
      WBS Element
    • getEWMStorageType

      @Nullable public String getEWMStorageType()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: EWMStorageType

      Returns:
      Storage Type
    • getAvailableEWMStockQty

      @Nullable public BigDecimal getAvailableEWMStockQty()
      Constraints: Not nullable, Precision: 31, Scale: 14

      Original property name from the Odata EDM: AvailableEWMStockQty

      Returns:
      Available Quantity
    • getEWMStockQuantityBaseUnit

      @Nullable public String getEWMStockQuantityBaseUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: EWMStockQuantityBaseUnit

      Returns:
      Base Unit of Measure
    • getEWMStockQtyBaseUnitISOCode

      @Nullable public String getEWMStockQtyBaseUnitISOCode()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: EWMStockQtyBaseUnitISOCode

      Returns:
      ISO Code for Unit of Measurement
    • getStockKeepingAlternativeUoM

      @Nullable public String getStockKeepingAlternativeUoM()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: StockKeepingAlternativeUoM

      Returns:
      Alternative Unit of Measure for Stockkeeping Unit
    • getStockKeepingAltvUnitISOCode

      @Nullable public String getStockKeepingAltvUnitISOCode()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: StockKeepingAltvUnitISOCode

      Returns:
      ISO Code for Unit of Measurement
    • getGoodsReceiptUTCDateTime

      @Nullable public OffsetDateTime getGoodsReceiptUTCDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: GoodsReceiptUTCDateTime

      Returns:
      Date and Time of Goods Receipt
    • getShelfLifeExpirationDate

      @Nullable public LocalDate getShelfLifeExpirationDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ShelfLifeExpirationDate

      Returns:
      Shelf Life Expiration Date
    • getEWMStockIsBlockedForInventory

      @Nullable public Boolean getEWMStockIsBlockedForInventory()
      Constraints: Not nullable

      Original property name from the Odata EDM: EWMStockIsBlockedForInventory

      Returns:
      Blocking Indicator: Current Inventory (System)
    • getEWMBatchIsInRestrictedUseStock

      @Nullable public Boolean getEWMBatchIsInRestrictedUseStock()
      Constraints: Not nullable

      Original property name from the Odata EDM: EWMBatchIsInRestrictedUseStock

      Returns:
      Batch in Restricted-Use Stock
    • getParentHandlingUnitUUID

      @Nullable public UUID getParentHandlingUnitUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: ParentHandlingUnitUUID

      Returns:
      Parent GUID
    • getStockItemUUID

      @Nullable public UUID getStockItemUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: StockItemUUID

      Returns:
      GUID Stock Item
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<WarehouseAvailableStock>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<WarehouseAvailableStock>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<WarehouseAvailableStock>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<WarehouseAvailableStock>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<WarehouseAvailableStock>