class BraintreeEvents in Commerce Braintree 8
Defines events for the Commerce Braintree module.
Hierarchy
- class \Drupal\commerce_braintree\Event\BraintreeEvents
Expanded class hierarchy of BraintreeEvents
1 file declares its use of BraintreeEvents
- HostedFields.php in src/
Plugin/ Commerce/ PaymentGateway/ HostedFields.php
File
- src/
Event/ BraintreeEvents.php, line 8
Namespace
Drupal\commerce_braintree\EventView source
class BraintreeEvents {
/**
* Name of the event fired to add additional transaction data.
*
* This event is triggered when a Charge transaction is going
* to be created. It allows subscribers to add additional
* transaction data and metadata about the transaction.
*
* @Event
*
* @see https://developers.braintreepayments.com/reference/request/transaction/sale/php
* @see \Drupal\commerce_braintree\Event\TransactionDataEvent
*/
const TRANSACTION_DATA = 'commerce_braintree.transaction_data';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BraintreeEvents:: |
constant | Name of the event fired to add additional transaction data. |