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 unit price. |
||
45 | * |
||
46 | * @var float |
||
47 | * |
||
48 | * @JMS\Type("float") |
||
49 | * @JMS\SerializedName("UNIT_PRICE") |
||
50 | */ |
||
51 | protected $unitPrice; |
||
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 usage date. |
||
65 | * |
||
66 | * @var string |
||
67 | * |
||
68 | * @JMS\Type("string") |
||
69 | * @JMS\SerializedName("USAGE_DATE") |
||
70 | */ |
||
71 | protected $usageDate; |
||
72 | |||
73 | /** |
||
74 | * The currency code. |
||
75 | * |
||
76 | * @var string |
||
77 | * |
||
78 | * @JMS\Type("string") |
||
79 | * @JMS\SerializedName("CURRENCY_CODE") |
||
80 | */ |
||
81 | protected $currencyCode; |
||
82 | |||
83 | /** |
||
84 | * Constructor. |
||
85 | * |
||
86 | * @param integer $subscriptionId The subscription ID. |
||
87 | * @param string $articleNumber The article number. |
||
88 | */ |
||
89 | 3 | public function __construct($subscriptionId, $articleNumber) |
|
94 | |||
95 | /** |
||
96 | * Get the subscription ID. |
||
97 | * |
||
98 | * @return integer |
||
99 | */ |
||
100 | public function getSubscriptionId() |
||
104 | |||
105 | /** |
||
106 | * Set the subscription ID. |
||
107 | * |
||
108 | * @param integer $subscriptionId The subscription ID. |
||
109 | * @return RequestData |
||
110 | */ |
||
111 | 3 | public function setSubscriptionId($subscriptionId) |
|
117 | |||
118 | /** |
||
119 | * Get the article number. |
||
120 | * |
||
121 | * @return integer |
||
122 | */ |
||
123 | public function getArticleNumber() |
||
127 | |||
128 | /** |
||
129 | * Set the article number. |
||
130 | * |
||
131 | * @param string $articleNumber The article number. |
||
132 | * @return RequestData |
||
133 | */ |
||
134 | 3 | public function setArticleNumber($articleNumber) |
|
140 | |||
141 | /** |
||
142 | * Get the quantity. |
||
143 | * |
||
144 | * @return integer |
||
145 | */ |
||
146 | public function getQuantity() |
||
150 | |||
151 | /** |
||
152 | * Set the quantity. |
||
153 | * |
||
154 | * @param integer $quantity The quantity. |
||
155 | * @return RequestData |
||
156 | */ |
||
157 | public function setQuantity($quantity) |
||
166 | |||
167 | /** |
||
168 | * Get the unit price. |
||
169 | * |
||
170 | * @return float |
||
171 | */ |
||
172 | public function getUnitPrice() |
||
176 | |||
177 | /** |
||
178 | * Set the unit price. |
||
179 | * |
||
180 | * @param float $unitPrice The price. |
||
181 | * @return RequestData |
||
182 | */ |
||
183 | public function setUnitPrice($unitPrice) |
||
189 | |||
190 | /** |
||
191 | * Get the description. |
||
192 | * |
||
193 | * @return string |
||
194 | */ |
||
195 | public function getDescription() |
||
199 | |||
200 | /** |
||
201 | * Set the description. |
||
202 | * |
||
203 | * @param string $description The description. |
||
204 | * @return RequestData |
||
205 | */ |
||
206 | public function setDescription($description) |
||
212 | |||
213 | /** |
||
214 | * Get the currency code. |
||
215 | * |
||
216 | * @return string |
||
217 | */ |
||
218 | public function getCurrencyCode() |
||
222 | |||
223 | /** |
||
224 | * Set the currency code. |
||
225 | * |
||
226 | * @param string $currencyCode The currency code. |
||
227 | * @return RequestData |
||
228 | */ |
||
229 | public function setCurrencyCode($currencyCode) |
||
235 | |||
236 | /** |
||
237 | * Get the usage date. |
||
238 | * |
||
239 | * @return string |
||
240 | */ |
||
241 | public function getUsageDate() |
||
245 | |||
246 | /** |
||
247 | * Set the usage date. |
||
248 | * |
||
249 | * @param string $usageDate The usage date. |
||
250 | * @return RequestData |
||
251 | */ |
||
252 | public function setUsageDate($usageDate) |
||
258 | } |
||
259 |