How to get data from previous step in Drupal commerce checkout process
I have found solution.

global $user;
$order = commerce_cart_order_load($user-&gt;uid);
$line_items_ids = array();

// get all line items IDs
foreach($order-&gt;commerce_line_items as $line_item){
  $line_items_ids[] = $line_item["line_item_id"];
}

// load only "shipping" line items
$shipping_line_items = commerce_line_item_load_multiple(
  $line_items_ids,
  array('type' =&gt; 'shipping'),
  FALSE
);


I haven't found cleaner way how to do this. Hope it helps somebody. I still would be glad if anyone knows how to do this better.