Shipment/Resolver/ShipmentAddressResolver.php
private function getSaleDeliveryAddress(ShipmentInterface $shipment)
    {
        if (null === $sale = $shipment->getSale()) {
            throw new LogicException("Shipment's sale must be set at this point.");
        }

        return $sale->isSameAddress() ? $sale->getInvoiceAddress() : $sale->getDeliveryAddress();
    }
private function getSaleDeliveryAddress(ShipmentInterface $shipment)
    {
        if (null === $sale = $shipment->getSale()) {
            throw new LogicException("Shipment's sale must be set at this point.");
        }

        return $sale->isSameAddress() ? $sale->getInvoiceAddress() : $sale->getDeliveryAddress();
    }
Returns the delivery address of the shipment's sale.

@param ShipmentInterface $shipment

@return AddressInterface
@throws LogicException