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 ICustomerCustomFieldsHandler

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

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

Methods

CreateFields()

Gets the custom fields for the customers.

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

An System.Collections.Generic.IEnumerable<>

GetFieldValues(ContactEntity)

Gets the field values from the contact.

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