public function getDeliveryPrice($vat = false) { $method = $this->getDeliveryMethod(); if (!$method instanceof ServiceDeliveryInterface) { return 0; } return $method->getTotal($this, $vat); }