/**
  *
  * @access public
  * @return void
  */
 public function __construct(array $aItems, $locationData)
 {
     parent::__construct();
     $this->_aData = $aItems;
     $this->_getItemList($locationData);
     $this->_skusToNsIds();
 }
 /**
  *
  * @access public
  * @return void
  */
 public function __construct(array $aPayment)
 {
     parent::__construct();
     $this->_aData = $aPayment;
     $this->_map();
     $this->_logic();
 }
 /**
  *
  * @access public
  * @return void
  */
 public function __construct(array $aDiscount)
 {
     parent::__construct();
     $this->_aData = $aDiscount;
     $this->_map();
     $this->_logic();
     $this->_getDiscountedItems();
 }
 /**
  *
  * @access public
  * @return void
  */
 public function __construct(array $aDiscounts)
 {
     parent::__construct();
     if (!empty($aDiscounts)) {
         $this->_getDiscountList($aDiscounts);
         $this->_popDiscounts();
     }
 }
 /**
  *
  * @access public
  * @return void
  */
 public function __construct(array $aExchange)
 {
     parent::__construct();
     $this->_aData = $aExchange;
     //$this->_map();
     //$this-> _setInternalSources( $locationData );
     //$this->_logic( $items );
 }
 /**
  *
  * @access public
  * @return void
  */
 public function __construct(array $aRefund, $locationData, LivePos_Maps_Itemlist $items)
 {
     parent::__construct();
     $this->_aData = $aRefund;
     $this->_map();
     $this->_setInternalSources($locationData);
     $this->_logic($items);
 }
 /**
  *
  * @access public
  * @return void
  */
 public function __construct(array $aInventoryItem, $fNewCount)
 {
     foreach (get_object_vars($this) as $key => $value) {
         $this->{$key} = $aInventoryItem[$key];
     }
     /*
     		$aInventoryItem = ( array_merge( get_object_vars( $this ), $aInventoryItem ) );
     		
     		foreach( $aInventoryItem as $key => $value ) {
     			$this->$key = $value;
     		}
     */
     $this->logic($fNewCount);
     parent::__construct();
 }
 /**
  *
  * @access public
  * @return void
  */
 public function __construct(array $aItem, $locationData, $bMergeItem = false)
 {
     parent::__construct();
     if (!$bMergeItem) {
         $this->_aData = $aItem;
         $this->_aLocationData = $locationData;
         $this->_map();
         $this->_setAddress();
         $this->_logic();
     } else {
         $aItem = array_merge(get_object_vars($this), $aItem);
         foreach ($aItem as $key => $value) {
             $this->{$key} = $value;
         }
         $this->_originalprice = $this->rate;
     }
 }
 /**
  *
  * @access public
  * @return void
  */
 public function __construct(array $aOrder, $locationData, $sOrderId)
 {
     parent::__construct();
     $this->_aData = $aOrder;
     $this->custbody_order_source_id = $sOrderId;
     $this->_map();
     $this->_setInternalSources($locationData);
     $this->_logic();
 }
 /**
  *
  * @access public
  * @return void
  */
 public function __construct(array $aOrder, $locationData)
 {
     parent::__construct();
     $this->_setInternalSources($locationData);
 }
 /**
  *
  * @access public
  * @return void
  */
 public function __construct(array $aPayments)
 {
     parent::__construct();
     $this->_aData = $aPayments;
     $this->_getPaymentList();
 }