1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Gueststream\PMS\IQWare\API; |
4
|
|
|
|
5
|
|
View Code Duplication |
class WSCRSHo_ClubMemberGet |
|
|
|
|
6
|
|
|
{ |
7
|
|
|
|
8
|
|
|
/** |
9
|
|
|
* @var int $GUID |
10
|
|
|
*/ |
11
|
|
|
protected $GUID = null; |
12
|
|
|
|
13
|
|
|
/** |
14
|
|
|
* @var int $MemberNo |
15
|
|
|
*/ |
16
|
|
|
protected $MemberNo = null; |
17
|
|
|
|
18
|
|
|
/** |
19
|
|
|
* @var string $WebLogin |
20
|
|
|
*/ |
21
|
|
|
protected $WebLogin = null; |
22
|
|
|
|
23
|
|
|
/** |
24
|
|
|
* @var string $Password |
25
|
|
|
*/ |
26
|
|
|
protected $Password = null; |
27
|
|
|
|
28
|
|
|
/** |
29
|
|
|
* @param int $GUID |
30
|
|
|
* @param int $MemberNo |
31
|
|
|
* @param string $WebLogin |
32
|
|
|
* @param string $Password |
33
|
|
|
*/ |
34
|
|
|
public function __construct($GUID, $MemberNo, $WebLogin, $Password) |
35
|
|
|
{ |
36
|
|
|
$this->GUID = $GUID; |
37
|
|
|
$this->MemberNo = $MemberNo; |
38
|
|
|
$this->WebLogin = $WebLogin; |
39
|
|
|
$this->Password = $Password; |
40
|
|
|
} |
41
|
|
|
|
42
|
|
|
/** |
43
|
|
|
* @return int |
44
|
|
|
*/ |
45
|
|
|
public function getGUID() |
46
|
|
|
{ |
47
|
|
|
return $this->GUID; |
48
|
|
|
} |
49
|
|
|
|
50
|
|
|
/** |
51
|
|
|
* @param int $GUID |
52
|
|
|
* @return \Gueststream\PMS\IQWare\API\WSCRSHo_ClubMemberGet |
53
|
|
|
*/ |
54
|
|
|
public function setGUID($GUID) |
55
|
|
|
{ |
56
|
|
|
$this->GUID = $GUID; |
57
|
|
|
return $this; |
58
|
|
|
} |
59
|
|
|
|
60
|
|
|
/** |
61
|
|
|
* @return int |
62
|
|
|
*/ |
63
|
|
|
public function getMemberNo() |
64
|
|
|
{ |
65
|
|
|
return $this->MemberNo; |
66
|
|
|
} |
67
|
|
|
|
68
|
|
|
/** |
69
|
|
|
* @param int $MemberNo |
70
|
|
|
* @return \Gueststream\PMS\IQWare\API\WSCRSHo_ClubMemberGet |
71
|
|
|
*/ |
72
|
|
|
public function setMemberNo($MemberNo) |
73
|
|
|
{ |
74
|
|
|
$this->MemberNo = $MemberNo; |
75
|
|
|
return $this; |
76
|
|
|
} |
77
|
|
|
|
78
|
|
|
/** |
79
|
|
|
* @return string |
80
|
|
|
*/ |
81
|
|
|
public function getWebLogin() |
82
|
|
|
{ |
83
|
|
|
return $this->WebLogin; |
84
|
|
|
} |
85
|
|
|
|
86
|
|
|
/** |
87
|
|
|
* @param string $WebLogin |
88
|
|
|
* @return \Gueststream\PMS\IQWare\API\WSCRSHo_ClubMemberGet |
89
|
|
|
*/ |
90
|
|
|
public function setWebLogin($WebLogin) |
91
|
|
|
{ |
92
|
|
|
$this->WebLogin = $WebLogin; |
93
|
|
|
return $this; |
94
|
|
|
} |
95
|
|
|
|
96
|
|
|
/** |
97
|
|
|
* @return string |
98
|
|
|
*/ |
99
|
|
|
public function getPassword() |
100
|
|
|
{ |
101
|
|
|
return $this->Password; |
102
|
|
|
} |
103
|
|
|
|
104
|
|
|
/** |
105
|
|
|
* @param string $Password |
106
|
|
|
* @return \Gueststream\PMS\IQWare\API\WSCRSHo_ClubMemberGet |
107
|
|
|
*/ |
108
|
|
|
public function setPassword($Password) |
109
|
|
|
{ |
110
|
|
|
$this->Password = $Password; |
111
|
|
|
return $this; |
112
|
|
|
} |
113
|
|
|
} |
114
|
|
|
|
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.