Permalink
Browse files

updates to items concerning the pricing set

  • Loading branch information...
1 parent 7705c57 commit 4802596590b0275243852d1996f0869cdfc96f47 @iampersistent iampersistent committed Jul 26, 2012
Showing with 3 additions and 4 deletions.
  1. +1 −2 lib/Vespolina/Entity/Order/Item.php
  2. +2 −2 lib/Vespolina/Entity/Order/ItemInterface.php
View
3 lib/Vespolina/Entity/Order/Item.php
@@ -10,7 +10,7 @@
use Vespolina\Exception\InvalidOptionsException;
use Vespolina\Entity\Order\ItemInterface;
-use Vespolina\Pricing\PricingSetInterface;
+use Vespolina\Entity\Pricing\PricingSetInterface;
use Vespolina\Entity\ProductInterface;
/**
@@ -55,7 +55,6 @@ public function setName($name)
public function getOption($type)
{
if (isset($this->options[$type])) {
-
return $this->options[$type];
}
View
4 lib/Vespolina/Entity/Order/ItemInterface.php
@@ -9,7 +9,7 @@
namespace Vespolina\Entity\Order;
use Vespolina\Entity\Order\OrderInterface;
-use Vespolina\Pricing\PricingSetInterface;
+use Vespolina\Entity\Pricing\PricingSetInterface;
/**
* ItemInterface is an interface for items in an order
@@ -57,7 +57,7 @@ function setParent(OrderInterface $parent);
/**
* Set a pricing set for this item
*
- * @param Vespolina\Pricing\PricingSetInterface $pricingSet
+ * @param Vespolina\Entity\Pricing\PricingSetInterface $pricingSet
*/
function setPricingSet(PricingSetInterface $pricingSet);

0 comments on commit 4802596

Please sign in to comment.