You are here

class PayPalExpressDeriver in PayPal for Payment 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/Payment/Method/PayPalExpressDeriver.php \Drupal\paypal_payment\Plugin\Payment\Method\PayPalExpressDeriver

Derives payment method plugin definitions based on configuration entities.

Hierarchy

  • class \Drupal\paypal_payment\Plugin\Payment\Method\PayPalBasicDeriver extends \Drupal\payment\Plugin\Payment\Method\BasicDeriver

Expanded class hierarchy of PayPalExpressDeriver

File

src/Plugin/Payment/Method/PayPalExpressDeriver.php, line 8

Namespace

Drupal\paypal_payment\Plugin\Payment\Method
View source
class PayPalExpressDeriver extends PayPalBasicDeriver {

  /**
   * {@inheritdoc}
   */
  protected function getId() : string {
    return 'paypal_payment_express';
  }

}

Members

Namesort descending Modifiers Type Description Overrides
PayPalBasicDeriver::getDerivativeDefinitions public function
PayPalExpressDeriver::getId protected function TODO: Is there a built in way to determine this id from the deriver? Overrides PayPalBasicDeriver::getId