public void FinishTransaction()
 {
     if (playerInventoryObject.GetCurrency() > costOfTransaction)
     {
         foreach (ItemInstance item in shoppingCart)
         {
             playerInventoryObject.GiveItem(item);
         }
         playerInventoryObject.AddCurrency(-costOfTransaction);
         ClearTransaction();
     }
     else
     {
         print("Not enough cash!");
     }
 }