public function iUsedCoupon(PromotionCouponInterface $coupon) { $order = $this->sharedStorage->get('order'); $order->setPromotionCoupon($coupon); $this->objectManager->flush(); }