WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

SetUpAdditionalPaymentTypes::__construct() public WC 1.0

Constructor.

{} It's a method of the class: SetUpAdditionalPaymentTypes{}

No Hooks.

Return

null. Nothing.

Usage

$SetUpAdditionalPaymentTypes = new SetUpAdditionalPaymentTypes();
$SetUpAdditionalPaymentTypes->__construct();

Code of SetUpAdditionalPaymentTypes::__construct() WC 5.2.2

<?php
public function __construct() {
	add_action(
		'activate_woocommerce-payments/woocommerce-payments.php',
		array(
			$this,
			'on_activate_wcpay',
		)
	);
	add_action(
		'deactivate_woocommerce-payments/woocommerce-payments.php',
		array(
			$this,
			'on_deactivate_wcpay',
		)
	);
}