1 | <?php |
||
11 | class UserListPricing |
||
12 | { |
||
13 | use TransmapHydratable; |
||
14 | |||
15 | const COST_TYPE_CPC = 'CPC'; |
||
16 | const COST_TYPE_CPM = 'CPM'; |
||
17 | |||
18 | const SALE_TYPE_DIRECT = 'DIRECT'; |
||
19 | const SALE_TYPE_SALE_FOR_RESALE = 'SALE_FOR_RESALE'; |
||
20 | |||
21 | const APPROVAL_STATE_UNAPPROVED = 'UNAPPROVED'; |
||
22 | const APPROVAL_STATE_APPROVED = 'APPROVED'; |
||
23 | const APPROVAL_STATE_REJECTED = 'REJECTED'; |
||
24 | |||
25 | /** |
||
26 | * @var string IS0-4217 |
||
27 | * @Validate(type="string", regex="#^[a-zA-Z]{3}$#", mandatory=true) |
||
28 | */ |
||
29 | protected $currencycodestring; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | * @see COST_TYPE_* |
||
34 | * @Validate(type="string", mandatory=true) |
||
35 | */ |
||
36 | protected $userlistcost; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | * @Validate(type="string", mandatory=true) |
||
41 | */ |
||
42 | protected $costtype; |
||
43 | |||
44 | /** |
||
45 | * @var string |
||
46 | * @see SALE_TYPE_* |
||
47 | * @Validate(type="string", mandatory=true) |
||
48 | */ |
||
49 | protected $saletype; |
||
50 | |||
51 | /** |
||
52 | * @var string |
||
53 | * @Validate(type="string", mandatory=true) |
||
54 | */ |
||
55 | protected $ispricingactive; |
||
56 | |||
57 | /** |
||
58 | * @var string |
||
59 | * @see APPROVAL_STATE_* |
||
60 | * @Validate(type="string", mandatory=true) |
||
61 | */ |
||
62 | protected $approvalstate; |
||
63 | |||
64 | public function getIsPricingactive() |
||
68 | |||
69 | public function getCurrencyCodeString() |
||
73 | |||
74 | public function getUserListCost() |
||
78 | |||
79 | public function getCostType() |
||
83 | |||
84 | public function getSaleType() |
||
88 | |||
89 | public function isPricingActive() |
||
93 | |||
94 | public function getApprovalstate() |
||
98 | |||
99 | public function setCurrencyCodeString($currencycodestring) |
||
103 | |||
104 | public function setUserListCost($userlistcost) |
||
108 | |||
109 | public function setCostType($costtype) |
||
113 | |||
114 | public function setSaleType($saletype) |
||
118 | |||
119 | public function setIsPricingActive($ispricingactive) |
||
123 | |||
124 | public function setApprovalstate($approvalstate) |
||
128 | |||
129 | } |
||
130 |