public function AdjustmentTransformerInterface::processAdjustments in Commerce Core 8.2
Combines, sorts, and rounds the given adjustments.
Parameters
\Drupal\commerce_order\Adjustment[] $adjustments: The adjustments.
Return value
\Drupal\commerce_order\Adjustment[] The processed adjustments.
1 method overrides AdjustmentTransformerInterface::processAdjustments()
- AdjustmentTransformer::processAdjustments in modules/
order/ src/ AdjustmentTransformer.php - Combines, sorts, and rounds the given adjustments.
File
- modules/
order/ src/ AdjustmentTransformerInterface.php, line 19
Class
- AdjustmentTransformerInterface
- Provides common logic for processing and transforming adjustments.
Namespace
Drupal\commerce_orderCode
public function processAdjustments(array $adjustments);