Logic for Purchases Object