|
1
|
|
|
<?php |
|
2
|
|
|
/** |
|
3
|
|
|
* Created by Carl Owens ([email protected]) |
|
4
|
|
|
* Company: PartFire Ltd (www.partfire.co.uk) |
|
5
|
|
|
* Copyright © 2016 PartFire Ltd. All rights reserved. |
|
6
|
|
|
* |
|
7
|
|
|
* User: Carl Owens |
|
8
|
|
|
* Date: 02/12/2016 |
|
9
|
|
|
* Time: 15:54 |
|
10
|
|
|
* File: KycDocument.php |
|
11
|
|
|
**/ |
|
12
|
|
|
|
|
13
|
|
|
namespace PartFire\MangoPayBundle\Models\DTOs; |
|
14
|
|
|
|
|
15
|
|
|
use PartFire\MangoPayBundle\MangoPayConstants; |
|
16
|
|
|
|
|
17
|
|
|
class KycDocument |
|
18
|
|
|
{ |
|
19
|
|
|
protected $type = MangoPayConstants::IDENTITY_PROOF; |
|
20
|
|
|
|
|
21
|
|
|
protected $status; |
|
22
|
|
|
|
|
23
|
|
|
protected $tag; |
|
24
|
|
|
|
|
25
|
|
|
protected $ownerId; |
|
26
|
|
|
|
|
27
|
|
|
protected $documentId; |
|
28
|
|
|
|
|
29
|
|
|
protected $refusedReasonMessage; |
|
30
|
|
|
|
|
31
|
|
|
protected $refusedReasonType; |
|
32
|
|
|
|
|
33
|
|
|
/** |
|
34
|
|
|
* @return mixed |
|
35
|
|
|
*/ |
|
36
|
|
|
public function getType() |
|
37
|
|
|
{ |
|
38
|
|
|
return $this->type; |
|
39
|
|
|
} |
|
40
|
|
|
|
|
41
|
|
|
/** |
|
42
|
|
|
* @param mixed $type |
|
43
|
|
|
*/ |
|
44
|
|
|
public function setType($type) |
|
45
|
|
|
{ |
|
46
|
|
|
$this->type = $type; |
|
47
|
|
|
} |
|
48
|
|
|
|
|
49
|
|
|
/** |
|
50
|
|
|
* @return mixed |
|
51
|
|
|
*/ |
|
52
|
|
|
public function getStatus() |
|
53
|
|
|
{ |
|
54
|
|
|
return $this->status; |
|
55
|
|
|
} |
|
56
|
|
|
|
|
57
|
|
|
/** |
|
58
|
|
|
* @param mixed $status |
|
59
|
|
|
*/ |
|
60
|
|
|
public function setStatus($status) |
|
61
|
|
|
{ |
|
62
|
|
|
$this->status = $status; |
|
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 getOwnerId() |
|
85
|
|
|
{ |
|
86
|
|
|
return $this->ownerId; |
|
87
|
|
|
} |
|
88
|
|
|
|
|
89
|
|
|
/** |
|
90
|
|
|
* @param mixed $ownerId |
|
91
|
|
|
*/ |
|
92
|
|
|
public function setOwnerId($ownerId) |
|
93
|
|
|
{ |
|
94
|
|
|
$this->ownerId = $ownerId; |
|
95
|
|
|
} |
|
96
|
|
|
|
|
97
|
|
|
/** |
|
98
|
|
|
* @return mixed |
|
99
|
|
|
*/ |
|
100
|
|
|
public function getDocumentId() |
|
101
|
|
|
{ |
|
102
|
|
|
return $this->documentId; |
|
103
|
|
|
} |
|
104
|
|
|
|
|
105
|
|
|
/** |
|
106
|
|
|
* @param mixed $documentId |
|
107
|
|
|
*/ |
|
108
|
|
|
public function setDocumentId($documentId) |
|
109
|
|
|
{ |
|
110
|
|
|
$this->documentId = $documentId; |
|
111
|
|
|
} |
|
112
|
|
|
|
|
113
|
|
|
/** |
|
114
|
|
|
* @return mixed |
|
115
|
|
|
*/ |
|
116
|
|
|
public function getRefusedReasonMessage() |
|
117
|
|
|
{ |
|
118
|
|
|
return $this->refusedReasonMessage; |
|
119
|
|
|
} |
|
120
|
|
|
|
|
121
|
|
|
/** |
|
122
|
|
|
* @param mixed $refusedReasonMessage |
|
123
|
|
|
*/ |
|
124
|
|
|
public function setRefusedReasonMessage($refusedReasonMessage) |
|
125
|
|
|
{ |
|
126
|
|
|
$this->refusedReasonMessage = $refusedReasonMessage; |
|
127
|
|
|
} |
|
128
|
|
|
|
|
129
|
|
|
/** |
|
130
|
|
|
* @return mixed |
|
131
|
|
|
*/ |
|
132
|
|
|
public function getRefusedReasonType() |
|
133
|
|
|
{ |
|
134
|
|
|
return $this->refusedReasonType; |
|
135
|
|
|
} |
|
136
|
|
|
|
|
137
|
|
|
/** |
|
138
|
|
|
* @param mixed $refusedReasonType |
|
139
|
|
|
*/ |
|
140
|
|
|
public function setRefusedReasonType($refusedReasonType) |
|
141
|
|
|
{ |
|
142
|
|
|
$this->refusedReasonType = $refusedReasonType; |
|
143
|
|
|
} |
|
144
|
|
|
} |
|
145
|
|
|
|