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