You are here

public function EntityAdjustableInterface::removeAdjustment in Commerce Core 8.2

Removes an adjustment.

Parameters

\Drupal\commerce_order\Adjustment $adjustment: The adjustment to remove.

Return value

$this

2 methods override EntityAdjustableInterface::removeAdjustment()
Order::removeAdjustment in modules/order/src/Entity/Order.php
Removes an adjustment.
OrderItem::removeAdjustment in modules/order/src/Entity/OrderItem.php
Removes an adjustment.

File

modules/order/src/EntityAdjustableInterface.php, line 68

Class

EntityAdjustableInterface
Defines an interface for objects that contain adjustments.

Namespace

Drupal\commerce_order

Code

public function removeAdjustment(Adjustment $adjustment);