ShoppingCart-Strategy-Pattern
Strategy Pattern offers a solution so that switching between the different pricing schemes is simplified. Furthermore, the computation of the price itself is encapsulated in a separate class, so that changes in pricing scheme can be easily made.