Class ODPExportJob
Scheduled job that export data to ODP.
Inheritance
System.Object
ODPExportJob
Namespace: EPiServer.Commerce.ODP
Assembly: EPiServer.Commerce.ODP.dll
Version: 14.26.0Syntax
public class ODPExportJob : ScheduledJobBase
Constructors
ODPExportJob(ISiteDefinitionRepository, ODPJobOptions, LocalizationService, IProductExporter, IMarketService, ILogger<ODPExportJob>, IOrderExporter, ICustomerExporter, IHttpClientFactory, DynamicDataStoreFactory)
Initializes a new instance of the ODPExportJob class.
Declaration
public ODPExportJob(ISiteDefinitionRepository siteDefinitionRepository, ODPJobOptions options, LocalizationService localizationService, IProductExporter productExporter, IMarketService marketService, ILogger<ODPExportJob> logger, IOrderExporter orderExporter, ICustomerExporter customerExporter, IHttpClientFactory httpClientFactory, DynamicDataStoreFactory storeFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| EPiServer.Web.ISiteDefinitionRepository | siteDefinitionRepository | The site definition respository. |
| ODPJobOptions | options | The options for this scheduled job. |
| EPiServer.Framework.Localization.LocalizationService | localizationService | The service that is used to handle localization. |
| IProductExporter | productExporter | The service to handle product exporting. |
| IMarketService | marketService | The market service. |
| Microsoft.Extensions.Logging.ILogger<ODPExportJob> | logger | The logger |
| IOrderExporter | orderExporter | The order loader |
| ICustomerExporter | customerExporter | The customer loader |
| System.Net.Http.IHttpClientFactory | httpClientFactory | The HttpClient factory |
| EPiServer.Data.Dynamic.DynamicDataStoreFactory | storeFactory | The store factory |
Methods
Execute()
Declaration
public override string Execute()
Returns
| Type | Description |
|---|---|
| System.String |