Log in
Interface

ConverterInterface

Magento\SaaSCommon\Model\Http\ConverterInterface

What it does

This interface defines a contract for converting HTTP request and response bodies between different formats (like JSON, XML, etc.) in SaaS integrations.

Developers implement this interface to create custom converters that handle serialization/deserialization of data and specify appropriate content-type headers for API communication with Adobe's SaaS services.

Public Methods

  • fromBody()
  • toBody()
  • getContentTypeHeader()
  • getContentMediaType()
  • getContentEncoding()