Permalink
Browse files

product

  • Loading branch information...
1 parent 85b598f commit fd6540e477e6448c5c42fba07a2084f422718250 @theodorDiaconu theodorDiaconu committed with iampersistent Jan 19, 2013
Showing with 17 additions and 3 deletions.
  1. +17 −3 lib/Vespolina/Entity/Product/BaseProduct.php
@@ -31,17 +31,31 @@
protected $attributes;
protected $createdAt;
protected $description;
- protected $id;
protected $media;
protected $name;
protected $optionGroups;
protected $taxonomies;
protected $type;
protected $updatedAt;
+ protected $price;
- public function getId()
+ /**
+ * @param float $price
+ * @return \Vespolina\Entity\Product\BaseProduct
+ */
+ public function setPrice($price)
+ {
+ $this->price = $price;
+
+ return $this;
+ }
+
+ /**
+ * @return float
+ */
+ public function getPrice()
{
- return $this->id;
+ return $this->price;
}
/**

0 comments on commit fd6540e

Please sign in to comment.