developernaren/solid

★ 0Forks 0PHPGitHub ↗Compare

README

Solid

For the workshop we are going to create an application where

  1. User can sell cakes, biscuits and donuts
  2. User can pay using cash, stripe and paypal

Steps

  1. We will first design an application just to do the job we may use functions
  2. We are going to user classes for the application
  3. We are going to use solid principle later on

Phases

  1. User can sell cakes, biscuits and donuts with any method

Task

  1. User can apply code, if it is DASHAIN, it is valid
  2. Discount Conditions:
  • If donut is >5 in quantity, you get 10% off
  • If cake is >10 in quantity, you get 40% off
  • You do not get discount for donut

Contributors

developernarensalamwaddah

Issues