protected function _extractQuoteShippingData(Mage_Sales_Model_Quote $quote)
    {
        $shippingData = array();
        foreach ($quote->getAllShippingAddresses() as $address) {
            $shippingData[] = array(
                'method' => $address->getShippingMethod(),
                'address' => $this->_extractAddressData($address),
            );
        }
        return $shippingData;
    }
protected function _extractQuoteShippingData(Mage_Sales_Model_Quote $quote)
    {
        $shippingData = array();
        foreach ($quote->getAllShippingAddresses() as $address) {
            $shippingData[] = array(
                'method' => $address->getShippingMethod(),
                'address' => $this->_extractAddressData($address),
            );
        }
        return $shippingData;
    }
protected function _extractQuoteShippingData ( Mage_Sales_Model_Quote $ quote ) { $ shippingData = array ( ) ; foreach ( $ quote -> getAllShippingAddresses ( ) as $ address ) { $ shippingData [ ] = array ( 'method' => $ address -> getShippingMethod ( ) , 'address' => $ this -> _extractAddressData ( $ address ) , ) ; } return $ shippingData ; }
Extract shipping data from a quote - the shipping method and address for each shipping address
in the quote.
@param  Mage_Sales_Model_Quote $quote The quote to extract the data from
@return array                         Map of shipping method and address for each shipping address in the quote
Extract shipping data from a quote - the shipping method and address for each shipping address in the quote .