WordPress at Your Fingertips
function is not described

WC_Gateway_Paypal_Request::__construct() public WC 1.0

Constructor.

{} It's a method of the class: WC_Gateway_Paypal_Request{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Gateway_Paypal_Request::__construct() WC 5.7.1

public function __construct( $gateway ) {
	$this->gateway    = $gateway;
	$this->notify_url = WC()->api_request_url( 'WC_Gateway_Paypal' );
}