getCashFlow method