MerchantOptions   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 49
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getRedirectConfirmUrl() 0 4 1
A setRedirectConfirmUrl() 0 6 1
A getRedirectCancelUrl() 0 4 1
A setRedirectCancelUrl() 0 6 1
1
<?php
2
3
namespace CultureKings\Afterpay\Model\Merchant;
4
5
/**
6
 * Class MerchantOptions
7
 * @package CultureKings\Afterpay\Model
8
 */
9
class MerchantOptions
10
{
11
    /**
12
     * @var string
13
     */
14
    protected $redirectConfirmUrl;
15
    /**
16
     * @var string
17
     */
18
    protected $redirectCancelUrl;
19
20
    /**
21
     * @return string
22
     */
23
    public function getRedirectConfirmUrl()
24
    {
25
        return $this->redirectConfirmUrl;
26
    }
27
28
    /**
29
     * @param string $redirectConfirmUrl
30
     * @return $this
31
     */
32
    public function setRedirectConfirmUrl($redirectConfirmUrl)
33
    {
34
        $this->redirectConfirmUrl = $redirectConfirmUrl;
35
36
        return $this;
37
    }
38
39
    /**
40
     * @return string
41
     */
42
    public function getRedirectCancelUrl()
43
    {
44
        return $this->redirectCancelUrl;
45
    }
46
47
    /**
48
     * @param string $redirectCancelUrl
49
     * @return $this
50
     */
51
    public function setRedirectCancelUrl($redirectCancelUrl)
52
    {
53
        $this->redirectCancelUrl = $redirectCancelUrl;
54
55
        return $this;
56
    }
57
}
58