Class CompletnessResult
- Namespace
- Dynamicweb.Ecommerce.Products.CompletionRules
- Assembly
- Dynamicweb.Ecommerce.dll
Represents information about a product completness.
public class CompletnessResult
- Inheritance
-
CompletnessResult
- Inherited Members
Properties
Value
Gets product completeness value which is weight value means how much the product satisfies the completion rules. This value is in range [0, 100].
public int Value { get; }
Property Value
Methods
HasFieldValue(string, string, string, ProductField)
Checks whether the product field has value.
public bool HasFieldValue(string productId, string productVariantId, string productLanguageId, ProductField field)
Parameters
productId
string- The product id.
productVariantId
string- the product variant id.
productLanguageId
string- The product language id.
field
ProductField- The field system to check.
Returns
- bool
- Value indicating whether field considered as filled.
ProductValueExcludedFromCalculations(string, string, string, ProductField)
Checks whether the product field value considered as inherited and not included in calculation.
public bool ProductValueExcludedFromCalculations(string productId, string productVariantId, string productLanguageId, ProductField field)
Parameters
productId
string- The product id.
productVariantId
string- the product variant id.
productLanguageId
string- The product language id.
field
ProductField- The field system to check.
Returns
- bool
- Value indicating whether field considered as filled.