-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDreamCommerceShopAppstoreEvents.php
More file actions
39 lines (33 loc) · 1.04 KB
/
DreamCommerceShopAppstoreEvents.php
File metadata and controls
39 lines (33 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
namespace DreamCommerce\ShopAppstoreBundle;
final class DreamCommerceShopAppstoreEvents
{
const APPLICATION_INSTALLED = 'dream_commerce_shop_appstore.event.install';
const APPLICATION_UNINSTALLED = 'dream_commerce_shop_appstore.event.uninstall';
const APPLICATION_PAID = 'dream_commerce_shop_appstore.event.pay';
const APPLICATION_UPGRADED = 'dream_commerce_shop_appstore.event.upgrade';
const APPLICATION_SUBSCRIPTION = 'dream_commerce_shop_appstore.event.subscribe';
protected $supportedWebhooks = [
'client.create',
'client.edit',
'client.delete',
'product.create',
'product.edit',
'product.delete',
'parcel.create',
'parcel.delete',
'parcel.dispatch',
'subscriber.create',
'subscriber.edit',
'subscriber.delete',
'order.create',
'order.edit',
'order.paid',
'order.delete',
'order.status'
];
public function getSupportedWebhooks()
{
return $this->supportedWebhooks;
}
}