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

3
declare(strict_types=1);
4

5
namespace MLocati\Nexi\XPayWeb\Entity\FindRecurringContractsByCustomerId;
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-contracts-customers-customerId
17
 */
18
class Response extends Entity
19
{
20
    /**
21
     * Customer ID.
22
     *
23
     * @optional
24
     *
25
     * @throws \MLocati\Nexi\XPayWeb\Exception\WrongFieldType
26
     *
27
     * @example 36451278
28
     */
29
    public function getCustomerId(): ?string
30
    {
31
        return $this->_getString('customerId');
×
32
    }
33

34
    /**
35
     * Customer ID.
36
     *
37
     * @optional
38
     *
39
     * @return $this
40
     *
41
     * @example 36451278
42
     */
43
    public function setCustomerId(?string $value): self
44
    {
45
        return $value === null ? $this->_unset('customerId') : $this->_set('customerId', $value);
×
46
    }
47

48
    /**
49
     * Array containing the contracts list.
50
     *
51
     * @optional
52
     *
53
     * @throws \MLocati\Nexi\XPayWeb\Exception\WrongFieldType
54
     *
55
     * @return \MLocati\Nexi\XPayWeb\Entity\Contract[]|null
56
     */
57
    public function getContracts(): ?array
58
    {
NEW
59
        return $this->_getEntityArray('contracts', \MLocati\Nexi\XPayWeb\Entity\Contract::class);
×
60
    }
61

62
    /**
63
     * Array containing the contracts list.
64
     *
65
     * @param \MLocati\Nexi\XPayWeb\Entity\Contract[]|null $value
66
     *
67
     * @optional
68
     *
69
     * @return $this
70
     */
71
    public function setContracts(?array $value): self
72
    {
NEW
73
        return $value === null ? $this->_unset('contracts') : $this->_setEntityArray('contracts', \MLocati\Nexi\XPayWeb\Entity\Contract::class, $value);
×
74
    }
75

76
    /**
77
     * {@inheritdoc}
78
     *
79
     * @see \MLocati\Nexi\XPayWeb\Entity::getRequiredFields()
80
     */
81
    protected function getRequiredFields(): array
82
    {
83
        return [
84
        ];
×
85
    }
86
}
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