Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace ImovelZapAi\Publishing\Connectors\GroupOlx\Application\Ports; |
| 6 | |
| 7 | use ImovelZapAi\Publishing\Connectors\GroupOlx\Application\Data\GroupOlxPublicFeedData; |
| 8 | |
| 9 | /** |
| 10 | * Disponibiliza e resolve a URL pública do feed para importação pelo Grupo OLX. |
| 11 | */ |
| 12 | interface GroupOlxPublicFeedInterface |
| 13 | { |
| 14 | /** |
| 15 | * Persiste o XML validado e retorna a URL pública importável. |
| 16 | */ |
| 17 | public function publish(string $tenantId, string $xml, ?int $listingCount = null): GroupOlxPublicFeedData; |
| 18 | |
| 19 | /** |
| 20 | * Resolve a URL pública já existente (sem regenerar). |
| 21 | */ |
| 22 | public function resolveUrl(string $tenantId): string; |
| 23 | |
| 24 | public function isAvailable(string $tenantId): bool; |
| 25 | } |