Automattic\WooCommerce\Gateways\PayPal

Request::__construct │ public │ WC 1.0

Constructor.

Method of the class: Request{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Request = new Request();
$Request->__construct( $gateway );
$gateway(WC_Gateway_Paypal) (required)
Paypal gateway object.

Request::__construct() code WC 11.1.2

public function __construct( \WC_Gateway_Paypal $gateway ) {
	$this->gateway = $gateway;
}