| 1 | <?php |
||
| 12 | abstract class AbstractSubscriptionNotificationPayload extends AbstractNotificationPayload implements SubscriptionNotificationPayloadInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * The customer for the subscription 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 subscription notification. |
||
| 26 | * |
||
| 27 | * @var Subscription |
||
| 28 | * |
||
| 29 | * @JMS\Type("Speicher210\Fastbill\Api\Model\Notification\Subscription\Subscription") |
||
| 30 | * @JMS\SerializedName("subscription") |
||
| 31 | */ |
||
| 32 | protected $subscription; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * The date and time when the subscription notification was created. |
||
| 36 | * |
||
| 37 | * @var \DateTime |
||
| 38 | * |
||
| 39 | * @JMS\Type("DateTime<'Y-m-d H:i:s'>") |
||
| 40 | * @JMS\SerializedName("created") |
||
| 41 | */ |
||
| 42 | protected $created; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function getCustomer() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | public function setCustomer($customer) |
||
| 61 | |||
| 62 | /** |
||
| 63 | * {@inheritdoc} |
||
| 64 | */ |
||
| 65 | public function getSubscription() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * {@inheritdoc} |
||
| 72 | */ |
||
| 73 | public function setSubscription($subscription) |
||
| 79 | |||
| 80 | /** |
||
| 81 | * {@inheritdoc} |
||
| 82 | */ |
||
| 83 | public function getCreated() |
||
| 87 | |||
| 88 | /** |
||
| 89 | * {@inheritdoc} |
||
| 90 | */ |
||
| 91 | public function setCreated($created) |
||
| 97 | } |
||
| 98 |