Skip to content
Snippets Groups Projects
Select Git revision
  • 4d617af2ff01cbe105efd0d2010458028cfdd04c
  • main default protected
  • v1.303.0
  • v1.302.0
  • v1.301.0
  • v1.300.0
  • v1.299.0
  • v1.298.0
  • v1.297.0
  • v1.296.0
  • v1.295.0
  • v1.294.0
  • v1.293.0
  • v1.292.0
  • v1.291.0
  • v1.290.0
  • v1.289.0
  • v1.288.0
  • v1.287.0
  • v1.286.0
  • v1.285.0
  • v1.284.0
22 results

cognito.go

Blame
  • uSubs.php 515 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);
    
            if (isset($data['address']['company'])) {
                $destComp = $data['address']['company'];
            } else {
                $destComp = '';
            }
            return $destComp;
        }
    }