/**
  * @param ItemInterface $item
  * @return string XML
  */
 private function getItemShippingCostXmlString(ItemInterface $item)
 {
     $moneyFilter = new MoneyFilter();
     $str = '<shippingCost>%s</shippingCost>';
     $value = $item->getShippingCost();
     return !empty($value) ? sprintf($str, $moneyFilter->filter($value)) : null;
 }
 /**
  * @return string XML
  */
 private function getCostXmlString()
 {
     $cost = $this->shipping->getCost();
     $moneyFilter = new MoneyFilter();
     if (!$cost) {
         return null;
     }
     $str = '<cost>%s</cost>';
     return sprintf($str, $moneyFilter->filter($cost));
 }