You are here

public function IPNHandler::__construct in Commerce PayPal 8

Constructs a new PaymentGatewayBase object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Psr\Log\LoggerInterface $logger: The logger channel.

\GuzzleHttp\ClientInterface $client: The client.

File

src/IPNHandler.php, line 45

Class

IPNHandler

Namespace

Drupal\commerce_paypal

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, LoggerInterface $logger, ClientInterface $client) {
  $this->entityTypeManager = $entity_type_manager;
  $this->logger = $logger;
  $this->httpClient = $client;
}