|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SkuAvailability
Implementations of this interface are used to hold data about SKU availability.
You should implement this class if you want to make significant changes to how the
class is persisted. If you just want to add additional fields then you should extend SkuAvailabilityImpl.
SkuAvailabilityImpl}| Method Summary | |
|---|---|
Date |
getAvailabilityDate()
Returns the data the SKU will be available. |
AvailabilityStatusType |
getAvailabilityStatus()
Returns an implementation specific availability status. |
Integer |
getAvailableQuantity()
Returns the getQuantityOnHand() - getReserveQuantity(). |
Long |
getId()
Returns the id of this SkuAvailability |
Long |
getLocationId()
Returns the USPSLocation id of this skuAvailability. |
Integer |
getQuantityOnHand()
Returns the number of this items that are currently in stock and available for sell. |
Integer |
getReserveQuantity()
Returns the reserve quantity. |
Long |
getSkuId()
Returns the id of this SKU associated with SkuAvailability record |
void |
setAvailabilityDate(Date availabilityDate)
Sets the date the SKU will be available. |
void |
setAvailabilityStatus(AvailabilityStatusType status)
Sets the availability status. |
void |
setId(Long id)
Sets the id of this SkuAvailability record |
void |
setLocationId(Long id)
Sets the USPSLocation id of this skuAvailability. |
void |
setQuantityOnHand(Integer quantityOnHand)
Sets the quantity on hand. |
void |
setReserveQuantity(Integer reserveQuantity)
Sets the reserve quantity. |
void |
setSkuId(Long id)
Sets the id of this SKU |
| Method Detail |
|---|
Long getId()
void setId(Long id)
Long getSkuId()
void setSkuId(Long id)
Long getLocationId()
void setLocationId(Long id)
AvailabilityStatusType getAvailabilityStatus()
void setAvailabilityStatus(AvailabilityStatusType status)
Date getAvailabilityDate()
void setAvailabilityDate(Date availabilityDate)
Integer getQuantityOnHand()
void setQuantityOnHand(Integer quantityOnHand)
Integer getReserveQuantity()
void setReserveQuantity(Integer reserveQuantity)
Integer getAvailableQuantity()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||