/**
  * Set the tax has errors flag on the order create request if the tax
  * collector or any of the collected tax records contain an error.
  *
  * @param  IOrderCreateRequest
  * @param  Mage_Sales_Model_Order
  * @return self
  */
 public function addTaxHeaderErrorFlag()
 {
     // This may be made cleaner by just setting the flag to the result
     // of this condition but it is unclear if not setting the flag is the
     // same as setting the flag to false.
     if ($this->_taxCollectorHasErrors() || $this->_itemsHaveErrors()) {
         $this->_orderCreateRequest->setTaxHasErrors(true);
     }
     return $this;
 }
 /**
  * Set the tax has errors flag on the order create request if the tax
  * collector or any of the collected tax records contain an error.
  *
  * @param  IOrderCreateRequest
  * @param  Mage_Sales_Model_Order
  * @return self
  */
 public function addTaxHeaderErrorFlag()
 {
     $hasErrors = $this->_taxCollectorHasErrors() || $this->_itemsHaveErrors();
     $this->_orderCreateRequest->setTaxHasErrors($hasErrors);
     return $this;
 }