code: public function setMaxParcelDimensions($value = null)
      {
          if(is_array($value)) {
              $value = new ParcelDimensions($value);
          } elseif(!($value instanceof ParcelDimensions)) {
              $value = null;
          }
          return $this->setParameter('max_parcel_dimensions', $value);
      }
docs: Set office max allowed Dimensions
  @param $value
  @return $this