Automattic\WooCommerce\Internal\ProductFeed\Integrations\POSCatalog

ProductMapper::initpublicWC 1.0

Initialize the mapper.

Method of the class: ProductMapper{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ProductMapper = new ProductMapper();
$ProductMapper->init(): void;

ProductMapper::init() code WC 10.7.0

final public function init(): void {
	$this->products_controller   = new WC_REST_Products_Controller();
	$this->variations_controller = new WC_REST_Product_Variations_Controller();
}