I understand the basic concept of polymorphism but i'm really struggling to implement a particular feature in my code! 
My class structure is as follows:
abstract class Transaction
- Soap extends Transaction
* doTransaction (method within Soap)
class Till
- Contains array to store transactions
So for example I can manually enter a transaction by putting the following code in to the Till class.
(10 bars of soap)
The doTransaction method asks the user for example how many bars of soap the customer wants. My question is how do I get the information from my doTransaction method in to the array!
Hard to explain so perhaps it would be easier to explain over msn if anybody wouldn't mind adding me.
Details in trust.
Thanks!

My class structure is as follows:
abstract class Transaction
- Soap extends Transaction
* doTransaction (method within Soap)
class Till
- Contains array to store transactions
So for example I can manually enter a transaction by putting the following code in to the Till class.
Code:
array[1] = new Soap( 10 );
The doTransaction method asks the user for example how many bars of soap the customer wants. My question is how do I get the information from my doTransaction method in to the array!
Hard to explain so perhaps it would be easier to explain over msn if anybody wouldn't mind adding me.
Details in trust.
Thanks!