You are here

public function ExpressCheckoutRequestEvent::setNvpData in Commerce PayPal 8

Sets the NVP API data array.

Parameters

array $nvp_data: The NVP API data array as documented.

Return value

$this

File

src/Event/ExpressCheckoutRequestEvent.php, line 70

Class

ExpressCheckoutRequestEvent
Defines the Express Checkout request event.

Namespace

Drupal\commerce_paypal\Event

Code

public function setNvpData(array $nvp_data) {
  $this->nvpData = $nvp_data;
  return $this;
}