src/Sylius/Component/Core/Model/Order.php
public function getOrderPromotionTotal(): int
    {
        $orderPromotionTotal = 0;

        foreach ($this->items as $item) {
            $orderPromotionTotal += $item->getAdjustmentsTotalRecursively(AdjustmentInterface::ORDER_PROMOTION_ADJUSTMENT);
        }

        return $orderPromotionTotal;
    }
public function getOrderPromotionTotal(): int
    {
        $orderPromotionTotal = 0;

        foreach ($this->items as $item) {
            $orderPromotionTotal += $item->getAdjustmentsTotalRecursively(AdjustmentInterface::ORDER_PROMOTION_ADJUSTMENT);
        }

        return $orderPromotionTotal;
    }
public function getOrderPromotionTotal ( ) : int { $ orderPromotionTotal = 0 ; foreach ( $ this -> items as $ item ) { $ orderPromotionTotal += $ item -> getAdjustmentsTotalRecursively ( AdjustmentInterface :: ORDER_PROMOTION_ADJUSTMENT ) ; } return $ orderPromotionTotal ; }
Returns amount of order discount. Does not include order item and shipping discounts.

{@inheritdoc}
Returns amount of order discount . Does not include order item and shipping discounts .