You are here

public function PromotionInterface::getCustomerUsageLimit in Commerce Core 8.2

Gets the per customer promotion usage limit.

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

Return value

int The per customer promotion usage limit.

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

File

modules/promotion/src/Entity/PromotionInterface.php, line 265

Class

PromotionInterface
Defines the interface for promotions.

Namespace

Drupal\commerce_promotion\Entity

Code

public function getCustomerUsageLimit();