forked from stixx/tradetracker-api-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCampaignNewsType.php
More file actions
49 lines (43 loc) · 1.17 KB
/
CampaignNewsType.php
File metadata and controls
49 lines (43 loc) · 1.17 KB
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 CampaignNewsType
{
const CAMPAIGN_START = 'campaign_start';
const CAMPAIGN_STOP = 'campaign_stop';
const CAMPAIGN_UPDATE_GENERAL = 'campaign_update_general';
const CAMPAIGN_UPDATE_VOUCHERCODE = 'campaign_update_vouchercode';
const CAMPAIGN_UPDATE_CONSUMER = 'campaign_update_consumer';
const CAMPAIGN_UPDATE_COMMISSION = 'campaign_update_commission';
const CAMPAIGN_UPDATE_INCENTIVE = 'campaign_update_incentive';
const CAMPAIGN_UPDATE_MATERIAL = 'campaign_update_material';
const CAMPAIGN_UPDATE_FEED = 'campaign_update_feed';
const CAMPAIGN_UPDATE_URGENT = 'campaign_update_urgent';
const CAMPAIGN_UPDATE_ATTRIBUTION = 'campaign_update_attribution';
/**
* @var string
*/
private $type;
/**
* CampaignNewsType constructor.
*
* @param string $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;
}
}