addLineItemTaxLines - Cart Module Reference
This documentation provides a reference to the addLineItemTaxLines
method. This belongs to the Cart Module.
addLineItemTaxLines(taxLines): Promise<LineItemTaxLineDTO[]>
This method creates and adds line item tax lines.
Example
Parameters
The line item tax lines to be created.
Returns
The added line item tax lines.
addLineItemTaxLines(taxLine): Promise<LineItemTaxLineDTO>
This method creates and adds a line item tax line.
Example
Parameters
The line item tax line to be created.
Returns
The added line item tax line.
addLineItemTaxLines(cartId, taxLines, sharedContext?): Promise<LineItemTaxLineDTO[]>
This method creates and adds one or more line item tax lines to a cart.
Example
Parameters
cartId
stringRequiredThe cart's ID.
The line item tax lines to add.
You can specify one or more items.
Returns
The added line item tax lines.
Was this section helpful?