8 class Grand extends \Magento\Quote\Model\Quote\Address\Total\AbstractTotal
24 $grandTotal =
$total->getGrandTotal();
25 $baseGrandTotal =
$total->getBaseGrandTotal();
27 $baseTotals = array_sum(
$total->getAllBaseTotalAmounts());
30 $total->setBaseGrandTotal($baseGrandTotal + $baseTotals);
46 'title' =>
__(
'Grand Total'),
47 'value' => $total->getGrandTotal(),
fetch(\Magento\Quote\Model\Quote $quote, \Magento\Quote\Model\Quote\Address\Total $total)
collect(\Magento\Quote\Model\Quote $quote, \Magento\Quote\Api\Data\ShippingAssignmentInterface $shippingAssignment, \Magento\Quote\Model\Quote\Address\Total $total)