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.
Completed
Push — 1.x ( f2247a...73fe3f )
by Jakub
04:00
created

ResponseInitiatePayment   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 51
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getOrderId() 0 4 1
A getMerchantSerialNumber() 0 4 1
A getTransactionInfo() 0 4 1
1
<?php
2
3
namespace zaporylie\Vipps\Model\Payment;
4
5
use JMS\Serializer\Annotation as Serializer;
6
7
/**
8
 * Class ResponseInitiatePayment
9
 *
10
 * @package Vipps\Model\Payment
11
 */
12
class ResponseInitiatePayment
13
{
14
15
    /**
16
     * @var string
17
     * @Serializer\Type("string")
18
     */
19
    protected $orderId;
20
21
    /**
22
     * @var string
23
     * @Serializer\Type("string")
24
     */
25
    protected $merchantSerialNumber;
26
27
    /**
28
     * @var \zaporylie\Vipps\Model\Payment\TransactionInfo
29
     * @Serializer\Type("zaporylie\Vipps\Model\Payment\TransactionInfo")
30
     */
31
    protected $transactionInfo;
32
33
    /**
34
     * Gets orderId value.
35
     *
36
     * @return string
37
     */
38
    public function getOrderId()
39
    {
40
        return $this->orderId;
41
    }
42
43
    /**
44
     * Gets merchantSerialNumber value.
45
     *
46
     * @return string
47
     */
48
    public function getMerchantSerialNumber()
49
    {
50
        return $this->merchantSerialNumber;
51
    }
52
53
    /**
54
     * Gets transactionInfo value.
55
     *
56
     * @return \zaporylie\Vipps\Model\Payment\TransactionInfo
57
     */
58
    public function getTransactionInfo()
59
    {
60
        return $this->transactionInfo;
61
    }
62
}
63