1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Audiens\DoubleclickClient\entity; |
4
|
|
|
|
5
|
|
|
class UserListPricing |
6
|
|
|
{ |
7
|
|
|
use HydratableTrait; |
8
|
|
|
|
9
|
|
|
public const COST_TYPE_CPC = 'CPC'; |
10
|
|
|
public const COST_TYPE_CPM = 'CPM'; |
11
|
|
|
|
12
|
|
|
public const SALE_TYPE_DIRECT = 'DIRECT'; |
13
|
|
|
public const SALE_TYPE_SALE_FOR_RESALE = 'SALE_FOR_RESALE'; |
14
|
|
|
|
15
|
|
|
public const APPROVAL_STATE_UNAPPROVED = 'UNAPPROVED'; |
16
|
|
|
public const APPROVAL_STATE_APPROVED = 'APPROVED'; |
17
|
|
|
public const APPROVAL_STATE_REJECTED = 'REJECTED'; |
18
|
|
|
|
19
|
|
|
/** @var string @required */ |
20
|
|
|
protected $currencycodestring; |
21
|
|
|
|
22
|
|
|
/** @var string @required */ |
23
|
|
|
protected $userlistcost; |
24
|
|
|
|
25
|
|
|
/** @var string @required */ |
26
|
|
|
protected $costtype; |
27
|
|
|
|
28
|
|
|
/** @var string @required */ |
29
|
|
|
protected $saletype; |
30
|
|
|
|
31
|
|
|
/** @var string @required */ |
32
|
|
|
protected $ispricingactive; |
33
|
|
|
|
34
|
|
|
/** @var string @required */ |
35
|
|
|
protected $approvalstate; |
36
|
|
|
|
37
|
|
|
public function getIsPricingactive(): string |
38
|
|
|
{ |
39
|
|
|
return $this->ispricingactive; |
40
|
|
|
} |
41
|
|
|
|
42
|
|
|
public function getCurrencyCodeString(): string |
43
|
|
|
{ |
44
|
|
|
return $this->currencycodestring; |
45
|
|
|
} |
46
|
|
|
|
47
|
|
|
public function getUserListCost(): string |
48
|
|
|
{ |
49
|
|
|
return $this->userlistcost; |
50
|
|
|
} |
51
|
|
|
|
52
|
|
|
public function getCostType(): string |
53
|
|
|
{ |
54
|
|
|
return $this->costtype; |
55
|
|
|
} |
56
|
|
|
|
57
|
|
|
public function getSaleType(): string |
58
|
|
|
{ |
59
|
|
|
return $this->saletype; |
60
|
|
|
} |
61
|
|
|
|
62
|
|
|
public function isPricingActive(): string |
63
|
|
|
{ |
64
|
|
|
return $this->ispricingactive; |
65
|
|
|
} |
66
|
|
|
|
67
|
|
|
public function getApprovalstate(): string |
68
|
|
|
{ |
69
|
|
|
return $this->approvalstate; |
70
|
|
|
} |
71
|
|
|
|
72
|
|
|
public function setCurrencyCodeString(string $currencycodestring): void |
73
|
|
|
{ |
74
|
|
|
$this->currencycodestring = $currencycodestring; |
75
|
|
|
} |
76
|
|
|
|
77
|
|
|
public function setUserListCost(string $userlistcost): void |
78
|
|
|
{ |
79
|
|
|
$this->userlistcost = $userlistcost; |
80
|
|
|
} |
81
|
|
|
|
82
|
|
|
public function setCostType(string $costtype): void |
83
|
|
|
{ |
84
|
|
|
$this->costtype = $costtype; |
85
|
|
|
} |
86
|
|
|
|
87
|
|
|
public function setSaleType(string $saletype): void |
88
|
|
|
{ |
89
|
|
|
$this->saletype = $saletype; |
90
|
|
|
} |
91
|
|
|
|
92
|
|
|
public function setIsPricingActive(string $ispricingactive): void |
93
|
|
|
{ |
94
|
|
|
$this->ispricingactive = $ispricingactive; |
95
|
|
|
} |
96
|
|
|
|
97
|
|
|
public function setApprovalstate(string $approvalstate): void |
98
|
|
|
{ |
99
|
|
|
$this->approvalstate = $approvalstate; |
100
|
|
|
} |
101
|
|
|
} |
102
|
|
|
|