You are here

public function PayPalExpress::getWebhookId in PayPal for Payment 2.0.x

Same name in this branch
  1. 2.0.x src/Plugin/Payment/MethodConfiguration/PayPalExpress.php \Drupal\paypal_payment\Plugin\Payment\MethodConfiguration\PayPalExpress::getWebhookId()
  2. 2.0.x src/Plugin/Payment/Method/PayPalExpress.php \Drupal\paypal_payment\Plugin\Payment\Method\PayPalExpress::getWebhookId()
Same name and namespace in other branches
  1. 8 src/Plugin/Payment/MethodConfiguration/PayPalExpress.php \Drupal\paypal_payment\Plugin\Payment\MethodConfiguration\PayPalExpress::getWebhookId()

Gets the webhook ID of this configuration.

Return value

string

2 calls to PayPalExpress::getWebhookId()
PayPalExpress::getDerivativeConfiguration in src/Plugin/Payment/MethodConfiguration/PayPalExpress.php
PayPalExpress::updateWebhook in src/Plugin/Payment/MethodConfiguration/PayPalExpress.php

File

src/Plugin/Payment/MethodConfiguration/PayPalExpress.php, line 49

Class

PayPalExpress
Provides the configuration for the PayPal Express payment method plugin.

Namespace

Drupal\paypal_payment\Plugin\Payment\MethodConfiguration

Code

public function getWebhookId() : string {
  return $this->configuration['webhookId'] ?? '';
}