You are here

public function PromotionUsageInterface::reassign in Commerce Core 8.2

Reassigns usage to a new customer email.

Parameters

string $old_mail: The old customer email.

string $new_mail: The new customer email.

1 method overrides PromotionUsageInterface::reassign()
PromotionUsage::reassign in modules/promotion/src/PromotionUsage.php
Reassigns usage to a new customer email.

File

modules/promotion/src/PromotionUsageInterface.php, line 37

Class

PromotionUsageInterface
Tracks promotion usage.

Namespace

Drupal\commerce_promotion

Code

public function reassign($old_mail, $new_mail);