daily pastebin goal
19%
SHARE
TWEET

Untitled

a guest Jun 21st, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. interface BuyerContract
  2. {
  3.     public function getNumberOfPurchasesPerMonth();
  4.     public function getTotalAmountOfPurchases();
  5. }
  6.  
  7. class PriceService
  8. {
  9.     public function calculateFinalPrice($price, $coupons, BuyerContract $buyer)
  10.     {
  11.         // ***
  12.     }
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top