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

MerchantInfo   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 61
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getMerchantSerialNumber() 0 4 1
A setMerchantSerialNumber() 0 5 1
A getCallBack() 0 4 1
A setCallBack() 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 $merchantSerialNumber;
20
21
    /**
22
     * @var string
23
     * @Serializer\Type("string")
24
     */
25
    protected $callBack;
26
27
    /**
28
     * Gets merchantSerialNumber value.
29
     *
30
     * @return string
31
     */
32
    public function getMerchantSerialNumber()
33
    {
34
        return $this->merchantSerialNumber;
35
    }
36
37
    /**
38
     * Sets merchantSerialNumber variable.
39
     *
40
     * @param string $merchantSerialNumber
41
     *
42
     * @return $this
43
     */
44
    public function setMerchantSerialNumber($merchantSerialNumber)
45
    {
46
        $this->merchantSerialNumber = $merchantSerialNumber;
47
        return $this;
48
    }
49
50
    /**
51
     * Gets callBack value.
52
     *
53
     * @return string
54
     */
55
    public function getCallBack()
56
    {
57
        return $this->callBack;
58
    }
59
60
    /**
61
     * Sets callBack variable.
62
     *
63
     * @param string $callBack
64
     *
65
     * @return $this
66
     */
67
    public function setCallBack($callBack)
68
    {
69
        $this->callBack = $callBack;
70
        return $this;
71
    }
72
}
73