phpDocumentor

SetStepDoneProductWriteService extends SetStepDoneProductWriteService_parent
in package

Table of Contents

createProduct()  : int
Create Product
updateProduct()  : ProductWriteServiceInterface
Update Product

Methods

createProduct()

Create Product

public createProduct(ProductInterface $product) : int

Creates a new product and returns the ID of it.

Parameters
$product : ProductInterface

The product to create.

Tags
throws
InvalidArgumentException

Through "linkProduct" method.

Return values
int

The ID of the created product.

Search results