You are here

class PayPalExpressDeriver in PayPal for Payment 8

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

Derives payment method plugin definitions based on configuration entities.

Hierarchy

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
BasicDeriver::$paymentMethodConfigurationManager protected property The payment method configuration manager.
BasicDeriver::$paymentMethodConfigurationStorage protected property The payment method configuration storage.
BasicDeriver::create public static function Creates a new class instance. Overrides ContainerDeriverInterface::create
BasicDeriver::__construct public function Constructs a new instance.
DeriverBase::$derivatives protected property List of derivative definitions. 1
DeriverBase::getDerivativeDefinition public function Gets the definition of a derivative plugin. Overrides DeriverInterface::getDerivativeDefinition
PayPalBasicDeriver::getDerivativeDefinitions public function Gets the definition of all derivatives of a base plugin. Overrides BasicDeriver::getDerivativeDefinitions
PayPalExpressDeriver::getId protected function TODO: Is there a built in way to determine this id from the deriver? Overrides PayPalBasicDeriver::getId