You are here

public function StripePaymentEvent::setBillingName in Stripe 2.x

File

src/Event/StripePaymentEvent.php, line 138

Class

StripePaymentEvent
Wraps a stripe event for webhook.

Namespace

Drupal\stripe\Event

Code

public function setBillingName(string $name) {
  $this->billing['name'] = $name;
}