Class Inventory

java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.product.pkg.Inventory

@ApiType("SoftLayer_Product_Package_Inventory")
public class Inventory
extends Entity
This is deprecated.
See Also:
SoftLayer_Product_Package_Inventory
  • Field Details

    • item

      @ApiProperty protected Item item
      The product package item that is associated with an inventory record.
    • location

      @ApiProperty protected Location location
      The datacenter that an inventory record is located in.
    • inventoryPackage

      @ApiProperty("package") protected Package inventoryPackage
      The product package that is associated with an inventory record.
    • availableInventoryCount

      @ApiProperty(canBeNullOrNotSet=true) protected Long availableInventoryCount
      DEPRECATED. The number of units available for purchase in inventory for a single item in a single datacenter.
    • availableInventoryCountSpecified

      protected boolean availableInventoryCountSpecified
    • itemId

      @ApiProperty(canBeNullOrNotSet=true) protected Long itemId
      DEPRECATED. The unique identifier of the product item that an inventory record is associated with.
    • itemIdSpecified

      protected boolean itemIdSpecified
    • locationId

      @ApiProperty(canBeNullOrNotSet=true) protected Long locationId
      DEPRECATED. The unique identifier of the datacenter that an inventory record is located in.
    • locationIdSpecified

      protected boolean locationIdSpecified
    • modifyDate

      @ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
      DEPRECATED. The date that an inventory record was last updated.
    • modifyDateSpecified

      protected boolean modifyDateSpecified
    • overstockFlag

      @ApiProperty(canBeNullOrNotSet=true) protected Long overstockFlag
      DEPRECATED. Whether an inventory record is marked as "overstock".
    • overstockFlagSpecified

      protected boolean overstockFlagSpecified
    • packageId

      @ApiProperty(canBeNullOrNotSet=true) protected Long packageId
      DEPRECATED. The unique identifier of the product package that an inventory record is associated with.
    • packageIdSpecified

      protected boolean packageIdSpecified
  • Constructor Details

    • Inventory

      public Inventory()
  • Method Details

    • getItem

      public Item getItem()
    • setItem

      public void setItem​(Item item)
    • getLocation

      public Location getLocation()
    • setLocation

      public void setLocation​(Location location)
    • getInventoryPackage

      public Package getInventoryPackage()
    • setInventoryPackage

      public void setInventoryPackage​(Package inventoryPackage)
    • getAvailableInventoryCount

      public Long getAvailableInventoryCount()
    • setAvailableInventoryCount

      public void setAvailableInventoryCount​(Long availableInventoryCount)
    • isAvailableInventoryCountSpecified

      public boolean isAvailableInventoryCountSpecified()
    • unsetAvailableInventoryCount

      public void unsetAvailableInventoryCount()
    • getItemId

      public Long getItemId()
    • setItemId

      public void setItemId​(Long itemId)
    • isItemIdSpecified

      public boolean isItemIdSpecified()
    • unsetItemId

      public void unsetItemId()
    • getLocationId

      public Long getLocationId()
    • setLocationId

      public void setLocationId​(Long locationId)
    • isLocationIdSpecified

      public boolean isLocationIdSpecified()
    • unsetLocationId

      public void unsetLocationId()
    • getModifyDate

      public GregorianCalendar getModifyDate()
    • setModifyDate

      public void setModifyDate​(GregorianCalendar modifyDate)
    • isModifyDateSpecified

      public boolean isModifyDateSpecified()
    • unsetModifyDate

      public void unsetModifyDate()
    • getOverstockFlag

      public Long getOverstockFlag()
    • setOverstockFlag

      public void setOverstockFlag​(Long overstockFlag)
    • isOverstockFlagSpecified

      public boolean isOverstockFlagSpecified()
    • unsetOverstockFlag

      public void unsetOverstockFlag()
    • getPackageId

      public Long getPackageId()
    • setPackageId

      public void setPackageId​(Long packageId)
    • isPackageIdSpecified

      public boolean isPackageIdSpecified()
    • unsetPackageId

      public void unsetPackageId()