WC_WCCOM_Site_Installation_Manager::__construct()publicWC 1.0

Constructor.

Method of the class: WC_WCCOM_Site_Installation_Manager{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_WCCOM_Site_Installation_Manager = new WC_WCCOM_Site_Installation_Manager();
$WC_WCCOM_Site_Installation_Manager->__construct( $product_id, $idempotency_key );
$product_id(int) (required)
The product ID.
$idempotency_key(string) (required)
The idempotency key.

WC_WCCOM_Site_Installation_Manager::__construct() code WC 9.4.2

public function __construct( int $product_id, string $idempotency_key ) {
	$this->product_id      = $product_id;
	$this->idempotency_key = $idempotency_key;
}