Test Failed
Pull Request — master (#12)
by
unknown
06:46
created

ThreeDS2AuthorizationInformation   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 46
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getAcsUrl() 0 4 1
A setAcsUrl() 0 4 1
A getCReq() 0 4 1
A setCReq() 0 4 1
1
<?php
2
3
namespace Cardinity\Method\Payment;
4
5
class ThreeDS2AuthorizationInformation
6
{
7
    /** @var STRING */
8
    private $acsUrl;
9
10
    /** @var STRING should serialize? */
11
    private $cReq;
12
13
14
    /**
15
     * @return STRING
16
     */
17
    public function getAcsUrl()
18
    {
19
        return $this->acsUrl;
20
    }
21
22
23
    /**
24
     * @param STRING
25
     * @return VOID
26
     */
27
    public function setAcsUrl(string $acsUrl)
28
    {
29
        $this->acsUrl = $acsUrl;
30
    }
31
32
33
    /**
34
     * @return STRING
35
     */
36
    public function getCReq()
37
    {
38
        return $this->cReq;
39
    }
40
41
42
    /**
43
     * @param STRING
44
     * @return VOID
45
     */
46
    public function setCReq(string $cReq)
47
    {
48
        $this->cReq = $cReq;
49
    }
50
}