WC_Gateway_Paypal_Request::__construct( WC_Gateway_Paypal $gateway )
Constructor.
Description Description
Parameters Parameters
- $gateway
-
(Required) Paypal gateway object.
Source Source
File: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
public function __construct( $gateway ) {
$this->gateway = $gateway;
$this->notify_url = WC()->api_request_url( 'WC_Gateway_Paypal' );
}