forked from stixx/tradetracker-api-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTransactionType.php
More file actions
49 lines (42 loc) · 721 Bytes
/
TransactionType.php
File metadata and controls
49 lines (42 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
namespace Hypeit\TradeTracker\Model;
class TransactionType
{
const CLICK = 'click';
const LEAD = 'lead';
const SALE = 'sale';
/**
* @var null|string
*/
private $type;
/**
* TransactionType constructor.
*
* @param string|null $type
*/
public function __construct($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function __toString()
{
return $this->type;
}
}