\ShippingEstimator
Helper class for calculating rates for available shipping options.
Provides a little caching, so estimates aren't calculated more than once.
Synopsis
class ShippingEstimator
{
- // members
- protected $package;
- // methods
- public void __construct()
- public void getEstimates()
- public void getShippingMethods()
Tasks
Line | Task |
---|---|
41 | restrict options to region / package specs |
Members
protected
- $package
Methods
public
- __construct()
- getEstimates()
- getShippingMethods() — get options that apply to package and location