PHP Interface WellCommerce\Bundle\CouponBundle\Checker\CouponCheckerInterface

Author: Adam Piotrowski ([email protected])
Afficher le fichier Open project: wellcommerce/wellcommerce Interface Usage Examples

Méthodes publiques

Méthode Description
getError ( ) : string
isValid ( WellCommerce\Bundle\CouponBundle\Entity\CouponInterface $coupon ) : boolean Checks whether the coupon is valid for use

Method Details

getError() public méthode

public getError ( ) : string
Résultat string

isValid() public méthode

Checks whether the coupon is valid for use
public isValid ( WellCommerce\Bundle\CouponBundle\Entity\CouponInterface $coupon ) : boolean
$coupon WellCommerce\Bundle\CouponBundle\Entity\CouponInterface
Résultat boolean