protected function mapModelToConnecResource($product)
 {
     $product_hash = array();
     //$product_hash['serial_number'] = $product->column_fields['serial_no'];
     //$product_hash['part_number'] = $product->column_fields['productcode'];
     // Map attributes
     $product_hash['code'] = $product->reference;
     $product_hash['name'] = $product->name[1];
     $product_hash['description'] = $product->description[1];
     $product_hash['sale_price'] = array('net_amount' => $this->format_string_to_decimal($product->price));
     // Default product type to PURCHASED on creation
     if ($this->is_new($product)) {
         $product_hash['type'] = 'PURCHASED';
     }
     //Product Weight
     $product_hash['weight'] = $product->weight;
     // Product Status
     $product_hash['status'] = $product->active ? "ACTIVE" : "INACTIVE";
     // Inventory tracking
     $qtyinstock = $this->format_string_to_decimal($product->quantity);
     $product_hash['quantity_on_hand'] = $qtyinstock;
     // Tax for th Product
     ProductMapper::mapTaxToConnecResource($product, $product_hash);
     return $product_hash;
 }