/**
  * For all modifers with their own database fields, we need to include this...
  * It will update each of the fields.
  * Within this method, we need to create the methods
  * Live{functionName}
  * e.g LiveMyField() and LiveMyReduction() in this case...
  * The OrderModifier already updates the basic database fields.
  * @param Bool $force - run it, even if it has run already
  */
 public function runUpdate($force = false)
 {
     $this->checkField("PostalCode");
     $this->checkField("SpecialProductCount");
     $this->checkField("NonSpecialProductCount");
     parent::runUpdate($force);
 }
 /**
  * For all modifers with their own database fields, we need to include this...
  * It will update each of the fields.
  * With this, we also need to create the methods
  * Live{functionName}
  * e.g LiveMyField() and LiveMyReduction() in this case...
  * @param Bool $force - run it, even if it has run already
  */
 public function runUpdate($force = false)
 {
     $this->checkField("AddDonation");
     $this->checkField("OtherValue");
     $this->checkField("SubTotal");
     $this->checkField("ModifierTotalExcludingDonation");
     parent::runUpdate($force);
 }
 /**
  * updates database fields
  * @param Bool $force - run it, even if it has run already
  * @return void
  */
 public function runUpdate($force = true)
 {
     $this->checkField("Country");
     $this->checkField("Rate");
     $this->checkField("TaxType");
     $this->checkField("TaxableAmount");
     parent::runUpdate($force);
 }
 /**
  * updates database fields
  * @param Bool $force - run it, even if it has run already
  * @return void
  */
 public function runUpdate($force = true)
 {
     if (isset($_GET['debug_profile'])) {
         Profiler::mark('OrderMaker::runUpdate');
     }
     if (!$this->IsRemoved()) {
         $this->checkField("OrderFor");
         parent::runUpdate($force);
     }
     if (isset($_GET['debug_profile'])) {
         Profiler::unmark('OrderMaker::runUpdate');
     }
 }
 /**
  * For all modifers with their own database fields, we need to include this...
  * It will update each of the fields.
  * Within this method, we need to create the methods
  * Live{functionName}
  * e.g LiveMyField() and LiveMyReduction() in this case...
  * The OrderModifier already updates the basic database fields.
  * @param Bool $force - run it, even if it has run already
  */
 public function runUpdate($force = false)
 {
     if (isset($_GET['debug_profile'])) {
         Profiler::mark('ModifierExample::runUpdate');
     }
     if (!$this->IsRemoved()) {
         $this->checkField("MyField");
         $this->checkField("MyReduction");
     }
     if (isset($_GET['debug_profile'])) {
         Profiler::unmark('ModifierExample::runUpdate');
     }
     parent::runUpdate($force);
 }
 /**
  * updates all database fields
  *
  * @param Bool $force - run it, even if it has run already
  */
 public function runUpdate($force = false)
 {
     if (!$this->IsRemoved()) {
         $this->checkField("SubTotalAmount");
         $this->checkField("CouponCodeEntered");
         $this->checkField("DiscountCouponOptionID");
     }
     parent::runUpdate($force);
 }
 /**
  * standard modifier method
  * @param Boolean $force - should the update run no matter what
  */
 public function runUpdate($force = false)
 {
     $this->addProductsPerCombo();
     parent::runUpdate($force);
 }
 /**
  * updates database fields
  * @param Bool $force - run it, even if it has run already
  * @return void
  */
 public function runUpdate($force = true)
 {
     $this->checkField("Country");
     $this->checkField("ShippingChargeType");
     parent::runUpdate($force);
 }
 /**
  * updates database fields
  * @param Bool $force - run it, even if it has run already
  * @return void
  */
 public function runUpdate($force = true)
 {
     $this->debugMessage = "";
     self::$calculations_done = false;
     self::$selected_option = null;
     self::$available_options = null;
     $this->checkField("OptionID");
     $this->checkField("SerializedCalculationObject");
     $this->checkField("TotalWeight");
     $this->checkField("SubTotalAmount");
     $this->checkField("RegionAndCountry");
     $this->checkField("CalculatedTotal");
     $this->checkField("DebugString");
     parent::runUpdate($force);
 }
 /**
  * updates database fields
  * @param Bool $force - run it, even if it has run already
  * @return void
  */
 public function runUpdate($force = true)
 {
     if (isset($_GET['debug_profile'])) {
         Profiler::mark('AUPostDeliverModifier::runUpdate');
     }
     //ORDER IS CRUCIAL HERE...
     $this->checkField("PostalCode");
     $this->checkField("IsPickUp");
     $this->checkField("TotalWeight");
     $this->checkField("Country");
     $this->checkField("ServiceType");
     $this->LiveCalculatedTotal();
     $this->checkField("TableSubTitle");
     //this must be last!
     if (isset($_GET['debug_profile'])) {
         Profiler::unmark('AUPostDeliverModifier::runUpdate');
     }
     parent::runUpdate($force);
 }
 /**
  * updates database fields
  * @param Bool $force - run it, even if it has run already
  * @return void
  */
 public function runUpdate($force = true)
 {
     //order is important!
     $this->checkField("DefaultCountry");
     $this->checkField("Country");
     $this->checkField("DefaultRate");
     $this->checkField("CurrentRate");
     $this->checkField("TaxType");
     $this->checkField("RawTableValue");
     $this->checkField("DebugString");
     parent::runUpdate($force);
 }