You are here

public function OrderInterface::clearAdjustments in Commerce Core 8.2

Removes all adjustments that belong to the order.

This includes both order and order item adjustments, with the exception of adjustments added via the UI.

Return value

$this

1 method overrides OrderInterface::clearAdjustments()
Order::clearAdjustments in modules/order/src/Entity/Order.php
Removes all adjustments that belong to the order.

File

modules/order/src/Entity/OrderInterface.php, line 227

Class

OrderInterface
Defines the interface for orders.

Namespace

Drupal\commerce_order\Entity

Code

public function clearAdjustments();