You can use the getBaseDiscountAmount()
and the getDiscountAmount()
methods of the \Magento\Sales\Model\Order
class:
The getBaseDiscountAmount()
method returns a discount amount in the store’s base currency.
The getBaseDiscountAmount()
method returns a discount amount in the order’s currency.
You can also directly use the base_discount_amount
and discount_amount
columns of the sales_order
table: