-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEV-499 Add messenger + messenger bounce webhook definition (#31)
* DEV-499 Add messenger + messenger bounce webhook definition * Add class
- Loading branch information
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
namespace Fortifi\Webhooks\Events; | ||
|
||
final class MessengerWHE | ||
{ | ||
const BOUNCED = 'messenger.bounced'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
namespace Fortifi\Webhooks\Payloads\Messenger; | ||
|
||
class MessengerBouncedWHP extends MessengerWHP | ||
{ | ||
public $type; | ||
public $reason; | ||
public $message; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
namespace Fortifi\Webhooks\Payloads\Messenger; | ||
|
||
use Fortifi\Webhooks\Payloads\Foundation\DataNodeWHP; | ||
|
||
class MessengerWHP extends DataNodeWHP | ||
{ | ||
public $customerFid; | ||
public $emailAddress; | ||
public $deliveryFid; | ||
public $companyFid; | ||
public $emailFid; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters