Automattic\WooCommerce\Internal\Admin\Settings

PaymentsProviders::initpublicWC 1.0

Initialize the class instance.

Method of the class: PaymentsProviders{}

No Hooks.

Returns

null. Nothing (null).

Usage

$PaymentsProviders = new PaymentsProviders();
$PaymentsProviders->init( $payment_extension_suggestions, $proxy ): void;
$payment_extension_suggestions(ExtensionSuggestions) (required)
The payment extension suggestions service.
$proxy(LegacyProxy) (required)
The LegacyProxy instance.

PaymentsProviders::init() code WC 10.7.0

final public function init( ExtensionSuggestions $payment_extension_suggestions, LegacyProxy $proxy ): void {
	$this->extension_suggestions = $payment_extension_suggestions;
	$this->proxy                 = $proxy;
}