WC_Gateway_Paypal_Request::__construct()
Constructor.
Метод класса: WC_Gateway_Paypal_Request{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Gateway_Paypal_Request = new WC_Gateway_Paypal_Request(); $WC_Gateway_Paypal_Request->__construct( $gateway );
- $gateway(WC_Gateway_Paypal) (обязательный)
- Paypal gateway object.
Код WC_Gateway_Paypal_Request::__construct() WC Gateway Paypal Request:: construct WC 8.7.0
public function __construct( $gateway ) { $this->gateway = $gateway; $this->notify_url = WC()->api_request_url( 'WC_Gateway_Paypal' ); }