OrderStatusChange
OrderStatusChange.php
:
25
Extends
Notification
Implements
EmailNotificationInterface, SmsNotificationInterface, OrderAwareNotificationInterface
Methods¶
__construct() ¶
OrderStatusChange.php
:
45
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$workflowSubject | WorkflowSubjectInterface | - | - |
$workflow | WorkflowInterface | - | - |
$transition | Transition|null | - | - |
$marking | Marking | - | - |
$context | array<string|int, mixed> | - | - |
asEmailMessage() ¶
OrderStatusChange.php
:
61
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$recipient | EmailRecipientInterface | - | - |
$transport | string | null | - |
Return values
EmailMessage|null
asSmsMessage() ¶
OrderStatusChange.php
:
66
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$recipient | SmsRecipientInterface | - | - |
$transport | string | null | - |
Return values
SmsMessage|null
getContext() ¶
OrderStatusChange.php
:
106
|
|
Return values
array<string|int, mixed>
getMarking() ¶
OrderStatusChange.php
:
98
|
|
Return values
Marking
getOrder() ¶
OrderStatusChange.php
:
76
|
|
Return values
getTransition() ¶
OrderStatusChange.php
:
93
|
|
Return values
Transition|null
getWorkflow() ¶
OrderStatusChange.php
:
88
|
|
Return values
WorkflowInterface
getWorkflowSubject() ¶
OrderStatusChange.php
:
71
|
|