ZMObject
└─ZMShippingMethod
public class ZMShippingMethod
extends ZMObject
| Fields inherited from org.zenmagick.core\ZMObject | |
|---|---|
| properties_ | |
| Method Summary | |
|---|---|
| void | __construct(ZMShippingProvider provider, array zenMethod) Create new shipping method. |
| float | getCost() Get the shipping cost. |
| int | getId() Get the shipping method id. |
| string | getName() Get the shipping method name. |
| ZMShippingProvider | Get the shipping provider. |
| string | Get the shipping id. |
| void | setId(int id) Set the shipping method id. |
| void | setProvider(ZMShippingProvider provider) Set the shipping provider. |
| void | setTaxRate(ZMTaxRate taxRate) Set the tax rate. |
| Methods inherited from org.zenmagick.core\ZMObject | |
|---|---|
| __construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton | |
public void __construct(ZMShippingProvider provider, array zenMethod)
Create new shipping method.
public float getCost()
Get the shipping cost.
public int getId()
Get the shipping method id.
public string getName()
Get the shipping method name.
public ZMShippingProvider getProvider()
Get the shipping provider.
public string getShippingId()
Get the shipping id.
public void setId(int id)
Set the shipping method id.
public void setProvider(ZMShippingProvider provider)
Set the shipping provider.
public void setTaxRate(ZMTaxRate taxRate)
Set the tax rate.
Shipping method.