Automattic\WooCommerce\Gateways\PayPal

Request::__constructpublicWC 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 10.7.0

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