You are here

final class PayPalEvents in Commerce PayPal 8

Defines events for the Commerce PayPal module.

Hierarchy

Expanded class hierarchy of PayPalEvents

3 files declare their use of PayPalEvents
CheckoutSdk.php in src/CheckoutSdk.php
ExpressCheckout.php in src/Plugin/Commerce/PaymentGateway/ExpressCheckout.php
PayflowLink.php in src/Plugin/Commerce/PaymentGateway/PayflowLink.php

File

src/Event/PayPalEvents.php, line 8

Namespace

Drupal\commerce_paypal\Event
View source
final class PayPalEvents {

  /**
   * Name of the event fired when performing the Express Checkout requests.
   *
   * @Event
   *
   * @see \Drupal\commerce_paypal\Event\ExpressCheckoutRequestEvent.php
   */
  const EXPRESS_CHECKOUT_REQUEST = 'commerce_paypal.express_checkout_request';

  /**
   * Name of the event fired when calling the PayPal API for creating an order.
   *
   * @Event
   *
   * @see \Drupal\commerce_paypal\Event\CheckoutOrderRequestEvent.php
   */
  const CHECKOUT_CREATE_ORDER_REQUEST = 'commerce_paypal.checkout_create_order_request';

  /**
   * Name of the event fired when calling the PayPal API for updating an order.
   *
   * @Event
   *
   * @see \Drupal\commerce_paypal\Event\CheckoutOrderRequestEvent.php
   */
  const CHECKOUT_UPDATE_ORDER_REQUEST = 'commerce_paypal.checkout_update_order_request';

  /**
   * Name of the event fired when performing the Payflow Link requests.
   *
   * @Event
   *
   * @see \Drupal\commerce_paypal\Event\PayflowLinkRequestEvent.php
   */
  const PAYFLOW_LINK_REQUEST = 'commerce_paypal.payflow_link_request';

}

Members

Namesort descending Modifiers Type Description Overrides
PayPalEvents::CHECKOUT_CREATE_ORDER_REQUEST constant Name of the event fired when calling the PayPal API for creating an order.
PayPalEvents::CHECKOUT_UPDATE_ORDER_REQUEST constant Name of the event fired when calling the PayPal API for updating an order.
PayPalEvents::EXPRESS_CHECKOUT_REQUEST constant Name of the event fired when performing the Express Checkout requests.
PayPalEvents::PAYFLOW_LINK_REQUEST constant Name of the event fired when performing the Payflow Link requests.