public class ProductAvailabilityDataBean extends java.lang.Object implements CommandDataBean, Delegator
Name | Description |
---|---|
SKU | the SKU of the product to check |
FulfillmentCenterIds | the FulfillmentCenterIds on which the product will be checked |
Name | Description |
---|---|
TotalQuantityOnHand | the total quantity of on hand inventory |
FormattedTotalQuantityOnHand | the formatted total quantity of on hand inventory |
AvailableDate | the available date of expected inventory |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
static java.lang.String | FULFILLMENT_CENTER_IDS
fulfillment center Id
|
static java.lang.String | PRODUCT_AVAILABILITY
product availability
|
static java.lang.String | PRODUCT_ID
the catentry Id of the product
|
static java.lang.String | PRODUCT_OWNER_ID
the member Id of the Product Owner
|
static java.lang.String | PRODUCT_SKU
Product SKU
|
static java.lang.String | STORE_ID
the store Id on which we check inventory
|
Constructor and Description |
---|
ProductAvailabilityDataBean() |
Modifier and Type | Method and Description |
---|---|
java.sql.Timestamp | getAvailableDate()
This method gets the available time
|
java.lang.String | getCommandInterfaceName()
This method gets the command interface name that populates this data bean.
|
Protectable | getDelegate()
This method gets the delegate
|
java.util.List | getExpectedInventory()
This method gets the expected inventory
|
FormattedQuantityAmountDataBean | getFormattedTotalQuantityOnHand()
This method gets the formatted QuantityAmount DataBean
|
java.util.List | getFulfillmentCenterInventory()
This methods gets the FulfillmentCenterInventory
|
java.lang.String | getInventoryStatus()
This methods gets the inventory status
|
TypedProperty | getRequestProperties()
This method gets the parameters passed as part of the URL if any.
|
QuantityAmount | getTotalQuantityOnHand()
This method gets the total on hand quantity
|
void | setAvailableDate(java.sql.Timestamp argAvailableDate)
This method sets the available date
|
void | setCommandInterfaceName(java.lang.String ifname)
This method sets the command interface name.
|
void | setFormattedTotalQuantityOnHand(FormattedQuantityAmountDataBean argFormattedQuantity)
This method sets the formatted QuantityAmount DataBean
|
void | setFulfillmentCenterIds(java.lang.Integer[] argFulfillmentCenterIds)
This method sets a list of fulfillment centers on which the inventory will be checked.
|
void | setProductAvailability(com.ibm.commerce.inventory.datatypes.ProductAvailabilityType argProductAvailability)
This method sets the productAvailability
|
void | setProductId(java.lang.Integer anProductId)
Deprecated.
Since ProductId should be Long, this method is deprecated. The method public void setProductId(Long anProductId) is the alternative method.
|
void | setProductId(java.lang.Long anProductId)
This method sets the product Id for which the inventory will be checked on the given fulfillment centers.
|
void | setProductOwnerId(java.lang.Long anProductOwnerId)
This method is used to set the member Id of the SKU owner.
|
void | setRequestProperties(TypedProperty param)
This method sets the request properties
|
void | setSKU(java.lang.String argSku)
This method sets the sku (part number of the product).
|
void | setStoreId(java.lang.Integer anStoreId)
This method sets the store Id on which the inventory will be checked on the given fulfillment centers.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String PRODUCT_AVAILABILITY
public static final java.lang.String FULFILLMENT_CENTER_IDS
public static final java.lang.String PRODUCT_SKU
public static final java.lang.String PRODUCT_OWNER_ID
public static final java.lang.String STORE_ID
public static final java.lang.String PRODUCT_ID
public Protectable getDelegate() throws java.lang.Exception
public void setRequestProperties(TypedProperty param) throws java.lang.Exception
public java.lang.String getInventoryStatus()
public void setStoreId(java.lang.Integer anStoreId)
public void setProductId(java.lang.Integer anProductId)
public void setProductId(java.lang.Long anProductId)
public void setSKU(java.lang.String argSku)
public void setProductOwnerId(java.lang.Long anProductOwnerId)
public void setFulfillmentCenterIds(java.lang.Integer[] argFulfillmentCenterIds)
public java.util.List getFulfillmentCenterInventory()
public QuantityAmount getTotalQuantityOnHand()
public java.sql.Timestamp getAvailableDate()
public java.util.List getExpectedInventory()
public FormattedQuantityAmountDataBean getFormattedTotalQuantityOnHand()
public void setFormattedTotalQuantityOnHand(FormattedQuantityAmountDataBean argFormattedQuantity)
public void setCommandInterfaceName(java.lang.String ifname)
public java.lang.String getCommandInterfaceName()
public TypedProperty getRequestProperties()
public void setProductAvailability(com.ibm.commerce.inventory.datatypes.ProductAvailabilityType argProductAvailability)
public void setAvailableDate(java.sql.Timestamp argAvailableDate)