👁 查看:ConverterInterface.php
路径:/home/forge/woocommerce-square/vendor/apimatic/core-interfaces/src/Sdk/ConverterInterface.php
大小:715 B · 修改:2025-12-23 20:26:26 · 权限:0644 · 可写
<?php
namespace CoreInterfaces\Sdk;
use CoreInterfaces\Core\ContextInterface;
use CoreInterfaces\Core\Request\RequestInterface;
use CoreInterfaces\Core\Response\ResponseInterface;
interface ConverterInterface
{
public function createApiException(string $message, RequestInterface $request, ?ResponseInterface $response);
public function createHttpContext(ContextInterface $context);
public function createHttpRequest(RequestInterface $request);
public function createHttpResponse(ResponseInterface $response);
public function createApiResponse(ContextInterface $context, $deserializedBody);
public function createFileWrapper(string $realFilePath, ?string $mimeType, ?string $filename);
}