1 | <?php |
||
12 | abstract class AbstractPaymentNotificationPayload extends AbstractNotificationPayload implements PaymentNotificationPayloadInterface |
||
13 | { |
||
14 | /** |
||
15 | * The customer for the payment notification. |
||
16 | * |
||
17 | * @var Customer |
||
18 | * |
||
19 | * @JMS\Type("Speicher210\Fastbill\Api\Model\Notification\Customer\Customer") |
||
20 | * @JMS\SerializedName("customer") |
||
21 | */ |
||
22 | protected $customer; |
||
23 | |||
24 | /** |
||
25 | * The subscription for the payment notification. |
||
26 | * |
||
27 | * @var PaymentSubscription |
||
28 | * |
||
29 | * @JMS\Type("Speicher210\Fastbill\Api\Model\Notification\Payment\PaymentSubscription") |
||
30 | * @JMS\SerializedName("subscription") |
||
31 | */ |
||
32 | protected $subscription; |
||
33 | |||
34 | /** |
||
35 | * The payment for the payment notification. |
||
36 | * |
||
37 | * @var Payment |
||
38 | * |
||
39 | * @JMS\Type("Speicher210\Fastbill\Api\Model\Notification\Payment\Payment") |
||
40 | * @JMS\SerializedName("payment") |
||
41 | */ |
||
42 | protected $payment; |
||
43 | |||
44 | /** |
||
45 | * The date and time when the payment notification was created. |
||
46 | * |
||
47 | * @var \DateTime |
||
48 | * |
||
49 | * @JMS\Type("DateTime<'Y-m-d H:i:s'>") |
||
50 | * @JMS\SerializedName("created") |
||
51 | */ |
||
52 | protected $created; |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public function getCustomer() |
||
61 | |||
62 | /** |
||
63 | * {@inheritdoc} |
||
64 | */ |
||
65 | public function setCustomer($customer) |
||
71 | |||
72 | /** |
||
73 | * {@inheritdoc} |
||
74 | */ |
||
75 | public function getSubscription() |
||
79 | |||
80 | /** |
||
81 | * {@inheritdoc} |
||
82 | */ |
||
83 | public function setSubscription($subscription) |
||
89 | |||
90 | /** |
||
91 | * {@inheritdoc} |
||
92 | */ |
||
93 | public function getPayment() |
||
97 | |||
98 | /** |
||
99 | * {@inheritdoc} |
||
100 | */ |
||
101 | public function setPayment($payment) |
||
107 | |||
108 | /** |
||
109 | * {@inheritdoc} |
||
110 | */ |
||
111 | public function getCreated() |
||
115 | |||
116 | /** |
||
117 | * {@inheritdoc} |
||
118 | */ |
||
119 | public function setCreated($created) |
||
125 | } |
||
126 |