How are the methods setAdjustmentPositive(), getAdjustmentPositive(), setAdjustmentNegative(), getAdjustmentNegative() of the \Magento\Sales\Model\Order class used?

Implementation

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Api/Data/OrderInterface.php#L337-L340

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Api/Data/OrderInterface.php#L333-L336

setAdjustmentPositive()

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Model/Order.php#L3919-L3925

setAdjustmentNegative()

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Model/Order.php#L3911-L3917

getAdjustmentPositive()

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Model/Order.php#L2017-L2025

getAdjustmentNegative()

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Model/Order.php#L2007-L2015

Usages

1

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Model/ResourceModel/Order/Creditmemo/Relation/Refund.php#L67-L73

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Model/ResourceModel/Order/Creditmemo/Relation/Refund.php#L105-L113

See also: