1 | <?php |
||
11 | class Response extends AbstractResponse |
||
12 | { |
||
13 | /** |
||
14 | * The subscription cancellation date. |
||
15 | * |
||
16 | * @var \DateTime |
||
17 | * |
||
18 | * @JMS\Type("DateTime<'Y-m-d H:i:s'>") |
||
19 | * @JMS\SerializedName("cancellation_date") |
||
20 | */ |
||
21 | protected $cancellationDate; |
||
22 | |||
23 | /** |
||
24 | * Get the cancellation date and time. |
||
25 | * |
||
26 | * @return \DateTime |
||
27 | */ |
||
28 | public function getCancellationDate() |
||
32 | |||
33 | /** |
||
34 | * Set the cancellation date and time. |
||
35 | * |
||
36 | * @param \DateTime $cancellationDate The cancellation date and time. |
||
37 | * @return Response |
||
38 | */ |
||
39 | public function setCancellationDate($cancellationDate) |
||
45 | } |
||
46 |