Passed
Branch master (b73fcd)
by Thomas
02:06
created

ZohoOAuthParams   A

Complexity

Total Complexity 10

Size/Duplication

Total Lines 61
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 10
eloc 16
c 1
b 0
f 0
dl 0
loc 61
rs 10
1
<?php
2
namespace Zoho\OAuth\Utility;
3
4
class ZohoOAuthParams
5
{
6
7
    private $clientId;
8
9
    private $clientSecret;
10
11
    private $redirectUrl;
12
13
    private $accessType;
14
15
    private $scopes;
16
17
    public function getClientId()
18
    {
19
        return $this->clientId;
20
    }
21
22
    public function setClientId($clientId)
23
    {
24
        return $this->clientId = $clientId;
25
    }
26
27
    public function getClientSecret()
28
    {
29
        return $this->clientSecret;
30
    }
31
32
    public function setClientSecret($clientSecret)
33
    {
34
        return $this->clientSecret = $clientSecret;
35
    }
36
37
    public function getRedirectUrl()
38
    {
39
        return $this->redirectUrl;
40
    }
41
42
    public function setRedirectUrl($redirectUrl)
43
    {
44
        return $this->redirectUrl = $redirectUrl;
45
    }
46
47
    public function getAccessType()
48
    {
49
        return $this->accessType;
50
    }
51
52
    public function setAccessType($accessType)
53
    {
54
        return $this->accessType = $accessType;
55
    }
56
57
    public function getScopes()
58
    {
59
        return $this->scopes;
60
    }
61
62
    public function setScopes($scopes)
63
    {
64
        return $this->scopes = $scopes;
65
    }
66
}