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

mlocati / PayWay / 5212705470

pending completion
5212705470

push

github

mlocati
Initial version

1803 of 1803 new or added lines in 47 files covered. (100.0%)

1313 of 1803 relevant lines covered (72.82%)

1.53 hits per line

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

0.0
/src/Service/TermInfo.php
1
<?php
2

3
namespace MLocati\PayWay\Service;
4

5
use JsonSerializable;
6

7
class TermInfo implements JsonSerializable
8
{
9
    use JsonCleanupTrait;
10

11
    /**
12
     * Undocumented.
13
     *
14
     * @var string
15
     */
16
    private $tid = '';
17

18
    /**
19
     * Undocumented.
20
     *
21
     * @var string
22
     */
23
    private $payInstrToken = '';
24

25
    /**
26
     * Undocumented.
27
     *
28
     * @var string
29
     */
30
    private $billingID = '';
31

32
    /**
33
     * Undocumented.
34
     *
35
     * @return string
36
     */
37
    public function getTid()
38
    {
39
        return $this->tid;
×
40
    }
41

42
    /**
43
     * Undocumented.
44
     *
45
     * @param string $value
46
     *
47
     * @return $this
48
     */
49
    public function setTid($value)
50
    {
51
        $this->tid = (string) $value;
×
52

53
        return $this;
×
54
    }
55

56
    /**
57
     * Undocumented.
58
     *
59
     * @return string
60
     */
61
    public function getPayInstrToken()
62
    {
63
        return $this->payInstrToken;
×
64
    }
65

66
    /**
67
     * Undocumented.
68
     *
69
     * @param string $value
70
     *
71
     * @return $this
72
     */
73
    public function setPayInstrToken($value)
74
    {
75
        $this->payInstrToken = (string) $value;
×
76

77
        return $this;
×
78
    }
79

80
    /**
81
     * Undocumented.
82
     *
83
     * @return string
84
     */
85
    public function getBillingID()
86
    {
87
        return $this->billingID;
×
88
    }
89

90
    /**
91
     * Undocumented.
92
     *
93
     * @param string $value
94
     *
95
     * @return $this
96
     */
97
    public function setBillingID($value)
98
    {
99
        $this->billingID = (string) $value;
×
100

101
        return $this;
×
102
    }
103

104
    /**
105
     * {@inheritdoc}
106
     *
107
     * @see \JsonSerializable::jsonSerialize()
108
     */
109
    #[\ReturnTypeWillChange]
110
    public function jsonSerialize()
111
    {
112
        return $this->cleanupJson([
×
113
            'tid' => $this->tid,
×
114
            'payInstrToken' => $this->payInstrToken,
×
115
            'billingID' => $this->billingID,
×
116
        ]);
×
117
    }
118
}
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