Esempio n. 1
0
 /**
  * @return float
  */
 public function getServiceGross()
 {
     $gross = 0.0;
     if ($this->payment) {
         $gross += $this->payment->getGross();
     }
     if ($this->shipping) {
         $gross += $this->shipping->getGross();
     }
     if ($this->specials) {
         foreach ($this->specials as $special) {
             $gross += $special->getGross();
         }
     }
     return $gross;
 }