WC_WCCOM_Site_Installation_Manager::__construct
Constructor.
Method of the class: WC_WCCOM_Site_Installation_Manager{}
No Hooks.
Returns
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)
- The idempotency key.
Default:''
WC_WCCOM_Site_Installation_Manager::__construct() WC WCCOM Site Installation Manager:: construct code WC 10.6.2
public function __construct( int $product_id, string $idempotency_key = '' ) {
$this->product_id = $product_id;
$this->idempotency_key = $idempotency_key;
}