Interface ProductRepositoryInterface
category |
System |
---|---|
package |
Product |
subpackage |
Interfaces |
add(\ProductInterface $product) : integer
integer
Id of inserted product.
deleteProductById(\IdType $productId) : \ProductRepositoryInterface|$this
getProductById(\IdType $productId) : \StoredProductInterface
getProductsCount() : integer
integer
store(\StoredProductInterface $product) : \ProductRepositoryInterface|$this