1 | <?php |
||
9 | class ShippingEstimator |
||
10 | { |
||
11 | protected $order; |
||
12 | protected $address; |
||
13 | protected $estimates = null; |
||
14 | protected $calculated = false; |
||
15 | |||
16 | public function __construct(Order $order, Address $address = null) |
||
21 | |||
22 | public function getEstimates() |
||
44 | |||
45 | /** |
||
46 | * get options that apply to package and location |
||
47 | */ |
||
48 | public function getShippingMethods() |
||
53 | } |
||
54 |