1 | <?php |
||
12 | final class RequestData extends AbstractRequestData |
||
13 | { |
||
14 | /** |
||
15 | * The article number. |
||
16 | * |
||
17 | * @var string |
||
18 | * |
||
19 | * @JMS\Type("string") |
||
20 | * @JMS\SerializedName("ARTICLE_NUMBER") |
||
21 | */ |
||
22 | protected $articleNumber; |
||
23 | |||
24 | /** |
||
25 | * The coupon. |
||
26 | * |
||
27 | * @var string |
||
28 | * |
||
29 | * @JMS\Type("string") |
||
30 | * @JMS\SerializedName("COUPON") |
||
31 | */ |
||
32 | protected $coupon; |
||
33 | |||
34 | /** |
||
35 | * The country code (ISO 3166 ALPHA-2). |
||
36 | * |
||
37 | * @var string |
||
38 | * |
||
39 | * @JMS\Type("string") |
||
40 | * @JMS\SerializedName("COUNTRY_CODE") |
||
41 | */ |
||
42 | protected $countryCode; |
||
43 | |||
44 | /** |
||
45 | * The addons. |
||
46 | * |
||
47 | * @var array |
||
48 | * |
||
49 | * @JMS\Type("array<Speicher210\Fastbill\Api\Model\Addon>") |
||
50 | * @JMS\SerializedName("ADDONS") |
||
51 | */ |
||
52 | protected $addons = array(); |
||
53 | |||
54 | /** |
||
55 | * Get the article number. |
||
56 | * |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getArticleNumber() |
||
63 | |||
64 | /** |
||
65 | * Set the article number. |
||
66 | * |
||
67 | * @param string $articleNumber The article number. |
||
68 | * @return RequestData |
||
69 | */ |
||
70 | 3 | public function setArticleNumber($articleNumber) |
|
76 | |||
77 | /** |
||
78 | * Get the coupon. |
||
79 | * |
||
80 | * @return string |
||
81 | */ |
||
82 | public function getCoupon() |
||
86 | |||
87 | /** |
||
88 | * Set the coupon. |
||
89 | * |
||
90 | * @param string $coupon The coupon. |
||
91 | * @return RequestData |
||
92 | */ |
||
93 | 3 | public function setCoupon($coupon) |
|
99 | |||
100 | /** |
||
101 | * Get the country code. |
||
102 | * |
||
103 | * @return string |
||
104 | */ |
||
105 | public function getCountryCode() |
||
109 | |||
110 | /** |
||
111 | * Set the country code (ISO 3166 ALPHA-2). |
||
112 | * |
||
113 | * @param string $countryCode The country code. |
||
114 | * @return RequestData |
||
115 | */ |
||
116 | 3 | public function setCountryCode($countryCode) |
|
122 | |||
123 | /** |
||
124 | * Get the addons. |
||
125 | * |
||
126 | * @return Addon[] |
||
127 | */ |
||
128 | public function getAddons() |
||
132 | |||
133 | /** |
||
134 | * Set the addons. |
||
135 | * |
||
136 | * @param Addon[] $addons The addons. |
||
137 | * @return RequestData |
||
138 | */ |
||
139 | public function setAddons(array $addons) |
||
145 | } |
||
146 |