Copied!

PaymentStatusChange

PaymentStatusChange.php : 25
Extends Notification
Implements EmailNotificationInterface, SmsNotificationInterface, PaymentAwareNotificationInterface, OrderAwareNotificationInterface

Methods

public__construct()

PaymentStatusChange.php : 46
public __construct(PaymentInterface $payment, WorkflowInterface $workflow, Transition $transition, Marking $marking, array<string|int, mixed> $context)

Parameters

Name Type Default value Description
$payment PaymentInterface - -
$workflow WorkflowInterface - -
$transition Transition - -
$marking Marking - -
$context array<string|int, mixed> - -

publicasEmailMessage()

PaymentStatusChange.php : 62
public asEmailMessage(EmailRecipientInterface $recipient[, string $transport = null ]) : EmailMessage|null

Parameters

Name Type Default value Description
$recipient EmailRecipientInterface - -
$transport string null -

Return values

EmailMessage|null

publicasSmsMessage()

PaymentStatusChange.php : 67
public asSmsMessage(SmsRecipientInterface $recipient[, string $transport = null ]) : SmsMessage|null

Parameters

Name Type Default value Description
$recipient SmsRecipientInterface - -
$transport string null -

Return values

SmsMessage|null

publicgetContext()

PaymentStatusChange.php : 95
public getContext() : array<string|int, mixed>

Return values

array<string|int, mixed>

publicgetMarking()

PaymentStatusChange.php : 87
public getMarking() : Marking

Return values

Marking

publicgetOrder()

PaymentStatusChange.php : 100
public getOrder() : OrderInterface

Return values

OrderInterface

publicgetPayment()

PaymentStatusChange.php : 72
public getPayment() : PaymentInterface

Return values

PaymentInterface

publicgetTransition()

PaymentStatusChange.php : 82
public getTransition() : Transition

Return values

Transition

publicgetWorkflow()

PaymentStatusChange.php : 77
public getWorkflow() : WorkflowInterface

Return values

WorkflowInterface