You are here

public function TransactionDataEvent::setTransactionData in Commerce Braintree 8

Sets the transaction data data array.

Parameters

array $transaction_data: The transaction data.

Return value

$this

File

src/Event/TransactionDataEvent.php, line 63

Class

TransactionDataEvent
Defines the transaction data event.

Namespace

Drupal\commerce_braintree\Event

Code

public function setTransactionData(array $transaction_data) {
  $this->transactionData = $transaction_data;
  return $this;
}