Select Git revision
-
Christel Loftus authoredChristel Loftus authored
uSubs.php 417 B
<?php
namespace BobGroup\BobGo\Model\Carrier;
/** Get AdditionalInfo information if available from the Estimate Shipping Methods Request Body */
class uSubs
{
/**
* @return mixed|string
*/
public function getDestComp(): mixed
{
$data = json_decode(file_get_contents('php://input'), true);
return isset($data['address']['company']) ? $data['address']['company'] : '';
}
}