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.

RegularCheckOutPaymentRequest   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 62
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 3
dl 0
loc 62
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getMerchantSerialNumber() 0 4 1
A getOrderId() 0 4 1
A getTransactionInfo() 0 4 1
A getErrorInfo() 0 4 1
1
<?php
2
3
namespace zaporylie\Vipps\Model\Payment;
4
5
use zaporylie\Vipps\Model\FromStringInterface;
6
use zaporylie\Vipps\Model\FromStringTrait;
7
use zaporylie\Vipps\Model\ToStringInterface;
8
use zaporylie\Vipps\Model\ToStringTrait;
9
use zaporylie\Vipps\Model\SupportsSerializationInterface;
10
use JMS\Serializer\Annotation as Serializer;
11
12
class RegularCheckOutPaymentRequest implements FromStringInterface, ToStringInterface, SupportsSerializationInterface
13
{
14
    use FromStringTrait;
15
    use ToStringTrait;
16
    use PaymentSerializationTrait;
17
18
    /**
19
     * @var string
20
     * @Serializer\Type("string")
21
     */
22
    protected $merchantSerialNumber;
23
24
    /**
25
     * @var string
26
     * @Serializer\Type("string")
27
     */
28
    protected $orderId;
29
30
    /**
31
     * @var \zaporylie\Vipps\Model\Payment\CallbackTransactionInfoStatus
32
     * @Serializer\Type("zaporylie\Vipps\Model\Payment\CallbackTransactionInfoStatus")
33
     */
34
    protected $transactionInfo;
35
36
    /**
37
     * @var \zaporylie\Vipps\Model\Payment\CallbackErrorInfo
38
     * @Serializer\Type("zaporylie\Vipps\Model\Payment\CallbackErrorInfo")
39
     */
40
    protected $errorInfo;
41
42
    /**
43
     * @return string
44
     */
45
    public function getMerchantSerialNumber()
46
    {
47
        return $this->merchantSerialNumber;
48
    }
49
50
    /**
51
     * @return string
52
     */
53
    public function getOrderId()
54
    {
55
        return $this->orderId;
56
    }
57
58
    /**
59
     * @return \zaporylie\Vipps\Model\Payment\CallbackTransactionInfoStatus
60
     */
61
    public function getTransactionInfo()
62
    {
63
        return $this->transactionInfo;
64
    }
65
66
    /**
67
     * @return \zaporylie\Vipps\Model\Payment\CallbackErrorInfo
68
     */
69
    public function getErrorInfo()
70
    {
71
        return $this->errorInfo;
72
    }
73
}
74