code: public function addItem(ItemsReceiptRequestItem $item)
      {
          if (!in_array($item, $this->items)) {
              $this->items[] = $item;
          }
  
          return $this;
      }
docs: @param ItemsReceiptRequestItem $item
  
  @return $this