Automattic\WooCommerce\Internal\Admin\Settings

PaymentsRestController::initpublicWC 1.0

Initialize the class instance.

Method of the class: PaymentsRestController{}

No Hooks.

Returns

null. Nothing (null).

Usage

$PaymentsRestController = new PaymentsRestController();
$PaymentsRestController->init( $payments ): void;
$payments(Payments) (required)
The payments settings page service.

PaymentsRestController::init() code WC 9.9.3

final public function init( Payments $payments ): void {
	$this->payments = $payments;
}