Completed
Pull Request — master (#71)
by Jeroen De
04:20
created

MembershipApplicationData   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 4
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 34
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getAccessToken() 0 3 1
A setAccessToken() 0 3 1
A getUpdateToken() 0 3 1
A setUpdateToken() 0 3 1
1
<?php
2
3
namespace WMDE\Fundraising\Store;
4
5
/**
6
 * @since 2.0
7
 *
8
 * @licence GNU GPL v2+
9
 * @author Jeroen De Dauw < [email protected] >
10
 */
11
class MembershipApplicationData {
12
13
	private $accessToken;
14
	private $updateToken;
15
16
	/**
17
	 * @return string|null
18
	 */
19
	public function getAccessToken() {
20
		return $this->accessToken;
21
	}
22
23
	/**
24
	 * @param string|null $token
25
	 */
26
	public function setAccessToken( $token ) {
27
		$this->accessToken = $token;
28
	}
29
30
	/**
31
	 * @return string|null
32
	 */
33
	public function getUpdateToken() {
34
		return $this->updateToken;
35
	}
36
37
	/**
38
	 * @param string|null $updateToken
39
	 */
40
	public function setUpdateToken( $updateToken ) {
41
		$this->updateToken = $updateToken;
42
	}
43
44
}
45