You are here

public function PaymentOffsiteForm::__construct in Commerce PayPal 8

Constructs a new PaymentOffsiteForm object.

Parameters

\Drupal\commerce_paypal\SmartPaymentButtonsBuilderInterface $builder: The Smart payment buttons builder.

File

src/PluginForm/Checkout/PaymentOffsiteForm.php, line 31

Class

PaymentOffsiteForm
Provides the Off-site form for PayPal Checkout.

Namespace

Drupal\commerce_paypal\PluginForm\Checkout

Code

public function __construct(SmartPaymentButtonsBuilderInterface $builder) {
  $this->builder = $builder;
}