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 |
ProductAvailabilityDataBeanCmdImpl
,
Serialized FormModifier 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
|
emptyString
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
catentry
Id of the productpublic Protectable getDelegate() throws java.lang.Exception
getDelegate
in interface Delegator
java.lang.Exception
public void setRequestProperties(TypedProperty param) throws java.lang.Exception
setRequestProperties
in interface InputDataBean
param
- request propertiesjava.lang.Exception
public java.lang.String getInventoryStatus()
public void setStoreId(java.lang.Integer anStoreId)
anStoreId
- public void setProductId(java.lang.Integer anProductId)
ProductId
should be Long
, this method is deprecated.
The method public void setProductId(Long anProductId)
is the alternative method.setSKU()
method was not called.anProductId
- public void setProductId(java.lang.Long anProductId)
setSKU()
method was not called.anProductId
- public void setSKU(java.lang.String argSku)
setProductId()
method was not called.
This method will be used together with setProductOwnerId()
to uniquely determine a product.
This method will be ignored if setCatentryId()
been called.argSku
- to setpublic void setProductOwnerId(java.lang.Long anProductOwnerId)
setSKU()
to uniquely determine a product.
This method will be ignored if setCatentryId()
been called.anProductOwnerId
- public void setFulfillmentCenterIds(java.lang.Integer[] argFulfillmentCenterIds)
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)
argFormattedQuantity
- formatted QuantityAmount DataBean to setpublic void setCommandInterfaceName(java.lang.String ifname)
setCommandInterfaceName
in interface CommandDataBean
ifname
- The command interface name to be setpublic java.lang.String getCommandInterfaceName()
getCommandInterfaceName
in interface CommandDataBean
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void setProductAvailability(com.ibm.commerce.inventory.datatypes.ProductAvailabilityType argProductAvailability)
argProductAvailability
- The productAvailability to set.public void setAvailableDate(java.sql.Timestamp argAvailableDate)
argAvailableDate
- The availableDate to set.