GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

AutoApplyResult   A
last analyzed

Complexity

Total Complexity 12

Size/Duplication

Total Lines 130
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 12
lcom 0
cbo 1
dl 0
loc 130
rs 10
c 0
b 0
f 0

12 Methods

Rating   Name   Duplication   Size   Complexity  
A getUniqueValue() 0 4 1
A setUniqueValue() 0 6 1
A setPaid() 0 6 1
A getPaid() 0 4 1
A setCertificateID() 0 6 1
A getCertificateID() 0 4 1
A setExpectedDeliveryTime() 0 6 1
A getExpectedDeliveryTime() 0 4 1
A setOrderNumber() 0 6 1
A getOrderNumber() 0 4 1
A setTotalCost() 0 6 1
A getTotalCost() 0 4 1
1
<?php
2
namespace Checkdomain\Comodo\Model\Result;
3
4
/**
5
 * Class AutoApplyResult
6
 * Offers the orderNumber, excepted delivery-time, total-cost, certificate-id and tells you if certificate has been paid
7
 */
8
class AutoApplyResult extends AbstractResult
9
{
10
    protected $orderNumber;
11
    protected $expectedDeliveryTime;
12
    protected $totalCost;
13
    protected $paid;
14
    protected $certificateID;
15
    protected $uniqueValue;
16
17
    /**
18
     * @param bool $paid
19
     *
20
     * @return AutoApplyResult
21
     */
22
    public function setPaid($paid)
23
    {
24
        $this->paid = (bool) $paid;
25
26
        return $this;
27
    }
28
29
    /**
30
     * @return bool
31
     */
32
    public function getPaid()
33
    {
34
        return $this->paid;
35
    }
36
37
    /**
38
     * @param mixed $certificateID
39
     *
40
     * @return AutoApplyResult
41
     */
42
    public function setCertificateID($certificateID)
43
    {
44
        $this->certificateID = $certificateID;
45
46
        return $this;
47
    }
48
49
    /**
50
     * @return mixed
51
     */
52
    public function getCertificateID()
53
    {
54
        return $this->certificateID;
55
    }
56
57
58
    /**
59
     * @param int $expectedDeliveryTime
60
     *
61
     * @return AutoApplyResult
62
     */
63
    public function setExpectedDeliveryTime($expectedDeliveryTime)
64
    {
65
        $this->expectedDeliveryTime = $expectedDeliveryTime;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @return int
72
     */
73
    public function getExpectedDeliveryTime()
74
    {
75
        return $this->expectedDeliveryTime;
76
    }
77
78
    /**
79
     * @param int $orderNumber
80
     *
81
     * @return AutoApplyResult
82
     */
83
    public function setOrderNumber($orderNumber)
84
    {
85
        $this->orderNumber = $orderNumber;
86
87
        return $this;
88
    }
89
90
    /**
91
     * @return int
92
     */
93
    public function getOrderNumber()
94
    {
95
        return $this->orderNumber;
96
    }
97
98
    /**
99
     * @param float $totalCost
100
     *
101
     * @return AutoApplyResult
102
     */
103
    public function setTotalCost($totalCost)
104
    {
105
        $this->totalCost = $totalCost;
106
107
        return $this;
108
    }
109
110
    /**
111
     * @return float
112
     */
113
    public function getTotalCost()
114
    {
115
        return $this->totalCost;
116
    }
117
118
    /**
119
     * @return string
120
     */
121
    public function getUniqueValue()
122
    {
123
        return $this->uniqueValue;
124
    }
125
126
    /**
127
     * @param string $uniqueValue
128
     *
129
     * @return AutoApplyResult
130
     */
131
    public function setUniqueValue($uniqueValue)
132
    {
133
        $this->uniqueValue = $uniqueValue;
134
135
        return $this;
136
    }
137
}
138