interface CouponValidatorInterface (View source)

Methods

bool
validate(string $coupon)

Validate a coupon for whether it can be used.

Details

bool validate(string $coupon)

Validate a coupon for whether it can be used.

Parameters

string $coupon

Return Value

bool