Class SourceField
- Namespace
- Dynamicweb.Ecommerce.ProductCatalog.SchemaOrg
- Assembly
- Dynamicweb.Ecommerce.dll
A product field that can be used as the source of a Schema.org property mapping.
public sealed class SourceField
- Inheritance
-
SourceField
- Inherited Members
Remarks
This is the Schema.org view of a product field: the identifier a mapping stores, where its value is read from, and what kind of value it holds. It carries nothing else on purpose, so the rest of the feature does not depend on how product fields happen to be modelled.
Properties
CategoryFieldId
public string? CategoryFieldId { get; init; }
Property Value
CategoryId
public string? CategoryId { get; init; }
Property Value
Id
The unique system name of the field, as stored on a mapping.
public required string Id { get; init; }
Property Value
Kind
The kind of value the field holds.
public required SourceFieldKind Kind { get; init; }
Property Value
Origin
Where the value is read from on a product view model.
public required SourceFieldOrigin Origin { get; init; }