public function CouponInterface::setCustomerUsageLimit in Commerce Core 8.2
Sets the per customer coupon usage limit.
Parameters
int $usage_limit_customer: The per customer coupon usage limit.
Return value
$this
1 method overrides CouponInterface::setCustomerUsageLimit()
- Coupon::setCustomerUsageLimit in modules/
promotion/ src/ Entity/ Coupon.php - Sets the per customer coupon usage limit.
File
- modules/
promotion/ src/ Entity/ CouponInterface.php, line 106
Class
- CouponInterface
- Provides an interface for defining coupon entities.
Namespace
Drupal\commerce_promotion\EntityCode
public function setCustomerUsageLimit($usage_limit_customer);