code: public function addPackage(Package $package)
      {
          $packages = $this->getPackages();
          $packages[] = $package;
          $this->setPackages($packages);
  
          return $this;
      }
docs: @param Package $package
  
  @return Shipment