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

3
declare(strict_types=1);
4

5
namespace MLocati\Nexi\XPayWeb\Entity\CancelXPayBuildOrder;
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/post-build-cancel
17
 */
18
class Response extends Entity
19
{
20
    /**
21
     * Stato della transazione.
22
     *
23
     * @optional
24
     *
25
     * @throws \MLocati\Nexi\XPayWeb\Exception\WrongFieldType
26
     */
27
    public function getState(): ?string
28
    {
29
        return $this->_getString('state');
×
30
    }
31

32
    /**
33
     * Stato della transazione.
34
     *
35
     * @optional
36
     *
37
     * @return $this
38
     */
39
    public function setState(?string $value): self
40
    {
41
        return $value === null ? $this->_unset('state') : $this->_set('state', $value);
×
42
    }
43

44
    /**
45
     * Object containing operation detail.
46
     *
47
     * @optional
48
     *
49
     * @throws \MLocati\Nexi\XPayWeb\Exception\WrongFieldType
50
     */
51
    public function getOperation(): ?\MLocati\Nexi\XPayWeb\Entity\Operation
52
    {
NEW
53
        return $this->_getEntity('operation', \MLocati\Nexi\XPayWeb\Entity\Operation::class);
×
54
    }
55

56
    /**
57
     * Object containing operation detail.
58
     *
59
     * @optional
60
     *
61
     * @return $this
62
     */
63
    public function setOperation(?\MLocati\Nexi\XPayWeb\Entity\Operation $value): self
64
    {
65
        return $value === null ? $this->_unset('operation') : $this->_set('operation', $value);
×
66
    }
67

68
    /**
69
     * {@inheritdoc}
70
     *
71
     * @see \MLocati\Nexi\XPayWeb\Entity::getRequiredFields()
72
     */
73
    protected function getRequiredFields(): array
74
    {
75
        return [
76
        ];
×
77
    }
78
}
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