We are trying to implement a custom rate shop into our Magento store, using a custom API we developed. This API allows use to determine shipping rates in real time based on the order items and address.
I’ve extended the MagentoQuoteModelQuoteAddressRate object and am able to update the rates we return. In order to actually get the rate from our API however I need access to the order (or I guess it would be the Quote?) object. How would I be able to get the current order (or Quote) in MagentoQuoteModelQuoteAddressRate?