WIP Coupon
Refactor : creating dedicated reusable module for Constraints Adding ConstraintManager Secured : - Effects : RemoveXPercent + RemoveXAmount - Validators : all except ModelParam (need CustomerModelParam, AreaModelParam, CountryModelParam ?) - Conditions : AvailableForTotalAmount
This commit is contained in:
@@ -179,7 +179,7 @@ class CouponBaseAdapter implements CouponAdapterInterface
|
||||
*/
|
||||
public function getContainer()
|
||||
{
|
||||
// TODO: Implement getCheckoutPostagePrice() method.
|
||||
// TODO: Implement getContainer() method.
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -191,4 +191,16 @@ class CouponBaseAdapter implements CouponAdapterInterface
|
||||
{
|
||||
return $this->getContainer()->get('thelia.translator');
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return the main currency
|
||||
* THe one used to set prices in BackOffice
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getMainCurrency()
|
||||
{
|
||||
// TODO: Implement getMainCurrency() method.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user