Automattic\WooCommerce\Gateways\PayPal
Request::__construct
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() Request:: construct code WC 10.7.0
public function __construct( \WC_Gateway_Paypal $gateway ) {
$this->gateway = $gateway;
}