Log in
Interface

ExportInfoInterface

Magento\ImportExport\Api\Data\ExportInfoInterface

What it does

This interface defines the data structure for export operations in Magento 2, specifying required information like filename, file format (CSV, XML), content type, entity type (products, customers), and export filters.

Developers implement this interface when creating custom export functionality or when programmatically triggering exports through the API, ensuring all necessary export parameters are properly structured and accessible.

Public Methods

  • getFileName()
  • setFileName()
  • getFileFormat()
  • setFileFormat()
  • getContentType()
  • setContentType()
  • getEntity()
  • setEntity()
  • getExportFilter()
  • setExportFilter()