It would help if you used code tags when posting code, which after 79 posts you should be aware of. It would also help if you used the Java capitalisation conventions.

I have problem in these lines :
l.CalculatedMoneyAmount( o );
o.setmoney(l.i);
And it would help if you took the trouble to explain your problem in detail.

What is obvious is the customer class doesn't have a field 'i' so trying to use l.i isn't going to work. What were you trying to do?