ConfirmOrder
in package
This is the ConfirmOrder class, a macro class for the order viewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the order's ConfirmOrder.
Tags
Table of Contents
$confirmOrderPlugins | : array<string|int, mixed> | |
---|---|---|
$order | : Order|null | |
$showAuthNumber | : bool | |
$showTransactionId | : bool | |
__construct() | Constructor method for ConfirmOrder class. | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for OrderViewHelper.php | : array<string|int, mixed> |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Properties
$confirmOrderPlugins
public
array<string|int, mixed>
$confirmOrderPlugins
= []
$order
public
Order|null
$order
= null
$showAuthNumber
public
bool
$showAuthNumber
= true
$showTransactionId
public
bool
$showTransactionId
= true
Methods
__construct()
Constructor method for ConfirmOrder class.
public
__construct(array<string|int, mixed> $arguments) : mixed
Parameters
- $arguments : array<string|int, mixed>
Tags
Return values
mixed —getViewParameters()
This method returns all calculated arguments and new parameters for OrderViewHelper.php
public
getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>