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.

MerchantInfo   A
last analyzed

Complexity

Total Complexity 16

Size/Duplication

Total Lines 220
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 16
lcom 0
cbo 0
dl 0
loc 220
rs 10
c 0
b 0
f 0

16 Methods

Rating   Name   Duplication   Size   Complexity  
A getAuthToken() 0 4 1
A setAuthToken() 0 5 1
A getMerchantSerialNumber() 0 4 1
A setMerchantSerialNumber() 0 5 1
A getCallbackPrefix() 0 4 1
A setCallbackPrefix() 0 5 1
A getConsentRemovalPrefix() 0 4 1
A setConsentRemovalPrefix() 0 5 1
A getFallBack() 0 4 1
A setFallBack() 0 5 1
A isApp() 0 4 1
A setIsApp() 0 6 1
A getPaymentType() 0 4 1
A setPaymentType() 0 5 1
A getShippingDetailsPrefix() 0 4 1
A setShippingDetailsPrefix() 0 5 1
1
<?php
2
3
namespace zaporylie\Vipps\Model\Payment;
4
5
use JMS\Serializer\Annotation as Serializer;
6
7
/**
8
 * Class MerchantInfo
9
 *
10
 * @package Vipps\Model\Payment
11
 */
12
class MerchantInfo
13
{
14
15
    /**
16
     * @var string
17
     * @Serializer\Type("string")
18
     */
19
    protected $authToken;
20
21
    /**
22
     * @var string
23
     * @Serializer\Type("string")
24
     */
25
    protected $merchantSerialNumber;
26
27
    /**
28
     * @var string
29
     * @Serializer\Type("string")
30
     */
31
    protected $callbackPrefix;
32
33
    /**
34
     * @var string
35
     * @Serializer\Type("string")
36
     */
37
    protected $fallBack;
38
39
    /**
40
     * @var string
41
     * @Serializer\Type("bool")
42
     */
43
    protected $isApp;
44
45
    /**
46
     * @var string
47
     * @Serializer\Type("string")
48
     */
49
    protected $consentRemovalPrefix;
50
51
    /**
52
     * @var string ['eComm Regular Payment', 'eComm Express Payment']
53
     * @Serializer\Type("string")
54
     */
55
    protected $paymentType;
56
57
    /**
58
     * @var string
59
     * @Serializer\Type("string")
60
     */
61
    protected $shippingDetailsPrefix;
62
63
    /**
64
     * @return string
65
     */
66
    public function getAuthToken()
67
    {
68
        return $this->authToken;
69
    }
70
71
    /**
72
     * @param string $authToken
73
     *
74
     * @return $this
75
     */
76
    public function setAuthToken($authToken)
77
    {
78
        $this->authToken = $authToken;
79
        return $this;
80
    }
81
82
    /**
83
     * Gets merchantSerialNumber value.
84
     *
85
     * @return string
86
     */
87
    public function getMerchantSerialNumber()
88
    {
89
        return $this->merchantSerialNumber;
90
    }
91
92
    /**
93
     * Sets merchantSerialNumber variable.
94
     *
95
     * @param string $merchantSerialNumber
96
     *
97
     * @return $this
98
     */
99
    public function setMerchantSerialNumber($merchantSerialNumber)
100
    {
101
        $this->merchantSerialNumber = $merchantSerialNumber;
102
        return $this;
103
    }
104
105
    /**
106
     * Gets callBack value.
107
     *
108
     * @return string
109
     */
110
    public function getCallbackPrefix()
111
    {
112
        return $this->callbackPrefix;
113
    }
114
115
    /**
116
     * Sets callbackPrefix variable.
117
     *
118
     * @param string $callbackPrefix
119
     *
120
     * @return $this
121
     */
122
    public function setCallbackPrefix($callbackPrefix)
123
    {
124
        $this->callbackPrefix = $callbackPrefix;
125
        return $this;
126
    }
127
128
    /**
129
     * Gets consentRemovalPrefix value.
130
     *
131
     * @return string
132
     */
133
    public function getConsentRemovalPrefix()
134
    {
135
        return $this->consentRemovalPrefix;
136
    }
137
138
    /**
139
     * Sets consentRemovalPrefix variable.
140
     *
141
     * @param string $consentRemovalPrefix
142
     *
143
     * @return $this
144
     */
145
    public function setConsentRemovalPrefix($consentRemovalPrefix)
146
    {
147
        $this->consentRemovalPrefix = $consentRemovalPrefix;
148
        return $this;
149
    }
150
151
    /**
152
     * Gets fallBack value.
153
     *
154
     * @return string
155
     */
156
    public function getFallBack()
157
    {
158
        return $this->fallBack;
159
    }
160
161
    /**
162
     * Sets fallBack variable.
163
     *
164
     * @param string $fallBack
165
     *
166
     * @return $this
167
     */
168
    public function setFallBack($fallBack)
169
    {
170
        $this->fallBack = $fallBack;
171
        return $this;
172
    }
173
174
    /**
175
     * @return string
176
     */
177
    public function isApp()
178
    {
179
        return $this->isApp;
180
    }
181
182
    /**
183
     * @param string $isApp
184
     *
185
     * @return $this
186
     */
187
    public function setIsApp($isApp)
188
    {
189
        $this->isApp = $isApp;
190
191
        return $this;
192
    }
193
194
    /**
195
     * @return string
196
     */
197
    public function getPaymentType()
198
    {
199
        return $this->paymentType;
200
    }
201
202
    /**
203
     * @param string $paymentType
204
     *
205
     * @return $this
206
     */
207
    public function setPaymentType($paymentType)
208
    {
209
        $this->paymentType = $paymentType;
210
        return $this;
211
    }
212
213
    /**
214
     * @return string
215
     */
216
    public function getShippingDetailsPrefix()
217
    {
218
        return $this->shippingDetailsPrefix;
219
    }
220
221
    /**
222
     * @param string $shippingDetailsPrefix
223
     *
224
     * @return $this
225
     */
226
    public function setShippingDetailsPrefix($shippingDetailsPrefix)
227
    {
228
        $this->shippingDetailsPrefix = $shippingDetailsPrefix;
229
        return $this;
230
    }
231
}
232