WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

ShippingLabelBannerDisplayRules::__construct() public WC 1.0

Constructor.

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

No Hooks.

Return

null. Nothing.

Usage

$ShippingLabelBannerDisplayRules = new ShippingLabelBannerDisplayRules();
$ShippingLabelBannerDisplayRules->__construct( $jetpack_version, $jetpack_connected, $wcs_version, $wcs_tos_accepted, $incompatible_plugins_installed );
$jetpack_version(string) (required)
Installed Jetpack version to check.
$jetpack_connected(true|false) (required)
Is Jetpack connected?.
$wcs_version(string) (required)
Installed WooCommerce Shipping & Tax version to check.
$wcs_tos_accepted(true|false) (required)
WooCommerce Shipping & Tax Terms of Service accepted?.
$incompatible_plugins_installed(true|false) (required)
Are there any incompatible plugins installed?.

Code of ShippingLabelBannerDisplayRules::__construct() WC 5.3.0

<?php
public function __construct( $jetpack_version, $jetpack_connected, $wcs_version, $wcs_tos_accepted, $incompatible_plugins_installed ) {
	$this->jetpack_version                   = $jetpack_version;
	$this->jetpack_connected                 = $jetpack_connected;
	$this->wcs_version                       = $wcs_version;
	$this->wcs_tos_accepted                  = $wcs_tos_accepted;
	$this->no_incompatible_plugins_installed = ! $incompatible_plugins_installed;
}