Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

change method names from (s)(g)etPricingSet to (s)(g)etPricing

  • Loading branch information...
commit 296483fb8aa57a27736b2d4b270de4e2b1010c0c 1 parent fb75240
@iampersistent iampersistent authored
View
4 lib/Vespolina/Entity/Order/Cart.php
@@ -106,7 +106,7 @@ public function setPrice($name, $price)
/**
* @inheritdoc
*/
- public function getPricingSet()
+ public function getPricing()
{
return $this->pricingSet;
}
@@ -114,7 +114,7 @@ public function getPricingSet()
/**
* @inheritdoc
*/
- public function setPricingSet($pricingSet)
+ public function setPricing($pricingSet)
{
$this->pricingSet = $pricingSet;
}
View
4 lib/Vespolina/Entity/Order/CartInterface.php
@@ -96,7 +96,7 @@ function setPaymentInstruction($paymentInstruction);
*
* @return mixed
*/
- function getPricingSet();
+ function getPricing();
/**
* Set pricing information
@@ -104,7 +104,7 @@ function getPricingSet();
* @abstract
* @param $pricing
*/
- function setPricingSet($pricing);
+ function setPricing($pricing);
/**
* Return the cart creation date
View
4 lib/Vespolina/Entity/Order/Item.php
@@ -88,7 +88,7 @@ public function setParent(OrderInterface $parent)
/**
* @inheritdoc
*/
- public function setPricingSet(PricingSetInterface $pricingSet)
+ public function setPricing(PricingSetInterface $pricingSet)
{
$this->pricingSet = $pricingSet;
}
@@ -96,7 +96,7 @@ public function setPricingSet(PricingSetInterface $pricingSet)
/**
* @inheritdoc
*/
- public function getPricingSet()
+ public function getPricing()
{
return $this->pricingSet;
}
View
4 lib/Vespolina/Entity/Order/ItemInterface.php
@@ -59,14 +59,14 @@ function setParent(OrderInterface $parent);
*
* @param Vespolina\Entity\Pricing\PricingSetInterface $pricingSet
*/
- function setPricingSet(PricingSetInterface $pricingSet);
+ function setPricing(PricingSetInterface $pricingSet);
/**
* Return the pricing set for this item
*
* @return Vespolina\Pricing\PricingSetInterface|null
*/
- function getPricingSet();
+ function getPricing();
/**
* Return the product for this item
Please sign in to comment.
Something went wrong with that request. Please try again.