private function checkRequiredData($data, $isNew)
    {
        $this->checkDataSet($data, 'order', $isNew) && $this->checkDataSet($data['order'], 'id', $isNew);
        $this->checkDataSet($data, 'deliveryAddress', $isNew);
    }
private function checkRequiredData($data, $isNew)
    {
        $this->checkDataSet($data, 'order', $isNew) && $this->checkDataSet($data['order'], 'id', $isNew);
        $this->checkDataSet($data, 'deliveryAddress', $isNew);
    }
private function checkRequiredData ( $ data , $ isNew ) { $ this -> checkDataSet ( $ data , 'order' , $ isNew ) && $ this -> checkDataSet ( $ data [ 'order' ] , 'id' , $ isNew ) ; $ this -> checkDataSet ( $ data , 'deliveryAddress' , $ isNew ) ; }
check if necessary data is set
@param $data
@param $isNew
check if necessary data is set