You are here

public function StripePaymentEvent::setBillingCountry in Stripe 2.x

File

src/Event/StripePaymentEvent.php, line 114

Class

StripePaymentEvent
Wraps a stripe event for webhook.

Namespace

Drupal\stripe\Event

Code

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