protected function configureAdjustmentAmount(AdjustmentInterface $adjustment, OrderInterface $subject, array $configuration) { $adjustment->setAmount(-$configuration['amount']); }
protected function configureAdjustmentAmount(AdjustmentInterface $adjustment, OrderInterface $subject, array $configuration) { $adjustment->setAmount(-$subject->getShippingTotal()); }