1 | <?php |
||
12 | final class RequestData extends AbstractRequestData |
||
13 | { |
||
14 | use SubscriptionTrait; |
||
15 | |||
16 | /** |
||
17 | * The coupon. |
||
18 | * |
||
19 | * @var string |
||
20 | * |
||
21 | * @JMS\Type("string") |
||
22 | * @JMS\SerializedName("COUPON") |
||
23 | */ |
||
24 | protected $coupon; |
||
25 | |||
26 | /** |
||
27 | * Constructor. |
||
28 | * |
||
29 | * @param string $articleNumber The article number. |
||
30 | * @param integer $customerId The customer ID. |
||
31 | */ |
||
32 | 9 | public function __construct($articleNumber, $customerId) |
|
37 | |||
38 | /** |
||
39 | * Get the coupon. |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getCoupon() |
||
47 | |||
48 | /** |
||
49 | * Set the coupon. |
||
50 | * |
||
51 | * @param string $coupon The coupon. |
||
52 | * @return RequestData |
||
53 | */ |
||
54 | public function setCoupon($coupon) |
||
60 | } |
||
61 |