You are here

public function StripePaymentEvent::setMetadata in Stripe 2.x

File

src/Event/StripePaymentEvent.php, line 146

Class

StripePaymentEvent
Wraps a stripe event for webhook.

Namespace

Drupal\stripe\Event

Code

public function setMetadata(string $key, $value) {
  $this->metadata[$key] = $value;
}