Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
order_express_with_tax.php File Reference

Go to the source code of this file.

Variables

 $objectManager = Bootstrap::getObjectManager()
 
 $subTotal = 121
 
 $taxRate = .0825
 
 $taxAmount = $subTotal * $taxRate
 
 $shippingAmount = 15
 
 $totalAmount = $subTotal + $taxAmount + $shippingAmount
 
 $orderRepository = $objectManager->get(OrderRepository::class)
 

Variable Documentation

◆ $objectManager

$objectManager = Bootstrap::getObjectManager()

Definition at line 14 of file order_express_with_tax.php.

◆ $orderRepository

$orderRepository = $objectManager->get(OrderRepository::class)

Definition at line 29 of file order_express_with_tax.php.

◆ $shippingAmount

$shippingAmount = 15

Definition at line 19 of file order_express_with_tax.php.

◆ $subTotal

$subTotal = 121

Definition at line 16 of file order_express_with_tax.php.

◆ $taxAmount

$taxAmount = $subTotal * $taxRate

Definition at line 18 of file order_express_with_tax.php.

◆ $taxRate

$taxRate = .0825

Definition at line 17 of file order_express_with_tax.php.

◆ $totalAmount

$totalAmount = $subTotal + $taxAmount + $shippingAmount

Definition at line 20 of file order_express_with_tax.php.