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\EventCode
public function setMetadata(array $metadata) {
$this->metadata = $metadata;
return $this;
}