1 | <?php |
||
11 | final class RequestData extends AbstractRequestData |
||
12 | { |
||
13 | /** |
||
14 | * The subscription ID. |
||
15 | * |
||
16 | * @var integer |
||
17 | * |
||
18 | * @JMS\Type("integer") |
||
19 | * @JMS\SerializedName("SUBSCRIPTION_ID") |
||
20 | */ |
||
21 | protected $subscriptionId; |
||
22 | |||
23 | /** |
||
24 | * The article number. |
||
25 | * |
||
26 | * @var string |
||
27 | * |
||
28 | * @JMS\Type("string") |
||
29 | * @JMS\SerializedName("ARTICLE_NUMBER") |
||
30 | */ |
||
31 | protected $articleNumber; |
||
32 | |||
33 | /** |
||
34 | * Quantity. |
||
35 | * |
||
36 | * @var integer |
||
37 | * |
||
38 | * @JMS\Type("integer") |
||
39 | * @JMS\SerializedName("QUANTITY") |
||
40 | */ |
||
41 | protected $quantity; |
||
42 | |||
43 | /** |
||
44 | * The title of the addon. |
||
45 | * |
||
46 | * @var string |
||
47 | * |
||
48 | * @JMS\Type("string") |
||
49 | * @JMS\SerializedName("TITLE") |
||
50 | */ |
||
51 | protected $title; |
||
52 | |||
53 | /** |
||
54 | * The description of the addon. |
||
55 | * |
||
56 | * @var string |
||
57 | * |
||
58 | * @JMS\Type("string") |
||
59 | * @JMS\SerializedName("DESCRIPTION") |
||
60 | */ |
||
61 | protected $description; |
||
62 | |||
63 | /** |
||
64 | * The unit price. |
||
65 | * |
||
66 | * @var float |
||
67 | * |
||
68 | * @JMS\Type("float") |
||
69 | * @JMS\SerializedName("UNIT_PRICE") |
||
70 | */ |
||
71 | protected $unitPrice; |
||
72 | |||
73 | /** |
||
74 | * Constructor. |
||
75 | * |
||
76 | * @param string $subscriptionId The subscription ID. |
||
77 | * @param string $articleNumber The article number. |
||
78 | */ |
||
79 | 3 | public function __construct($subscriptionId, $articleNumber) |
|
84 | |||
85 | /** |
||
86 | * Get the subscription ID. |
||
87 | * |
||
88 | * @return integer |
||
89 | */ |
||
90 | public function getSubscriptionId() |
||
94 | |||
95 | /** |
||
96 | * Set the subscription ID. |
||
97 | * |
||
98 | * @param integer $subscriptionId The subscription ID. |
||
99 | * @return RequestData |
||
100 | */ |
||
101 | 3 | public function setSubscriptionId($subscriptionId) |
|
107 | |||
108 | /** |
||
109 | * Get the article number. |
||
110 | * |
||
111 | * @return integer |
||
112 | */ |
||
113 | public function getArticleNumber() |
||
117 | |||
118 | /** |
||
119 | * Set the article number. |
||
120 | * |
||
121 | * @param string $articleNumber The article number. |
||
122 | * @return RequestData |
||
123 | */ |
||
124 | 3 | public function setArticleNumber($articleNumber) |
|
130 | |||
131 | /** |
||
132 | * Get the quantity. |
||
133 | * |
||
134 | * @return integer |
||
135 | */ |
||
136 | public function getQuantity() |
||
140 | |||
141 | /** |
||
142 | * Set the quantity. |
||
143 | * |
||
144 | * @param integer $quantity The quantity. |
||
145 | * @return RequestData |
||
146 | */ |
||
147 | public function setQuantity($quantity) |
||
156 | |||
157 | /** |
||
158 | * Get the title. |
||
159 | * |
||
160 | * @return string |
||
161 | */ |
||
162 | public function getTitle() |
||
166 | |||
167 | /** |
||
168 | * Set the title. |
||
169 | * |
||
170 | * @param string $title The title. |
||
171 | * @return RequestData |
||
172 | */ |
||
173 | public function setTitle($title) |
||
179 | |||
180 | /** |
||
181 | * Get the description. |
||
182 | * |
||
183 | * @return string |
||
184 | */ |
||
185 | public function getDescription() |
||
189 | |||
190 | /** |
||
191 | * Set the description. |
||
192 | * |
||
193 | * @param string $description The description. |
||
194 | * @return RequestData |
||
195 | */ |
||
196 | public function setDescription($description) |
||
202 | |||
203 | /** |
||
204 | * Get the unit price. |
||
205 | * |
||
206 | * @return float |
||
207 | */ |
||
208 | public function getUnitPrice() |
||
212 | |||
213 | /** |
||
214 | * Set the unit price. |
||
215 | * |
||
216 | * @param float $unitPrice The price. |
||
217 | * @return RequestData |
||
218 | */ |
||
219 | public function setUnitPrice($unitPrice) |
||
225 | } |
||
226 |