You might already be using usage limit subscriptions to give your customers, say 2 appointments, and 3 classes a month. You can now give them the option to have 5 total credits that they can use on either a class or an appointment.
To do this click Memberships > Subscriptions/packs > choose subscription > click Edit details > scoll to Usage Limit Settings. Toggle on 'Use combined usage limit.'