• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

chico-rei / correios-php / 20378555642

19 Dec 2025 06:10PM UTC coverage: 4.758% (-0.5%) from 5.302%
20378555642

push

github

Matheus Marques
Add /v1/prepostagens/postada endpoint

0 of 123 new or added lines in 3 files covered. (0.0%)

57 of 1198 relevant lines covered (4.76%)

0.06 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Request/GetPrePostagemPostadaRequest.php
1
<?php
2

3
namespace ChicoRei\Packages\Correios\Request;
4

5
use ChicoRei\Packages\Correios\CorreiosObject;
6

7
class GetPrePostagemPostadaRequest extends CorreiosObject implements CorreiosRequest
8
{
9
    /**
10
     * Código identificador do objeto. Tamanho máximo: 13 caracteres.
11
     */
12
    public ?string $codigoObjeto = null;
13

14
    public function getCodigoObjeto(): ?string
15
    {
NEW
16
        return $this->codigoObjeto;
×
17
    }
18

19
    public function setCodigoObjeto(?string $codigoObjeto): GetPrePostagemPostadaRequest
20
    {
NEW
21
        $this->codigoObjeto = $codigoObjeto;
×
NEW
22
        return $this;
×
23
    }
24

25
    public function getMethod(): string
26
    {
NEW
27
        return 'GET';
×
28
    }
29

30
    public function getPath(): string
31
    {
NEW
32
        return '/prepostagem/v1/prepostagens/postada';
×
33
    }
34

35
    public function getPayload(): ?array
36
    {
NEW
37
        return null;
×
38
    }
39

40
    public function getQuery(): ?array
41
    {
NEW
42
        return $this->toArray();
×
43
    }
44

45
    public function toArray(): array
46
    {
NEW
47
        return [
×
NEW
48
            'codigoObjeto' => $this->getCodigoObjeto(),
×
NEW
49
        ];
×
50
    }
51
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc