| 1 | <?php |
||
| 11 | final class RequestData extends AbstractRequestData |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * The coupon code. |
||
| 15 | * |
||
| 16 | * @var string |
||
| 17 | * |
||
| 18 | * @JMS\Type("string") |
||
| 19 | * @JMS\SerializedName("CODE") |
||
| 20 | */ |
||
| 21 | protected $code; |
||
| 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 | * Constructor. |
||
| 35 | * |
||
| 36 | * @param string $code The code to request. |
||
| 37 | * @param string $articleNumber The article number. |
||
| 38 | */ |
||
| 39 | 12 | public function __construct($code, $articleNumber) |
|
| 44 | |||
| 45 | /** |
||
| 46 | * Get the code. |
||
| 47 | * |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function getCode() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Set the code. |
||
| 57 | * |
||
| 58 | * @param string $code The code. |
||
| 59 | * @return RequestData |
||
| 60 | */ |
||
| 61 | 12 | public function setCode($code) |
|
| 67 | |||
| 68 | /** |
||
| 69 | * Get the article number. |
||
| 70 | * |
||
| 71 | * @return string |
||
| 72 | */ |
||
| 73 | public function getArticleNumber() |
||
| 77 | |||
| 78 | /** |
||
| 79 | * Set the article number. |
||
| 80 | * |
||
| 81 | * @param string $articleNumber The article number. |
||
| 82 | * @return RequestData |
||
| 83 | */ |
||
| 84 | 12 | public function setArticleNumber($articleNumber) |
|
| 90 | } |
||
| 91 |