How are the methods setBaseAdjustmentPositive(), getBaseAdjustmentPositive(), setBaseAdjustmentNegative(), getBaseAdjustmentNegative() of the \Magento\Sales\Model\Order\Creditmemo class used?

Implementation

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Api/Data/CreditmemoInterface.php#L112-L115

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Api/Data/CreditmemoInterface.php#L56-L59

setBaseAdjustmentPositive()

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Model/Order/Creditmemo.php#L746-L755

setBaseAdjustmentNegative()

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Model/Order/Creditmemo.php#L725-L734

getBaseAdjustmentPositive()

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Model/Order/Creditmemo.php#L736-L744

getBaseAdjustmentNegative()

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Model/Order/Creditmemo.php#L715-L723

Usage

1

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Model/Order/Creditmemo.php#L489-L507

2

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Block/Adminhtml/Order/Creditmemo/Totals.php#L58-L78

3

https://github.com/magento/magento2/blob/2.0.0/app/code/Magento/Sales/Model/Order/Creditmemo/Total/Grand.php#L14-L34

4

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: