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

mlocati / nexi-xpay-web / 9096955143

15 May 2024 01:53PM UTC coverage: 5.917%. First build
9096955143

push

github

web-flow
Rename package and namespace (#2)

2 of 63 new or added lines in 24 files covered. (3.17%)

111 of 1876 relevant lines covered (5.92%)

0.51 hits per line

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

0.0
/src/Entity/FindReservations/Response.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace MLocati\Nexi\XPayWeb\Entity\FindReservations;
6

7
use MLocati\Nexi\XPayWeb\Entity;
8

9
/*
10
 * WARNING: DO NOT EDIT THIS FILE
11
 * It has been generated automaticlly from a template.
12
 * Edit the template instead.
13
 */
14

15
/**
16
 * @see https://developer.nexi.it/en/api/get-reservations
17
 */
18
class Response extends Entity
19
{
20
    /**
21
     * @optional
22
     *
23
     * @throws \MLocati\Nexi\XPayWeb\Exception\WrongFieldType
24
     *
25
     * @return \MLocati\Nexi\XPayWeb\Entity\Reservation[]|null
26
     */
27
    public function getReservation(): ?array
28
    {
NEW
29
        return $this->_getEntityArray('reservation', \MLocati\Nexi\XPayWeb\Entity\Reservation::class);
×
30
    }
31

32
    /**
33
     * @param \MLocati\Nexi\XPayWeb\Entity\Reservation[]|null $value
34
     *
35
     * @optional
36
     *
37
     * @return $this
38
     */
39
    public function setReservation(?array $value): self
40
    {
NEW
41
        return $value === null ? $this->_unset('reservation') : $this->_setEntityArray('reservation', \MLocati\Nexi\XPayWeb\Entity\Reservation::class, $value);
×
42
    }
43

44
    /**
45
     * {@inheritdoc}
46
     *
47
     * @see \MLocati\Nexi\XPayWeb\Entity::getRequiredFields()
48
     */
49
    protected function getRequiredFields(): array
50
    {
51
        return [
52
        ];
×
53
    }
54
}
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

© 2025 Coveralls, Inc