I have an order object with line items, shipping profiles and so on. I want to get current shipment service object (SSO) from my order object. I'm talking about flat rate price for order shipment.
I can get SSO from $order->commerce_line_items, but I have to run through all line items until I find SSO.
So, my question: what is the proper way for getting attached line_item shipment service?
Thanks in advance!