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.

CallbackTransactionInfoStatus   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 59
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getAmount() 0 4 1
A getStatus() 0 4 1
A getTimeStamp() 0 4 1
A getTransactionId() 0 4 1
1
<?php
2
3
namespace zaporylie\Vipps\Model\Payment;
4
5
use JMS\Serializer\Annotation as Serializer;
6
7
/**
8
 * Class CustomerInfo
9
 *
10
 * @package Vipps\Model\Payment
11
 */
12
class CallbackTransactionInfoStatus
13
{
14
15
    /**
16
     * @var float
17
     * @Serializer\Type("double")
18
     */
19
    protected $amount;
20
21
    /**
22
     * @var string
23
     * @Serializer\Type("string")
24
     */
25
    protected $status;
26
27
    /**
28
     * @var string
29
     * @Serializer\Type("string")
30
     */
31
    protected $transactionId;
32
33
    /**
34
     * @var \DateTimeInterface
35
     * @Serializer\Type("DateTime<'Y-m-d\TH:i:s.u\Z'>")
36
     */
37
    protected $timeStamp;
38
39
    /**
40
     * @return float
41
     */
42
    public function getAmount()
43
    {
44
        return $this->amount;
45
    }
46
47
    /**
48
     * @return string
49
     */
50
    public function getStatus()
51
    {
52
        return $this->status;
53
    }
54
55
    /**
56
     * @return \DateTimeInterface
57
     */
58
    public function getTimeStamp()
59
    {
60
        return $this->timeStamp;
61
    }
62
63
    /**
64
     * @return string
65
     */
66
    public function getTransactionId()
67
    {
68
        return $this->transactionId;
69
    }
70
}
71