1
|
|
|
<?php |
2
|
|
|
/** |
3
|
|
|
* Created by Carl Owens ([email protected]) |
4
|
|
|
* Company: PartFire Ltd (www.partfire.co.uk) |
5
|
|
|
* Copyright © 2017 PartFire Ltd. All rights reserved. |
6
|
|
|
* |
7
|
|
|
* User: Carl Owens |
8
|
|
|
* Date: 20/01/2017 |
9
|
|
|
* Time: 14:56 |
10
|
|
|
* File: AbstractBankAccount.php |
11
|
|
|
**/ |
12
|
|
|
|
13
|
|
|
namespace PartFire\MangoPayBundle\Models\DTOs; |
14
|
|
|
|
15
|
|
|
abstract class AbstractBankAccount |
16
|
|
|
{ |
17
|
|
|
protected $ownerName; |
18
|
|
|
|
19
|
|
|
protected $ownerAddress; |
20
|
|
|
|
21
|
|
|
protected $tag; |
22
|
|
|
|
23
|
|
|
protected $userId; |
24
|
|
|
|
25
|
|
|
protected $type; |
26
|
|
|
|
27
|
|
|
protected $id; |
28
|
|
|
|
29
|
|
|
protected $creationDate; |
30
|
|
|
|
31
|
|
|
protected $active; |
32
|
|
|
|
33
|
|
|
/** |
34
|
|
|
* @return mixed |
35
|
|
|
*/ |
36
|
|
|
public function getOwnerName() |
37
|
|
|
{ |
38
|
|
|
return $this->ownerName; |
39
|
|
|
} |
40
|
|
|
|
41
|
|
|
/** |
42
|
|
|
* @param mixed $ownerName |
43
|
|
|
*/ |
44
|
|
|
public function setOwnerName($ownerName) |
45
|
|
|
{ |
46
|
|
|
$this->ownerName = $ownerName; |
47
|
|
|
} |
48
|
|
|
|
49
|
|
|
/** |
50
|
|
|
* @return mixed |
51
|
|
|
*/ |
52
|
|
|
public function getOwnerAddress() : Address |
53
|
|
|
{ |
54
|
|
|
return $this->ownerAddress; |
55
|
|
|
} |
56
|
|
|
|
57
|
|
|
/** |
58
|
|
|
* @param mixed $ownerAddress |
59
|
|
|
*/ |
60
|
|
|
public function setOwnerAddress(Address $ownerAddress) |
61
|
|
|
{ |
62
|
|
|
$this->ownerAddress = $ownerAddress; |
63
|
|
|
} |
64
|
|
|
|
65
|
|
|
/** |
66
|
|
|
* @return mixed |
67
|
|
|
*/ |
68
|
|
|
public function getTag() |
69
|
|
|
{ |
70
|
|
|
return $this->tag; |
71
|
|
|
} |
72
|
|
|
|
73
|
|
|
/** |
74
|
|
|
* @param mixed $tag |
75
|
|
|
*/ |
76
|
|
|
public function setTag($tag) |
77
|
|
|
{ |
78
|
|
|
$this->tag = $tag; |
79
|
|
|
} |
80
|
|
|
|
81
|
|
|
/** |
82
|
|
|
* @return mixed |
83
|
|
|
*/ |
84
|
|
|
public function getUserId() |
85
|
|
|
{ |
86
|
|
|
return $this->userId; |
87
|
|
|
} |
88
|
|
|
|
89
|
|
|
/** |
90
|
|
|
* @param mixed $userId |
91
|
|
|
*/ |
92
|
|
|
public function setUserId($userId) |
93
|
|
|
{ |
94
|
|
|
$this->userId = $userId; |
95
|
|
|
} |
96
|
|
|
|
97
|
|
|
/** |
98
|
|
|
* @return mixed |
99
|
|
|
*/ |
100
|
|
|
public function getType() |
101
|
|
|
{ |
102
|
|
|
return $this->type; |
103
|
|
|
} |
104
|
|
|
|
105
|
|
|
/** |
106
|
|
|
* @param mixed $type |
107
|
|
|
*/ |
108
|
|
|
public function setType($type) |
109
|
|
|
{ |
110
|
|
|
$this->type = $type; |
111
|
|
|
} |
112
|
|
|
|
113
|
|
|
/** |
114
|
|
|
* @return mixed |
115
|
|
|
*/ |
116
|
|
|
public function getId() |
117
|
|
|
{ |
118
|
|
|
return $this->id; |
119
|
|
|
} |
120
|
|
|
|
121
|
|
|
/** |
122
|
|
|
* @param mixed $id |
123
|
|
|
*/ |
124
|
|
|
public function setId($id) |
125
|
|
|
{ |
126
|
|
|
$this->id = $id; |
127
|
|
|
} |
128
|
|
|
|
129
|
|
|
/** |
130
|
|
|
* @return mixed |
131
|
|
|
*/ |
132
|
|
|
public function getCreationDate() |
133
|
|
|
{ |
134
|
|
|
return $this->creationDate; |
135
|
|
|
} |
136
|
|
|
|
137
|
|
|
/** |
138
|
|
|
* @param mixed $creationDate |
139
|
|
|
*/ |
140
|
|
|
public function setCreationDate($creationDate) |
141
|
|
|
{ |
142
|
|
|
$this->creationDate = $creationDate; |
143
|
|
|
} |
144
|
|
|
|
145
|
|
|
/** |
146
|
|
|
* @return mixed |
147
|
|
|
*/ |
148
|
|
|
public function getActive() |
149
|
|
|
{ |
150
|
|
|
return $this->active; |
151
|
|
|
} |
152
|
|
|
|
153
|
|
|
/** |
154
|
|
|
* @param mixed $active |
155
|
|
|
*/ |
156
|
|
|
public function setActive($active) |
157
|
|
|
{ |
158
|
|
|
$this->active = $active; |
159
|
|
|
} |
160
|
|
|
} |
161
|
|
|
|