Version: 2017.1

ProductDefinitionConstructor

Switch to Manual
public ProductDefinition (string id, string storeSpecificId, Purchasing.ProductType type);

Parameters

id Store-independent ID.
storeSpecificId Store-specific ID.
type Product type.

Description

Create a ProductDefinition with different Store-independent ID and Store-specific ID. Use this when you need to two IDs to be different.


public ProductDefinition (string id, Purchasing.ProductType type);

Parameters

id Store-independent ID and store-specific ID.
type Product type.

Description

Create a ProductDefinition where the Store-independent ID is the same as the store-specific ID. Use this when you don't need the two IDs to be different.