Hook::getEventType()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * Created by Graham Owens ([email protected])
4
 * Company: PartFire Ltd (www.partfire.co.uk)
5
 * Console: Relativity
6
 *
7
 * User:    gra
8
 * Date:    16/01/2017
9
 * Time:    21:38
10
 * Project: PartFire MangoPay Bundle
11
 * File:    Hook.php
12
 *
13
 **/
14
15
namespace PartFire\MangoPayBundle\Models\DTOs;
16
17
18
class Hook
19
{
20
    private $id;
21
    private $tag;
22
    private $creationDate;
23
    private $url;
24
    private $status;
25
    private $validity;
26
    private $eventType;
27
28
    /**
29
     * @return mixed
30
     */
31
    public function getId()
32
    {
33
        return $this->id;
34
    }
35
36
    /**
37
     * @param mixed $id
38
     */
39
    public function setId($id)
40
    {
41
        $this->id = $id;
42
    }
43
44
    /**
45
     * @return mixed
46
     */
47
    public function getTag()
48
    {
49
        return $this->tag;
50
    }
51
52
    /**
53
     * @param mixed $tag
54
     */
55
    public function setTag($tag)
56
    {
57
        $this->tag = $tag;
58
    }
59
60
    /**
61
     * @return mixed
62
     */
63
    public function getCreationDate()
64
    {
65
        return $this->creationDate;
66
    }
67
68
    /**
69
     * @param mixed $creationDate
70
     */
71
    public function setCreationDate($creationDate)
72
    {
73
        $this->creationDate = $creationDate;
74
    }
75
76
    /**
77
     * @return mixed
78
     */
79
    public function getUrl()
80
    {
81
        return $this->url;
82
    }
83
84
    /**
85
     * @param mixed $url
86
     */
87
    public function setUrl($url)
88
    {
89
        $this->url = $url;
90
    }
91
92
    /**
93
     * @return mixed
94
     */
95
    public function getStatus()
96
    {
97
        return $this->status;
98
    }
99
100
    /**
101
     * @param mixed $status
102
     */
103
    public function setStatus($status)
104
    {
105
        $this->status = $status;
106
    }
107
108
    /**
109
     * @return mixed
110
     */
111
    public function getValidity()
112
    {
113
        return $this->validity;
114
    }
115
116
    /**
117
     * @param mixed $validity
118
     */
119
    public function setValidity($validity)
120
    {
121
        $this->validity = $validity;
122
    }
123
124
    /**
125
     * @return mixed
126
     */
127
    public function getEventType()
128
    {
129
        return $this->eventType;
130
    }
131
132
    /**
133
     * @param mixed $eventType
134
     */
135
    public function setEventType($eventType)
136
    {
137
        $this->eventType = $eventType;
138
    }
139
140
}