You are here

public function StripePaymentEvent::setBillingCity in Stripe 2.x

File

src/Event/StripePaymentEvent.php, line 110

Class

StripePaymentEvent
Wraps a stripe event for webhook.

Namespace

Drupal\stripe\Event

Code

public function setBillingCity(string $city) {
  $this->billing['address']['city'] = $city;
}