WC_Gateway_Paypal_Request::__construct()publicWC 1.0

Constructor.

Method of the class: WC_Gateway_Paypal_Request{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WC_Gateway_Paypal_Request::__construct() code WC 8.7.0

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