Tests de Repositories

This commit is contained in:
Juan Pablo Vial
2025-05-08 16:17:14 -04:00
parent ca5354a3ee
commit 5ad4fc4038
5 changed files with 552 additions and 0 deletions

View File

@ -0,0 +1,42 @@
<?php
namespace Incoviba\Service\MediosPago;
use Incoviba\Common\Implement\Exception\EmptyResponse;
interface EndPoint
{
/**
* @param string $id
* @return array
* @throws EmptyResponse
*/
public function getById(string $id): array;
/**
* @param string $id
* @return array
* @throws EmptyResponse
*/
public function get(string $id): array;
/**
* @param array $data
* @return bool
* @throws EmptyResponse
*/
public function add(array $data): bool;
/**
* @param string $id
* @param array $data
* @return bool
* @throws EmptyResponse
*/
public function edit(string $id, array $data): bool;
/**
* @param string $id
* @return void
* @throws EmptyResponse
*/
public function delete(string $id): void;
}