You are here

public function StripePaymentEvent::setBillingPostalCode in Stripe 2.x

File

src/Event/StripePaymentEvent.php, line 126

Class

StripePaymentEvent
Wraps a stripe event for webhook.

Namespace

Drupal\stripe\Event

Code

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