You are here

class BraintreeEvents in Commerce Braintree 8

Defines events for the Commerce Braintree module.

Hierarchy

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\Event
View 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

Namesort descending Modifiers Type Description Overrides
BraintreeEvents::TRANSACTION_DATA constant Name of the event fired to add additional transaction data.