You are here

public function StripeWebhookEvent::getEvent in Stripe 8

Same name and namespace in other branches
  1. 2.x src/Event/StripeWebhookEvent.php \Drupal\stripe\Event\StripeWebhookEvent::getEvent()

Gets Stripe API event object.

Return value

\Stripe\Event The Stripe API event object

File

src/Event/StripeWebhookEvent.php, line 36

Class

StripeWebhookEvent
Wraps a stripe event for webhook.

Namespace

Drupal\stripe\Event

Code

public function getEvent() {
  return $this->event;
}