ShipmentStatusChange
ShipmentStatusChange.php
:
25
Extends Notification
Implements
EmailNotificationInterface, ShipmentAwareNotificationInterface, OrderAwareNotificationInterface, SmsNotificationInterface
Methods¶
__construct() ¶
ShipmentStatusChange.php
:
46
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$shipment | ShipmentInterface | - | - |
$workflow | WorkflowInterface | - | - |
$transition | Transition | - | - |
$marking | Marking | - | - |
$context | array<string|int, mixed> | - | - |
asEmailMessage() ¶
ShipmentStatusChange.php
:
62
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$recipient | EmailRecipientInterface | - | - |
$transport | string | null | - |
Return values
EmailMessage|null
asSmsMessage() ¶
ShipmentStatusChange.php
:
67
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$recipient | SmsRecipientInterface | - | - |
$transport | string | null | - |
Return values
SmsMessage|null
getContext() ¶
ShipmentStatusChange.php
:
100
|
|
Return values
array<string|int, mixed>
getMarking() ¶
ShipmentStatusChange.php
:
92
|
|
Return values
Marking
getOrder() ¶
ShipmentStatusChange.php
:
72
|
|
Return values
getShipment() ¶
ShipmentStatusChange.php
:
77
|
|
Return values
getTransition() ¶
ShipmentStatusChange.php
:
87
|
|
Return values
Transition
getWorkflow() ¶
ShipmentStatusChange.php
:
82
|
|
Return values
WorkflowInterface