Create Purchase.Java