Updated doTranscation to addQuantity in Gold class