protected function getAddress(OrderInterface $order) { $ret = $order->getBillingAddress1(); if (null !== $order->getBillingAddress2()) { $ret .= ' ' . $order->getBillingAddress2(); } if (null !== $order->getBillingAddress3()) { $ret .= ' ' . $order->getBillingAddress3(); } return $ret; }