ShipEngineEvent
extends Event
in package
The events that are emitted by the ShipEngine SDK
Table of Contents
- $message : string
- The event message to provide context to the underlying event.
- $timestamp : DateTime
- The timestamp of when the event was emitted.
- $type : string
- The type of event being emitted.
- __construct() : mixed
- Instantiates events - all other events inherit from this class.
Properties
$message
The event message to provide context to the underlying event.
public
string
$message
$timestamp
The timestamp of when the event was emitted.
public
DateTime
$timestamp
$type
The type of event being emitted.
public
string
$type
Methods
__construct()
Instantiates events - all other events inherit from this class.
public
__construct(string $type, string $message) : mixed
ShipEngineEvent constructor.
Parameters
- $type : string
- $message : string