ZMObject
|
+--ZMPlugin
|
+--ZMOrderTotalPlugin
public class ZMOrderTotalPlugin
extends ZMPlugin
| Fields inherited from org.zenmagick.plugins.ZMPlugin | |
|---|---|
| KEY_ENABLED_SUFFIX, KEY_ORDER_SUFFIX, KEY_PREFIX, LP_ALL, LP_FOLDER, LP_NONE, LP_PLUGIN, SCOPE_ADMIN, SCOPE_ALL, SCOPE_STORE | |
| Fields inherited from org.zenmagick.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
ZMOrderTotalPlugin(string title, string description, string version) Create new plugin. |
|
| Method Summary | |
|---|---|
| mixed | calculate(ZMShoppingCart cart) Evaluate the given cart and return resulting order totals. |
| Methods inherited from org.zenmagick.plugins.ZMPlugin | |
|---|---|
| addConfigValue, addMenuItem, get, getConfigPath, getConfigValues, getDescription, getGlobal, getId, getKeys, getLoaderPolicy, getMessages, getName, getPluginDir, getScope, getSortOrder, getType, getVersion, init, install, isEnabled, isInstalled, isTraditional, pluginURL, remove, set, setKeys, setLoaderPolicy, setPluginDir, setPreferredSortOrder, setScope, setSortOrder, setTraditional, setType, zcoSubscribe, zcoUnsubscribe | |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMOrderTotalPlugin(string title, string description, string version)
Create new plugin.
public mixed calculate(ZMShoppingCart cart)
Evaluate the given cart and return resulting order totals.
ZMOrderTotalDetails, a list of order total details
* (ZMOrderTotalDetails) or null.
Order total plugin.