dispatchEvent(TheliaEvents::ORDER_SET_REFERENCE, new OrderEvent($this)); return true; } /** * calculate the total amount * * @TODO create body method * * @return int */ public function getTotalAmount() { return 2; } }