Order total may be calculated with or without discounted items

This commit is contained in:
Franck Allimant
2014-06-10 16:00:46 +02:00
parent 39ff464319
commit 511bdf0d7c

View File

@@ -68,17 +68,19 @@ interface FacadeInterface
/**
* Return Products total price
* CartTotalPrice = Checkout total - discount - postage
* @param bool $withItemsInPromo true (default) if item in promotion should be included in the total, false otherwise.
*
* @return float
*/
public function getCartTotalPrice();
public function getCartTotalPrice($withItemsInPromo = true);
/**
* Return Product total tax price
* @param bool $withItemsInPromo true (default) if item in promotion should be included in the total, false otherwise.
*
* @return float
*/
public function getCartTotalTaxPrice();
public function getCartTotalTaxPrice($withItemsInPromo = true);
/**
* Return the Checkout currency EUR|USD