Smalot\Magento\Catalog\Product::delete PHP Method

delete() public method

Allows you to delete the required product.
public delete ( string $productId, string $identifierType = null ) : Smalot\Magento\ActionInterface
$productId string
$identifierType string
return Smalot\Magento\ActionInterface
    public function delete($productId, $identifierType = null)
    {
        return $this->__createAction('catalog_product.delete', func_get_args());
    }