You are here

StripeEvents.php in Stripe 2.x

Same filename and directory in other branches
  1. 8 src/Event/StripeEvents.php

File

src/Event/StripeEvents.php
View source
<?php

namespace Drupal\stripe\Event;


/**
 * Defines events for stripe webhooks.
 * */
final class StripeEvents {

  /**
   * The name of the event fired when a webhook is received.
   *
   * @Event
   */
  const WEBHOOK = 'stripe.webhook';

  /**
   * The name of the event fired when allowing modules to change the client side
   * properties of the stripe workflow, like updating prices or massaging post
   * data to fill biling address.
   *
   * @Event
   */
  const PAYMENT = 'stripe.payment';

}

Classes

Namesort descending Description
StripeEvents Defines events for stripe webhooks.