ZMObject
└─ZMShippingProviders
public class ZMShippingProviders
extends ZMObject
| Field Summary | |
|---|---|
| mixed | |
| Fields inherited from org.zenmagick.core.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| array | getShippingProviders(boolean configured) Get a list of shipping providers. |
| array | getShippingProvidersForAddress(ZMAddress address) Get a list of all shipping providers for the given address. |
| static void | instance() Get instance. |
| Methods inherited from org.zenmagick.core.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public mixed $provider_
public ZMShippingProviders()
Create new instance.
public array getShippingProviders(boolean configured)
Get a list of shipping providers.
true, return only configured provider: default is true.ZMShippingProvider instances.public array getShippingProvidersForAddress(ZMAddress address)
Get a list of all shipping providers for the given address.
NOTE: There is currently no way to specify individual items. Basis for calculations is the current shopping cart.
ZMShippingProvider instances.public static void instance()
Get instance.
General access class for shipping provider.