You are here

public function PromotionInterface::setCustomerUsageLimit in Commerce Core 8.2

Sets the per customer promotion usage limit.

Parameters

int $usage_limit_customer: The per customer promotion usage limit.

Return value

$this

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

File

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

Class

PromotionInterface
Defines the interface for promotions.

Namespace

Drupal\commerce_promotion\Entity

Code

public function setCustomerUsageLimit($usage_limit_customer);