You are here

public function PromotionInterface::getUsageLimit in Commerce Core 8.2

Gets the promotion usage limit.

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

Return value

int The promotion usage limit.

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

File

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

Class

PromotionInterface
Defines the interface for promotions.

Namespace

Drupal\commerce_promotion\Entity

Code

public function getUsageLimit();