3namespace Sale\Handlers\Delivery\Rest\DataProviders;
12final class RecipientContact
18 public static function getData(Sale\Shipment $shipment): ?
array
20 $recipientContact = Sale\Delivery\Services\RecipientDataProvider::getContact($shipment);
21 if (!$recipientContact instanceof Sale\Delivery\Services\Contact)
27 'NAME' => $recipientContact->getName(),
30 $phones = $recipientContact->getPhones();
34 foreach ($phones as $phone)
37 'TYPE' => $phone->getType(),
38 'VALUE' => $phone->getValue(),
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)