ZenMagick 0.9.10


zenmagick.store.shared.services.plugins.types\ZMOrderTotal
services\plugins\types\ZMOrderTotal.php at line 30

Interface ZMOrderTotal

ZMOrderTotal

public interface ZMOrderTotal

Order total interface.

Author:
DerManoMann

Method Summary
mixed

calculate(ZMRequest request, ZMShoppingCart shoppingCart)

Evaluate the given cart and return resulting order totals.

Method Detail

services\plugins\types\ZMOrderTotal.php at line 40

calculate

public mixed calculate(ZMRequest request, ZMShoppingCart shoppingCart)

Evaluate the given cart and return resulting order totals.

Parameters:
request - The current request.
shoppingCart - The current shopping cart.
Returns:
Either a single ZMOrderTotalLineDetails, a list of order total line details (ZMOrderTotalLineDetails) or null.

ZenMagick 0.9.10