protected function _diffQuoteData($oldQuote, $newQuote)
    {
        if (empty($oldQuote)) {
            return $newQuote;
        }
        return $this->_diffBilling($oldQuote['billing'], $newQuote['billing']) +
            $this->_diffCoupon($oldQuote['coupon'], $newQuote['coupon']) +
            $this->_diffShipping($oldQuote['shipping'], $newQuote['shipping']) +
            $this->_diffSkus($oldQuote['skus'], $newQuote['skus']) +
            $this->_diffAmounts($oldQuote['amounts'], $newQuote['amounts']);
    }
protected function _diffQuoteData($oldQuote, $newQuote)
    {
        if (empty($oldQuote)) {
            return $newQuote;
        }
        return $this->_diffBilling($oldQuote['billing'], $newQuote['billing']) +
            $this->_diffCoupon($oldQuote['coupon'], $newQuote['coupon']) +
            $this->_diffShipping($oldQuote['shipping'], $newQuote['shipping']) +
            $this->_diffSkus($oldQuote['skus'], $newQuote['skus']) +
            $this->_diffAmounts($oldQuote['amounts'], $newQuote['amounts']);
    }
protected function _diffQuoteData ( $ oldQuote , $ newQuote ) { if ( empty ( $ oldQuote ) ) { return $ newQuote ; } return $ this -> _diffBilling ( $ oldQuote [ 'billing' ] , $ newQuote [ 'billing' ] ) + $ this -> _diffCoupon ( $ oldQuote [ 'coupon' ] , $ newQuote [ 'coupon' ] ) + $ this -> _diffShipping ( $ oldQuote [ 'shipping' ] , $ newQuote [ 'shipping' ] ) + $ this -> _diffSkus ( $ oldQuote [ 'skus' ] , $ newQuote [ 'skus' ] ) + $ this -> _diffAmounts ( $ oldQuote [ 'amounts' ] , $ newQuote [ 'amounts' ] ) ; }
Diff the new quote to the old quote. May contain keys for 'billing', 'coupon', 'shipping'
and 'skus'. For more details on the type of changes detected for each key, see the
responsible methods for diffing those sets of data.
@param  array  $oldQuote Array of data extracted from a quote
@param  array  $newQuote Array of data extracted from a quote
@return array Array of changes made between the two sets of quote data
Diff the new quote to the old quote . May contain keys for billing coupon shipping and skus . For more details on the type of changes detected for each key see the responsible methods for diffing those sets of data .