getTaxLines - Tax Module Reference
This documentation provides a reference to the getTaxLines
method. This belongs to the Tax Module.
This method retrieves tax lines for taxable items and shipping methods in a cart.
Learn more in this guide.
Example
Parameters
The items and shipping methods to retrieve their tax lines.
The context to pass to the underlying tax provider. It provides more
details that are useful to provide accurate tax lines.
Returns
The item and shipping methods' tax lines.
Was this section helpful?