You are here

public function PayPalBasic::getPaymentId in PayPal for Payment 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/Payment/Method/PayPalBasic.php \Drupal\paypal_payment\Plugin\Payment\Method\PayPalBasic::getPaymentId()

Return value

mixed|null

File

src/Plugin/Payment/Method/PayPalBasic.php, line 65

Class

PayPalBasic
Abstract class for PayPal payment methods.

Namespace

Drupal\paypal_payment\Plugin\Payment\Method

Code

public function getPaymentId() {
  return $this->configuration['paymentID'] ?? NULL;
}