You are here

public function WorldPayHelper::__construct in Commerce Worldpay 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Commerce/PaymentGateway/WorldPayHelper.php \Drupal\commerce_worldpay\Plugin\Commerce\PaymentGateway\WorldPayHelper::__construct()

WorldPayHelper constructor.

Parameters

\Drupal\commerce_order\Entity\OrderInterface $order:

$configuration:

File

src/Plugin/Commerce/PaymentGateway/WorldPayHelper.php, line 39

Class

WorldPayHelper
Class WorldPayHelper Helper class for collecting form data.

Namespace

Drupal\commerce_worldpay\Plugin\Commerce\PaymentGateway

Code

public function __construct(OrderInterface $order, $configuration) {
  $this->order = $order;
  $this->config = $configuration;
}