diff --git a/Model/Point.php b/Model/Point.php index 394ed8b..d2308a0 100644 --- a/Model/Point.php +++ b/Model/Point.php @@ -21,6 +21,10 @@ class Point extends AbstractModel implements \Mygento\Shipment\Api\Data\PointInt */ public function __toString() { + if (!$this->getProvider() && !$this->getProviderUid()) { + return ''; + } + return $this->getProvider() . '_' . $this->getProviderUid(); }