Android Project using the Strategy and Singleton Pattern in a payment flow example.
This project is build using the Strategy and Singleton Pattern. We created a payment process with 3 payments methods:
- Card
- Cash
- Coupon
For each method, the Strategy Pattern executes a task to calculate the final price of the products.
The Singleton pattern management the unique price of the ficticious product to pay.
Osmar I. Cancino Díaz - [email protected]