• 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/FindReservationById/Response.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace MLocati\Nexi\XPayWeb\Entity\FindReservationById;
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-reservationId
17
 */
18
class Response extends Entity
19
{
20
    /**
21
     * Object containing the details of the reservation status.
22
     *
23
     * @optional
24
     *
25
     * @throws \MLocati\Nexi\XPayWeb\Exception\WrongFieldType
26
     */
27
    public function getReservationStatus(): ?\MLocati\Nexi\XPayWeb\Entity\ReservationStatus
28
    {
NEW
29
        return $this->_getEntity('reservationStatus', \MLocati\Nexi\XPayWeb\Entity\ReservationStatus::class);
×
30
    }
31

32
    /**
33
     * Object containing the details of the reservation status.
34
     *
35
     * @optional
36
     *
37
     * @return $this
38
     */
39
    public function setReservationStatus(?\MLocati\Nexi\XPayWeb\Entity\ReservationStatus $value): self
40
    {
41
        return $value === null ? $this->_unset('reservationStatus') : $this->_set('reservationStatus', $value);
×
42
    }
43

44
    /**
45
     * Array containing the details of the operations performed.
46
     *
47
     * @optional
48
     *
49
     * @throws \MLocati\Nexi\XPayWeb\Exception\WrongFieldType
50
     *
51
     * @return \MLocati\Nexi\XPayWeb\Entity\Operation[]|null
52
     */
53
    public function getOperations(): ?array
54
    {
NEW
55
        return $this->_getEntityArray('operations', \MLocati\Nexi\XPayWeb\Entity\Operation::class);
×
56
    }
57

58
    /**
59
     * Array containing the details of the operations performed.
60
     *
61
     * @param \MLocati\Nexi\XPayWeb\Entity\Operation[]|null $value
62
     *
63
     * @optional
64
     *
65
     * @return $this
66
     */
67
    public function setOperations(?array $value): self
68
    {
NEW
69
        return $value === null ? $this->_unset('operations') : $this->_setEntityArray('operations', \MLocati\Nexi\XPayWeb\Entity\Operation::class, $value);
×
70
    }
71

72
    /**
73
     * Array containing the payment links list.
74
     *
75
     * @optional
76
     *
77
     * @throws \MLocati\Nexi\XPayWeb\Exception\WrongFieldType
78
     *
79
     * @return \MLocati\Nexi\XPayWeb\Entity\PaymentLink[]|null
80
     */
81
    public function getPaymentLinks(): ?array
82
    {
NEW
83
        return $this->_getEntityArray('paymentLinks', \MLocati\Nexi\XPayWeb\Entity\PaymentLink::class);
×
84
    }
85

86
    /**
87
     * Array containing the payment links list.
88
     *
89
     * @param \MLocati\Nexi\XPayWeb\Entity\PaymentLink[]|null $value
90
     *
91
     * @optional
92
     *
93
     * @return $this
94
     */
95
    public function setPaymentLinks(?array $value): self
96
    {
NEW
97
        return $value === null ? $this->_unset('paymentLinks') : $this->_setEntityArray('paymentLinks', \MLocati\Nexi\XPayWeb\Entity\PaymentLink::class, $value);
×
98
    }
99

100
    /**
101
     * {@inheritdoc}
102
     *
103
     * @see \MLocati\Nexi\XPayWeb\Entity::getRequiredFields()
104
     */
105
    protected function getRequiredFields(): array
106
    {
107
        return [
108
        ];
×
109
    }
110
}
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