Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Interface IProductCustomFieldsHandler

A handler for creating schema and populating custom fields for proudcts object in ODP

Namespace: EPiServer.Commerce.ODP
Assembly: EPiServer.Commerce.ODP.dll
Version: 14.26.0
Syntax
public interface IProductCustomFieldsHandler

Methods

CreateFields()

Gets the custom fields for the product.

Declaration
IEnumerable<SchemaObjectCreateField> CreateFields()
Returns
Type Description
System.Collections.Generic.IEnumerable<SchemaObjectCreateField>

An System.Collections.Generic.IEnumerable<>

GetFieldValues(EntryContentBase)

Gets the field values from the entry.

Declaration
Dictionary<string, object> GetFieldValues(EntryContentBase entry)
Parameters
Type Name Description
EntryContentBase entry
Returns
Type Description
System.Collections.Generic.Dictionary<System.String, System.Object>