OrderTotalsService

This service class contains functions related to the order totals calculation.
All public functions are available in the Twig template renderer.

Namespace

IO\Services

Methods
public getAllTotals($order):array

Get all order totals which are relevant for the OrderDetails-modal

Parameters

Type

Name

Description

Order

$order

The order to get order totals for

public highlightNetPrices($order):bool

Check if the order has only net amounts or only net amounts should be shown

Parameters

Type

Name

Description

Order

$order