/**
  * Attributes in addition to those in OrderItem
  *
  * @return array
  */
 protected function getRootAttributes()
 {
     return array_merge(parent::getRootAttributes(), ['remainingQuantity' => $this->getRemainingQuantity()]);
 }
 protected function getRootAttributes()
 {
     return array_merge(parent::getRootAttributes(), ['shippedQuantity' => $this->getShippedQuantity()]);
 }