final class PayPalEvents in Commerce PayPal 8
Defines events for the Commerce PayPal module.
Hierarchy
- class \Drupal\commerce_paypal\Event\PayPalEvents
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\EventView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PayPalEvents:: |
constant | Name of the event fired when calling the PayPal API for creating an order. | ||
PayPalEvents:: |
constant | Name of the event fired when calling the PayPal API for updating an order. | ||
PayPalEvents:: |
constant | Name of the event fired when performing the Express Checkout requests. | ||
PayPalEvents:: |
constant | Name of the event fired when performing the Payflow Link requests. |