If you want to handle bundles in a different way than described above, but you want process SKUs that are not bundles in the same way, extend the RepositoryInventoryManager
and override the bundle-specific methods.
The methods listed below are called with the methods of the InventoryManager
API if the ID passed in is a bundle. For example, if purchase(someId)
is called and someId
refers to a bundle, purchase will call purchaseBundle(someId)
. These methods are implemented in RepositoryInventoryManager
, but not in any of the other classes.
isBundle
purchaseBundle
purchaseBundleOffBackorder
purchaseBundleOffPreorder
preorderBundle
backorderBundle
queryBundleStocklevel
queryBundleBackorderLevel
queryBundlePreorderLevel
queryBundleStockThreshold
queryBundleBackorderThreshold
queryBundlePreorderThreshold
queryBundleAvailabilityDate
deriveBundleAvailabilityStatus