I _think_ this block is recommending using script classes instead of Custom Types, but I had to read it a few times to determine whether "these" meant "Script Classes" or "Custom Tyes".
queryPurchases