public function CheckoutOrderRequestEvent::setRequestBody in Commerce PayPal 8
Sets the API request body.
Parameters
array $request_body: The API request body.
Return value
$this
File
- src/
Event/ CheckoutOrderRequestEvent.php, line 70
Class
- CheckoutOrderRequestEvent
- Defines the Checkout order request event.
Namespace
Drupal\commerce_paypal\EventCode
public function setRequestBody(array $request_body) {
$this->requestBody = $request_body;
return $this;
}