protected function preBuild() { $this->entityDTO->isPending = $this->entity->isPending(); $this->entityDTO->isProcessing = $this->entity->isProcessing(); $this->entityDTO->isPartiallyShipped = $this->entity->isPartiallyShipped(); $this->entityDTO->isShipped = $this->entity->isShipped(); $this->entityDTO->isComplete = $this->entity->isComplete(); $this->entityDTO->isCanceled = $this->entity->isCanceled(); }