ZMObject
|
+--ZMOrderTotalDetails
public class ZMOrderTotalDetails
extends ZMObject
| Fields inherited from org.zenmagick.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
ZMOrderTotalDetails(string title, float amount) Create new instance. |
|
| Method Summary | |
|---|---|
| float | Get the amount. |
| float | Get the subtotal. |
| float | getTax() Get the tax. |
| string | getTitle() Get the title. |
| void | setSubtotal(float subtotal) Set the subtotal. |
| void | setTax(float tax) Set the tax. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMOrderTotalDetails(string title, float amount)
Create new instance.
public float getAmount()
Get the amount.
public float getSubtotal()
Get the subtotal.
public float getTax()
Get the tax.
public string getTitle()
Get the title.
public void setSubtotal(float subtotal)
Set the subtotal.
public void setTax(float tax)
Set the tax.
Order total details as returned by an
ZMOrderTotalPlugin.The title and amount are the minimum requirements for an order total. All other available properties are optional.