public function CouponEvent::getCoupon in Commerce Core 8.2
Gets the coupon.
Return value
\Drupal\commerce_promotion\Entity\CouponInterface The coupon.
File
- modules/
promotion/ src/ Event/ CouponEvent.php, line 38
Class
- CouponEvent
- Defines the coupon event.
Namespace
Drupal\commerce_promotion\EventCode
public function getCoupon() {
return $this->coupon;
}