Method Purchase Purchase() Calls with the purchase detail of the Transaction Item displayed in the button. Is automatically attached to the onClick event of the PurchaseButton. Declaration public void Purchase()