You are here

public function TransactionDataEvent::setTransactionData in Commerce Stripe 8

Sets the transaction data data array.

Parameters

array $transaction_data: The transaction data.

Return value

$this

Deprecated

Transaction data is no longer influenced by this event.

File

src/Event/TransactionDataEvent.php, line 71

Class

TransactionDataEvent
Defines the transaction data event.

Namespace

Drupal\commerce_stripe\Event

Code

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