You are here

public function TransactionDataEvent::setMetadata in Commerce Stripe 8

Sets the metadata array.

Parameters

array $metadata: The metadata.

Return value

$this

File

src/Event/TransactionDataEvent.php, line 94

Class

TransactionDataEvent
Defines the transaction data event.

Namespace

Drupal\commerce_stripe\Event

Code

public function setMetadata(array $metadata) {
  $this->metadata = $metadata;
  return $this;
}