IMPORTANT: Checkout to 33-bugs before implementing to avoid merge conflicts.
[x] In [/api/buyer/purchases], also return seller name AND offer name (right now, it just returns offerId and sellerId, but we also want names)
[x] Check that "rating" result is returned correctly (it always returns 0 for me). Fix if needed.
[x] In [/api/seller/{seller}/offers], in the "reservations" field, also add a "buyerName" to the attributes of each reservation (right now there is only id, sellername, offername, offerprice, timeslot but we also need buyerName).
[x] Right now, after deleting an offer, "offerName" is no longer available in a transaction object, as transaction object gets the offername from ID and such an ID no longer exists. Consider storing "offerName" directly in the transaction object in the database as a solution (so that offerName is not retrieved from offerId but just returned directly as an attribute of the object).
IMPORTANT: Checkout to 33-bugs before implementing to avoid merge conflicts.