Class FieldValueConversionRule
- Namespace
- Dynamicweb.Ecommerce.Products.FieldValueConversions
- Assembly
- Dynamicweb.Ecommerce.dll
Represents a rule for when to apply a specific FieldValueConversion.
[Experimental("DWEX100002")]
public sealed class FieldValueConversionRule
- Inheritance
-
FieldValueConversionRule
- Inherited Members
Remarks
This class is used to define rules that determine when a specific field value conversion should be applied based on the field and language.
Properties
Decimals
The number of decimals to use when applying the conversion, if applicable.
public int? Decimals { get; set; }
Property Value
- int?
FieldId
The ID of the field this rule applies to.
public required string FieldId { get; set; }
Property Value
FieldValueConversionId
The ID of the FieldValueConversion to apply when this rule matches.
public required int FieldValueConversionId { get; set; }
Property Value
Id
The ID
public int Id { get; }
Property Value
LanguageId
The language ID this rule applies to. If null, the rule applies to all languages.
public string? LanguageId { get; set; }