You are here

public function CouponInterface::getCustomerUsageLimit in Commerce Core 8.2

Gets the per customer coupon usage limit.

Represents the maximum number of times the coupon can be used by a customer. 0 for unlimited.

Return value

int The per customer coupon usage limit.

1 method overrides CouponInterface::getCustomerUsageLimit()
Coupon::getCustomerUsageLimit in modules/promotion/src/Entity/Coupon.php
Gets the per customer coupon usage limit.

File

modules/promotion/src/Entity/CouponInterface.php, line 96

Class

CouponInterface
Provides an interface for defining coupon entities.

Namespace

Drupal\commerce_promotion\Entity

Code

public function getCustomerUsageLimit();